diff --git a/go.mod b/go.mod index 7d81516..5ad9cf5 100644 --- a/go.mod +++ b/go.mod @@ -3,41 +3,39 @@ module github.com/janritter/aws-lambda-live-tuner go 1.21 require ( - github.com/aws/aws-sdk-go v1.45.25 - github.com/fatih/color v1.15.0 + github.com/aws/aws-sdk-go v1.49.13 + github.com/fatih/color v1.16.0 github.com/mitchellh/go-homedir v1.1.0 - github.com/spf13/cobra v1.7.0 - github.com/spf13/viper v1.17.0 + github.com/spf13/cobra v1.8.0 + github.com/spf13/viper v1.18.2 github.com/stretchr/testify v1.8.4 - golang.org/x/exp v0.0.0-20231006140011-7918f672742d - golang.org/x/sync v0.4.0 + golang.org/x/exp v0.0.0-20231226003508-02704c960a9b + golang.org/x/sync v0.5.0 ) require ( github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect - github.com/fsnotify/fsnotify v1.6.0 // indirect + github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect - github.com/mattn/go-isatty v0.0.19 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect - github.com/pelletier/go-toml/v2 v2.1.0 // indirect + github.com/pelletier/go-toml/v2 v2.1.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect - github.com/sagikazarmark/locafero v0.3.0 // indirect + github.com/sagikazarmark/locafero v0.4.0 // indirect github.com/sagikazarmark/slog-shim v0.1.0 // indirect github.com/sourcegraph/conc v0.3.0 // indirect - github.com/spf13/afero v1.10.0 // indirect - github.com/spf13/cast v1.5.1 // indirect - github.com/spf13/jwalterweatherman v1.1.0 // indirect + github.com/spf13/afero v1.11.0 // indirect + github.com/spf13/cast v1.6.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/objx v0.5.1 // indirect github.com/subosito/gotenv v1.6.0 // indirect - go.uber.org/atomic v1.9.0 // indirect - go.uber.org/multierr v1.9.0 // indirect - golang.org/x/sys v0.13.0 // indirect - golang.org/x/text v0.13.0 // indirect + go.uber.org/multierr v1.11.0 // indirect + golang.org/x/sys v0.15.0 // indirect + golang.org/x/text v0.14.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.sum b/go.sum index b80510e..cc3d004 100644 --- a/go.sum +++ b/go.sum @@ -1,153 +1,28 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI= -cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk= -cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/aws/aws-sdk-go v1.44.325 h1:jF/L99fJSq/BfiLmUOflO/aM+LwcqBm0Fe/qTK5xxuI= -github.com/aws/aws-sdk-go v1.44.325/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= -github.com/aws/aws-sdk-go v1.45.25 h1:c4fLlh5sLdK2DCRTY1z0hyuJZU4ygxX8m1FswL6/nF4= -github.com/aws/aws-sdk-go v1.45.25/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +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/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= 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/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= -github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= -github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY= -github.com/frankban/quicktest v1.14.4/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= -github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= -github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= +github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= +github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= +github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= +github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= +github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg= github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo= github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8= github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= @@ -155,59 +30,41 @@ github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3v github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= -github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA= -github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/pelletier/go-toml/v2 v2.0.9 h1:uH2qQXheeefCCkuBBSLi7jCiSmj3VRh2+Goq2N7Xxu0= -github.com/pelletier/go-toml/v2 v2.0.9/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= -github.com/pelletier/go-toml/v2 v2.1.0 h1:FnwAJ4oYMvbT/34k9zzHuZNrhlz48GB3/s6at6/MHO4= -github.com/pelletier/go-toml/v2 v2.1.0/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pelletier/go-toml/v2 v2.1.1 h1:LWAJwfNvjQZCFIDKWYQaM62NcYeYViCmWIwmOStowAI= +github.com/pelletier/go-toml/v2 v2.1.1/go.mod h1:tJU2Z3ZkXwnxa4DPO899bsyIoywizdUvyaeZurnPPDc= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sagikazarmark/locafero v0.3.0 h1:zT7VEGWC2DTflmccN/5T1etyKvxSxpHsjb9cJvm4SvQ= -github.com/sagikazarmark/locafero v0.3.0/go.mod h1:w+v7UsPNFwzF1cHuOajOOzoq4U7v/ig1mpRjqV+Bu1U= +github.com/sagikazarmark/locafero v0.4.0 h1:HApY1R9zGo4DBgr7dqsTH/JJxLTTsOt7u6keLGt6kNQ= +github.com/sagikazarmark/locafero v0.4.0/go.mod h1:Pe1W6UlPYUk/+wc/6KFhbORCfqzgYEpgQ3O5fPuL3H4= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= -github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM= -github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= -github.com/spf13/afero v1.10.0 h1:EaGW2JJh15aKOejeuJ+wpFSHnbd7GE6Wvp3TsNhb6LY= -github.com/spf13/afero v1.10.0/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ= -github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA= -github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48= -github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= -github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= +github.com/spf13/afero v1.11.0 h1:WJQKhtpdm3v2IzqG8VMqrr6Rf3UYpEF239Jy9wNepM8= +github.com/spf13/afero v1.11.0/go.mod h1:GH9Y3pIexgf1MTIWtNGyogA5MwRIDXGUr+hbWNoBjkY= +github.com/spf13/cast v1.6.0 h1:GEiTHELF+vaR5dhz3VqZfFSzZjYbgeKDpBxQVS4GYJ0= +github.com/spf13/cast v1.6.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= +github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= +github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc= -github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg= -github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI= -github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI= +github.com/spf13/viper v1.18.2 h1:LUXCnvUvSM6FXAsj6nnfc8Q2tp1dIgUfY9Kc8GsSOiQ= +github.com/spf13/viper v1.18.2/go.mod h1:EKmWIqdnk5lOcmR72yw6hS+8OPYcwD0jteitLMVB+yk= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/objx v0.5.1 h1:4VhoImhV/Bm0ToFkXFi8hXNXwpDRZ/ynw3amt82mzq0= github.com/stretchr/objx v0.5.1/go.mod h1:/iHQpkQwBD6DLUmQ4pE+s1TXdob1mORJ4/UFdrifcy0= -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.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= @@ -215,351 +72,28 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= -go.uber.org/atomic v1.9.0 h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE= -go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= -go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= -golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb h1:mIKbk8weKhSeLH2GmUTrvx8CjkyJmnU1wFmg59CUjFA= -golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d h1:jtJma62tbqLibJ5sFQz8bKtEM8rJBtfilJ2qTU199MI= -golang.org/x/exp v0.0.0-20231006140011-7918f672742d/go.mod h1:ldy0pHrwJyGW56pPQzzkH36rKxoZW1tw7ZJpeKx+hdo= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -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-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M= -golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= -golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= +go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= +golang.org/x/exp v0.0.0-20231226003508-02704c960a9b h1:kLiC65FbiHWFAOu+lxwNPujcsl8VYyTYYEZnsOO1WK4= +golang.org/x/exp v0.0.0-20231226003508-02704c960a9b/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI= +golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= +golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= +golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE= +golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= -golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= -golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= -golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k= -golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= -golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg= -google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE= -google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= -google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= +golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA= gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= 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/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= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/mocks/github.com/aws/aws-sdk-go/service/cloudwatchlogs/cloudwatchlogsiface/mock_CloudWatchLogsAPI.go b/mocks/github.com/aws/aws-sdk-go/service/cloudwatchlogs/cloudwatchlogsiface/mock_CloudWatchLogsAPI.go index 3e7099c..93790b6 100644 --- a/mocks/github.com/aws/aws-sdk-go/service/cloudwatchlogs/cloudwatchlogsiface/mock_CloudWatchLogsAPI.go +++ b/mocks/github.com/aws/aws-sdk-go/service/cloudwatchlogs/cloudwatchlogsiface/mock_CloudWatchLogsAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.4. DO NOT EDIT. +// Code generated by mockery v2.39.1. DO NOT EDIT. package cloudwatchlogsiface @@ -29,6 +29,10 @@ func (_m *MockCloudWatchLogsAPI) EXPECT() *MockCloudWatchLogsAPI_Expecter { func (_m *MockCloudWatchLogsAPI) AssociateKmsKey(_a0 *cloudwatchlogs.AssociateKmsKeyInput) (*cloudwatchlogs.AssociateKmsKeyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AssociateKmsKey") + } + var r0 *cloudwatchlogs.AssociateKmsKeyOutput var r1 error if rf, ok := ret.Get(0).(func(*cloudwatchlogs.AssociateKmsKeyInput) (*cloudwatchlogs.AssociateKmsKeyOutput, error)); ok { @@ -83,6 +87,10 @@ func (_c *MockCloudWatchLogsAPI_AssociateKmsKey_Call) RunAndReturn(run func(*clo func (_m *MockCloudWatchLogsAPI) AssociateKmsKeyRequest(_a0 *cloudwatchlogs.AssociateKmsKeyInput) (*request.Request, *cloudwatchlogs.AssociateKmsKeyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AssociateKmsKeyRequest") + } + var r0 *request.Request var r1 *cloudwatchlogs.AssociateKmsKeyOutput if rf, ok := ret.Get(0).(func(*cloudwatchlogs.AssociateKmsKeyInput) (*request.Request, *cloudwatchlogs.AssociateKmsKeyOutput)); ok { @@ -146,6 +154,10 @@ func (_m *MockCloudWatchLogsAPI) AssociateKmsKeyWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateKmsKeyWithContext") + } + var r0 *cloudwatchlogs.AssociateKmsKeyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.AssociateKmsKeyInput, ...request.Option) (*cloudwatchlogs.AssociateKmsKeyOutput, error)); ok { @@ -209,6 +221,10 @@ func (_c *MockCloudWatchLogsAPI_AssociateKmsKeyWithContext_Call) RunAndReturn(ru func (_m *MockCloudWatchLogsAPI) CancelExportTask(_a0 *cloudwatchlogs.CancelExportTaskInput) (*cloudwatchlogs.CancelExportTaskOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CancelExportTask") + } + var r0 *cloudwatchlogs.CancelExportTaskOutput var r1 error if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CancelExportTaskInput) (*cloudwatchlogs.CancelExportTaskOutput, error)); ok { @@ -263,6 +279,10 @@ func (_c *MockCloudWatchLogsAPI_CancelExportTask_Call) RunAndReturn(run func(*cl func (_m *MockCloudWatchLogsAPI) CancelExportTaskRequest(_a0 *cloudwatchlogs.CancelExportTaskInput) (*request.Request, *cloudwatchlogs.CancelExportTaskOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CancelExportTaskRequest") + } + var r0 *request.Request var r1 *cloudwatchlogs.CancelExportTaskOutput if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CancelExportTaskInput) (*request.Request, *cloudwatchlogs.CancelExportTaskOutput)); ok { @@ -326,6 +346,10 @@ func (_m *MockCloudWatchLogsAPI) CancelExportTaskWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CancelExportTaskWithContext") + } + var r0 *cloudwatchlogs.CancelExportTaskOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CancelExportTaskInput, ...request.Option) (*cloudwatchlogs.CancelExportTaskOutput, error)); ok { @@ -385,24 +409,28 @@ func (_c *MockCloudWatchLogsAPI_CancelExportTaskWithContext_Call) RunAndReturn(r return _c } -// CreateExportTask provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) CreateExportTask(_a0 *cloudwatchlogs.CreateExportTaskInput) (*cloudwatchlogs.CreateExportTaskOutput, error) { +// CreateDelivery provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) CreateDelivery(_a0 *cloudwatchlogs.CreateDeliveryInput) (*cloudwatchlogs.CreateDeliveryOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.CreateExportTaskOutput + if len(ret) == 0 { + panic("no return value specified for CreateDelivery") + } + + var r0 *cloudwatchlogs.CreateDeliveryOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateExportTaskInput) (*cloudwatchlogs.CreateExportTaskOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateDeliveryInput) (*cloudwatchlogs.CreateDeliveryOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateExportTaskInput) *cloudwatchlogs.CreateExportTaskOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateDeliveryInput) *cloudwatchlogs.CreateDeliveryOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.CreateExportTaskOutput) + r0 = ret.Get(0).(*cloudwatchlogs.CreateDeliveryOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateExportTaskInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateDeliveryInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -411,44 +439,48 @@ func (_m *MockCloudWatchLogsAPI) CreateExportTask(_a0 *cloudwatchlogs.CreateExpo return r0, r1 } -// MockCloudWatchLogsAPI_CreateExportTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateExportTask' -type MockCloudWatchLogsAPI_CreateExportTask_Call struct { +// MockCloudWatchLogsAPI_CreateDelivery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDelivery' +type MockCloudWatchLogsAPI_CreateDelivery_Call struct { *mock.Call } -// CreateExportTask is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.CreateExportTaskInput -func (_e *MockCloudWatchLogsAPI_Expecter) CreateExportTask(_a0 interface{}) *MockCloudWatchLogsAPI_CreateExportTask_Call { - return &MockCloudWatchLogsAPI_CreateExportTask_Call{Call: _e.mock.On("CreateExportTask", _a0)} +// CreateDelivery is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.CreateDeliveryInput +func (_e *MockCloudWatchLogsAPI_Expecter) CreateDelivery(_a0 interface{}) *MockCloudWatchLogsAPI_CreateDelivery_Call { + return &MockCloudWatchLogsAPI_CreateDelivery_Call{Call: _e.mock.On("CreateDelivery", _a0)} } -func (_c *MockCloudWatchLogsAPI_CreateExportTask_Call) Run(run func(_a0 *cloudwatchlogs.CreateExportTaskInput)) *MockCloudWatchLogsAPI_CreateExportTask_Call { +func (_c *MockCloudWatchLogsAPI_CreateDelivery_Call) Run(run func(_a0 *cloudwatchlogs.CreateDeliveryInput)) *MockCloudWatchLogsAPI_CreateDelivery_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.CreateExportTaskInput)) + run(args[0].(*cloudwatchlogs.CreateDeliveryInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_CreateExportTask_Call) Return(_a0 *cloudwatchlogs.CreateExportTaskOutput, _a1 error) *MockCloudWatchLogsAPI_CreateExportTask_Call { +func (_c *MockCloudWatchLogsAPI_CreateDelivery_Call) Return(_a0 *cloudwatchlogs.CreateDeliveryOutput, _a1 error) *MockCloudWatchLogsAPI_CreateDelivery_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_CreateExportTask_Call) RunAndReturn(run func(*cloudwatchlogs.CreateExportTaskInput) (*cloudwatchlogs.CreateExportTaskOutput, error)) *MockCloudWatchLogsAPI_CreateExportTask_Call { +func (_c *MockCloudWatchLogsAPI_CreateDelivery_Call) RunAndReturn(run func(*cloudwatchlogs.CreateDeliveryInput) (*cloudwatchlogs.CreateDeliveryOutput, error)) *MockCloudWatchLogsAPI_CreateDelivery_Call { _c.Call.Return(run) return _c } -// CreateExportTaskRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) CreateExportTaskRequest(_a0 *cloudwatchlogs.CreateExportTaskInput) (*request.Request, *cloudwatchlogs.CreateExportTaskOutput) { +// CreateDeliveryRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) CreateDeliveryRequest(_a0 *cloudwatchlogs.CreateDeliveryInput) (*request.Request, *cloudwatchlogs.CreateDeliveryOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateDeliveryRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.CreateExportTaskOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateExportTaskInput) (*request.Request, *cloudwatchlogs.CreateExportTaskOutput)); ok { + var r1 *cloudwatchlogs.CreateDeliveryOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateDeliveryInput) (*request.Request, *cloudwatchlogs.CreateDeliveryOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateExportTaskInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateDeliveryInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -456,47 +488,47 @@ func (_m *MockCloudWatchLogsAPI) CreateExportTaskRequest(_a0 *cloudwatchlogs.Cre } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateExportTaskInput) *cloudwatchlogs.CreateExportTaskOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateDeliveryInput) *cloudwatchlogs.CreateDeliveryOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.CreateExportTaskOutput) + r1 = ret.Get(1).(*cloudwatchlogs.CreateDeliveryOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_CreateExportTaskRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateExportTaskRequest' -type MockCloudWatchLogsAPI_CreateExportTaskRequest_Call struct { +// MockCloudWatchLogsAPI_CreateDeliveryRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDeliveryRequest' +type MockCloudWatchLogsAPI_CreateDeliveryRequest_Call struct { *mock.Call } -// CreateExportTaskRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.CreateExportTaskInput -func (_e *MockCloudWatchLogsAPI_Expecter) CreateExportTaskRequest(_a0 interface{}) *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call { - return &MockCloudWatchLogsAPI_CreateExportTaskRequest_Call{Call: _e.mock.On("CreateExportTaskRequest", _a0)} +// CreateDeliveryRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.CreateDeliveryInput +func (_e *MockCloudWatchLogsAPI_Expecter) CreateDeliveryRequest(_a0 interface{}) *MockCloudWatchLogsAPI_CreateDeliveryRequest_Call { + return &MockCloudWatchLogsAPI_CreateDeliveryRequest_Call{Call: _e.mock.On("CreateDeliveryRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call) Run(run func(_a0 *cloudwatchlogs.CreateExportTaskInput)) *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateDeliveryRequest_Call) Run(run func(_a0 *cloudwatchlogs.CreateDeliveryInput)) *MockCloudWatchLogsAPI_CreateDeliveryRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.CreateExportTaskInput)) + run(args[0].(*cloudwatchlogs.CreateDeliveryInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.CreateExportTaskOutput) *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateDeliveryRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.CreateDeliveryOutput) *MockCloudWatchLogsAPI_CreateDeliveryRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call) RunAndReturn(run func(*cloudwatchlogs.CreateExportTaskInput) (*request.Request, *cloudwatchlogs.CreateExportTaskOutput)) *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateDeliveryRequest_Call) RunAndReturn(run func(*cloudwatchlogs.CreateDeliveryInput) (*request.Request, *cloudwatchlogs.CreateDeliveryOutput)) *MockCloudWatchLogsAPI_CreateDeliveryRequest_Call { _c.Call.Return(run) return _c } -// CreateExportTaskWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) CreateExportTaskWithContext(_a0 context.Context, _a1 *cloudwatchlogs.CreateExportTaskInput, _a2 ...request.Option) (*cloudwatchlogs.CreateExportTaskOutput, error) { +// CreateDeliveryWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) CreateDeliveryWithContext(_a0 context.Context, _a1 *cloudwatchlogs.CreateDeliveryInput, _a2 ...request.Option) (*cloudwatchlogs.CreateDeliveryOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -506,20 +538,24 @@ func (_m *MockCloudWatchLogsAPI) CreateExportTaskWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.CreateExportTaskOutput + if len(ret) == 0 { + panic("no return value specified for CreateDeliveryWithContext") + } + + var r0 *cloudwatchlogs.CreateDeliveryOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateExportTaskInput, ...request.Option) (*cloudwatchlogs.CreateExportTaskOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateDeliveryInput, ...request.Option) (*cloudwatchlogs.CreateDeliveryOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateExportTaskInput, ...request.Option) *cloudwatchlogs.CreateExportTaskOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateDeliveryInput, ...request.Option) *cloudwatchlogs.CreateDeliveryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.CreateExportTaskOutput) + r0 = ret.Get(0).(*cloudwatchlogs.CreateDeliveryOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.CreateExportTaskInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.CreateDeliveryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -528,21 +564,21 @@ func (_m *MockCloudWatchLogsAPI) CreateExportTaskWithContext(_a0 context.Context return r0, r1 } -// MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateExportTaskWithContext' -type MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call struct { +// MockCloudWatchLogsAPI_CreateDeliveryWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDeliveryWithContext' +type MockCloudWatchLogsAPI_CreateDeliveryWithContext_Call struct { *mock.Call } -// CreateExportTaskWithContext is a helper method to define mock.On call +// CreateDeliveryWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.CreateExportTaskInput +// - _a1 *cloudwatchlogs.CreateDeliveryInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) CreateExportTaskWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call { - return &MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call{Call: _e.mock.On("CreateExportTaskWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) CreateDeliveryWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_CreateDeliveryWithContext_Call { + return &MockCloudWatchLogsAPI_CreateDeliveryWithContext_Call{Call: _e.mock.On("CreateDeliveryWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.CreateExportTaskInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateDeliveryWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.CreateDeliveryInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_CreateDeliveryWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -550,39 +586,43 @@ func (_c *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call) Run(run func(_ variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.CreateExportTaskInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.CreateDeliveryInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call) Return(_a0 *cloudwatchlogs.CreateExportTaskOutput, _a1 error) *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateDeliveryWithContext_Call) Return(_a0 *cloudwatchlogs.CreateDeliveryOutput, _a1 error) *MockCloudWatchLogsAPI_CreateDeliveryWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.CreateExportTaskInput, ...request.Option) (*cloudwatchlogs.CreateExportTaskOutput, error)) *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateDeliveryWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.CreateDeliveryInput, ...request.Option) (*cloudwatchlogs.CreateDeliveryOutput, error)) *MockCloudWatchLogsAPI_CreateDeliveryWithContext_Call { _c.Call.Return(run) return _c } -// CreateLogGroup provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) CreateLogGroup(_a0 *cloudwatchlogs.CreateLogGroupInput) (*cloudwatchlogs.CreateLogGroupOutput, error) { +// CreateExportTask provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) CreateExportTask(_a0 *cloudwatchlogs.CreateExportTaskInput) (*cloudwatchlogs.CreateExportTaskOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.CreateLogGroupOutput + if len(ret) == 0 { + panic("no return value specified for CreateExportTask") + } + + var r0 *cloudwatchlogs.CreateExportTaskOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogGroupInput) (*cloudwatchlogs.CreateLogGroupOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateExportTaskInput) (*cloudwatchlogs.CreateExportTaskOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogGroupInput) *cloudwatchlogs.CreateLogGroupOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateExportTaskInput) *cloudwatchlogs.CreateExportTaskOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.CreateLogGroupOutput) + r0 = ret.Get(0).(*cloudwatchlogs.CreateExportTaskOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateLogGroupInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateExportTaskInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -591,44 +631,48 @@ func (_m *MockCloudWatchLogsAPI) CreateLogGroup(_a0 *cloudwatchlogs.CreateLogGro return r0, r1 } -// MockCloudWatchLogsAPI_CreateLogGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogGroup' -type MockCloudWatchLogsAPI_CreateLogGroup_Call struct { +// MockCloudWatchLogsAPI_CreateExportTask_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateExportTask' +type MockCloudWatchLogsAPI_CreateExportTask_Call struct { *mock.Call } -// CreateLogGroup is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.CreateLogGroupInput -func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogGroup(_a0 interface{}) *MockCloudWatchLogsAPI_CreateLogGroup_Call { - return &MockCloudWatchLogsAPI_CreateLogGroup_Call{Call: _e.mock.On("CreateLogGroup", _a0)} +// CreateExportTask is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.CreateExportTaskInput +func (_e *MockCloudWatchLogsAPI_Expecter) CreateExportTask(_a0 interface{}) *MockCloudWatchLogsAPI_CreateExportTask_Call { + return &MockCloudWatchLogsAPI_CreateExportTask_Call{Call: _e.mock.On("CreateExportTask", _a0)} } -func (_c *MockCloudWatchLogsAPI_CreateLogGroup_Call) Run(run func(_a0 *cloudwatchlogs.CreateLogGroupInput)) *MockCloudWatchLogsAPI_CreateLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_CreateExportTask_Call) Run(run func(_a0 *cloudwatchlogs.CreateExportTaskInput)) *MockCloudWatchLogsAPI_CreateExportTask_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.CreateLogGroupInput)) + run(args[0].(*cloudwatchlogs.CreateExportTaskInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogGroup_Call) Return(_a0 *cloudwatchlogs.CreateLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_CreateLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_CreateExportTask_Call) Return(_a0 *cloudwatchlogs.CreateExportTaskOutput, _a1 error) *MockCloudWatchLogsAPI_CreateExportTask_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogGroup_Call) RunAndReturn(run func(*cloudwatchlogs.CreateLogGroupInput) (*cloudwatchlogs.CreateLogGroupOutput, error)) *MockCloudWatchLogsAPI_CreateLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_CreateExportTask_Call) RunAndReturn(run func(*cloudwatchlogs.CreateExportTaskInput) (*cloudwatchlogs.CreateExportTaskOutput, error)) *MockCloudWatchLogsAPI_CreateExportTask_Call { _c.Call.Return(run) return _c } -// CreateLogGroupRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) CreateLogGroupRequest(_a0 *cloudwatchlogs.CreateLogGroupInput) (*request.Request, *cloudwatchlogs.CreateLogGroupOutput) { +// CreateExportTaskRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) CreateExportTaskRequest(_a0 *cloudwatchlogs.CreateExportTaskInput) (*request.Request, *cloudwatchlogs.CreateExportTaskOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateExportTaskRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.CreateLogGroupOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogGroupInput) (*request.Request, *cloudwatchlogs.CreateLogGroupOutput)); ok { + var r1 *cloudwatchlogs.CreateExportTaskOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateExportTaskInput) (*request.Request, *cloudwatchlogs.CreateExportTaskOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogGroupInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateExportTaskInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -636,47 +680,47 @@ func (_m *MockCloudWatchLogsAPI) CreateLogGroupRequest(_a0 *cloudwatchlogs.Creat } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateLogGroupInput) *cloudwatchlogs.CreateLogGroupOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateExportTaskInput) *cloudwatchlogs.CreateExportTaskOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.CreateLogGroupOutput) + r1 = ret.Get(1).(*cloudwatchlogs.CreateExportTaskOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_CreateLogGroupRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogGroupRequest' -type MockCloudWatchLogsAPI_CreateLogGroupRequest_Call struct { +// MockCloudWatchLogsAPI_CreateExportTaskRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateExportTaskRequest' +type MockCloudWatchLogsAPI_CreateExportTaskRequest_Call struct { *mock.Call } -// CreateLogGroupRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.CreateLogGroupInput -func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogGroupRequest(_a0 interface{}) *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call { - return &MockCloudWatchLogsAPI_CreateLogGroupRequest_Call{Call: _e.mock.On("CreateLogGroupRequest", _a0)} +// CreateExportTaskRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.CreateExportTaskInput +func (_e *MockCloudWatchLogsAPI_Expecter) CreateExportTaskRequest(_a0 interface{}) *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call { + return &MockCloudWatchLogsAPI_CreateExportTaskRequest_Call{Call: _e.mock.On("CreateExportTaskRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call) Run(run func(_a0 *cloudwatchlogs.CreateLogGroupInput)) *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call) Run(run func(_a0 *cloudwatchlogs.CreateExportTaskInput)) *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.CreateLogGroupInput)) + run(args[0].(*cloudwatchlogs.CreateExportTaskInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.CreateLogGroupOutput) *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.CreateExportTaskOutput) *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call) RunAndReturn(run func(*cloudwatchlogs.CreateLogGroupInput) (*request.Request, *cloudwatchlogs.CreateLogGroupOutput)) *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call) RunAndReturn(run func(*cloudwatchlogs.CreateExportTaskInput) (*request.Request, *cloudwatchlogs.CreateExportTaskOutput)) *MockCloudWatchLogsAPI_CreateExportTaskRequest_Call { _c.Call.Return(run) return _c } -// CreateLogGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) CreateLogGroupWithContext(_a0 context.Context, _a1 *cloudwatchlogs.CreateLogGroupInput, _a2 ...request.Option) (*cloudwatchlogs.CreateLogGroupOutput, error) { +// CreateExportTaskWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) CreateExportTaskWithContext(_a0 context.Context, _a1 *cloudwatchlogs.CreateExportTaskInput, _a2 ...request.Option) (*cloudwatchlogs.CreateExportTaskOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -686,20 +730,24 @@ func (_m *MockCloudWatchLogsAPI) CreateLogGroupWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.CreateLogGroupOutput + if len(ret) == 0 { + panic("no return value specified for CreateExportTaskWithContext") + } + + var r0 *cloudwatchlogs.CreateExportTaskOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogGroupInput, ...request.Option) (*cloudwatchlogs.CreateLogGroupOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateExportTaskInput, ...request.Option) (*cloudwatchlogs.CreateExportTaskOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogGroupInput, ...request.Option) *cloudwatchlogs.CreateLogGroupOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateExportTaskInput, ...request.Option) *cloudwatchlogs.CreateExportTaskOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.CreateLogGroupOutput) + r0 = ret.Get(0).(*cloudwatchlogs.CreateExportTaskOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.CreateLogGroupInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.CreateExportTaskInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -708,21 +756,21 @@ func (_m *MockCloudWatchLogsAPI) CreateLogGroupWithContext(_a0 context.Context, return r0, r1 } -// MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogGroupWithContext' -type MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call struct { +// MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateExportTaskWithContext' +type MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call struct { *mock.Call } -// CreateLogGroupWithContext is a helper method to define mock.On call +// CreateExportTaskWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.CreateLogGroupInput +// - _a1 *cloudwatchlogs.CreateExportTaskInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogGroupWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call { - return &MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call{Call: _e.mock.On("CreateLogGroupWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) CreateExportTaskWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call { + return &MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call{Call: _e.mock.On("CreateExportTaskWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.CreateLogGroupInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.CreateExportTaskInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -730,39 +778,43 @@ func (_c *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call) Run(run func(_a0 variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.CreateLogGroupInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.CreateExportTaskInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call) Return(_a0 *cloudwatchlogs.CreateLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call) Return(_a0 *cloudwatchlogs.CreateExportTaskOutput, _a1 error) *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.CreateLogGroupInput, ...request.Option) (*cloudwatchlogs.CreateLogGroupOutput, error)) *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.CreateExportTaskInput, ...request.Option) (*cloudwatchlogs.CreateExportTaskOutput, error)) *MockCloudWatchLogsAPI_CreateExportTaskWithContext_Call { _c.Call.Return(run) return _c } -// CreateLogStream provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) CreateLogStream(_a0 *cloudwatchlogs.CreateLogStreamInput) (*cloudwatchlogs.CreateLogStreamOutput, error) { +// CreateLogAnomalyDetector provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) CreateLogAnomalyDetector(_a0 *cloudwatchlogs.CreateLogAnomalyDetectorInput) (*cloudwatchlogs.CreateLogAnomalyDetectorOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.CreateLogStreamOutput + if len(ret) == 0 { + panic("no return value specified for CreateLogAnomalyDetector") + } + + var r0 *cloudwatchlogs.CreateLogAnomalyDetectorOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogStreamInput) (*cloudwatchlogs.CreateLogStreamOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogAnomalyDetectorInput) (*cloudwatchlogs.CreateLogAnomalyDetectorOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogStreamInput) *cloudwatchlogs.CreateLogStreamOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogAnomalyDetectorInput) *cloudwatchlogs.CreateLogAnomalyDetectorOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.CreateLogStreamOutput) + r0 = ret.Get(0).(*cloudwatchlogs.CreateLogAnomalyDetectorOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateLogStreamInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateLogAnomalyDetectorInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -771,44 +823,48 @@ func (_m *MockCloudWatchLogsAPI) CreateLogStream(_a0 *cloudwatchlogs.CreateLogSt return r0, r1 } -// MockCloudWatchLogsAPI_CreateLogStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogStream' -type MockCloudWatchLogsAPI_CreateLogStream_Call struct { +// MockCloudWatchLogsAPI_CreateLogAnomalyDetector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogAnomalyDetector' +type MockCloudWatchLogsAPI_CreateLogAnomalyDetector_Call struct { *mock.Call } -// CreateLogStream is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.CreateLogStreamInput -func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogStream(_a0 interface{}) *MockCloudWatchLogsAPI_CreateLogStream_Call { - return &MockCloudWatchLogsAPI_CreateLogStream_Call{Call: _e.mock.On("CreateLogStream", _a0)} +// CreateLogAnomalyDetector is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.CreateLogAnomalyDetectorInput +func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogAnomalyDetector(_a0 interface{}) *MockCloudWatchLogsAPI_CreateLogAnomalyDetector_Call { + return &MockCloudWatchLogsAPI_CreateLogAnomalyDetector_Call{Call: _e.mock.On("CreateLogAnomalyDetector", _a0)} } -func (_c *MockCloudWatchLogsAPI_CreateLogStream_Call) Run(run func(_a0 *cloudwatchlogs.CreateLogStreamInput)) *MockCloudWatchLogsAPI_CreateLogStream_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogAnomalyDetector_Call) Run(run func(_a0 *cloudwatchlogs.CreateLogAnomalyDetectorInput)) *MockCloudWatchLogsAPI_CreateLogAnomalyDetector_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.CreateLogStreamInput)) + run(args[0].(*cloudwatchlogs.CreateLogAnomalyDetectorInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogStream_Call) Return(_a0 *cloudwatchlogs.CreateLogStreamOutput, _a1 error) *MockCloudWatchLogsAPI_CreateLogStream_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogAnomalyDetector_Call) Return(_a0 *cloudwatchlogs.CreateLogAnomalyDetectorOutput, _a1 error) *MockCloudWatchLogsAPI_CreateLogAnomalyDetector_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogStream_Call) RunAndReturn(run func(*cloudwatchlogs.CreateLogStreamInput) (*cloudwatchlogs.CreateLogStreamOutput, error)) *MockCloudWatchLogsAPI_CreateLogStream_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogAnomalyDetector_Call) RunAndReturn(run func(*cloudwatchlogs.CreateLogAnomalyDetectorInput) (*cloudwatchlogs.CreateLogAnomalyDetectorOutput, error)) *MockCloudWatchLogsAPI_CreateLogAnomalyDetector_Call { _c.Call.Return(run) return _c } -// CreateLogStreamRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) CreateLogStreamRequest(_a0 *cloudwatchlogs.CreateLogStreamInput) (*request.Request, *cloudwatchlogs.CreateLogStreamOutput) { +// CreateLogAnomalyDetectorRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) CreateLogAnomalyDetectorRequest(_a0 *cloudwatchlogs.CreateLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.CreateLogAnomalyDetectorOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateLogAnomalyDetectorRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.CreateLogStreamOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogStreamInput) (*request.Request, *cloudwatchlogs.CreateLogStreamOutput)); ok { + var r1 *cloudwatchlogs.CreateLogAnomalyDetectorOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.CreateLogAnomalyDetectorOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogStreamInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogAnomalyDetectorInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -816,47 +872,47 @@ func (_m *MockCloudWatchLogsAPI) CreateLogStreamRequest(_a0 *cloudwatchlogs.Crea } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateLogStreamInput) *cloudwatchlogs.CreateLogStreamOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateLogAnomalyDetectorInput) *cloudwatchlogs.CreateLogAnomalyDetectorOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.CreateLogStreamOutput) + r1 = ret.Get(1).(*cloudwatchlogs.CreateLogAnomalyDetectorOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_CreateLogStreamRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogStreamRequest' -type MockCloudWatchLogsAPI_CreateLogStreamRequest_Call struct { +// MockCloudWatchLogsAPI_CreateLogAnomalyDetectorRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogAnomalyDetectorRequest' +type MockCloudWatchLogsAPI_CreateLogAnomalyDetectorRequest_Call struct { *mock.Call } -// CreateLogStreamRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.CreateLogStreamInput -func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogStreamRequest(_a0 interface{}) *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call { - return &MockCloudWatchLogsAPI_CreateLogStreamRequest_Call{Call: _e.mock.On("CreateLogStreamRequest", _a0)} +// CreateLogAnomalyDetectorRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.CreateLogAnomalyDetectorInput +func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogAnomalyDetectorRequest(_a0 interface{}) *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorRequest_Call { + return &MockCloudWatchLogsAPI_CreateLogAnomalyDetectorRequest_Call{Call: _e.mock.On("CreateLogAnomalyDetectorRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call) Run(run func(_a0 *cloudwatchlogs.CreateLogStreamInput)) *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorRequest_Call) Run(run func(_a0 *cloudwatchlogs.CreateLogAnomalyDetectorInput)) *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.CreateLogStreamInput)) + run(args[0].(*cloudwatchlogs.CreateLogAnomalyDetectorInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.CreateLogStreamOutput) *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.CreateLogAnomalyDetectorOutput) *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call) RunAndReturn(run func(*cloudwatchlogs.CreateLogStreamInput) (*request.Request, *cloudwatchlogs.CreateLogStreamOutput)) *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorRequest_Call) RunAndReturn(run func(*cloudwatchlogs.CreateLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.CreateLogAnomalyDetectorOutput)) *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorRequest_Call { _c.Call.Return(run) return _c } -// CreateLogStreamWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) CreateLogStreamWithContext(_a0 context.Context, _a1 *cloudwatchlogs.CreateLogStreamInput, _a2 ...request.Option) (*cloudwatchlogs.CreateLogStreamOutput, error) { +// CreateLogAnomalyDetectorWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) CreateLogAnomalyDetectorWithContext(_a0 context.Context, _a1 *cloudwatchlogs.CreateLogAnomalyDetectorInput, _a2 ...request.Option) (*cloudwatchlogs.CreateLogAnomalyDetectorOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -866,20 +922,24 @@ func (_m *MockCloudWatchLogsAPI) CreateLogStreamWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.CreateLogStreamOutput + if len(ret) == 0 { + panic("no return value specified for CreateLogAnomalyDetectorWithContext") + } + + var r0 *cloudwatchlogs.CreateLogAnomalyDetectorOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogStreamInput, ...request.Option) (*cloudwatchlogs.CreateLogStreamOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogAnomalyDetectorInput, ...request.Option) (*cloudwatchlogs.CreateLogAnomalyDetectorOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogStreamInput, ...request.Option) *cloudwatchlogs.CreateLogStreamOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogAnomalyDetectorInput, ...request.Option) *cloudwatchlogs.CreateLogAnomalyDetectorOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.CreateLogStreamOutput) + r0 = ret.Get(0).(*cloudwatchlogs.CreateLogAnomalyDetectorOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.CreateLogStreamInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.CreateLogAnomalyDetectorInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -888,21 +948,21 @@ func (_m *MockCloudWatchLogsAPI) CreateLogStreamWithContext(_a0 context.Context, return r0, r1 } -// MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogStreamWithContext' -type MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call struct { +// MockCloudWatchLogsAPI_CreateLogAnomalyDetectorWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogAnomalyDetectorWithContext' +type MockCloudWatchLogsAPI_CreateLogAnomalyDetectorWithContext_Call struct { *mock.Call } -// CreateLogStreamWithContext is a helper method to define mock.On call +// CreateLogAnomalyDetectorWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.CreateLogStreamInput +// - _a1 *cloudwatchlogs.CreateLogAnomalyDetectorInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogStreamWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call { - return &MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call{Call: _e.mock.On("CreateLogStreamWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogAnomalyDetectorWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorWithContext_Call { + return &MockCloudWatchLogsAPI_CreateLogAnomalyDetectorWithContext_Call{Call: _e.mock.On("CreateLogAnomalyDetectorWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.CreateLogStreamInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.CreateLogAnomalyDetectorInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -910,39 +970,43 @@ func (_c *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call) Run(run func(_a variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.CreateLogStreamInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.CreateLogAnomalyDetectorInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call) Return(_a0 *cloudwatchlogs.CreateLogStreamOutput, _a1 error) *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorWithContext_Call) Return(_a0 *cloudwatchlogs.CreateLogAnomalyDetectorOutput, _a1 error) *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.CreateLogStreamInput, ...request.Option) (*cloudwatchlogs.CreateLogStreamOutput, error)) *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.CreateLogAnomalyDetectorInput, ...request.Option) (*cloudwatchlogs.CreateLogAnomalyDetectorOutput, error)) *MockCloudWatchLogsAPI_CreateLogAnomalyDetectorWithContext_Call { _c.Call.Return(run) return _c } -// DeleteAccountPolicy provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteAccountPolicy(_a0 *cloudwatchlogs.DeleteAccountPolicyInput) (*cloudwatchlogs.DeleteAccountPolicyOutput, error) { +// CreateLogGroup provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) CreateLogGroup(_a0 *cloudwatchlogs.CreateLogGroupInput) (*cloudwatchlogs.CreateLogGroupOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DeleteAccountPolicyOutput + if len(ret) == 0 { + panic("no return value specified for CreateLogGroup") + } + + var r0 *cloudwatchlogs.CreateLogGroupOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteAccountPolicyInput) (*cloudwatchlogs.DeleteAccountPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogGroupInput) (*cloudwatchlogs.CreateLogGroupOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteAccountPolicyInput) *cloudwatchlogs.DeleteAccountPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogGroupInput) *cloudwatchlogs.CreateLogGroupOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteAccountPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.CreateLogGroupOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteAccountPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateLogGroupInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -951,44 +1015,48 @@ func (_m *MockCloudWatchLogsAPI) DeleteAccountPolicy(_a0 *cloudwatchlogs.DeleteA return r0, r1 } -// MockCloudWatchLogsAPI_DeleteAccountPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAccountPolicy' -type MockCloudWatchLogsAPI_DeleteAccountPolicy_Call struct { +// MockCloudWatchLogsAPI_CreateLogGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogGroup' +type MockCloudWatchLogsAPI_CreateLogGroup_Call struct { *mock.Call } -// DeleteAccountPolicy is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteAccountPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteAccountPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call { - return &MockCloudWatchLogsAPI_DeleteAccountPolicy_Call{Call: _e.mock.On("DeleteAccountPolicy", _a0)} +// CreateLogGroup is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.CreateLogGroupInput +func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogGroup(_a0 interface{}) *MockCloudWatchLogsAPI_CreateLogGroup_Call { + return &MockCloudWatchLogsAPI_CreateLogGroup_Call{Call: _e.mock.On("CreateLogGroup", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call) Run(run func(_a0 *cloudwatchlogs.DeleteAccountPolicyInput)) *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogGroup_Call) Run(run func(_a0 *cloudwatchlogs.CreateLogGroupInput)) *MockCloudWatchLogsAPI_CreateLogGroup_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteAccountPolicyInput)) + run(args[0].(*cloudwatchlogs.CreateLogGroupInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call) Return(_a0 *cloudwatchlogs.DeleteAccountPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogGroup_Call) Return(_a0 *cloudwatchlogs.CreateLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_CreateLogGroup_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteAccountPolicyInput) (*cloudwatchlogs.DeleteAccountPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogGroup_Call) RunAndReturn(run func(*cloudwatchlogs.CreateLogGroupInput) (*cloudwatchlogs.CreateLogGroupOutput, error)) *MockCloudWatchLogsAPI_CreateLogGroup_Call { _c.Call.Return(run) return _c } -// DeleteAccountPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteAccountPolicyRequest(_a0 *cloudwatchlogs.DeleteAccountPolicyInput) (*request.Request, *cloudwatchlogs.DeleteAccountPolicyOutput) { +// CreateLogGroupRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) CreateLogGroupRequest(_a0 *cloudwatchlogs.CreateLogGroupInput) (*request.Request, *cloudwatchlogs.CreateLogGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateLogGroupRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DeleteAccountPolicyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteAccountPolicyInput) (*request.Request, *cloudwatchlogs.DeleteAccountPolicyOutput)); ok { + var r1 *cloudwatchlogs.CreateLogGroupOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogGroupInput) (*request.Request, *cloudwatchlogs.CreateLogGroupOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteAccountPolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogGroupInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -996,47 +1064,47 @@ func (_m *MockCloudWatchLogsAPI) DeleteAccountPolicyRequest(_a0 *cloudwatchlogs. } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteAccountPolicyInput) *cloudwatchlogs.DeleteAccountPolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateLogGroupInput) *cloudwatchlogs.CreateLogGroupOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DeleteAccountPolicyOutput) + r1 = ret.Get(1).(*cloudwatchlogs.CreateLogGroupOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAccountPolicyRequest' -type MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call struct { +// MockCloudWatchLogsAPI_CreateLogGroupRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogGroupRequest' +type MockCloudWatchLogsAPI_CreateLogGroupRequest_Call struct { *mock.Call } -// DeleteAccountPolicyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteAccountPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteAccountPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call { - return &MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call{Call: _e.mock.On("DeleteAccountPolicyRequest", _a0)} +// CreateLogGroupRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.CreateLogGroupInput +func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogGroupRequest(_a0 interface{}) *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call { + return &MockCloudWatchLogsAPI_CreateLogGroupRequest_Call{Call: _e.mock.On("CreateLogGroupRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteAccountPolicyInput)) *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call) Run(run func(_a0 *cloudwatchlogs.CreateLogGroupInput)) *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteAccountPolicyInput)) + run(args[0].(*cloudwatchlogs.CreateLogGroupInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteAccountPolicyOutput) *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.CreateLogGroupOutput) *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteAccountPolicyInput) (*request.Request, *cloudwatchlogs.DeleteAccountPolicyOutput)) *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call) RunAndReturn(run func(*cloudwatchlogs.CreateLogGroupInput) (*request.Request, *cloudwatchlogs.CreateLogGroupOutput)) *MockCloudWatchLogsAPI_CreateLogGroupRequest_Call { _c.Call.Return(run) return _c } -// DeleteAccountPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DeleteAccountPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteAccountPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteAccountPolicyOutput, error) { +// CreateLogGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) CreateLogGroupWithContext(_a0 context.Context, _a1 *cloudwatchlogs.CreateLogGroupInput, _a2 ...request.Option) (*cloudwatchlogs.CreateLogGroupOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1046,20 +1114,24 @@ func (_m *MockCloudWatchLogsAPI) DeleteAccountPolicyWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DeleteAccountPolicyOutput + if len(ret) == 0 { + panic("no return value specified for CreateLogGroupWithContext") + } + + var r0 *cloudwatchlogs.CreateLogGroupOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteAccountPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteAccountPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogGroupInput, ...request.Option) (*cloudwatchlogs.CreateLogGroupOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteAccountPolicyInput, ...request.Option) *cloudwatchlogs.DeleteAccountPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogGroupInput, ...request.Option) *cloudwatchlogs.CreateLogGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteAccountPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.CreateLogGroupOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteAccountPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.CreateLogGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1068,21 +1140,21 @@ func (_m *MockCloudWatchLogsAPI) DeleteAccountPolicyWithContext(_a0 context.Cont return r0, r1 } -// MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAccountPolicyWithContext' -type MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call struct { +// MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogGroupWithContext' +type MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call struct { *mock.Call } -// DeleteAccountPolicyWithContext is a helper method to define mock.On call +// CreateLogGroupWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DeleteAccountPolicyInput +// - _a1 *cloudwatchlogs.CreateLogGroupInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteAccountPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call { - return &MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call{Call: _e.mock.On("DeleteAccountPolicyWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogGroupWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call { + return &MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call{Call: _e.mock.On("CreateLogGroupWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteAccountPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.CreateLogGroupInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -1090,39 +1162,43 @@ func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call) Run(run fun variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteAccountPolicyInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.CreateLogGroupInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteAccountPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call) Return(_a0 *cloudwatchlogs.CreateLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteAccountPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteAccountPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.CreateLogGroupInput, ...request.Option) (*cloudwatchlogs.CreateLogGroupOutput, error)) *MockCloudWatchLogsAPI_CreateLogGroupWithContext_Call { _c.Call.Return(run) return _c } -// DeleteDataProtectionPolicy provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteDataProtectionPolicy(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error) { +// CreateLogStream provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) CreateLogStream(_a0 *cloudwatchlogs.CreateLogStreamInput) (*cloudwatchlogs.CreateLogStreamOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DeleteDataProtectionPolicyOutput + if len(ret) == 0 { + panic("no return value specified for CreateLogStream") + } + + var r0 *cloudwatchlogs.CreateLogStreamOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogStreamInput) (*cloudwatchlogs.CreateLogStreamOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) *cloudwatchlogs.DeleteDataProtectionPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogStreamInput) *cloudwatchlogs.CreateLogStreamOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteDataProtectionPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.CreateLogStreamOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateLogStreamInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1131,44 +1207,48 @@ func (_m *MockCloudWatchLogsAPI) DeleteDataProtectionPolicy(_a0 *cloudwatchlogs. return r0, r1 } -// MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDataProtectionPolicy' -type MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call struct { +// MockCloudWatchLogsAPI_CreateLogStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogStream' +type MockCloudWatchLogsAPI_CreateLogStream_Call struct { *mock.Call } -// DeleteDataProtectionPolicy is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDataProtectionPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call { - return &MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call{Call: _e.mock.On("DeleteDataProtectionPolicy", _a0)} +// CreateLogStream is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.CreateLogStreamInput +func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogStream(_a0 interface{}) *MockCloudWatchLogsAPI_CreateLogStream_Call { + return &MockCloudWatchLogsAPI_CreateLogStream_Call{Call: _e.mock.On("CreateLogStream", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogStream_Call) Run(run func(_a0 *cloudwatchlogs.CreateLogStreamInput)) *MockCloudWatchLogsAPI_CreateLogStream_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteDataProtectionPolicyInput)) + run(args[0].(*cloudwatchlogs.CreateLogStreamInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call) Return(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogStream_Call) Return(_a0 *cloudwatchlogs.CreateLogStreamOutput, _a1 error) *MockCloudWatchLogsAPI_CreateLogStream_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogStream_Call) RunAndReturn(run func(*cloudwatchlogs.CreateLogStreamInput) (*cloudwatchlogs.CreateLogStreamOutput, error)) *MockCloudWatchLogsAPI_CreateLogStream_Call { _c.Call.Return(run) return _c } -// DeleteDataProtectionPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteDataProtectionPolicyRequest(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteDataProtectionPolicyOutput) { +// CreateLogStreamRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) CreateLogStreamRequest(_a0 *cloudwatchlogs.CreateLogStreamInput) (*request.Request, *cloudwatchlogs.CreateLogStreamOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateLogStreamRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DeleteDataProtectionPolicyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteDataProtectionPolicyOutput)); ok { + var r1 *cloudwatchlogs.CreateLogStreamOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogStreamInput) (*request.Request, *cloudwatchlogs.CreateLogStreamOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.CreateLogStreamInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1176,47 +1256,47 @@ func (_m *MockCloudWatchLogsAPI) DeleteDataProtectionPolicyRequest(_a0 *cloudwat } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) *cloudwatchlogs.DeleteDataProtectionPolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.CreateLogStreamInput) *cloudwatchlogs.CreateLogStreamOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DeleteDataProtectionPolicyOutput) + r1 = ret.Get(1).(*cloudwatchlogs.CreateLogStreamOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDataProtectionPolicyRequest' -type MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call struct { +// MockCloudWatchLogsAPI_CreateLogStreamRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogStreamRequest' +type MockCloudWatchLogsAPI_CreateLogStreamRequest_Call struct { *mock.Call } -// DeleteDataProtectionPolicyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDataProtectionPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call { - return &MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call{Call: _e.mock.On("DeleteDataProtectionPolicyRequest", _a0)} +// CreateLogStreamRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.CreateLogStreamInput +func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogStreamRequest(_a0 interface{}) *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call { + return &MockCloudWatchLogsAPI_CreateLogStreamRequest_Call{Call: _e.mock.On("CreateLogStreamRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call) Run(run func(_a0 *cloudwatchlogs.CreateLogStreamInput)) *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteDataProtectionPolicyInput)) + run(args[0].(*cloudwatchlogs.CreateLogStreamInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteDataProtectionPolicyOutput) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.CreateLogStreamOutput) *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteDataProtectionPolicyOutput)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call) RunAndReturn(run func(*cloudwatchlogs.CreateLogStreamInput) (*request.Request, *cloudwatchlogs.CreateLogStreamOutput)) *MockCloudWatchLogsAPI_CreateLogStreamRequest_Call { _c.Call.Return(run) return _c } -// DeleteDataProtectionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DeleteDataProtectionPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDataProtectionPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error) { +// CreateLogStreamWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) CreateLogStreamWithContext(_a0 context.Context, _a1 *cloudwatchlogs.CreateLogStreamInput, _a2 ...request.Option) (*cloudwatchlogs.CreateLogStreamOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1226,20 +1306,24 @@ func (_m *MockCloudWatchLogsAPI) DeleteDataProtectionPolicyWithContext(_a0 conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DeleteDataProtectionPolicyOutput + if len(ret) == 0 { + panic("no return value specified for CreateLogStreamWithContext") + } + + var r0 *cloudwatchlogs.CreateLogStreamOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogStreamInput, ...request.Option) (*cloudwatchlogs.CreateLogStreamOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDataProtectionPolicyInput, ...request.Option) *cloudwatchlogs.DeleteDataProtectionPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.CreateLogStreamInput, ...request.Option) *cloudwatchlogs.CreateLogStreamOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteDataProtectionPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.CreateLogStreamOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteDataProtectionPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.CreateLogStreamInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1248,21 +1332,21 @@ func (_m *MockCloudWatchLogsAPI) DeleteDataProtectionPolicyWithContext(_a0 conte return r0, r1 } -// MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDataProtectionPolicyWithContext' -type MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call struct { +// MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateLogStreamWithContext' +type MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call struct { *mock.Call } -// DeleteDataProtectionPolicyWithContext is a helper method to define mock.On call +// CreateLogStreamWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DeleteDataProtectionPolicyInput +// - _a1 *cloudwatchlogs.CreateLogStreamInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDataProtectionPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call { - return &MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call{Call: _e.mock.On("DeleteDataProtectionPolicyWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) CreateLogStreamWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call { + return &MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call{Call: _e.mock.On("CreateLogStreamWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDataProtectionPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.CreateLogStreamInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -1270,39 +1354,43 @@ func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call) Run( variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteDataProtectionPolicyInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.CreateLogStreamInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call) Return(_a0 *cloudwatchlogs.CreateLogStreamOutput, _a1 error) *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.CreateLogStreamInput, ...request.Option) (*cloudwatchlogs.CreateLogStreamOutput, error)) *MockCloudWatchLogsAPI_CreateLogStreamWithContext_Call { _c.Call.Return(run) return _c } -// DeleteDestination provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteDestination(_a0 *cloudwatchlogs.DeleteDestinationInput) (*cloudwatchlogs.DeleteDestinationOutput, error) { +// DeleteAccountPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteAccountPolicy(_a0 *cloudwatchlogs.DeleteAccountPolicyInput) (*cloudwatchlogs.DeleteAccountPolicyOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DeleteDestinationOutput + if len(ret) == 0 { + panic("no return value specified for DeleteAccountPolicy") + } + + var r0 *cloudwatchlogs.DeleteAccountPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDestinationInput) (*cloudwatchlogs.DeleteDestinationOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteAccountPolicyInput) (*cloudwatchlogs.DeleteAccountPolicyOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDestinationInput) *cloudwatchlogs.DeleteDestinationOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteAccountPolicyInput) *cloudwatchlogs.DeleteAccountPolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteDestinationOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteAccountPolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDestinationInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteAccountPolicyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1311,44 +1399,48 @@ func (_m *MockCloudWatchLogsAPI) DeleteDestination(_a0 *cloudwatchlogs.DeleteDes return r0, r1 } -// MockCloudWatchLogsAPI_DeleteDestination_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDestination' -type MockCloudWatchLogsAPI_DeleteDestination_Call struct { +// MockCloudWatchLogsAPI_DeleteAccountPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAccountPolicy' +type MockCloudWatchLogsAPI_DeleteAccountPolicy_Call struct { *mock.Call } -// DeleteDestination is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteDestinationInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDestination(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDestination_Call { - return &MockCloudWatchLogsAPI_DeleteDestination_Call{Call: _e.mock.On("DeleteDestination", _a0)} +// DeleteAccountPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteAccountPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteAccountPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call { + return &MockCloudWatchLogsAPI_DeleteAccountPolicy_Call{Call: _e.mock.On("DeleteAccountPolicy", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteDestination_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDestinationInput)) *MockCloudWatchLogsAPI_DeleteDestination_Call { +func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call) Run(run func(_a0 *cloudwatchlogs.DeleteAccountPolicyInput)) *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteDestinationInput)) + run(args[0].(*cloudwatchlogs.DeleteAccountPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDestination_Call) Return(_a0 *cloudwatchlogs.DeleteDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDestination_Call { +func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call) Return(_a0 *cloudwatchlogs.DeleteAccountPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDestination_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDestinationInput) (*cloudwatchlogs.DeleteDestinationOutput, error)) *MockCloudWatchLogsAPI_DeleteDestination_Call { +func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteAccountPolicyInput) (*cloudwatchlogs.DeleteAccountPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteAccountPolicy_Call { _c.Call.Return(run) return _c } -// DeleteDestinationRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteDestinationRequest(_a0 *cloudwatchlogs.DeleteDestinationInput) (*request.Request, *cloudwatchlogs.DeleteDestinationOutput) { +// DeleteAccountPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteAccountPolicyRequest(_a0 *cloudwatchlogs.DeleteAccountPolicyInput) (*request.Request, *cloudwatchlogs.DeleteAccountPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAccountPolicyRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DeleteDestinationOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDestinationInput) (*request.Request, *cloudwatchlogs.DeleteDestinationOutput)); ok { + var r1 *cloudwatchlogs.DeleteAccountPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteAccountPolicyInput) (*request.Request, *cloudwatchlogs.DeleteAccountPolicyOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDestinationInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteAccountPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1356,47 +1448,47 @@ func (_m *MockCloudWatchLogsAPI) DeleteDestinationRequest(_a0 *cloudwatchlogs.De } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDestinationInput) *cloudwatchlogs.DeleteDestinationOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteAccountPolicyInput) *cloudwatchlogs.DeleteAccountPolicyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DeleteDestinationOutput) + r1 = ret.Get(1).(*cloudwatchlogs.DeleteAccountPolicyOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteDestinationRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDestinationRequest' -type MockCloudWatchLogsAPI_DeleteDestinationRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAccountPolicyRequest' +type MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call struct { *mock.Call } -// DeleteDestinationRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteDestinationInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDestinationRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call { - return &MockCloudWatchLogsAPI_DeleteDestinationRequest_Call{Call: _e.mock.On("DeleteDestinationRequest", _a0)} -} - -func (_c *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDestinationInput)) *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call { +// DeleteAccountPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteAccountPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteAccountPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call { + return &MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call{Call: _e.mock.On("DeleteAccountPolicyRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteAccountPolicyInput)) *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteDestinationInput)) + run(args[0].(*cloudwatchlogs.DeleteAccountPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteDestinationOutput) *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteAccountPolicyOutput) *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDestinationInput) (*request.Request, *cloudwatchlogs.DeleteDestinationOutput)) *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteAccountPolicyInput) (*request.Request, *cloudwatchlogs.DeleteAccountPolicyOutput)) *MockCloudWatchLogsAPI_DeleteAccountPolicyRequest_Call { _c.Call.Return(run) return _c } -// DeleteDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DeleteDestinationWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDestinationInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteDestinationOutput, error) { +// DeleteAccountPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteAccountPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteAccountPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteAccountPolicyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1406,20 +1498,24 @@ func (_m *MockCloudWatchLogsAPI) DeleteDestinationWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DeleteDestinationOutput + if len(ret) == 0 { + panic("no return value specified for DeleteAccountPolicyWithContext") + } + + var r0 *cloudwatchlogs.DeleteAccountPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDestinationInput, ...request.Option) (*cloudwatchlogs.DeleteDestinationOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteAccountPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteAccountPolicyOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDestinationInput, ...request.Option) *cloudwatchlogs.DeleteDestinationOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteAccountPolicyInput, ...request.Option) *cloudwatchlogs.DeleteAccountPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteDestinationOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteAccountPolicyOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteDestinationInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteAccountPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1428,21 +1524,21 @@ func (_m *MockCloudWatchLogsAPI) DeleteDestinationWithContext(_a0 context.Contex return r0, r1 } -// MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDestinationWithContext' -type MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAccountPolicyWithContext' +type MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call struct { *mock.Call } -// DeleteDestinationWithContext is a helper method to define mock.On call +// DeleteAccountPolicyWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DeleteDestinationInput +// - _a1 *cloudwatchlogs.DeleteAccountPolicyInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDestinationWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call { - return &MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call{Call: _e.mock.On("DeleteDestinationWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteAccountPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call{Call: _e.mock.On("DeleteAccountPolicyWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDestinationInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteAccountPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -1450,39 +1546,43 @@ func (_c *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call) Run(run func( variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteDestinationInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteAccountPolicyInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteAccountPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteDestinationInput, ...request.Option) (*cloudwatchlogs.DeleteDestinationOutput, error)) *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteAccountPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteAccountPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteAccountPolicyWithContext_Call { _c.Call.Return(run) return _c } -// DeleteLogGroup provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteLogGroup(_a0 *cloudwatchlogs.DeleteLogGroupInput) (*cloudwatchlogs.DeleteLogGroupOutput, error) { +// DeleteDataProtectionPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDataProtectionPolicy(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DeleteLogGroupOutput + if len(ret) == 0 { + panic("no return value specified for DeleteDataProtectionPolicy") + } + + var r0 *cloudwatchlogs.DeleteDataProtectionPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogGroupInput) (*cloudwatchlogs.DeleteLogGroupOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogGroupInput) *cloudwatchlogs.DeleteLogGroupOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) *cloudwatchlogs.DeleteDataProtectionPolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteLogGroupOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDataProtectionPolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteLogGroupInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1491,44 +1591,48 @@ func (_m *MockCloudWatchLogsAPI) DeleteLogGroup(_a0 *cloudwatchlogs.DeleteLogGro return r0, r1 } -// MockCloudWatchLogsAPI_DeleteLogGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogGroup' -type MockCloudWatchLogsAPI_DeleteLogGroup_Call struct { +// MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDataProtectionPolicy' +type MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call struct { *mock.Call } -// DeleteLogGroup is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteLogGroupInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogGroup(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteLogGroup_Call { - return &MockCloudWatchLogsAPI_DeleteLogGroup_Call{Call: _e.mock.On("DeleteLogGroup", _a0)} +// DeleteDataProtectionPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDataProtectionPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call { + return &MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call{Call: _e.mock.On("DeleteDataProtectionPolicy", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteLogGroup_Call) Run(run func(_a0 *cloudwatchlogs.DeleteLogGroupInput)) *MockCloudWatchLogsAPI_DeleteLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteLogGroupInput)) + run(args[0].(*cloudwatchlogs.DeleteDataProtectionPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogGroup_Call) Return(_a0 *cloudwatchlogs.DeleteLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call) Return(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogGroup_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteLogGroupInput) (*cloudwatchlogs.DeleteLogGroupOutput, error)) *MockCloudWatchLogsAPI_DeleteLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicy_Call { _c.Call.Return(run) return _c } -// DeleteLogGroupRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteLogGroupRequest(_a0 *cloudwatchlogs.DeleteLogGroupInput) (*request.Request, *cloudwatchlogs.DeleteLogGroupOutput) { +// DeleteDataProtectionPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDataProtectionPolicyRequest(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteDataProtectionPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteDataProtectionPolicyRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DeleteLogGroupOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogGroupInput) (*request.Request, *cloudwatchlogs.DeleteLogGroupOutput)); ok { + var r1 *cloudwatchlogs.DeleteDataProtectionPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteDataProtectionPolicyOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogGroupInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -1536,47 +1640,47 @@ func (_m *MockCloudWatchLogsAPI) DeleteLogGroupRequest(_a0 *cloudwatchlogs.Delet } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteLogGroupInput) *cloudwatchlogs.DeleteLogGroupOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) *cloudwatchlogs.DeleteDataProtectionPolicyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DeleteLogGroupOutput) + r1 = ret.Get(1).(*cloudwatchlogs.DeleteDataProtectionPolicyOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogGroupRequest' -type MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDataProtectionPolicyRequest' +type MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call struct { *mock.Call } -// DeleteLogGroupRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteLogGroupInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogGroupRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call { - return &MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call{Call: _e.mock.On("DeleteLogGroupRequest", _a0)} +// DeleteDataProtectionPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDataProtectionPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call { + return &MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call{Call: _e.mock.On("DeleteDataProtectionPolicyRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteLogGroupInput)) *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteLogGroupInput)) + run(args[0].(*cloudwatchlogs.DeleteDataProtectionPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteLogGroupOutput) *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteDataProtectionPolicyOutput) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteLogGroupInput) (*request.Request, *cloudwatchlogs.DeleteLogGroupOutput)) *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteDataProtectionPolicyOutput)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyRequest_Call { _c.Call.Return(run) return _c } -// DeleteLogGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DeleteLogGroupWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteLogGroupInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteLogGroupOutput, error) { +// DeleteDataProtectionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteDataProtectionPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDataProtectionPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1586,20 +1690,24 @@ func (_m *MockCloudWatchLogsAPI) DeleteLogGroupWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DeleteLogGroupOutput + if len(ret) == 0 { + panic("no return value specified for DeleteDataProtectionPolicyWithContext") + } + + var r0 *cloudwatchlogs.DeleteDataProtectionPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogGroupInput, ...request.Option) (*cloudwatchlogs.DeleteLogGroupOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogGroupInput, ...request.Option) *cloudwatchlogs.DeleteLogGroupOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDataProtectionPolicyInput, ...request.Option) *cloudwatchlogs.DeleteDataProtectionPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteLogGroupOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDataProtectionPolicyOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteLogGroupInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteDataProtectionPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1608,21 +1716,21 @@ func (_m *MockCloudWatchLogsAPI) DeleteLogGroupWithContext(_a0 context.Context, return r0, r1 } -// MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogGroupWithContext' -type MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDataProtectionPolicyWithContext' +type MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call struct { *mock.Call } -// DeleteLogGroupWithContext is a helper method to define mock.On call +// DeleteDataProtectionPolicyWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DeleteLogGroupInput +// - _a1 *cloudwatchlogs.DeleteDataProtectionPolicyInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogGroupWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call { - return &MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call{Call: _e.mock.On("DeleteLogGroupWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDataProtectionPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call{Call: _e.mock.On("DeleteDataProtectionPolicyWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteLogGroupInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDataProtectionPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -1630,39 +1738,43 @@ func (_c *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call) Run(run func(_a0 variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteLogGroupInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteDataProtectionPolicyInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteLogGroupInput, ...request.Option) (*cloudwatchlogs.DeleteLogGroupOutput, error)) *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteDataProtectionPolicyWithContext_Call { _c.Call.Return(run) return _c } -// DeleteLogStream provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteLogStream(_a0 *cloudwatchlogs.DeleteLogStreamInput) (*cloudwatchlogs.DeleteLogStreamOutput, error) { +// DeleteDelivery provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDelivery(_a0 *cloudwatchlogs.DeleteDeliveryInput) (*cloudwatchlogs.DeleteDeliveryOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DeleteLogStreamOutput + if len(ret) == 0 { + panic("no return value specified for DeleteDelivery") + } + + var r0 *cloudwatchlogs.DeleteDeliveryOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogStreamInput) (*cloudwatchlogs.DeleteLogStreamOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryInput) (*cloudwatchlogs.DeleteDeliveryOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogStreamInput) *cloudwatchlogs.DeleteLogStreamOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryInput) *cloudwatchlogs.DeleteDeliveryOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteLogStreamOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDeliveryOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteLogStreamInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDeliveryInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -1671,116 +1783,115 @@ func (_m *MockCloudWatchLogsAPI) DeleteLogStream(_a0 *cloudwatchlogs.DeleteLogSt return r0, r1 } -// MockCloudWatchLogsAPI_DeleteLogStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogStream' -type MockCloudWatchLogsAPI_DeleteLogStream_Call struct { +// MockCloudWatchLogsAPI_DeleteDelivery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDelivery' +type MockCloudWatchLogsAPI_DeleteDelivery_Call struct { *mock.Call } -// DeleteLogStream is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteLogStreamInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogStream(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteLogStream_Call { - return &MockCloudWatchLogsAPI_DeleteLogStream_Call{Call: _e.mock.On("DeleteLogStream", _a0)} +// DeleteDelivery is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDeliveryInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDelivery(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDelivery_Call { + return &MockCloudWatchLogsAPI_DeleteDelivery_Call{Call: _e.mock.On("DeleteDelivery", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteLogStream_Call) Run(run func(_a0 *cloudwatchlogs.DeleteLogStreamInput)) *MockCloudWatchLogsAPI_DeleteLogStream_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDelivery_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDeliveryInput)) *MockCloudWatchLogsAPI_DeleteDelivery_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteLogStreamInput)) + run(args[0].(*cloudwatchlogs.DeleteDeliveryInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogStream_Call) Return(_a0 *cloudwatchlogs.DeleteLogStreamOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteLogStream_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDelivery_Call) Return(_a0 *cloudwatchlogs.DeleteDeliveryOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDelivery_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogStream_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteLogStreamInput) (*cloudwatchlogs.DeleteLogStreamOutput, error)) *MockCloudWatchLogsAPI_DeleteLogStream_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDelivery_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDeliveryInput) (*cloudwatchlogs.DeleteDeliveryOutput, error)) *MockCloudWatchLogsAPI_DeleteDelivery_Call { _c.Call.Return(run) return _c } -// DeleteLogStreamRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteLogStreamRequest(_a0 *cloudwatchlogs.DeleteLogStreamInput) (*request.Request, *cloudwatchlogs.DeleteLogStreamOutput) { +// DeleteDeliveryDestination provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDeliveryDestination(_a0 *cloudwatchlogs.DeleteDeliveryDestinationInput) (*cloudwatchlogs.DeleteDeliveryDestinationOutput, error) { ret := _m.Called(_a0) - var r0 *request.Request - var r1 *cloudwatchlogs.DeleteLogStreamOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogStreamInput) (*request.Request, *cloudwatchlogs.DeleteLogStreamOutput)); ok { + if len(ret) == 0 { + panic("no return value specified for DeleteDeliveryDestination") + } + + var r0 *cloudwatchlogs.DeleteDeliveryDestinationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryDestinationInput) (*cloudwatchlogs.DeleteDeliveryDestinationOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogStreamInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryDestinationInput) *cloudwatchlogs.DeleteDeliveryDestinationOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDeliveryDestinationOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteLogStreamInput) *cloudwatchlogs.DeleteLogStreamOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDeliveryDestinationInput) error); ok { r1 = rf(_a0) } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DeleteLogStreamOutput) - } + r1 = ret.Error(1) } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogStreamRequest' -type MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteDeliveryDestination_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliveryDestination' +type MockCloudWatchLogsAPI_DeleteDeliveryDestination_Call struct { *mock.Call } -// DeleteLogStreamRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteLogStreamInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogStreamRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call { - return &MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call{Call: _e.mock.On("DeleteLogStreamRequest", _a0)} +// DeleteDeliveryDestination is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDeliveryDestinationInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliveryDestination(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDeliveryDestination_Call { + return &MockCloudWatchLogsAPI_DeleteDeliveryDestination_Call{Call: _e.mock.On("DeleteDeliveryDestination", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteLogStreamInput)) *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestination_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDeliveryDestinationInput)) *MockCloudWatchLogsAPI_DeleteDeliveryDestination_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteLogStreamInput)) + run(args[0].(*cloudwatchlogs.DeleteDeliveryDestinationInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteLogStreamOutput) *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestination_Call) Return(_a0 *cloudwatchlogs.DeleteDeliveryDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDeliveryDestination_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteLogStreamInput) (*request.Request, *cloudwatchlogs.DeleteLogStreamOutput)) *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestination_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDeliveryDestinationInput) (*cloudwatchlogs.DeleteDeliveryDestinationOutput, error)) *MockCloudWatchLogsAPI_DeleteDeliveryDestination_Call { _c.Call.Return(run) return _c } -// DeleteLogStreamWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DeleteLogStreamWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteLogStreamInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteLogStreamOutput, error) { - _va := make([]interface{}, len(_a2)) - for _i := range _a2 { - _va[_i] = _a2[_i] +// DeleteDeliveryDestinationPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDeliveryDestinationPolicy(_a0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput) (*cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteDeliveryDestinationPolicy") } - var _ca []interface{} - _ca = append(_ca, _a0, _a1) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DeleteLogStreamOutput + var r0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogStreamInput, ...request.Option) (*cloudwatchlogs.DeleteLogStreamOutput, error)); ok { - return rf(_a0, _a1, _a2...) + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput) (*cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput, error)); ok { + return rf(_a0) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogStreamInput, ...request.Option) *cloudwatchlogs.DeleteLogStreamOutput); ok { - r0 = rf(_a0, _a1, _a2...) + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput) *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput); ok { + r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteLogStreamOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteLogStreamInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput) error); ok { + r1 = rf(_a0) } else { r1 = ret.Error(1) } @@ -1788,155 +1899,96 @@ func (_m *MockCloudWatchLogsAPI) DeleteLogStreamWithContext(_a0 context.Context, return r0, r1 } -// MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogStreamWithContext' -type MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliveryDestinationPolicy' +type MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicy_Call struct { *mock.Call } -// DeleteLogStreamWithContext is a helper method to define mock.On call -// - _a0 context.Context -// - _a1 *cloudwatchlogs.DeleteLogStreamInput -// - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogStreamWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call { - return &MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call{Call: _e.mock.On("DeleteLogStreamWithContext", - append([]interface{}{_a0, _a1}, _a2...)...)} +// DeleteDeliveryDestinationPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliveryDestinationPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicy_Call { + return &MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicy_Call{Call: _e.mock.On("DeleteDeliveryDestinationPolicy", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteLogStreamInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicy_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput)) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicy_Call { _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-2) - for i, a := range args[2:] { - if a != nil { - variadicArgs[i] = a.(request.Option) - } - } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteLogStreamInput), variadicArgs...) + run(args[0].(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteLogStreamOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicy_Call) Return(_a0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicy_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteLogStreamInput, ...request.Option) (*cloudwatchlogs.DeleteLogStreamOutput, error)) *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput) (*cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicy_Call { _c.Call.Return(run) return _c } -// DeleteMetricFilter provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteMetricFilter(_a0 *cloudwatchlogs.DeleteMetricFilterInput) (*cloudwatchlogs.DeleteMetricFilterOutput, error) { +// DeleteDeliveryDestinationPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDeliveryDestinationPolicyRequest(_a0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput) (*request.Request, *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DeleteMetricFilterOutput - var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteMetricFilterInput) (*cloudwatchlogs.DeleteMetricFilterOutput, error)); ok { + if len(ret) == 0 { + panic("no return value specified for DeleteDeliveryDestinationPolicyRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput) (*request.Request, *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteMetricFilterInput) *cloudwatchlogs.DeleteMetricFilterOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteMetricFilterOutput) + r0 = ret.Get(0).(*request.Request) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteMetricFilterInput) error); ok { - r1 = rf(_a0) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockCloudWatchLogsAPI_DeleteMetricFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMetricFilter' -type MockCloudWatchLogsAPI_DeleteMetricFilter_Call struct { - *mock.Call -} - -// DeleteMetricFilter is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteMetricFilterInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteMetricFilter(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteMetricFilter_Call { - return &MockCloudWatchLogsAPI_DeleteMetricFilter_Call{Call: _e.mock.On("DeleteMetricFilter", _a0)} -} - -func (_c *MockCloudWatchLogsAPI_DeleteMetricFilter_Call) Run(run func(_a0 *cloudwatchlogs.DeleteMetricFilterInput)) *MockCloudWatchLogsAPI_DeleteMetricFilter_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteMetricFilterInput)) - }) - return _c -} - -func (_c *MockCloudWatchLogsAPI_DeleteMetricFilter_Call) Return(_a0 *cloudwatchlogs.DeleteMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteMetricFilter_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockCloudWatchLogsAPI_DeleteMetricFilter_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteMetricFilterInput) (*cloudwatchlogs.DeleteMetricFilterOutput, error)) *MockCloudWatchLogsAPI_DeleteMetricFilter_Call { - _c.Call.Return(run) - return _c -} - -// DeleteMetricFilterRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteMetricFilterRequest(_a0 *cloudwatchlogs.DeleteMetricFilterInput) (*request.Request, *cloudwatchlogs.DeleteMetricFilterOutput) { - ret := _m.Called(_a0) - - var r0 *request.Request - var r1 *cloudwatchlogs.DeleteMetricFilterOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteMetricFilterInput) (*request.Request, *cloudwatchlogs.DeleteMetricFilterOutput)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteMetricFilterInput) *request.Request); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) - } - } - - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteMetricFilterInput) *cloudwatchlogs.DeleteMetricFilterOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput) *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DeleteMetricFilterOutput) + r1 = ret.Get(1).(*cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMetricFilterRequest' -type MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliveryDestinationPolicyRequest' +type MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyRequest_Call struct { *mock.Call } -// DeleteMetricFilterRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteMetricFilterInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteMetricFilterRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call { - return &MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call{Call: _e.mock.On("DeleteMetricFilterRequest", _a0)} +// DeleteDeliveryDestinationPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliveryDestinationPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyRequest_Call { + return &MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyRequest_Call{Call: _e.mock.On("DeleteDeliveryDestinationPolicyRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteMetricFilterInput)) *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput)) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteMetricFilterInput)) + run(args[0].(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteMetricFilterOutput) *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteMetricFilterInput) (*request.Request, *cloudwatchlogs.DeleteMetricFilterOutput)) *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput) (*request.Request, *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput)) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyRequest_Call { _c.Call.Return(run) return _c } -// DeleteMetricFilterWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DeleteMetricFilterWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteMetricFilterInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteMetricFilterOutput, error) { +// DeleteDeliveryDestinationPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteDeliveryDestinationPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -1946,20 +1998,24 @@ func (_m *MockCloudWatchLogsAPI) DeleteMetricFilterWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DeleteMetricFilterOutput + if len(ret) == 0 { + panic("no return value specified for DeleteDeliveryDestinationPolicyWithContext") + } + + var r0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteMetricFilterInput, ...request.Option) (*cloudwatchlogs.DeleteMetricFilterOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteMetricFilterInput, ...request.Option) *cloudwatchlogs.DeleteMetricFilterOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput, ...request.Option) *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteMetricFilterOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteMetricFilterInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -1968,21 +2024,21 @@ func (_m *MockCloudWatchLogsAPI) DeleteMetricFilterWithContext(_a0 context.Conte return r0, r1 } -// MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMetricFilterWithContext' -type MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliveryDestinationPolicyWithContext' +type MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyWithContext_Call struct { *mock.Call } -// DeleteMetricFilterWithContext is a helper method to define mock.On call +// DeleteDeliveryDestinationPolicyWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DeleteMetricFilterInput +// - _a1 *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteMetricFilterWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call { - return &MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call{Call: _e.mock.On("DeleteMetricFilterWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliveryDestinationPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyWithContext_Call{Call: _e.mock.On("DeleteDeliveryDestinationPolicyWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteMetricFilterInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -1990,219 +2046,237 @@ func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call) Run(run func variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteMetricFilterInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteDeliveryDestinationPolicyInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteMetricFilterInput, ...request.Option) (*cloudwatchlogs.DeleteMetricFilterOutput, error)) *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteDeliveryDestinationPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteDeliveryDestinationPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationPolicyWithContext_Call { _c.Call.Return(run) return _c } -// DeleteQueryDefinition provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteQueryDefinition(_a0 *cloudwatchlogs.DeleteQueryDefinitionInput) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error) { +// DeleteDeliveryDestinationRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDeliveryDestinationRequest(_a0 *cloudwatchlogs.DeleteDeliveryDestinationInput) (*request.Request, *cloudwatchlogs.DeleteDeliveryDestinationOutput) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DeleteQueryDefinitionOutput - var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error)); ok { + if len(ret) == 0 { + panic("no return value specified for DeleteDeliveryDestinationRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DeleteDeliveryDestinationOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryDestinationInput) (*request.Request, *cloudwatchlogs.DeleteDeliveryDestinationOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) *cloudwatchlogs.DeleteQueryDefinitionOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryDestinationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteQueryDefinitionOutput) + r0 = ret.Get(0).(*request.Request) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDeliveryDestinationInput) *cloudwatchlogs.DeleteDeliveryDestinationOutput); ok { r1 = rf(_a0) } else { - r1 = ret.Error(1) + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DeleteDeliveryDestinationOutput) + } } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteQueryDefinition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteQueryDefinition' -type MockCloudWatchLogsAPI_DeleteQueryDefinition_Call struct { +// MockCloudWatchLogsAPI_DeleteDeliveryDestinationRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliveryDestinationRequest' +type MockCloudWatchLogsAPI_DeleteDeliveryDestinationRequest_Call struct { *mock.Call } -// DeleteQueryDefinition is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteQueryDefinitionInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteQueryDefinition(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call { - return &MockCloudWatchLogsAPI_DeleteQueryDefinition_Call{Call: _e.mock.On("DeleteQueryDefinition", _a0)} +// DeleteDeliveryDestinationRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDeliveryDestinationInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliveryDestinationRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationRequest_Call { + return &MockCloudWatchLogsAPI_DeleteDeliveryDestinationRequest_Call{Call: _e.mock.On("DeleteDeliveryDestinationRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call) Run(run func(_a0 *cloudwatchlogs.DeleteQueryDefinitionInput)) *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDeliveryDestinationInput)) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteQueryDefinitionInput)) + run(args[0].(*cloudwatchlogs.DeleteDeliveryDestinationInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call) Return(_a0 *cloudwatchlogs.DeleteQueryDefinitionOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteDeliveryDestinationOutput) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteQueryDefinitionInput) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error)) *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDeliveryDestinationInput) (*request.Request, *cloudwatchlogs.DeleteDeliveryDestinationOutput)) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationRequest_Call { _c.Call.Return(run) return _c } -// DeleteQueryDefinitionRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteQueryDefinitionRequest(_a0 *cloudwatchlogs.DeleteQueryDefinitionInput) (*request.Request, *cloudwatchlogs.DeleteQueryDefinitionOutput) { - ret := _m.Called(_a0) +// DeleteDeliveryDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteDeliveryDestinationWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDeliveryDestinationInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteDeliveryDestinationOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) - var r0 *request.Request - var r1 *cloudwatchlogs.DeleteQueryDefinitionOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) (*request.Request, *cloudwatchlogs.DeleteQueryDefinitionOutput)); ok { - return rf(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteDeliveryDestinationWithContext") } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) *request.Request); ok { - r0 = rf(_a0) + + var r0 *cloudwatchlogs.DeleteDeliveryDestinationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliveryDestinationInput, ...request.Option) (*cloudwatchlogs.DeleteDeliveryDestinationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliveryDestinationInput, ...request.Option) *cloudwatchlogs.DeleteDeliveryDestinationOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDeliveryDestinationOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) *cloudwatchlogs.DeleteQueryDefinitionOutput); ok { - r1 = rf(_a0) + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteDeliveryDestinationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DeleteQueryDefinitionOutput) - } + r1 = ret.Error(1) } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteQueryDefinitionRequest' -type MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteDeliveryDestinationWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliveryDestinationWithContext' +type MockCloudWatchLogsAPI_DeleteDeliveryDestinationWithContext_Call struct { *mock.Call } -// DeleteQueryDefinitionRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteQueryDefinitionInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteQueryDefinitionRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call { - return &MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call{Call: _e.mock.On("DeleteQueryDefinitionRequest", _a0)} +// DeleteDeliveryDestinationWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DeleteDeliveryDestinationInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliveryDestinationWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteDeliveryDestinationWithContext_Call{Call: _e.mock.On("DeleteDeliveryDestinationWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteQueryDefinitionInput)) *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDeliveryDestinationInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationWithContext_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteQueryDefinitionInput)) + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteDeliveryDestinationInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteQueryDefinitionOutput) *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteDeliveryDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteQueryDefinitionInput) (*request.Request, *cloudwatchlogs.DeleteQueryDefinitionOutput)) *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryDestinationWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteDeliveryDestinationInput, ...request.Option) (*cloudwatchlogs.DeleteDeliveryDestinationOutput, error)) *MockCloudWatchLogsAPI_DeleteDeliveryDestinationWithContext_Call { _c.Call.Return(run) return _c } -// DeleteQueryDefinitionWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DeleteQueryDefinitionWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteQueryDefinitionInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error) { - _va := make([]interface{}, len(_a2)) - for _i := range _a2 { - _va[_i] = _a2[_i] +// DeleteDeliveryRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDeliveryRequest(_a0 *cloudwatchlogs.DeleteDeliveryInput) (*request.Request, *cloudwatchlogs.DeleteDeliveryOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteDeliveryRequest") } - var _ca []interface{} - _ca = append(_ca, _a0, _a1) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DeleteQueryDefinitionOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteQueryDefinitionInput, ...request.Option) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error)); ok { - return rf(_a0, _a1, _a2...) + var r0 *request.Request + var r1 *cloudwatchlogs.DeleteDeliveryOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryInput) (*request.Request, *cloudwatchlogs.DeleteDeliveryOutput)); ok { + return rf(_a0) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteQueryDefinitionInput, ...request.Option) *cloudwatchlogs.DeleteQueryDefinitionOutput); ok { - r0 = rf(_a0, _a1, _a2...) + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliveryInput) *request.Request); ok { + r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteQueryDefinitionOutput) + r0 = ret.Get(0).(*request.Request) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteQueryDefinitionInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDeliveryInput) *cloudwatchlogs.DeleteDeliveryOutput); ok { + r1 = rf(_a0) } else { - r1 = ret.Error(1) + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DeleteDeliveryOutput) + } } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteQueryDefinitionWithContext' -type MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteDeliveryRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliveryRequest' +type MockCloudWatchLogsAPI_DeleteDeliveryRequest_Call struct { *mock.Call } -// DeleteQueryDefinitionWithContext is a helper method to define mock.On call -// - _a0 context.Context -// - _a1 *cloudwatchlogs.DeleteQueryDefinitionInput -// - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteQueryDefinitionWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call { - return &MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call{Call: _e.mock.On("DeleteQueryDefinitionWithContext", - append([]interface{}{_a0, _a1}, _a2...)...)} +// DeleteDeliveryRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDeliveryInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliveryRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDeliveryRequest_Call { + return &MockCloudWatchLogsAPI_DeleteDeliveryRequest_Call{Call: _e.mock.On("DeleteDeliveryRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteQueryDefinitionInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDeliveryInput)) *MockCloudWatchLogsAPI_DeleteDeliveryRequest_Call { _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-2) - for i, a := range args[2:] { - if a != nil { - variadicArgs[i] = a.(request.Option) - } - } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteQueryDefinitionInput), variadicArgs...) + run(args[0].(*cloudwatchlogs.DeleteDeliveryInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteQueryDefinitionOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteDeliveryOutput) *MockCloudWatchLogsAPI_DeleteDeliveryRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteQueryDefinitionInput, ...request.Option) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error)) *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDeliveryInput) (*request.Request, *cloudwatchlogs.DeleteDeliveryOutput)) *MockCloudWatchLogsAPI_DeleteDeliveryRequest_Call { _c.Call.Return(run) return _c } -// DeleteResourcePolicy provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteResourcePolicy(_a0 *cloudwatchlogs.DeleteResourcePolicyInput) (*cloudwatchlogs.DeleteResourcePolicyOutput, error) { +// DeleteDeliverySource provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDeliverySource(_a0 *cloudwatchlogs.DeleteDeliverySourceInput) (*cloudwatchlogs.DeleteDeliverySourceOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DeleteResourcePolicyOutput + if len(ret) == 0 { + panic("no return value specified for DeleteDeliverySource") + } + + var r0 *cloudwatchlogs.DeleteDeliverySourceOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteResourcePolicyInput) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliverySourceInput) (*cloudwatchlogs.DeleteDeliverySourceOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteResourcePolicyInput) *cloudwatchlogs.DeleteResourcePolicyOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliverySourceInput) *cloudwatchlogs.DeleteDeliverySourceOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteResourcePolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDeliverySourceOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteResourcePolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDeliverySourceInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -2211,44 +2285,48 @@ func (_m *MockCloudWatchLogsAPI) DeleteResourcePolicy(_a0 *cloudwatchlogs.Delete return r0, r1 } -// MockCloudWatchLogsAPI_DeleteResourcePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteResourcePolicy' -type MockCloudWatchLogsAPI_DeleteResourcePolicy_Call struct { +// MockCloudWatchLogsAPI_DeleteDeliverySource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliverySource' +type MockCloudWatchLogsAPI_DeleteDeliverySource_Call struct { *mock.Call } -// DeleteResourcePolicy is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteResourcePolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteResourcePolicy(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call { - return &MockCloudWatchLogsAPI_DeleteResourcePolicy_Call{Call: _e.mock.On("DeleteResourcePolicy", _a0)} +// DeleteDeliverySource is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDeliverySourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliverySource(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDeliverySource_Call { + return &MockCloudWatchLogsAPI_DeleteDeliverySource_Call{Call: _e.mock.On("DeleteDeliverySource", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call) Run(run func(_a0 *cloudwatchlogs.DeleteResourcePolicyInput)) *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliverySource_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDeliverySourceInput)) *MockCloudWatchLogsAPI_DeleteDeliverySource_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteResourcePolicyInput)) + run(args[0].(*cloudwatchlogs.DeleteDeliverySourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call) Return(_a0 *cloudwatchlogs.DeleteResourcePolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliverySource_Call) Return(_a0 *cloudwatchlogs.DeleteDeliverySourceOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDeliverySource_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteResourcePolicyInput) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliverySource_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDeliverySourceInput) (*cloudwatchlogs.DeleteDeliverySourceOutput, error)) *MockCloudWatchLogsAPI_DeleteDeliverySource_Call { _c.Call.Return(run) return _c } -// DeleteResourcePolicyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteResourcePolicyRequest(_a0 *cloudwatchlogs.DeleteResourcePolicyInput) (*request.Request, *cloudwatchlogs.DeleteResourcePolicyOutput) { +// DeleteDeliverySourceRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDeliverySourceRequest(_a0 *cloudwatchlogs.DeleteDeliverySourceInput) (*request.Request, *cloudwatchlogs.DeleteDeliverySourceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteDeliverySourceRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DeleteResourcePolicyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteResourcePolicyInput) (*request.Request, *cloudwatchlogs.DeleteResourcePolicyOutput)); ok { + var r1 *cloudwatchlogs.DeleteDeliverySourceOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliverySourceInput) (*request.Request, *cloudwatchlogs.DeleteDeliverySourceOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteResourcePolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDeliverySourceInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -2256,47 +2334,47 @@ func (_m *MockCloudWatchLogsAPI) DeleteResourcePolicyRequest(_a0 *cloudwatchlogs } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteResourcePolicyInput) *cloudwatchlogs.DeleteResourcePolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDeliverySourceInput) *cloudwatchlogs.DeleteDeliverySourceOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DeleteResourcePolicyOutput) + r1 = ret.Get(1).(*cloudwatchlogs.DeleteDeliverySourceOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteResourcePolicyRequest' -type MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteDeliverySourceRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliverySourceRequest' +type MockCloudWatchLogsAPI_DeleteDeliverySourceRequest_Call struct { *mock.Call } -// DeleteResourcePolicyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteResourcePolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteResourcePolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call { - return &MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call{Call: _e.mock.On("DeleteResourcePolicyRequest", _a0)} +// DeleteDeliverySourceRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDeliverySourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliverySourceRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDeliverySourceRequest_Call { + return &MockCloudWatchLogsAPI_DeleteDeliverySourceRequest_Call{Call: _e.mock.On("DeleteDeliverySourceRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteResourcePolicyInput)) *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliverySourceRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDeliverySourceInput)) *MockCloudWatchLogsAPI_DeleteDeliverySourceRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteResourcePolicyInput)) + run(args[0].(*cloudwatchlogs.DeleteDeliverySourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteResourcePolicyOutput) *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliverySourceRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteDeliverySourceOutput) *MockCloudWatchLogsAPI_DeleteDeliverySourceRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteResourcePolicyInput) (*request.Request, *cloudwatchlogs.DeleteResourcePolicyOutput)) *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliverySourceRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDeliverySourceInput) (*request.Request, *cloudwatchlogs.DeleteDeliverySourceOutput)) *MockCloudWatchLogsAPI_DeleteDeliverySourceRequest_Call { _c.Call.Return(run) return _c } -// DeleteResourcePolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DeleteResourcePolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteResourcePolicyInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteResourcePolicyOutput, error) { +// DeleteDeliverySourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteDeliverySourceWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDeliverySourceInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteDeliverySourceOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -2306,20 +2384,24 @@ func (_m *MockCloudWatchLogsAPI) DeleteResourcePolicyWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DeleteResourcePolicyOutput + if len(ret) == 0 { + panic("no return value specified for DeleteDeliverySourceWithContext") + } + + var r0 *cloudwatchlogs.DeleteDeliverySourceOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteResourcePolicyInput, ...request.Option) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliverySourceInput, ...request.Option) (*cloudwatchlogs.DeleteDeliverySourceOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteResourcePolicyInput, ...request.Option) *cloudwatchlogs.DeleteResourcePolicyOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliverySourceInput, ...request.Option) *cloudwatchlogs.DeleteDeliverySourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteResourcePolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDeliverySourceOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteResourcePolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteDeliverySourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -2328,21 +2410,21 @@ func (_m *MockCloudWatchLogsAPI) DeleteResourcePolicyWithContext(_a0 context.Con return r0, r1 } -// MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteResourcePolicyWithContext' -type MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteDeliverySourceWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliverySourceWithContext' +type MockCloudWatchLogsAPI_DeleteDeliverySourceWithContext_Call struct { *mock.Call } -// DeleteResourcePolicyWithContext is a helper method to define mock.On call +// DeleteDeliverySourceWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DeleteResourcePolicyInput +// - _a1 *cloudwatchlogs.DeleteDeliverySourceInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteResourcePolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call { - return &MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call{Call: _e.mock.On("DeleteResourcePolicyWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliverySourceWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteDeliverySourceWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteDeliverySourceWithContext_Call{Call: _e.mock.On("DeleteDeliverySourceWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteResourcePolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliverySourceWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDeliverySourceInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteDeliverySourceWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -2350,39 +2432,117 @@ func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call) Run(run fu variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteResourcePolicyInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteDeliverySourceInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteResourcePolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliverySourceWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteDeliverySourceOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDeliverySourceWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteResourcePolicyInput, ...request.Option) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDeliverySourceWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteDeliverySourceInput, ...request.Option) (*cloudwatchlogs.DeleteDeliverySourceOutput, error)) *MockCloudWatchLogsAPI_DeleteDeliverySourceWithContext_Call { _c.Call.Return(run) return _c } -// DeleteRetentionPolicy provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteRetentionPolicy(_a0 *cloudwatchlogs.DeleteRetentionPolicyInput) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error) { +// DeleteDeliveryWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteDeliveryWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDeliveryInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteDeliveryOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DeleteDeliveryWithContext") + } + + var r0 *cloudwatchlogs.DeleteDeliveryOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliveryInput, ...request.Option) (*cloudwatchlogs.DeleteDeliveryOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDeliveryInput, ...request.Option) *cloudwatchlogs.DeleteDeliveryOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDeliveryOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteDeliveryInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DeleteDeliveryWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDeliveryWithContext' +type MockCloudWatchLogsAPI_DeleteDeliveryWithContext_Call struct { + *mock.Call +} + +// DeleteDeliveryWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DeleteDeliveryInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDeliveryWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteDeliveryWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteDeliveryWithContext_Call{Call: _e.mock.On("DeleteDeliveryWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDeliveryInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteDeliveryWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteDeliveryInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteDeliveryOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDeliveryWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteDeliveryWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteDeliveryInput, ...request.Option) (*cloudwatchlogs.DeleteDeliveryOutput, error)) *MockCloudWatchLogsAPI_DeleteDeliveryWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DeleteDestination provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDestination(_a0 *cloudwatchlogs.DeleteDestinationInput) (*cloudwatchlogs.DeleteDestinationOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DeleteRetentionPolicyOutput + if len(ret) == 0 { + panic("no return value specified for DeleteDestination") + } + + var r0 *cloudwatchlogs.DeleteDestinationOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDestinationInput) (*cloudwatchlogs.DeleteDestinationOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) *cloudwatchlogs.DeleteRetentionPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDestinationInput) *cloudwatchlogs.DeleteDestinationOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteRetentionPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDestinationOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDestinationInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -2391,44 +2551,48 @@ func (_m *MockCloudWatchLogsAPI) DeleteRetentionPolicy(_a0 *cloudwatchlogs.Delet return r0, r1 } -// MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRetentionPolicy' -type MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call struct { +// MockCloudWatchLogsAPI_DeleteDestination_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDestination' +type MockCloudWatchLogsAPI_DeleteDestination_Call struct { *mock.Call } -// DeleteRetentionPolicy is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteRetentionPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteRetentionPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call { - return &MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call{Call: _e.mock.On("DeleteRetentionPolicy", _a0)} +// DeleteDestination is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDestinationInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDestination(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDestination_Call { + return &MockCloudWatchLogsAPI_DeleteDestination_Call{Call: _e.mock.On("DeleteDestination", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call) Run(run func(_a0 *cloudwatchlogs.DeleteRetentionPolicyInput)) *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDestination_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDestinationInput)) *MockCloudWatchLogsAPI_DeleteDestination_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteRetentionPolicyInput)) + run(args[0].(*cloudwatchlogs.DeleteDestinationInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call) Return(_a0 *cloudwatchlogs.DeleteRetentionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDestination_Call) Return(_a0 *cloudwatchlogs.DeleteDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDestination_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteRetentionPolicyInput) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDestination_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDestinationInput) (*cloudwatchlogs.DeleteDestinationOutput, error)) *MockCloudWatchLogsAPI_DeleteDestination_Call { _c.Call.Return(run) return _c } -// DeleteRetentionPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteRetentionPolicyRequest(_a0 *cloudwatchlogs.DeleteRetentionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteRetentionPolicyOutput) { +// DeleteDestinationRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteDestinationRequest(_a0 *cloudwatchlogs.DeleteDestinationInput) (*request.Request, *cloudwatchlogs.DeleteDestinationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteDestinationRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DeleteRetentionPolicyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteRetentionPolicyOutput)); ok { + var r1 *cloudwatchlogs.DeleteDestinationOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDestinationInput) (*request.Request, *cloudwatchlogs.DeleteDestinationOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteDestinationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -2436,47 +2600,47 @@ func (_m *MockCloudWatchLogsAPI) DeleteRetentionPolicyRequest(_a0 *cloudwatchlog } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) *cloudwatchlogs.DeleteRetentionPolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteDestinationInput) *cloudwatchlogs.DeleteDestinationOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DeleteRetentionPolicyOutput) + r1 = ret.Get(1).(*cloudwatchlogs.DeleteDestinationOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRetentionPolicyRequest' -type MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteDestinationRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDestinationRequest' +type MockCloudWatchLogsAPI_DeleteDestinationRequest_Call struct { *mock.Call } -// DeleteRetentionPolicyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteRetentionPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteRetentionPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call { - return &MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call{Call: _e.mock.On("DeleteRetentionPolicyRequest", _a0)} +// DeleteDestinationRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteDestinationInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDestinationRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call { + return &MockCloudWatchLogsAPI_DeleteDestinationRequest_Call{Call: _e.mock.On("DeleteDestinationRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteRetentionPolicyInput)) *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteDestinationInput)) *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteRetentionPolicyInput)) + run(args[0].(*cloudwatchlogs.DeleteDestinationInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteRetentionPolicyOutput) *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteDestinationOutput) *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteRetentionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteRetentionPolicyOutput)) *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteDestinationInput) (*request.Request, *cloudwatchlogs.DeleteDestinationOutput)) *MockCloudWatchLogsAPI_DeleteDestinationRequest_Call { _c.Call.Return(run) return _c } -// DeleteRetentionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DeleteRetentionPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteRetentionPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error) { +// DeleteDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteDestinationWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDestinationInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteDestinationOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -2486,20 +2650,24 @@ func (_m *MockCloudWatchLogsAPI) DeleteRetentionPolicyWithContext(_a0 context.Co _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DeleteRetentionPolicyOutput + if len(ret) == 0 { + panic("no return value specified for DeleteDestinationWithContext") + } + + var r0 *cloudwatchlogs.DeleteDestinationOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteRetentionPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDestinationInput, ...request.Option) (*cloudwatchlogs.DeleteDestinationOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteRetentionPolicyInput, ...request.Option) *cloudwatchlogs.DeleteRetentionPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteDestinationInput, ...request.Option) *cloudwatchlogs.DeleteDestinationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteRetentionPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteDestinationOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteRetentionPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteDestinationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -2508,21 +2676,21 @@ func (_m *MockCloudWatchLogsAPI) DeleteRetentionPolicyWithContext(_a0 context.Co return r0, r1 } -// MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRetentionPolicyWithContext' -type MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteDestinationWithContext' +type MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call struct { *mock.Call } -// DeleteRetentionPolicyWithContext is a helper method to define mock.On call +// DeleteDestinationWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DeleteRetentionPolicyInput +// - _a1 *cloudwatchlogs.DeleteDestinationInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteRetentionPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call { - return &MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call{Call: _e.mock.On("DeleteRetentionPolicyWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteDestinationWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call{Call: _e.mock.On("DeleteDestinationWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteRetentionPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteDestinationInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -2530,39 +2698,43 @@ func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call) Run(run f variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteRetentionPolicyInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteDestinationInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteRetentionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteRetentionPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteDestinationInput, ...request.Option) (*cloudwatchlogs.DeleteDestinationOutput, error)) *MockCloudWatchLogsAPI_DeleteDestinationWithContext_Call { _c.Call.Return(run) return _c } -// DeleteSubscriptionFilter provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteSubscriptionFilter(_a0 *cloudwatchlogs.DeleteSubscriptionFilterInput) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error) { +// DeleteLogAnomalyDetector provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteLogAnomalyDetector(_a0 *cloudwatchlogs.DeleteLogAnomalyDetectorInput) (*cloudwatchlogs.DeleteLogAnomalyDetectorOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DeleteSubscriptionFilterOutput + if len(ret) == 0 { + panic("no return value specified for DeleteLogAnomalyDetector") + } + + var r0 *cloudwatchlogs.DeleteLogAnomalyDetectorOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogAnomalyDetectorInput) (*cloudwatchlogs.DeleteLogAnomalyDetectorOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) *cloudwatchlogs.DeleteSubscriptionFilterOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogAnomalyDetectorInput) *cloudwatchlogs.DeleteLogAnomalyDetectorOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteSubscriptionFilterOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteLogAnomalyDetectorOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteLogAnomalyDetectorInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -2571,44 +2743,48 @@ func (_m *MockCloudWatchLogsAPI) DeleteSubscriptionFilter(_a0 *cloudwatchlogs.De return r0, r1 } -// MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSubscriptionFilter' -type MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call struct { +// MockCloudWatchLogsAPI_DeleteLogAnomalyDetector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogAnomalyDetector' +type MockCloudWatchLogsAPI_DeleteLogAnomalyDetector_Call struct { *mock.Call } -// DeleteSubscriptionFilter is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteSubscriptionFilterInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteSubscriptionFilter(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call { - return &MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call{Call: _e.mock.On("DeleteSubscriptionFilter", _a0)} +// DeleteLogAnomalyDetector is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteLogAnomalyDetectorInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogAnomalyDetector(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetector_Call { + return &MockCloudWatchLogsAPI_DeleteLogAnomalyDetector_Call{Call: _e.mock.On("DeleteLogAnomalyDetector", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call) Run(run func(_a0 *cloudwatchlogs.DeleteSubscriptionFilterInput)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogAnomalyDetector_Call) Run(run func(_a0 *cloudwatchlogs.DeleteLogAnomalyDetectorInput)) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetector_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteSubscriptionFilterInput)) + run(args[0].(*cloudwatchlogs.DeleteLogAnomalyDetectorInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call) Return(_a0 *cloudwatchlogs.DeleteSubscriptionFilterOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogAnomalyDetector_Call) Return(_a0 *cloudwatchlogs.DeleteLogAnomalyDetectorOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetector_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteSubscriptionFilterInput) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogAnomalyDetector_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteLogAnomalyDetectorInput) (*cloudwatchlogs.DeleteLogAnomalyDetectorOutput, error)) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetector_Call { _c.Call.Return(run) return _c } -// DeleteSubscriptionFilterRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DeleteSubscriptionFilterRequest(_a0 *cloudwatchlogs.DeleteSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.DeleteSubscriptionFilterOutput) { +// DeleteLogAnomalyDetectorRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteLogAnomalyDetectorRequest(_a0 *cloudwatchlogs.DeleteLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.DeleteLogAnomalyDetectorOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteLogAnomalyDetectorRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DeleteSubscriptionFilterOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.DeleteSubscriptionFilterOutput)); ok { + var r1 *cloudwatchlogs.DeleteLogAnomalyDetectorOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.DeleteLogAnomalyDetectorOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogAnomalyDetectorInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -2616,47 +2792,47 @@ func (_m *MockCloudWatchLogsAPI) DeleteSubscriptionFilterRequest(_a0 *cloudwatch } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) *cloudwatchlogs.DeleteSubscriptionFilterOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteLogAnomalyDetectorInput) *cloudwatchlogs.DeleteLogAnomalyDetectorOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DeleteSubscriptionFilterOutput) + r1 = ret.Get(1).(*cloudwatchlogs.DeleteLogAnomalyDetectorOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSubscriptionFilterRequest' -type MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogAnomalyDetectorRequest' +type MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorRequest_Call struct { *mock.Call } -// DeleteSubscriptionFilterRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DeleteSubscriptionFilterInput -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteSubscriptionFilterRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call { - return &MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call{Call: _e.mock.On("DeleteSubscriptionFilterRequest", _a0)} +// DeleteLogAnomalyDetectorRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteLogAnomalyDetectorInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogAnomalyDetectorRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorRequest_Call { + return &MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorRequest_Call{Call: _e.mock.On("DeleteLogAnomalyDetectorRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteSubscriptionFilterInput)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteLogAnomalyDetectorInput)) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DeleteSubscriptionFilterInput)) + run(args[0].(*cloudwatchlogs.DeleteLogAnomalyDetectorInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteSubscriptionFilterOutput) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteLogAnomalyDetectorOutput) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.DeleteSubscriptionFilterOutput)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.DeleteLogAnomalyDetectorOutput)) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorRequest_Call { _c.Call.Return(run) return _c } -// DeleteSubscriptionFilterWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DeleteSubscriptionFilterWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteSubscriptionFilterInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error) { +// DeleteLogAnomalyDetectorWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteLogAnomalyDetectorWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteLogAnomalyDetectorInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteLogAnomalyDetectorOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -2666,20 +2842,24 @@ func (_m *MockCloudWatchLogsAPI) DeleteSubscriptionFilterWithContext(_a0 context _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DeleteSubscriptionFilterOutput + if len(ret) == 0 { + panic("no return value specified for DeleteLogAnomalyDetectorWithContext") + } + + var r0 *cloudwatchlogs.DeleteLogAnomalyDetectorOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteSubscriptionFilterInput, ...request.Option) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogAnomalyDetectorInput, ...request.Option) (*cloudwatchlogs.DeleteLogAnomalyDetectorOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteSubscriptionFilterInput, ...request.Option) *cloudwatchlogs.DeleteSubscriptionFilterOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogAnomalyDetectorInput, ...request.Option) *cloudwatchlogs.DeleteLogAnomalyDetectorOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DeleteSubscriptionFilterOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteLogAnomalyDetectorOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteSubscriptionFilterInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteLogAnomalyDetectorInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -2688,21 +2868,21 @@ func (_m *MockCloudWatchLogsAPI) DeleteSubscriptionFilterWithContext(_a0 context return r0, r1 } -// MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSubscriptionFilterWithContext' -type MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogAnomalyDetectorWithContext' +type MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorWithContext_Call struct { *mock.Call } -// DeleteSubscriptionFilterWithContext is a helper method to define mock.On call +// DeleteLogAnomalyDetectorWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DeleteSubscriptionFilterInput +// - _a1 *cloudwatchlogs.DeleteLogAnomalyDetectorInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DeleteSubscriptionFilterWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call { - return &MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call{Call: _e.mock.On("DeleteSubscriptionFilterWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogAnomalyDetectorWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorWithContext_Call{Call: _e.mock.On("DeleteLogAnomalyDetectorWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteSubscriptionFilterInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteLogAnomalyDetectorInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -2710,39 +2890,43 @@ func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call) Run(ru variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteSubscriptionFilterInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteLogAnomalyDetectorInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteSubscriptionFilterOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteLogAnomalyDetectorOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteSubscriptionFilterInput, ...request.Option) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteLogAnomalyDetectorInput, ...request.Option) (*cloudwatchlogs.DeleteLogAnomalyDetectorOutput, error)) *MockCloudWatchLogsAPI_DeleteLogAnomalyDetectorWithContext_Call { _c.Call.Return(run) return _c } -// DescribeAccountPolicies provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeAccountPolicies(_a0 *cloudwatchlogs.DescribeAccountPoliciesInput) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error) { +// DeleteLogGroup provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteLogGroup(_a0 *cloudwatchlogs.DeleteLogGroupInput) (*cloudwatchlogs.DeleteLogGroupOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DescribeAccountPoliciesOutput + if len(ret) == 0 { + panic("no return value specified for DeleteLogGroup") + } + + var r0 *cloudwatchlogs.DeleteLogGroupOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogGroupInput) (*cloudwatchlogs.DeleteLogGroupOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) *cloudwatchlogs.DescribeAccountPoliciesOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogGroupInput) *cloudwatchlogs.DeleteLogGroupOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeAccountPoliciesOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteLogGroupOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteLogGroupInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -2751,44 +2935,48 @@ func (_m *MockCloudWatchLogsAPI) DescribeAccountPolicies(_a0 *cloudwatchlogs.Des return r0, r1 } -// MockCloudWatchLogsAPI_DescribeAccountPolicies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeAccountPolicies' -type MockCloudWatchLogsAPI_DescribeAccountPolicies_Call struct { +// MockCloudWatchLogsAPI_DeleteLogGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogGroup' +type MockCloudWatchLogsAPI_DeleteLogGroup_Call struct { *mock.Call } -// DescribeAccountPolicies is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeAccountPoliciesInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeAccountPolicies(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call { - return &MockCloudWatchLogsAPI_DescribeAccountPolicies_Call{Call: _e.mock.On("DescribeAccountPolicies", _a0)} +// DeleteLogGroup is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteLogGroupInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogGroup(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteLogGroup_Call { + return &MockCloudWatchLogsAPI_DeleteLogGroup_Call{Call: _e.mock.On("DeleteLogGroup", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call) Run(run func(_a0 *cloudwatchlogs.DescribeAccountPoliciesInput)) *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogGroup_Call) Run(run func(_a0 *cloudwatchlogs.DeleteLogGroupInput)) *MockCloudWatchLogsAPI_DeleteLogGroup_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeAccountPoliciesInput)) + run(args[0].(*cloudwatchlogs.DeleteLogGroupInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call) Return(_a0 *cloudwatchlogs.DescribeAccountPoliciesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogGroup_Call) Return(_a0 *cloudwatchlogs.DeleteLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteLogGroup_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeAccountPoliciesInput) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error)) *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogGroup_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteLogGroupInput) (*cloudwatchlogs.DeleteLogGroupOutput, error)) *MockCloudWatchLogsAPI_DeleteLogGroup_Call { _c.Call.Return(run) return _c } -// DescribeAccountPoliciesRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeAccountPoliciesRequest(_a0 *cloudwatchlogs.DescribeAccountPoliciesInput) (*request.Request, *cloudwatchlogs.DescribeAccountPoliciesOutput) { +// DeleteLogGroupRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteLogGroupRequest(_a0 *cloudwatchlogs.DeleteLogGroupInput) (*request.Request, *cloudwatchlogs.DeleteLogGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteLogGroupRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DescribeAccountPoliciesOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) (*request.Request, *cloudwatchlogs.DescribeAccountPoliciesOutput)); ok { + var r1 *cloudwatchlogs.DeleteLogGroupOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogGroupInput) (*request.Request, *cloudwatchlogs.DeleteLogGroupOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogGroupInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -2796,47 +2984,47 @@ func (_m *MockCloudWatchLogsAPI) DescribeAccountPoliciesRequest(_a0 *cloudwatchl } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) *cloudwatchlogs.DescribeAccountPoliciesOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteLogGroupInput) *cloudwatchlogs.DeleteLogGroupOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DescribeAccountPoliciesOutput) + r1 = ret.Get(1).(*cloudwatchlogs.DeleteLogGroupOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeAccountPoliciesRequest' -type MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogGroupRequest' +type MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call struct { *mock.Call } -// DescribeAccountPoliciesRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeAccountPoliciesInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeAccountPoliciesRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call { - return &MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call{Call: _e.mock.On("DescribeAccountPoliciesRequest", _a0)} +// DeleteLogGroupRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteLogGroupInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogGroupRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call { + return &MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call{Call: _e.mock.On("DeleteLogGroupRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeAccountPoliciesInput)) *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteLogGroupInput)) *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeAccountPoliciesInput)) + run(args[0].(*cloudwatchlogs.DeleteLogGroupInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeAccountPoliciesOutput) *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteLogGroupOutput) *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeAccountPoliciesInput) (*request.Request, *cloudwatchlogs.DescribeAccountPoliciesOutput)) *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteLogGroupInput) (*request.Request, *cloudwatchlogs.DeleteLogGroupOutput)) *MockCloudWatchLogsAPI_DeleteLogGroupRequest_Call { _c.Call.Return(run) return _c } -// DescribeAccountPoliciesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DescribeAccountPoliciesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeAccountPoliciesInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error) { +// DeleteLogGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteLogGroupWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteLogGroupInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteLogGroupOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -2846,20 +3034,24 @@ func (_m *MockCloudWatchLogsAPI) DescribeAccountPoliciesWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeAccountPoliciesOutput + if len(ret) == 0 { + panic("no return value specified for DeleteLogGroupWithContext") + } + + var r0 *cloudwatchlogs.DeleteLogGroupOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeAccountPoliciesInput, ...request.Option) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogGroupInput, ...request.Option) (*cloudwatchlogs.DeleteLogGroupOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeAccountPoliciesInput, ...request.Option) *cloudwatchlogs.DescribeAccountPoliciesOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogGroupInput, ...request.Option) *cloudwatchlogs.DeleteLogGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeAccountPoliciesOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteLogGroupOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeAccountPoliciesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteLogGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -2868,21 +3060,21 @@ func (_m *MockCloudWatchLogsAPI) DescribeAccountPoliciesWithContext(_a0 context. return r0, r1 } -// MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeAccountPoliciesWithContext' -type MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogGroupWithContext' +type MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call struct { *mock.Call } -// DescribeAccountPoliciesWithContext is a helper method to define mock.On call +// DeleteLogGroupWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeAccountPoliciesInput +// - _a1 *cloudwatchlogs.DeleteLogGroupInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeAccountPoliciesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call{Call: _e.mock.On("DescribeAccountPoliciesWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogGroupWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call{Call: _e.mock.On("DeleteLogGroupWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeAccountPoliciesInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteLogGroupInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -2890,39 +3082,43 @@ func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call) Run(run variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeAccountPoliciesInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteLogGroupInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeAccountPoliciesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeAccountPoliciesInput, ...request.Option) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error)) *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteLogGroupInput, ...request.Option) (*cloudwatchlogs.DeleteLogGroupOutput, error)) *MockCloudWatchLogsAPI_DeleteLogGroupWithContext_Call { _c.Call.Return(run) return _c } -// DescribeDestinations provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeDestinations(_a0 *cloudwatchlogs.DescribeDestinationsInput) (*cloudwatchlogs.DescribeDestinationsOutput, error) { +// DeleteLogStream provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteLogStream(_a0 *cloudwatchlogs.DeleteLogStreamInput) (*cloudwatchlogs.DeleteLogStreamOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DescribeDestinationsOutput + if len(ret) == 0 { + panic("no return value specified for DeleteLogStream") + } + + var r0 *cloudwatchlogs.DeleteLogStreamOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDestinationsInput) (*cloudwatchlogs.DescribeDestinationsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogStreamInput) (*cloudwatchlogs.DeleteLogStreamOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDestinationsInput) *cloudwatchlogs.DescribeDestinationsOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogStreamInput) *cloudwatchlogs.DeleteLogStreamOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeDestinationsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteLogStreamOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeDestinationsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteLogStreamInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -2931,194 +3127,288 @@ func (_m *MockCloudWatchLogsAPI) DescribeDestinations(_a0 *cloudwatchlogs.Descri return r0, r1 } -// MockCloudWatchLogsAPI_DescribeDestinations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDestinations' -type MockCloudWatchLogsAPI_DescribeDestinations_Call struct { +// MockCloudWatchLogsAPI_DeleteLogStream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogStream' +type MockCloudWatchLogsAPI_DeleteLogStream_Call struct { *mock.Call } -// DescribeDestinations is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeDestinationsInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDestinations(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeDestinations_Call { - return &MockCloudWatchLogsAPI_DescribeDestinations_Call{Call: _e.mock.On("DescribeDestinations", _a0)} +// DeleteLogStream is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteLogStreamInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogStream(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteLogStream_Call { + return &MockCloudWatchLogsAPI_DeleteLogStream_Call{Call: _e.mock.On("DeleteLogStream", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeDestinations_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDestinationsInput)) *MockCloudWatchLogsAPI_DescribeDestinations_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogStream_Call) Run(run func(_a0 *cloudwatchlogs.DeleteLogStreamInput)) *MockCloudWatchLogsAPI_DeleteLogStream_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeDestinationsInput)) + run(args[0].(*cloudwatchlogs.DeleteLogStreamInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeDestinations_Call) Return(_a0 *cloudwatchlogs.DescribeDestinationsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeDestinations_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogStream_Call) Return(_a0 *cloudwatchlogs.DeleteLogStreamOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteLogStream_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeDestinations_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDestinationsInput) (*cloudwatchlogs.DescribeDestinationsOutput, error)) *MockCloudWatchLogsAPI_DescribeDestinations_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogStream_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteLogStreamInput) (*cloudwatchlogs.DeleteLogStreamOutput, error)) *MockCloudWatchLogsAPI_DeleteLogStream_Call { _c.Call.Return(run) return _c } -// DescribeDestinationsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockCloudWatchLogsAPI) DescribeDestinationsPages(_a0 *cloudwatchlogs.DescribeDestinationsInput, _a1 func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) +// DeleteLogStreamRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteLogStreamRequest(_a0 *cloudwatchlogs.DeleteLogStreamInput) (*request.Request, *cloudwatchlogs.DeleteLogStreamOutput) { + ret := _m.Called(_a0) - var r0 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDestinationsInput, func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for DeleteLogStreamRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DeleteLogStreamOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogStreamInput) (*request.Request, *cloudwatchlogs.DeleteLogStreamOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteLogStreamInput) *request.Request); ok { + r0 = rf(_a0) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } } - return r0 + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteLogStreamInput) *cloudwatchlogs.DeleteLogStreamOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DeleteLogStreamOutput) + } + } + + return r0, r1 } -// MockCloudWatchLogsAPI_DescribeDestinationsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDestinationsPages' -type MockCloudWatchLogsAPI_DescribeDestinationsPages_Call struct { +// MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogStreamRequest' +type MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call struct { *mock.Call } -// DescribeDestinationsPages is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeDestinationsInput -// - _a1 func(*cloudwatchlogs.DescribeDestinationsOutput , bool) bool -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDestinationsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call { - return &MockCloudWatchLogsAPI_DescribeDestinationsPages_Call{Call: _e.mock.On("DescribeDestinationsPages", _a0, _a1)} +// DeleteLogStreamRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteLogStreamInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogStreamRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call { + return &MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call{Call: _e.mock.On("DeleteLogStreamRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDestinationsInput, _a1 func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteLogStreamInput)) *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeDestinationsInput), args[1].(func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool)) + run(args[0].(*cloudwatchlogs.DeleteLogStreamInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call { - _c.Call.Return(_a0) +func (_c *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteLogStreamOutput) *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call { + _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDestinationsInput, func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteLogStreamInput) (*request.Request, *cloudwatchlogs.DeleteLogStreamOutput)) *MockCloudWatchLogsAPI_DeleteLogStreamRequest_Call { _c.Call.Return(run) return _c } -// DescribeDestinationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockCloudWatchLogsAPI) DescribeDestinationsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDestinationsInput, _a2 func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] +// DeleteLogStreamWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteLogStreamWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteLogStreamInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteLogStreamOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] } var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _a0, _a1) _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) + if len(ret) == 0 { + panic("no return value specified for DeleteLogStreamWithContext") + } + + var r0 *cloudwatchlogs.DeleteLogStreamOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogStreamInput, ...request.Option) (*cloudwatchlogs.DeleteLogStreamOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteLogStreamInput, ...request.Option) *cloudwatchlogs.DeleteLogStreamOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DeleteLogStreamOutput) + } } - return r0 + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteLogStreamInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -// MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDestinationsPagesWithContext' -type MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteLogStreamWithContext' +type MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call struct { *mock.Call } -// DescribeDestinationsPagesWithContext is a helper method to define mock.On call +// DeleteLogStreamWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeDestinationsInput -// - _a2 func(*cloudwatchlogs.DescribeDestinationsOutput , bool) bool -// - _a3 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDestinationsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call{Call: _e.mock.On("DescribeDestinationsPagesWithContext", - append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +// - _a1 *cloudwatchlogs.DeleteLogStreamInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteLogStreamWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call{Call: _e.mock.On("DeleteLogStreamWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDestinationsInput, _a2 func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteLogStreamInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call { _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-3) - for i, a := range args[3:] { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { if a != nil { variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeDestinationsInput), args[2].(func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteLogStreamInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call { - _c.Call.Return(_a0) +func (_c *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteLogStreamOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call { + _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteLogStreamInput, ...request.Option) (*cloudwatchlogs.DeleteLogStreamOutput, error)) *MockCloudWatchLogsAPI_DeleteLogStreamWithContext_Call { _c.Call.Return(run) return _c } -// DescribeDestinationsRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeDestinationsRequest(_a0 *cloudwatchlogs.DescribeDestinationsInput) (*request.Request, *cloudwatchlogs.DescribeDestinationsOutput) { +// DeleteMetricFilter provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteMetricFilter(_a0 *cloudwatchlogs.DeleteMetricFilterInput) (*cloudwatchlogs.DeleteMetricFilterOutput, error) { ret := _m.Called(_a0) - var r0 *request.Request - var r1 *cloudwatchlogs.DescribeDestinationsOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDestinationsInput) (*request.Request, *cloudwatchlogs.DescribeDestinationsOutput)); ok { + if len(ret) == 0 { + panic("no return value specified for DeleteMetricFilter") + } + + var r0 *cloudwatchlogs.DeleteMetricFilterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteMetricFilterInput) (*cloudwatchlogs.DeleteMetricFilterOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDestinationsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteMetricFilterInput) *cloudwatchlogs.DeleteMetricFilterOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteMetricFilterOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeDestinationsInput) *cloudwatchlogs.DescribeDestinationsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteMetricFilterInput) error); ok { r1 = rf(_a0) } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DescribeDestinationsOutput) - } + r1 = ret.Error(1) } return r0, r1 } -// MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDestinationsRequest' -type MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteMetricFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMetricFilter' +type MockCloudWatchLogsAPI_DeleteMetricFilter_Call struct { *mock.Call } -// DescribeDestinationsRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeDestinationsInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDestinationsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call { - return &MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call{Call: _e.mock.On("DescribeDestinationsRequest", _a0)} +// DeleteMetricFilter is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteMetricFilterInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteMetricFilter(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteMetricFilter_Call { + return &MockCloudWatchLogsAPI_DeleteMetricFilter_Call{Call: _e.mock.On("DeleteMetricFilter", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDestinationsInput)) *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteMetricFilter_Call) Run(run func(_a0 *cloudwatchlogs.DeleteMetricFilterInput)) *MockCloudWatchLogsAPI_DeleteMetricFilter_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeDestinationsInput)) + run(args[0].(*cloudwatchlogs.DeleteMetricFilterInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeDestinationsOutput) *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteMetricFilter_Call) Return(_a0 *cloudwatchlogs.DeleteMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteMetricFilter_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDestinationsInput) (*request.Request, *cloudwatchlogs.DescribeDestinationsOutput)) *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteMetricFilter_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteMetricFilterInput) (*cloudwatchlogs.DeleteMetricFilterOutput, error)) *MockCloudWatchLogsAPI_DeleteMetricFilter_Call { _c.Call.Return(run) return _c } -// DescribeDestinationsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DescribeDestinationsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDestinationsInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeDestinationsOutput, error) { +// DeleteMetricFilterRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteMetricFilterRequest(_a0 *cloudwatchlogs.DeleteMetricFilterInput) (*request.Request, *cloudwatchlogs.DeleteMetricFilterOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteMetricFilterRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DeleteMetricFilterOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteMetricFilterInput) (*request.Request, *cloudwatchlogs.DeleteMetricFilterOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteMetricFilterInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteMetricFilterInput) *cloudwatchlogs.DeleteMetricFilterOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DeleteMetricFilterOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMetricFilterRequest' +type MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call struct { + *mock.Call +} + +// DeleteMetricFilterRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteMetricFilterInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteMetricFilterRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call { + return &MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call{Call: _e.mock.On("DeleteMetricFilterRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteMetricFilterInput)) *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DeleteMetricFilterInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteMetricFilterOutput) *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteMetricFilterInput) (*request.Request, *cloudwatchlogs.DeleteMetricFilterOutput)) *MockCloudWatchLogsAPI_DeleteMetricFilterRequest_Call { + _c.Call.Return(run) + return _c +} + +// DeleteMetricFilterWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteMetricFilterWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteMetricFilterInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteMetricFilterOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -3128,20 +3418,24 @@ func (_m *MockCloudWatchLogsAPI) DescribeDestinationsWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeDestinationsOutput + if len(ret) == 0 { + panic("no return value specified for DeleteMetricFilterWithContext") + } + + var r0 *cloudwatchlogs.DeleteMetricFilterOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, ...request.Option) (*cloudwatchlogs.DescribeDestinationsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteMetricFilterInput, ...request.Option) (*cloudwatchlogs.DeleteMetricFilterOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, ...request.Option) *cloudwatchlogs.DescribeDestinationsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteMetricFilterInput, ...request.Option) *cloudwatchlogs.DeleteMetricFilterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeDestinationsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteMetricFilterOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteMetricFilterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -3150,21 +3444,21 @@ func (_m *MockCloudWatchLogsAPI) DescribeDestinationsWithContext(_a0 context.Con return r0, r1 } -// MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDestinationsWithContext' -type MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMetricFilterWithContext' +type MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call struct { *mock.Call } -// DescribeDestinationsWithContext is a helper method to define mock.On call +// DeleteMetricFilterWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeDestinationsInput +// - _a1 *cloudwatchlogs.DeleteMetricFilterInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDestinationsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call{Call: _e.mock.On("DescribeDestinationsWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteMetricFilterWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call{Call: _e.mock.On("DeleteMetricFilterWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDestinationsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteMetricFilterInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -3172,39 +3466,43 @@ func (_c *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call) Run(run fu variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeDestinationsInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteMetricFilterInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeDestinationsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, ...request.Option) (*cloudwatchlogs.DescribeDestinationsOutput, error)) *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteMetricFilterInput, ...request.Option) (*cloudwatchlogs.DeleteMetricFilterOutput, error)) *MockCloudWatchLogsAPI_DeleteMetricFilterWithContext_Call { _c.Call.Return(run) return _c } -// DescribeExportTasks provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeExportTasks(_a0 *cloudwatchlogs.DescribeExportTasksInput) (*cloudwatchlogs.DescribeExportTasksOutput, error) { +// DeleteQueryDefinition provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteQueryDefinition(_a0 *cloudwatchlogs.DeleteQueryDefinitionInput) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DescribeExportTasksOutput + if len(ret) == 0 { + panic("no return value specified for DeleteQueryDefinition") + } + + var r0 *cloudwatchlogs.DeleteQueryDefinitionOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeExportTasksInput) (*cloudwatchlogs.DescribeExportTasksOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeExportTasksInput) *cloudwatchlogs.DescribeExportTasksOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) *cloudwatchlogs.DeleteQueryDefinitionOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeExportTasksOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteQueryDefinitionOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeExportTasksInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -3213,44 +3511,48 @@ func (_m *MockCloudWatchLogsAPI) DescribeExportTasks(_a0 *cloudwatchlogs.Describ return r0, r1 } -// MockCloudWatchLogsAPI_DescribeExportTasks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeExportTasks' -type MockCloudWatchLogsAPI_DescribeExportTasks_Call struct { +// MockCloudWatchLogsAPI_DeleteQueryDefinition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteQueryDefinition' +type MockCloudWatchLogsAPI_DeleteQueryDefinition_Call struct { *mock.Call } -// DescribeExportTasks is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeExportTasksInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeExportTasks(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeExportTasks_Call { - return &MockCloudWatchLogsAPI_DescribeExportTasks_Call{Call: _e.mock.On("DescribeExportTasks", _a0)} +// DeleteQueryDefinition is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteQueryDefinitionInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteQueryDefinition(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call { + return &MockCloudWatchLogsAPI_DeleteQueryDefinition_Call{Call: _e.mock.On("DeleteQueryDefinition", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeExportTasks_Call) Run(run func(_a0 *cloudwatchlogs.DescribeExportTasksInput)) *MockCloudWatchLogsAPI_DescribeExportTasks_Call { +func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call) Run(run func(_a0 *cloudwatchlogs.DeleteQueryDefinitionInput)) *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeExportTasksInput)) + run(args[0].(*cloudwatchlogs.DeleteQueryDefinitionInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeExportTasks_Call) Return(_a0 *cloudwatchlogs.DescribeExportTasksOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeExportTasks_Call { +func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call) Return(_a0 *cloudwatchlogs.DeleteQueryDefinitionOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeExportTasks_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeExportTasksInput) (*cloudwatchlogs.DescribeExportTasksOutput, error)) *MockCloudWatchLogsAPI_DescribeExportTasks_Call { +func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteQueryDefinitionInput) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error)) *MockCloudWatchLogsAPI_DeleteQueryDefinition_Call { _c.Call.Return(run) return _c } -// DescribeExportTasksRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeExportTasksRequest(_a0 *cloudwatchlogs.DescribeExportTasksInput) (*request.Request, *cloudwatchlogs.DescribeExportTasksOutput) { +// DeleteQueryDefinitionRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteQueryDefinitionRequest(_a0 *cloudwatchlogs.DeleteQueryDefinitionInput) (*request.Request, *cloudwatchlogs.DeleteQueryDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteQueryDefinitionRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DescribeExportTasksOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeExportTasksInput) (*request.Request, *cloudwatchlogs.DescribeExportTasksOutput)); ok { + var r1 *cloudwatchlogs.DeleteQueryDefinitionOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) (*request.Request, *cloudwatchlogs.DeleteQueryDefinitionOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeExportTasksInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -3258,47 +3560,47 @@ func (_m *MockCloudWatchLogsAPI) DescribeExportTasksRequest(_a0 *cloudwatchlogs. } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeExportTasksInput) *cloudwatchlogs.DescribeExportTasksOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteQueryDefinitionInput) *cloudwatchlogs.DeleteQueryDefinitionOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DescribeExportTasksOutput) + r1 = ret.Get(1).(*cloudwatchlogs.DeleteQueryDefinitionOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeExportTasksRequest' -type MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call struct { +// MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteQueryDefinitionRequest' +type MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call struct { *mock.Call } -// DescribeExportTasksRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeExportTasksInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeExportTasksRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call { - return &MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call{Call: _e.mock.On("DescribeExportTasksRequest", _a0)} +// DeleteQueryDefinitionRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteQueryDefinitionInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteQueryDefinitionRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call { + return &MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call{Call: _e.mock.On("DeleteQueryDefinitionRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeExportTasksInput)) *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteQueryDefinitionInput)) *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeExportTasksInput)) + run(args[0].(*cloudwatchlogs.DeleteQueryDefinitionInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeExportTasksOutput) *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteQueryDefinitionOutput) *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeExportTasksInput) (*request.Request, *cloudwatchlogs.DescribeExportTasksOutput)) *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call { +func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteQueryDefinitionInput) (*request.Request, *cloudwatchlogs.DeleteQueryDefinitionOutput)) *MockCloudWatchLogsAPI_DeleteQueryDefinitionRequest_Call { _c.Call.Return(run) return _c } -// DescribeExportTasksWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DescribeExportTasksWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeExportTasksInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeExportTasksOutput, error) { +// DeleteQueryDefinitionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteQueryDefinitionWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteQueryDefinitionInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -3308,20 +3610,24 @@ func (_m *MockCloudWatchLogsAPI) DescribeExportTasksWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeExportTasksOutput + if len(ret) == 0 { + panic("no return value specified for DeleteQueryDefinitionWithContext") + } + + var r0 *cloudwatchlogs.DeleteQueryDefinitionOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeExportTasksInput, ...request.Option) (*cloudwatchlogs.DescribeExportTasksOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteQueryDefinitionInput, ...request.Option) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeExportTasksInput, ...request.Option) *cloudwatchlogs.DescribeExportTasksOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteQueryDefinitionInput, ...request.Option) *cloudwatchlogs.DeleteQueryDefinitionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeExportTasksOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteQueryDefinitionOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeExportTasksInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteQueryDefinitionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -3330,21 +3636,21 @@ func (_m *MockCloudWatchLogsAPI) DescribeExportTasksWithContext(_a0 context.Cont return r0, r1 } -// MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeExportTasksWithContext' -type MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call struct { +// MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteQueryDefinitionWithContext' +type MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call struct { *mock.Call } -// DescribeExportTasksWithContext is a helper method to define mock.On call +// DeleteQueryDefinitionWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeExportTasksInput +// - _a1 *cloudwatchlogs.DeleteQueryDefinitionInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeExportTasksWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call{Call: _e.mock.On("DescribeExportTasksWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteQueryDefinitionWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call{Call: _e.mock.On("DeleteQueryDefinitionWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeExportTasksInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteQueryDefinitionInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -3352,39 +3658,43 @@ func (_c *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call) Run(run fun variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeExportTasksInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteQueryDefinitionInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeExportTasksOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteQueryDefinitionOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeExportTasksInput, ...request.Option) (*cloudwatchlogs.DescribeExportTasksOutput, error)) *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call { +func (_c *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteQueryDefinitionInput, ...request.Option) (*cloudwatchlogs.DeleteQueryDefinitionOutput, error)) *MockCloudWatchLogsAPI_DeleteQueryDefinitionWithContext_Call { _c.Call.Return(run) return _c } -// DescribeLogGroups provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeLogGroups(_a0 *cloudwatchlogs.DescribeLogGroupsInput) (*cloudwatchlogs.DescribeLogGroupsOutput, error) { +// DeleteResourcePolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteResourcePolicy(_a0 *cloudwatchlogs.DeleteResourcePolicyInput) (*cloudwatchlogs.DeleteResourcePolicyOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DescribeLogGroupsOutput + if len(ret) == 0 { + panic("no return value specified for DeleteResourcePolicy") + } + + var r0 *cloudwatchlogs.DeleteResourcePolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogGroupsInput) (*cloudwatchlogs.DescribeLogGroupsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteResourcePolicyInput) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogGroupsInput) *cloudwatchlogs.DescribeLogGroupsOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteResourcePolicyInput) *cloudwatchlogs.DeleteResourcePolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeLogGroupsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.DeleteResourcePolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeLogGroupsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteResourcePolicyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -3393,146 +3703,5188 @@ func (_m *MockCloudWatchLogsAPI) DescribeLogGroups(_a0 *cloudwatchlogs.DescribeL return r0, r1 } -// MockCloudWatchLogsAPI_DescribeLogGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogGroups' -type MockCloudWatchLogsAPI_DescribeLogGroups_Call struct { +// MockCloudWatchLogsAPI_DeleteResourcePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteResourcePolicy' +type MockCloudWatchLogsAPI_DeleteResourcePolicy_Call struct { *mock.Call } -// DescribeLogGroups is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeLogGroupsInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogGroups(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeLogGroups_Call { - return &MockCloudWatchLogsAPI_DescribeLogGroups_Call{Call: _e.mock.On("DescribeLogGroups", _a0)} +// DeleteResourcePolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteResourcePolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteResourcePolicy(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call { + return &MockCloudWatchLogsAPI_DeleteResourcePolicy_Call{Call: _e.mock.On("DeleteResourcePolicy", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroups_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogGroupsInput)) *MockCloudWatchLogsAPI_DescribeLogGroups_Call { +func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call) Run(run func(_a0 *cloudwatchlogs.DeleteResourcePolicyInput)) *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeLogGroupsInput)) + run(args[0].(*cloudwatchlogs.DeleteResourcePolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroups_Call) Return(_a0 *cloudwatchlogs.DescribeLogGroupsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeLogGroups_Call { +func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call) Return(_a0 *cloudwatchlogs.DeleteResourcePolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteResourcePolicyInput) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteResourcePolicy_Call { + _c.Call.Return(run) + return _c +} + +// DeleteResourcePolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteResourcePolicyRequest(_a0 *cloudwatchlogs.DeleteResourcePolicyInput) (*request.Request, *cloudwatchlogs.DeleteResourcePolicyOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteResourcePolicyRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DeleteResourcePolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteResourcePolicyInput) (*request.Request, *cloudwatchlogs.DeleteResourcePolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteResourcePolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteResourcePolicyInput) *cloudwatchlogs.DeleteResourcePolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DeleteResourcePolicyOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteResourcePolicyRequest' +type MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call struct { + *mock.Call +} + +// DeleteResourcePolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteResourcePolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteResourcePolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call { + return &MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call{Call: _e.mock.On("DeleteResourcePolicyRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteResourcePolicyInput)) *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DeleteResourcePolicyInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteResourcePolicyOutput) *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteResourcePolicyInput) (*request.Request, *cloudwatchlogs.DeleteResourcePolicyOutput)) *MockCloudWatchLogsAPI_DeleteResourcePolicyRequest_Call { + _c.Call.Return(run) + return _c +} + +// DeleteResourcePolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteResourcePolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteResourcePolicyInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteResourcePolicyOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DeleteResourcePolicyWithContext") + } + + var r0 *cloudwatchlogs.DeleteResourcePolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteResourcePolicyInput, ...request.Option) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteResourcePolicyInput, ...request.Option) *cloudwatchlogs.DeleteResourcePolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DeleteResourcePolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteResourcePolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteResourcePolicyWithContext' +type MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call struct { + *mock.Call +} + +// DeleteResourcePolicyWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DeleteResourcePolicyInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteResourcePolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call{Call: _e.mock.On("DeleteResourcePolicyWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteResourcePolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteResourcePolicyInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteResourcePolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteResourcePolicyInput, ...request.Option) (*cloudwatchlogs.DeleteResourcePolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteResourcePolicyWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DeleteRetentionPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteRetentionPolicy(_a0 *cloudwatchlogs.DeleteRetentionPolicyInput) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteRetentionPolicy") + } + + var r0 *cloudwatchlogs.DeleteRetentionPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) *cloudwatchlogs.DeleteRetentionPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DeleteRetentionPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRetentionPolicy' +type MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call struct { + *mock.Call +} + +// DeleteRetentionPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteRetentionPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteRetentionPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call { + return &MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call{Call: _e.mock.On("DeleteRetentionPolicy", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call) Run(run func(_a0 *cloudwatchlogs.DeleteRetentionPolicyInput)) *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DeleteRetentionPolicyInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call) Return(_a0 *cloudwatchlogs.DeleteRetentionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteRetentionPolicyInput) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteRetentionPolicy_Call { + _c.Call.Return(run) + return _c +} + +// DeleteRetentionPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteRetentionPolicyRequest(_a0 *cloudwatchlogs.DeleteRetentionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteRetentionPolicyOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteRetentionPolicyRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DeleteRetentionPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteRetentionPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteRetentionPolicyInput) *cloudwatchlogs.DeleteRetentionPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DeleteRetentionPolicyOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRetentionPolicyRequest' +type MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call struct { + *mock.Call +} + +// DeleteRetentionPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteRetentionPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteRetentionPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call { + return &MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call{Call: _e.mock.On("DeleteRetentionPolicyRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteRetentionPolicyInput)) *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DeleteRetentionPolicyInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteRetentionPolicyOutput) *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteRetentionPolicyInput) (*request.Request, *cloudwatchlogs.DeleteRetentionPolicyOutput)) *MockCloudWatchLogsAPI_DeleteRetentionPolicyRequest_Call { + _c.Call.Return(run) + return _c +} + +// DeleteRetentionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteRetentionPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteRetentionPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DeleteRetentionPolicyWithContext") + } + + var r0 *cloudwatchlogs.DeleteRetentionPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteRetentionPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteRetentionPolicyInput, ...request.Option) *cloudwatchlogs.DeleteRetentionPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DeleteRetentionPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteRetentionPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRetentionPolicyWithContext' +type MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call struct { + *mock.Call +} + +// DeleteRetentionPolicyWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DeleteRetentionPolicyInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteRetentionPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call{Call: _e.mock.On("DeleteRetentionPolicyWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteRetentionPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteRetentionPolicyInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteRetentionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteRetentionPolicyInput, ...request.Option) (*cloudwatchlogs.DeleteRetentionPolicyOutput, error)) *MockCloudWatchLogsAPI_DeleteRetentionPolicyWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DeleteSubscriptionFilter provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteSubscriptionFilter(_a0 *cloudwatchlogs.DeleteSubscriptionFilterInput) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteSubscriptionFilter") + } + + var r0 *cloudwatchlogs.DeleteSubscriptionFilterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) *cloudwatchlogs.DeleteSubscriptionFilterOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DeleteSubscriptionFilterOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSubscriptionFilter' +type MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call struct { + *mock.Call +} + +// DeleteSubscriptionFilter is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteSubscriptionFilterInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteSubscriptionFilter(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call { + return &MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call{Call: _e.mock.On("DeleteSubscriptionFilter", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call) Run(run func(_a0 *cloudwatchlogs.DeleteSubscriptionFilterInput)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DeleteSubscriptionFilterInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call) Return(_a0 *cloudwatchlogs.DeleteSubscriptionFilterOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteSubscriptionFilterInput) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilter_Call { + _c.Call.Return(run) + return _c +} + +// DeleteSubscriptionFilterRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DeleteSubscriptionFilterRequest(_a0 *cloudwatchlogs.DeleteSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.DeleteSubscriptionFilterOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteSubscriptionFilterRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DeleteSubscriptionFilterOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.DeleteSubscriptionFilterOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DeleteSubscriptionFilterInput) *cloudwatchlogs.DeleteSubscriptionFilterOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DeleteSubscriptionFilterOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSubscriptionFilterRequest' +type MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call struct { + *mock.Call +} + +// DeleteSubscriptionFilterRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DeleteSubscriptionFilterInput +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteSubscriptionFilterRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call { + return &MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call{Call: _e.mock.On("DeleteSubscriptionFilterRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call) Run(run func(_a0 *cloudwatchlogs.DeleteSubscriptionFilterInput)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DeleteSubscriptionFilterInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DeleteSubscriptionFilterOutput) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DeleteSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.DeleteSubscriptionFilterOutput)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterRequest_Call { + _c.Call.Return(run) + return _c +} + +// DeleteSubscriptionFilterWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DeleteSubscriptionFilterWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DeleteSubscriptionFilterInput, _a2 ...request.Option) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DeleteSubscriptionFilterWithContext") + } + + var r0 *cloudwatchlogs.DeleteSubscriptionFilterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteSubscriptionFilterInput, ...request.Option) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DeleteSubscriptionFilterInput, ...request.Option) *cloudwatchlogs.DeleteSubscriptionFilterOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DeleteSubscriptionFilterOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DeleteSubscriptionFilterInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSubscriptionFilterWithContext' +type MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call struct { + *mock.Call +} + +// DeleteSubscriptionFilterWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DeleteSubscriptionFilterInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DeleteSubscriptionFilterWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call { + return &MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call{Call: _e.mock.On("DeleteSubscriptionFilterWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DeleteSubscriptionFilterInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DeleteSubscriptionFilterInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call) Return(_a0 *cloudwatchlogs.DeleteSubscriptionFilterOutput, _a1 error) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DeleteSubscriptionFilterInput, ...request.Option) (*cloudwatchlogs.DeleteSubscriptionFilterOutput, error)) *MockCloudWatchLogsAPI_DeleteSubscriptionFilterWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeAccountPolicies provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeAccountPolicies(_a0 *cloudwatchlogs.DescribeAccountPoliciesInput) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeAccountPolicies") + } + + var r0 *cloudwatchlogs.DescribeAccountPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) *cloudwatchlogs.DescribeAccountPoliciesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeAccountPoliciesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeAccountPolicies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeAccountPolicies' +type MockCloudWatchLogsAPI_DescribeAccountPolicies_Call struct { + *mock.Call +} + +// DescribeAccountPolicies is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeAccountPoliciesInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeAccountPolicies(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call { + return &MockCloudWatchLogsAPI_DescribeAccountPolicies_Call{Call: _e.mock.On("DescribeAccountPolicies", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call) Run(run func(_a0 *cloudwatchlogs.DescribeAccountPoliciesInput)) *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeAccountPoliciesInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call) Return(_a0 *cloudwatchlogs.DescribeAccountPoliciesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeAccountPoliciesInput) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error)) *MockCloudWatchLogsAPI_DescribeAccountPolicies_Call { + _c.Call.Return(run) + return _c +} + +// DescribeAccountPoliciesRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeAccountPoliciesRequest(_a0 *cloudwatchlogs.DescribeAccountPoliciesInput) (*request.Request, *cloudwatchlogs.DescribeAccountPoliciesOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeAccountPoliciesRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeAccountPoliciesOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) (*request.Request, *cloudwatchlogs.DescribeAccountPoliciesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeAccountPoliciesInput) *cloudwatchlogs.DescribeAccountPoliciesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeAccountPoliciesOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeAccountPoliciesRequest' +type MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call struct { + *mock.Call +} + +// DescribeAccountPoliciesRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeAccountPoliciesInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeAccountPoliciesRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call { + return &MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call{Call: _e.mock.On("DescribeAccountPoliciesRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeAccountPoliciesInput)) *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeAccountPoliciesInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeAccountPoliciesOutput) *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeAccountPoliciesInput) (*request.Request, *cloudwatchlogs.DescribeAccountPoliciesOutput)) *MockCloudWatchLogsAPI_DescribeAccountPoliciesRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeAccountPoliciesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeAccountPoliciesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeAccountPoliciesInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeAccountPoliciesWithContext") + } + + var r0 *cloudwatchlogs.DescribeAccountPoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeAccountPoliciesInput, ...request.Option) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeAccountPoliciesInput, ...request.Option) *cloudwatchlogs.DescribeAccountPoliciesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeAccountPoliciesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeAccountPoliciesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeAccountPoliciesWithContext' +type MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call struct { + *mock.Call +} + +// DescribeAccountPoliciesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeAccountPoliciesInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeAccountPoliciesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call{Call: _e.mock.On("DescribeAccountPoliciesWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeAccountPoliciesInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeAccountPoliciesInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeAccountPoliciesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeAccountPoliciesInput, ...request.Option) (*cloudwatchlogs.DescribeAccountPoliciesOutput, error)) *MockCloudWatchLogsAPI_DescribeAccountPoliciesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliveries provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeDeliveries(_a0 *cloudwatchlogs.DescribeDeliveriesInput) (*cloudwatchlogs.DescribeDeliveriesOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveries") + } + + var r0 *cloudwatchlogs.DescribeDeliveriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliveriesInput) (*cloudwatchlogs.DescribeDeliveriesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliveriesInput) *cloudwatchlogs.DescribeDeliveriesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeDeliveriesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeDeliveriesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDeliveries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliveries' +type MockCloudWatchLogsAPI_DescribeDeliveries_Call struct { + *mock.Call +} + +// DescribeDeliveries is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDeliveriesInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliveries(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeDeliveries_Call { + return &MockCloudWatchLogsAPI_DescribeDeliveries_Call{Call: _e.mock.On("DescribeDeliveries", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveries_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDeliveriesInput)) *MockCloudWatchLogsAPI_DescribeDeliveries_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDeliveriesInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveries_Call) Return(_a0 *cloudwatchlogs.DescribeDeliveriesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeDeliveries_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveries_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDeliveriesInput) (*cloudwatchlogs.DescribeDeliveriesOutput, error)) *MockCloudWatchLogsAPI_DescribeDeliveries_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliveriesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) DescribeDeliveriesPages(_a0 *cloudwatchlogs.DescribeDeliveriesInput, _a1 func(*cloudwatchlogs.DescribeDeliveriesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveriesPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliveriesInput, func(*cloudwatchlogs.DescribeDeliveriesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeDeliveriesPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliveriesPages' +type MockCloudWatchLogsAPI_DescribeDeliveriesPages_Call struct { + *mock.Call +} + +// DescribeDeliveriesPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDeliveriesInput +// - _a1 func(*cloudwatchlogs.DescribeDeliveriesOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliveriesPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeDeliveriesPages_Call { + return &MockCloudWatchLogsAPI_DescribeDeliveriesPages_Call{Call: _e.mock.On("DescribeDeliveriesPages", _a0, _a1)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDeliveriesInput, _a1 func(*cloudwatchlogs.DescribeDeliveriesOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeDeliveriesPages_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDeliveriesInput), args[1].(func(*cloudwatchlogs.DescribeDeliveriesOutput, bool) bool)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeDeliveriesPages_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDeliveriesInput, func(*cloudwatchlogs.DescribeDeliveriesOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeDeliveriesPages_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliveriesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) DescribeDeliveriesPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliveriesInput, _a2 func(*cloudwatchlogs.DescribeDeliveriesOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveriesPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliveriesInput, func(*cloudwatchlogs.DescribeDeliveriesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeDeliveriesPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliveriesPagesWithContext' +type MockCloudWatchLogsAPI_DescribeDeliveriesPagesWithContext_Call struct { + *mock.Call +} + +// DescribeDeliveriesPagesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeDeliveriesInput +// - _a2 func(*cloudwatchlogs.DescribeDeliveriesOutput , bool) bool +// - _a3 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliveriesPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeDeliveriesPagesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeDeliveriesPagesWithContext_Call{Call: _e.mock.On("DescribeDeliveriesPagesWithContext", + append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliveriesInput, _a2 func(*cloudwatchlogs.DescribeDeliveriesOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeDeliveriesPagesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-3) + for i, a := range args[3:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeDeliveriesInput), args[2].(func(*cloudwatchlogs.DescribeDeliveriesOutput, bool) bool), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeDeliveriesPagesWithContext_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeDeliveriesInput, func(*cloudwatchlogs.DescribeDeliveriesOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeDeliveriesPagesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliveriesRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeDeliveriesRequest(_a0 *cloudwatchlogs.DescribeDeliveriesInput) (*request.Request, *cloudwatchlogs.DescribeDeliveriesOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveriesRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeDeliveriesOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliveriesInput) (*request.Request, *cloudwatchlogs.DescribeDeliveriesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliveriesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeDeliveriesInput) *cloudwatchlogs.DescribeDeliveriesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeDeliveriesOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDeliveriesRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliveriesRequest' +type MockCloudWatchLogsAPI_DescribeDeliveriesRequest_Call struct { + *mock.Call +} + +// DescribeDeliveriesRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDeliveriesInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliveriesRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeDeliveriesRequest_Call { + return &MockCloudWatchLogsAPI_DescribeDeliveriesRequest_Call{Call: _e.mock.On("DescribeDeliveriesRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDeliveriesInput)) *MockCloudWatchLogsAPI_DescribeDeliveriesRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDeliveriesInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeDeliveriesOutput) *MockCloudWatchLogsAPI_DescribeDeliveriesRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDeliveriesInput) (*request.Request, *cloudwatchlogs.DescribeDeliveriesOutput)) *MockCloudWatchLogsAPI_DescribeDeliveriesRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliveriesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeDeliveriesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliveriesInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeDeliveriesOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveriesWithContext") + } + + var r0 *cloudwatchlogs.DescribeDeliveriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliveriesInput, ...request.Option) (*cloudwatchlogs.DescribeDeliveriesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliveriesInput, ...request.Option) *cloudwatchlogs.DescribeDeliveriesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeDeliveriesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeDeliveriesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDeliveriesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliveriesWithContext' +type MockCloudWatchLogsAPI_DescribeDeliveriesWithContext_Call struct { + *mock.Call +} + +// DescribeDeliveriesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeDeliveriesInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliveriesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeDeliveriesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeDeliveriesWithContext_Call{Call: _e.mock.On("DescribeDeliveriesWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliveriesInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeDeliveriesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeDeliveriesInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeDeliveriesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeDeliveriesWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveriesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeDeliveriesInput, ...request.Option) (*cloudwatchlogs.DescribeDeliveriesOutput, error)) *MockCloudWatchLogsAPI_DescribeDeliveriesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliveryDestinations provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeDeliveryDestinations(_a0 *cloudwatchlogs.DescribeDeliveryDestinationsInput) (*cloudwatchlogs.DescribeDeliveryDestinationsOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveryDestinations") + } + + var r0 *cloudwatchlogs.DescribeDeliveryDestinationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliveryDestinationsInput) (*cloudwatchlogs.DescribeDeliveryDestinationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliveryDestinationsInput) *cloudwatchlogs.DescribeDeliveryDestinationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeDeliveryDestinationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeDeliveryDestinationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDeliveryDestinations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliveryDestinations' +type MockCloudWatchLogsAPI_DescribeDeliveryDestinations_Call struct { + *mock.Call +} + +// DescribeDeliveryDestinations is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDeliveryDestinationsInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliveryDestinations(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeDeliveryDestinations_Call { + return &MockCloudWatchLogsAPI_DescribeDeliveryDestinations_Call{Call: _e.mock.On("DescribeDeliveryDestinations", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinations_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDeliveryDestinationsInput)) *MockCloudWatchLogsAPI_DescribeDeliveryDestinations_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDeliveryDestinationsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinations_Call) Return(_a0 *cloudwatchlogs.DescribeDeliveryDestinationsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeDeliveryDestinations_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinations_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDeliveryDestinationsInput) (*cloudwatchlogs.DescribeDeliveryDestinationsOutput, error)) *MockCloudWatchLogsAPI_DescribeDeliveryDestinations_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliveryDestinationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) DescribeDeliveryDestinationsPages(_a0 *cloudwatchlogs.DescribeDeliveryDestinationsInput, _a1 func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveryDestinationsPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliveryDestinationsInput, func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliveryDestinationsPages' +type MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPages_Call struct { + *mock.Call +} + +// DescribeDeliveryDestinationsPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDeliveryDestinationsInput +// - _a1 func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliveryDestinationsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPages_Call { + return &MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPages_Call{Call: _e.mock.On("DescribeDeliveryDestinationsPages", _a0, _a1)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDeliveryDestinationsInput, _a1 func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPages_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDeliveryDestinationsInput), args[1].(func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput, bool) bool)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPages_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDeliveryDestinationsInput, func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPages_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliveryDestinationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) DescribeDeliveryDestinationsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliveryDestinationsInput, _a2 func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveryDestinationsPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliveryDestinationsInput, func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliveryDestinationsPagesWithContext' +type MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPagesWithContext_Call struct { + *mock.Call +} + +// DescribeDeliveryDestinationsPagesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeDeliveryDestinationsInput +// - _a2 func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput , bool) bool +// - _a3 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliveryDestinationsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPagesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPagesWithContext_Call{Call: _e.mock.On("DescribeDeliveryDestinationsPagesWithContext", + append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliveryDestinationsInput, _a2 func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPagesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-3) + for i, a := range args[3:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeDeliveryDestinationsInput), args[2].(func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput, bool) bool), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPagesWithContext_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeDeliveryDestinationsInput, func(*cloudwatchlogs.DescribeDeliveryDestinationsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsPagesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliveryDestinationsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeDeliveryDestinationsRequest(_a0 *cloudwatchlogs.DescribeDeliveryDestinationsInput) (*request.Request, *cloudwatchlogs.DescribeDeliveryDestinationsOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveryDestinationsRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeDeliveryDestinationsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliveryDestinationsInput) (*request.Request, *cloudwatchlogs.DescribeDeliveryDestinationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliveryDestinationsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeDeliveryDestinationsInput) *cloudwatchlogs.DescribeDeliveryDestinationsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeDeliveryDestinationsOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDeliveryDestinationsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliveryDestinationsRequest' +type MockCloudWatchLogsAPI_DescribeDeliveryDestinationsRequest_Call struct { + *mock.Call +} + +// DescribeDeliveryDestinationsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDeliveryDestinationsInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliveryDestinationsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsRequest_Call { + return &MockCloudWatchLogsAPI_DescribeDeliveryDestinationsRequest_Call{Call: _e.mock.On("DescribeDeliveryDestinationsRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDeliveryDestinationsInput)) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDeliveryDestinationsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeDeliveryDestinationsOutput) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDeliveryDestinationsInput) (*request.Request, *cloudwatchlogs.DescribeDeliveryDestinationsOutput)) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliveryDestinationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeDeliveryDestinationsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliveryDestinationsInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeDeliveryDestinationsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliveryDestinationsWithContext") + } + + var r0 *cloudwatchlogs.DescribeDeliveryDestinationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliveryDestinationsInput, ...request.Option) (*cloudwatchlogs.DescribeDeliveryDestinationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliveryDestinationsInput, ...request.Option) *cloudwatchlogs.DescribeDeliveryDestinationsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeDeliveryDestinationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeDeliveryDestinationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDeliveryDestinationsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliveryDestinationsWithContext' +type MockCloudWatchLogsAPI_DescribeDeliveryDestinationsWithContext_Call struct { + *mock.Call +} + +// DescribeDeliveryDestinationsWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeDeliveryDestinationsInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliveryDestinationsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeDeliveryDestinationsWithContext_Call{Call: _e.mock.On("DescribeDeliveryDestinationsWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliveryDestinationsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeDeliveryDestinationsInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeDeliveryDestinationsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeDeliveryDestinationsInput, ...request.Option) (*cloudwatchlogs.DescribeDeliveryDestinationsOutput, error)) *MockCloudWatchLogsAPI_DescribeDeliveryDestinationsWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliverySources provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeDeliverySources(_a0 *cloudwatchlogs.DescribeDeliverySourcesInput) (*cloudwatchlogs.DescribeDeliverySourcesOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliverySources") + } + + var r0 *cloudwatchlogs.DescribeDeliverySourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliverySourcesInput) (*cloudwatchlogs.DescribeDeliverySourcesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliverySourcesInput) *cloudwatchlogs.DescribeDeliverySourcesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeDeliverySourcesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeDeliverySourcesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDeliverySources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliverySources' +type MockCloudWatchLogsAPI_DescribeDeliverySources_Call struct { + *mock.Call +} + +// DescribeDeliverySources is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDeliverySourcesInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliverySources(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeDeliverySources_Call { + return &MockCloudWatchLogsAPI_DescribeDeliverySources_Call{Call: _e.mock.On("DescribeDeliverySources", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySources_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDeliverySourcesInput)) *MockCloudWatchLogsAPI_DescribeDeliverySources_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDeliverySourcesInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySources_Call) Return(_a0 *cloudwatchlogs.DescribeDeliverySourcesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeDeliverySources_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySources_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDeliverySourcesInput) (*cloudwatchlogs.DescribeDeliverySourcesOutput, error)) *MockCloudWatchLogsAPI_DescribeDeliverySources_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliverySourcesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) DescribeDeliverySourcesPages(_a0 *cloudwatchlogs.DescribeDeliverySourcesInput, _a1 func(*cloudwatchlogs.DescribeDeliverySourcesOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliverySourcesPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliverySourcesInput, func(*cloudwatchlogs.DescribeDeliverySourcesOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeDeliverySourcesPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliverySourcesPages' +type MockCloudWatchLogsAPI_DescribeDeliverySourcesPages_Call struct { + *mock.Call +} + +// DescribeDeliverySourcesPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDeliverySourcesInput +// - _a1 func(*cloudwatchlogs.DescribeDeliverySourcesOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliverySourcesPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeDeliverySourcesPages_Call { + return &MockCloudWatchLogsAPI_DescribeDeliverySourcesPages_Call{Call: _e.mock.On("DescribeDeliverySourcesPages", _a0, _a1)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDeliverySourcesInput, _a1 func(*cloudwatchlogs.DescribeDeliverySourcesOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeDeliverySourcesPages_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDeliverySourcesInput), args[1].(func(*cloudwatchlogs.DescribeDeliverySourcesOutput, bool) bool)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeDeliverySourcesPages_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDeliverySourcesInput, func(*cloudwatchlogs.DescribeDeliverySourcesOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeDeliverySourcesPages_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliverySourcesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) DescribeDeliverySourcesPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliverySourcesInput, _a2 func(*cloudwatchlogs.DescribeDeliverySourcesOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliverySourcesPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliverySourcesInput, func(*cloudwatchlogs.DescribeDeliverySourcesOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeDeliverySourcesPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliverySourcesPagesWithContext' +type MockCloudWatchLogsAPI_DescribeDeliverySourcesPagesWithContext_Call struct { + *mock.Call +} + +// DescribeDeliverySourcesPagesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeDeliverySourcesInput +// - _a2 func(*cloudwatchlogs.DescribeDeliverySourcesOutput , bool) bool +// - _a3 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliverySourcesPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeDeliverySourcesPagesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeDeliverySourcesPagesWithContext_Call{Call: _e.mock.On("DescribeDeliverySourcesPagesWithContext", + append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliverySourcesInput, _a2 func(*cloudwatchlogs.DescribeDeliverySourcesOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeDeliverySourcesPagesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-3) + for i, a := range args[3:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeDeliverySourcesInput), args[2].(func(*cloudwatchlogs.DescribeDeliverySourcesOutput, bool) bool), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeDeliverySourcesPagesWithContext_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeDeliverySourcesInput, func(*cloudwatchlogs.DescribeDeliverySourcesOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeDeliverySourcesPagesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliverySourcesRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeDeliverySourcesRequest(_a0 *cloudwatchlogs.DescribeDeliverySourcesInput) (*request.Request, *cloudwatchlogs.DescribeDeliverySourcesOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliverySourcesRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeDeliverySourcesOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliverySourcesInput) (*request.Request, *cloudwatchlogs.DescribeDeliverySourcesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDeliverySourcesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeDeliverySourcesInput) *cloudwatchlogs.DescribeDeliverySourcesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeDeliverySourcesOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDeliverySourcesRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliverySourcesRequest' +type MockCloudWatchLogsAPI_DescribeDeliverySourcesRequest_Call struct { + *mock.Call +} + +// DescribeDeliverySourcesRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDeliverySourcesInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliverySourcesRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeDeliverySourcesRequest_Call { + return &MockCloudWatchLogsAPI_DescribeDeliverySourcesRequest_Call{Call: _e.mock.On("DescribeDeliverySourcesRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDeliverySourcesInput)) *MockCloudWatchLogsAPI_DescribeDeliverySourcesRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDeliverySourcesInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeDeliverySourcesOutput) *MockCloudWatchLogsAPI_DescribeDeliverySourcesRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDeliverySourcesInput) (*request.Request, *cloudwatchlogs.DescribeDeliverySourcesOutput)) *MockCloudWatchLogsAPI_DescribeDeliverySourcesRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDeliverySourcesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeDeliverySourcesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliverySourcesInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeDeliverySourcesOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeDeliverySourcesWithContext") + } + + var r0 *cloudwatchlogs.DescribeDeliverySourcesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliverySourcesInput, ...request.Option) (*cloudwatchlogs.DescribeDeliverySourcesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDeliverySourcesInput, ...request.Option) *cloudwatchlogs.DescribeDeliverySourcesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeDeliverySourcesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeDeliverySourcesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDeliverySourcesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDeliverySourcesWithContext' +type MockCloudWatchLogsAPI_DescribeDeliverySourcesWithContext_Call struct { + *mock.Call +} + +// DescribeDeliverySourcesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeDeliverySourcesInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDeliverySourcesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeDeliverySourcesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeDeliverySourcesWithContext_Call{Call: _e.mock.On("DescribeDeliverySourcesWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDeliverySourcesInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeDeliverySourcesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeDeliverySourcesInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeDeliverySourcesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeDeliverySourcesWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDeliverySourcesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeDeliverySourcesInput, ...request.Option) (*cloudwatchlogs.DescribeDeliverySourcesOutput, error)) *MockCloudWatchLogsAPI_DescribeDeliverySourcesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDestinations provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeDestinations(_a0 *cloudwatchlogs.DescribeDestinationsInput) (*cloudwatchlogs.DescribeDestinationsOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeDestinations") + } + + var r0 *cloudwatchlogs.DescribeDestinationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDestinationsInput) (*cloudwatchlogs.DescribeDestinationsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDestinationsInput) *cloudwatchlogs.DescribeDestinationsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeDestinationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeDestinationsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDestinations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDestinations' +type MockCloudWatchLogsAPI_DescribeDestinations_Call struct { + *mock.Call +} + +// DescribeDestinations is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDestinationsInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDestinations(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeDestinations_Call { + return &MockCloudWatchLogsAPI_DescribeDestinations_Call{Call: _e.mock.On("DescribeDestinations", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinations_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDestinationsInput)) *MockCloudWatchLogsAPI_DescribeDestinations_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDestinationsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinations_Call) Return(_a0 *cloudwatchlogs.DescribeDestinationsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeDestinations_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinations_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDestinationsInput) (*cloudwatchlogs.DescribeDestinationsOutput, error)) *MockCloudWatchLogsAPI_DescribeDestinations_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDestinationsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) DescribeDestinationsPages(_a0 *cloudwatchlogs.DescribeDestinationsInput, _a1 func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for DescribeDestinationsPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDestinationsInput, func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeDestinationsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDestinationsPages' +type MockCloudWatchLogsAPI_DescribeDestinationsPages_Call struct { + *mock.Call +} + +// DescribeDestinationsPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDestinationsInput +// - _a1 func(*cloudwatchlogs.DescribeDestinationsOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDestinationsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call { + return &MockCloudWatchLogsAPI_DescribeDestinationsPages_Call{Call: _e.mock.On("DescribeDestinationsPages", _a0, _a1)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDestinationsInput, _a1 func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDestinationsInput), args[1].(func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDestinationsInput, func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeDestinationsPages_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDestinationsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) DescribeDestinationsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDestinationsInput, _a2 func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeDestinationsPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDestinationsPagesWithContext' +type MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call struct { + *mock.Call +} + +// DescribeDestinationsPagesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeDestinationsInput +// - _a2 func(*cloudwatchlogs.DescribeDestinationsOutput , bool) bool +// - _a3 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDestinationsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call{Call: _e.mock.On("DescribeDestinationsPagesWithContext", + append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDestinationsInput, _a2 func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-3) + for i, a := range args[3:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeDestinationsInput), args[2].(func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, func(*cloudwatchlogs.DescribeDestinationsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeDestinationsPagesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDestinationsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeDestinationsRequest(_a0 *cloudwatchlogs.DescribeDestinationsInput) (*request.Request, *cloudwatchlogs.DescribeDestinationsOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeDestinationsRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeDestinationsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDestinationsInput) (*request.Request, *cloudwatchlogs.DescribeDestinationsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeDestinationsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeDestinationsInput) *cloudwatchlogs.DescribeDestinationsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeDestinationsOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDestinationsRequest' +type MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call struct { + *mock.Call +} + +// DescribeDestinationsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeDestinationsInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDestinationsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call { + return &MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call{Call: _e.mock.On("DescribeDestinationsRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeDestinationsInput)) *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeDestinationsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeDestinationsOutput) *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeDestinationsInput) (*request.Request, *cloudwatchlogs.DescribeDestinationsOutput)) *MockCloudWatchLogsAPI_DescribeDestinationsRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeDestinationsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeDestinationsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDestinationsInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeDestinationsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeDestinationsWithContext") + } + + var r0 *cloudwatchlogs.DescribeDestinationsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, ...request.Option) (*cloudwatchlogs.DescribeDestinationsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, ...request.Option) *cloudwatchlogs.DescribeDestinationsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeDestinationsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeDestinationsWithContext' +type MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call struct { + *mock.Call +} + +// DescribeDestinationsWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeDestinationsInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeDestinationsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call{Call: _e.mock.On("DescribeDestinationsWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeDestinationsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeDestinationsInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeDestinationsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeDestinationsInput, ...request.Option) (*cloudwatchlogs.DescribeDestinationsOutput, error)) *MockCloudWatchLogsAPI_DescribeDestinationsWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeExportTasks provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeExportTasks(_a0 *cloudwatchlogs.DescribeExportTasksInput) (*cloudwatchlogs.DescribeExportTasksOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeExportTasks") + } + + var r0 *cloudwatchlogs.DescribeExportTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeExportTasksInput) (*cloudwatchlogs.DescribeExportTasksOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeExportTasksInput) *cloudwatchlogs.DescribeExportTasksOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeExportTasksOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeExportTasksInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeExportTasks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeExportTasks' +type MockCloudWatchLogsAPI_DescribeExportTasks_Call struct { + *mock.Call +} + +// DescribeExportTasks is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeExportTasksInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeExportTasks(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeExportTasks_Call { + return &MockCloudWatchLogsAPI_DescribeExportTasks_Call{Call: _e.mock.On("DescribeExportTasks", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeExportTasks_Call) Run(run func(_a0 *cloudwatchlogs.DescribeExportTasksInput)) *MockCloudWatchLogsAPI_DescribeExportTasks_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeExportTasksInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeExportTasks_Call) Return(_a0 *cloudwatchlogs.DescribeExportTasksOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeExportTasks_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeExportTasks_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeExportTasksInput) (*cloudwatchlogs.DescribeExportTasksOutput, error)) *MockCloudWatchLogsAPI_DescribeExportTasks_Call { + _c.Call.Return(run) + return _c +} + +// DescribeExportTasksRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeExportTasksRequest(_a0 *cloudwatchlogs.DescribeExportTasksInput) (*request.Request, *cloudwatchlogs.DescribeExportTasksOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeExportTasksRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeExportTasksOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeExportTasksInput) (*request.Request, *cloudwatchlogs.DescribeExportTasksOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeExportTasksInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeExportTasksInput) *cloudwatchlogs.DescribeExportTasksOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeExportTasksOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeExportTasksRequest' +type MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call struct { + *mock.Call +} + +// DescribeExportTasksRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeExportTasksInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeExportTasksRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call { + return &MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call{Call: _e.mock.On("DescribeExportTasksRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeExportTasksInput)) *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeExportTasksInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeExportTasksOutput) *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeExportTasksInput) (*request.Request, *cloudwatchlogs.DescribeExportTasksOutput)) *MockCloudWatchLogsAPI_DescribeExportTasksRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeExportTasksWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeExportTasksWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeExportTasksInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeExportTasksOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeExportTasksWithContext") + } + + var r0 *cloudwatchlogs.DescribeExportTasksOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeExportTasksInput, ...request.Option) (*cloudwatchlogs.DescribeExportTasksOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeExportTasksInput, ...request.Option) *cloudwatchlogs.DescribeExportTasksOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeExportTasksOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeExportTasksInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeExportTasksWithContext' +type MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call struct { + *mock.Call +} + +// DescribeExportTasksWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeExportTasksInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeExportTasksWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call{Call: _e.mock.On("DescribeExportTasksWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeExportTasksInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeExportTasksInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeExportTasksOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeExportTasksInput, ...request.Option) (*cloudwatchlogs.DescribeExportTasksOutput, error)) *MockCloudWatchLogsAPI_DescribeExportTasksWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeLogGroups provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeLogGroups(_a0 *cloudwatchlogs.DescribeLogGroupsInput) (*cloudwatchlogs.DescribeLogGroupsOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeLogGroups") + } + + var r0 *cloudwatchlogs.DescribeLogGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogGroupsInput) (*cloudwatchlogs.DescribeLogGroupsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogGroupsInput) *cloudwatchlogs.DescribeLogGroupsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeLogGroupsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeLogGroupsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeLogGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogGroups' +type MockCloudWatchLogsAPI_DescribeLogGroups_Call struct { + *mock.Call +} + +// DescribeLogGroups is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeLogGroupsInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogGroups(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeLogGroups_Call { + return &MockCloudWatchLogsAPI_DescribeLogGroups_Call{Call: _e.mock.On("DescribeLogGroups", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroups_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogGroupsInput)) *MockCloudWatchLogsAPI_DescribeLogGroups_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeLogGroupsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroups_Call) Return(_a0 *cloudwatchlogs.DescribeLogGroupsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeLogGroups_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroups_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogGroupsInput) (*cloudwatchlogs.DescribeLogGroupsOutput, error)) *MockCloudWatchLogsAPI_DescribeLogGroups_Call { + _c.Call.Return(run) + return _c +} + +// DescribeLogGroupsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsPages(_a0 *cloudwatchlogs.DescribeLogGroupsInput, _a1 func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for DescribeLogGroupsPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogGroupsInput, func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogGroupsPages' +type MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call struct { + *mock.Call +} + +// DescribeLogGroupsPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeLogGroupsInput +// - _a1 func(*cloudwatchlogs.DescribeLogGroupsOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogGroupsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call { + return &MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call{Call: _e.mock.On("DescribeLogGroupsPages", _a0, _a1)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogGroupsInput, _a1 func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeLogGroupsInput), args[1].(func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogGroupsInput, func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call { + _c.Call.Return(run) + return _c +} + +// DescribeLogGroupsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogGroupsInput, _a2 func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeLogGroupsPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogGroupsPagesWithContext' +type MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call struct { + *mock.Call +} + +// DescribeLogGroupsPagesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeLogGroupsInput +// - _a2 func(*cloudwatchlogs.DescribeLogGroupsOutput , bool) bool +// - _a3 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogGroupsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call{Call: _e.mock.On("DescribeLogGroupsPagesWithContext", + append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogGroupsInput, _a2 func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-3) + for i, a := range args[3:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeLogGroupsInput), args[2].(func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeLogGroupsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsRequest(_a0 *cloudwatchlogs.DescribeLogGroupsInput) (*request.Request, *cloudwatchlogs.DescribeLogGroupsOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeLogGroupsRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeLogGroupsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogGroupsInput) (*request.Request, *cloudwatchlogs.DescribeLogGroupsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogGroupsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeLogGroupsInput) *cloudwatchlogs.DescribeLogGroupsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeLogGroupsOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogGroupsRequest' +type MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call struct { + *mock.Call +} + +// DescribeLogGroupsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeLogGroupsInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogGroupsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call { + return &MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call{Call: _e.mock.On("DescribeLogGroupsRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogGroupsInput)) *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeLogGroupsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeLogGroupsOutput) *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogGroupsInput) (*request.Request, *cloudwatchlogs.DescribeLogGroupsOutput)) *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeLogGroupsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogGroupsInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeLogGroupsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeLogGroupsWithContext") + } + + var r0 *cloudwatchlogs.DescribeLogGroupsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, ...request.Option) (*cloudwatchlogs.DescribeLogGroupsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, ...request.Option) *cloudwatchlogs.DescribeLogGroupsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeLogGroupsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogGroupsWithContext' +type MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call struct { + *mock.Call +} + +// DescribeLogGroupsWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeLogGroupsInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogGroupsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call{Call: _e.mock.On("DescribeLogGroupsWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogGroupsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeLogGroupsInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeLogGroupsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, ...request.Option) (*cloudwatchlogs.DescribeLogGroupsOutput, error)) *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeLogStreams provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeLogStreams(_a0 *cloudwatchlogs.DescribeLogStreamsInput) (*cloudwatchlogs.DescribeLogStreamsOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeLogStreams") + } + + var r0 *cloudwatchlogs.DescribeLogStreamsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogStreamsInput) (*cloudwatchlogs.DescribeLogStreamsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogStreamsInput) *cloudwatchlogs.DescribeLogStreamsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeLogStreamsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeLogStreamsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeLogStreams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogStreams' +type MockCloudWatchLogsAPI_DescribeLogStreams_Call struct { + *mock.Call +} + +// DescribeLogStreams is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeLogStreamsInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogStreams(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeLogStreams_Call { + return &MockCloudWatchLogsAPI_DescribeLogStreams_Call{Call: _e.mock.On("DescribeLogStreams", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreams_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogStreamsInput)) *MockCloudWatchLogsAPI_DescribeLogStreams_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeLogStreamsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreams_Call) Return(_a0 *cloudwatchlogs.DescribeLogStreamsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeLogStreams_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreams_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogStreamsInput) (*cloudwatchlogs.DescribeLogStreamsOutput, error)) *MockCloudWatchLogsAPI_DescribeLogStreams_Call { + _c.Call.Return(run) + return _c +} + +// DescribeLogStreamsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsPages(_a0 *cloudwatchlogs.DescribeLogStreamsInput, _a1 func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for DescribeLogStreamsPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogStreamsInput, func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogStreamsPages' +type MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call struct { + *mock.Call +} + +// DescribeLogStreamsPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeLogStreamsInput +// - _a1 func(*cloudwatchlogs.DescribeLogStreamsOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogStreamsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call { + return &MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call{Call: _e.mock.On("DescribeLogStreamsPages", _a0, _a1)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogStreamsInput, _a1 func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeLogStreamsInput), args[1].(func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogStreamsInput, func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call { + _c.Call.Return(run) + return _c +} + +// DescribeLogStreamsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogStreamsInput, _a2 func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeLogStreamsPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogStreamsPagesWithContext' +type MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call struct { + *mock.Call +} + +// DescribeLogStreamsPagesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeLogStreamsInput +// - _a2 func(*cloudwatchlogs.DescribeLogStreamsOutput , bool) bool +// - _a3 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogStreamsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call{Call: _e.mock.On("DescribeLogStreamsPagesWithContext", + append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogStreamsInput, _a2 func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-3) + for i, a := range args[3:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeLogStreamsInput), args[2].(func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeLogStreamsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsRequest(_a0 *cloudwatchlogs.DescribeLogStreamsInput) (*request.Request, *cloudwatchlogs.DescribeLogStreamsOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeLogStreamsRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeLogStreamsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogStreamsInput) (*request.Request, *cloudwatchlogs.DescribeLogStreamsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogStreamsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeLogStreamsInput) *cloudwatchlogs.DescribeLogStreamsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeLogStreamsOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogStreamsRequest' +type MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call struct { + *mock.Call +} + +// DescribeLogStreamsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeLogStreamsInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogStreamsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call { + return &MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call{Call: _e.mock.On("DescribeLogStreamsRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogStreamsInput)) *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeLogStreamsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeLogStreamsOutput) *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogStreamsInput) (*request.Request, *cloudwatchlogs.DescribeLogStreamsOutput)) *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeLogStreamsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogStreamsInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeLogStreamsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeLogStreamsWithContext") + } + + var r0 *cloudwatchlogs.DescribeLogStreamsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, ...request.Option) (*cloudwatchlogs.DescribeLogStreamsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, ...request.Option) *cloudwatchlogs.DescribeLogStreamsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeLogStreamsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogStreamsWithContext' +type MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call struct { + *mock.Call +} + +// DescribeLogStreamsWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeLogStreamsInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogStreamsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call{Call: _e.mock.On("DescribeLogStreamsWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogStreamsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeLogStreamsInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeLogStreamsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, ...request.Option) (*cloudwatchlogs.DescribeLogStreamsOutput, error)) *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeMetricFilters provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeMetricFilters(_a0 *cloudwatchlogs.DescribeMetricFiltersInput) (*cloudwatchlogs.DescribeMetricFiltersOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeMetricFilters") + } + + var r0 *cloudwatchlogs.DescribeMetricFiltersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeMetricFiltersInput) (*cloudwatchlogs.DescribeMetricFiltersOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeMetricFiltersInput) *cloudwatchlogs.DescribeMetricFiltersOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeMetricFiltersOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeMetricFiltersInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeMetricFilters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeMetricFilters' +type MockCloudWatchLogsAPI_DescribeMetricFilters_Call struct { + *mock.Call +} + +// DescribeMetricFilters is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeMetricFiltersInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeMetricFilters(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeMetricFilters_Call { + return &MockCloudWatchLogsAPI_DescribeMetricFilters_Call{Call: _e.mock.On("DescribeMetricFilters", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFilters_Call) Run(run func(_a0 *cloudwatchlogs.DescribeMetricFiltersInput)) *MockCloudWatchLogsAPI_DescribeMetricFilters_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeMetricFiltersInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFilters_Call) Return(_a0 *cloudwatchlogs.DescribeMetricFiltersOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeMetricFilters_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFilters_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeMetricFiltersInput) (*cloudwatchlogs.DescribeMetricFiltersOutput, error)) *MockCloudWatchLogsAPI_DescribeMetricFilters_Call { + _c.Call.Return(run) + return _c +} + +// DescribeMetricFiltersPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersPages(_a0 *cloudwatchlogs.DescribeMetricFiltersInput, _a1 func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for DescribeMetricFiltersPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeMetricFiltersInput, func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeMetricFiltersPages' +type MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call struct { + *mock.Call +} + +// DescribeMetricFiltersPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeMetricFiltersInput +// - _a1 func(*cloudwatchlogs.DescribeMetricFiltersOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeMetricFiltersPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call { + return &MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call{Call: _e.mock.On("DescribeMetricFiltersPages", _a0, _a1)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeMetricFiltersInput, _a1 func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeMetricFiltersInput), args[1].(func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeMetricFiltersInput, func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call { + _c.Call.Return(run) + return _c +} + +// DescribeMetricFiltersPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeMetricFiltersInput, _a2 func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeMetricFiltersPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeMetricFiltersPagesWithContext' +type MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call struct { + *mock.Call +} + +// DescribeMetricFiltersPagesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeMetricFiltersInput +// - _a2 func(*cloudwatchlogs.DescribeMetricFiltersOutput , bool) bool +// - _a3 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeMetricFiltersPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call{Call: _e.mock.On("DescribeMetricFiltersPagesWithContext", + append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeMetricFiltersInput, _a2 func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-3) + for i, a := range args[3:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeMetricFiltersInput), args[2].(func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeMetricFiltersRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersRequest(_a0 *cloudwatchlogs.DescribeMetricFiltersInput) (*request.Request, *cloudwatchlogs.DescribeMetricFiltersOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeMetricFiltersRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeMetricFiltersOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeMetricFiltersInput) (*request.Request, *cloudwatchlogs.DescribeMetricFiltersOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeMetricFiltersInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeMetricFiltersInput) *cloudwatchlogs.DescribeMetricFiltersOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeMetricFiltersOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeMetricFiltersRequest' +type MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call struct { + *mock.Call +} + +// DescribeMetricFiltersRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeMetricFiltersInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeMetricFiltersRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call { + return &MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call{Call: _e.mock.On("DescribeMetricFiltersRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeMetricFiltersInput)) *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeMetricFiltersInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeMetricFiltersOutput) *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeMetricFiltersInput) (*request.Request, *cloudwatchlogs.DescribeMetricFiltersOutput)) *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeMetricFiltersWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeMetricFiltersInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeMetricFiltersOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeMetricFiltersWithContext") + } + + var r0 *cloudwatchlogs.DescribeMetricFiltersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, ...request.Option) (*cloudwatchlogs.DescribeMetricFiltersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, ...request.Option) *cloudwatchlogs.DescribeMetricFiltersOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeMetricFiltersOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeMetricFiltersWithContext' +type MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call struct { + *mock.Call +} + +// DescribeMetricFiltersWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeMetricFiltersInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeMetricFiltersWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call{Call: _e.mock.On("DescribeMetricFiltersWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeMetricFiltersInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeMetricFiltersInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeMetricFiltersOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, ...request.Option) (*cloudwatchlogs.DescribeMetricFiltersOutput, error)) *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeQueries provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeQueries(_a0 *cloudwatchlogs.DescribeQueriesInput) (*cloudwatchlogs.DescribeQueriesOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeQueries") + } + + var r0 *cloudwatchlogs.DescribeQueriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueriesInput) (*cloudwatchlogs.DescribeQueriesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueriesInput) *cloudwatchlogs.DescribeQueriesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeQueriesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeQueriesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeQueries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueries' +type MockCloudWatchLogsAPI_DescribeQueries_Call struct { + *mock.Call +} + +// DescribeQueries is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeQueriesInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueries(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeQueries_Call { + return &MockCloudWatchLogsAPI_DescribeQueries_Call{Call: _e.mock.On("DescribeQueries", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueries_Call) Run(run func(_a0 *cloudwatchlogs.DescribeQueriesInput)) *MockCloudWatchLogsAPI_DescribeQueries_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeQueriesInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueries_Call) Return(_a0 *cloudwatchlogs.DescribeQueriesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeQueries_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueries_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeQueriesInput) (*cloudwatchlogs.DescribeQueriesOutput, error)) *MockCloudWatchLogsAPI_DescribeQueries_Call { + _c.Call.Return(run) + return _c +} + +// DescribeQueriesRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeQueriesRequest(_a0 *cloudwatchlogs.DescribeQueriesInput) (*request.Request, *cloudwatchlogs.DescribeQueriesOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeQueriesRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeQueriesOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueriesInput) (*request.Request, *cloudwatchlogs.DescribeQueriesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueriesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeQueriesInput) *cloudwatchlogs.DescribeQueriesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeQueriesOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeQueriesRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueriesRequest' +type MockCloudWatchLogsAPI_DescribeQueriesRequest_Call struct { + *mock.Call +} + +// DescribeQueriesRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeQueriesInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueriesRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call { + return &MockCloudWatchLogsAPI_DescribeQueriesRequest_Call{Call: _e.mock.On("DescribeQueriesRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeQueriesInput)) *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeQueriesInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeQueriesOutput) *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeQueriesInput) (*request.Request, *cloudwatchlogs.DescribeQueriesOutput)) *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeQueriesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeQueriesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeQueriesInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeQueriesOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeQueriesWithContext") + } + + var r0 *cloudwatchlogs.DescribeQueriesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeQueriesInput, ...request.Option) (*cloudwatchlogs.DescribeQueriesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeQueriesInput, ...request.Option) *cloudwatchlogs.DescribeQueriesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeQueriesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeQueriesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueriesWithContext' +type MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call struct { + *mock.Call +} + +// DescribeQueriesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeQueriesInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueriesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call{Call: _e.mock.On("DescribeQueriesWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeQueriesInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeQueriesInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeQueriesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeQueriesInput, ...request.Option) (*cloudwatchlogs.DescribeQueriesOutput, error)) *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeQueryDefinitions provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeQueryDefinitions(_a0 *cloudwatchlogs.DescribeQueryDefinitionsInput) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeQueryDefinitions") + } + + var r0 *cloudwatchlogs.DescribeQueryDefinitionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) *cloudwatchlogs.DescribeQueryDefinitionsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeQueryDefinitionsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueryDefinitions' +type MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call struct { + *mock.Call +} + +// DescribeQueryDefinitions is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeQueryDefinitionsInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueryDefinitions(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call { + return &MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call{Call: _e.mock.On("DescribeQueryDefinitions", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call) Run(run func(_a0 *cloudwatchlogs.DescribeQueryDefinitionsInput)) *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeQueryDefinitionsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call) Return(_a0 *cloudwatchlogs.DescribeQueryDefinitionsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeQueryDefinitionsInput) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error)) *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call { + _c.Call.Return(run) + return _c +} + +// DescribeQueryDefinitionsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeQueryDefinitionsRequest(_a0 *cloudwatchlogs.DescribeQueryDefinitionsInput) (*request.Request, *cloudwatchlogs.DescribeQueryDefinitionsOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeQueryDefinitionsRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeQueryDefinitionsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) (*request.Request, *cloudwatchlogs.DescribeQueryDefinitionsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) *cloudwatchlogs.DescribeQueryDefinitionsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeQueryDefinitionsOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueryDefinitionsRequest' +type MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call struct { + *mock.Call +} + +// DescribeQueryDefinitionsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeQueryDefinitionsInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueryDefinitionsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call { + return &MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call{Call: _e.mock.On("DescribeQueryDefinitionsRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeQueryDefinitionsInput)) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeQueryDefinitionsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeQueryDefinitionsOutput) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeQueryDefinitionsInput) (*request.Request, *cloudwatchlogs.DescribeQueryDefinitionsOutput)) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeQueryDefinitionsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeQueryDefinitionsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeQueryDefinitionsInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeQueryDefinitionsWithContext") + } + + var r0 *cloudwatchlogs.DescribeQueryDefinitionsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeQueryDefinitionsInput, ...request.Option) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeQueryDefinitionsInput, ...request.Option) *cloudwatchlogs.DescribeQueryDefinitionsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeQueryDefinitionsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeQueryDefinitionsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueryDefinitionsWithContext' +type MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call struct { + *mock.Call +} + +// DescribeQueryDefinitionsWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeQueryDefinitionsInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueryDefinitionsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call{Call: _e.mock.On("DescribeQueryDefinitionsWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeQueryDefinitionsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeQueryDefinitionsInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeQueryDefinitionsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeQueryDefinitionsInput, ...request.Option) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error)) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeResourcePolicies provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeResourcePolicies(_a0 *cloudwatchlogs.DescribeResourcePoliciesInput) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeResourcePolicies") + } + + var r0 *cloudwatchlogs.DescribeResourcePoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) *cloudwatchlogs.DescribeResourcePoliciesOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeResourcePoliciesOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeResourcePolicies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeResourcePolicies' +type MockCloudWatchLogsAPI_DescribeResourcePolicies_Call struct { + *mock.Call +} + +// DescribeResourcePolicies is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeResourcePoliciesInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeResourcePolicies(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call { + return &MockCloudWatchLogsAPI_DescribeResourcePolicies_Call{Call: _e.mock.On("DescribeResourcePolicies", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call) Run(run func(_a0 *cloudwatchlogs.DescribeResourcePoliciesInput)) *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeResourcePoliciesInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call) Return(_a0 *cloudwatchlogs.DescribeResourcePoliciesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeResourcePoliciesInput) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)) *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call { + _c.Call.Return(run) + return _c +} + +// DescribeResourcePoliciesRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeResourcePoliciesRequest(_a0 *cloudwatchlogs.DescribeResourcePoliciesInput) (*request.Request, *cloudwatchlogs.DescribeResourcePoliciesOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeResourcePoliciesRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeResourcePoliciesOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) (*request.Request, *cloudwatchlogs.DescribeResourcePoliciesOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) *cloudwatchlogs.DescribeResourcePoliciesOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeResourcePoliciesOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeResourcePoliciesRequest' +type MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call struct { + *mock.Call +} + +// DescribeResourcePoliciesRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeResourcePoliciesInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeResourcePoliciesRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call { + return &MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call{Call: _e.mock.On("DescribeResourcePoliciesRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeResourcePoliciesInput)) *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeResourcePoliciesInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeResourcePoliciesOutput) *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeResourcePoliciesInput) (*request.Request, *cloudwatchlogs.DescribeResourcePoliciesOutput)) *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeResourcePoliciesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeResourcePoliciesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeResourcePoliciesInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeResourcePoliciesWithContext") + } + + var r0 *cloudwatchlogs.DescribeResourcePoliciesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeResourcePoliciesInput, ...request.Option) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeResourcePoliciesInput, ...request.Option) *cloudwatchlogs.DescribeResourcePoliciesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeResourcePoliciesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeResourcePoliciesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeResourcePoliciesWithContext' +type MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call struct { + *mock.Call +} + +// DescribeResourcePoliciesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeResourcePoliciesInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeResourcePoliciesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call{Call: _e.mock.On("DescribeResourcePoliciesWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeResourcePoliciesInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeResourcePoliciesInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeResourcePoliciesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeResourcePoliciesInput, ...request.Option) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)) *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeSubscriptionFilters provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFilters(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeSubscriptionFilters") + } + + var r0 *cloudwatchlogs.DescribeSubscriptionFiltersOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) *cloudwatchlogs.DescribeSubscriptionFiltersOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeSubscriptionFiltersOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubscriptionFilters' +type MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call struct { + *mock.Call +} + +// DescribeSubscriptionFilters is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeSubscriptionFilters(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call { + return &MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call{Call: _e.mock.On("DescribeSubscriptionFilters", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call) Run(run func(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput)) *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeSubscriptionFiltersInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call) Return(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)) *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call { + _c.Call.Return(run) + return _c +} + +// DescribeSubscriptionFiltersPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersPages(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a1 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for DescribeSubscriptionFiltersPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput, func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubscriptionFiltersPages' +type MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call struct { + *mock.Call +} + +// DescribeSubscriptionFiltersPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput +// - _a1 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeSubscriptionFiltersPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call { + return &MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call{Call: _e.mock.On("DescribeSubscriptionFiltersPages", _a0, _a1)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a1 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeSubscriptionFiltersInput), args[1].(func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeSubscriptionFiltersInput, func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call { + _c.Call.Return(run) + return _c +} + +// DescribeSubscriptionFiltersPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a2 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeSubscriptionFiltersPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubscriptionFiltersPagesWithContext' +type MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call struct { + *mock.Call +} + +// DescribeSubscriptionFiltersPagesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput +// - _a2 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput , bool) bool +// - _a3 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeSubscriptionFiltersPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call{Call: _e.mock.On("DescribeSubscriptionFiltersPagesWithContext", + append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a2 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-3) + for i, a := range args[3:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeSubscriptionFiltersInput), args[2].(func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DescribeSubscriptionFiltersRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersRequest(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput) (*request.Request, *cloudwatchlogs.DescribeSubscriptionFiltersOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeSubscriptionFiltersRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DescribeSubscriptionFiltersOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) (*request.Request, *cloudwatchlogs.DescribeSubscriptionFiltersOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) *cloudwatchlogs.DescribeSubscriptionFiltersOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DescribeSubscriptionFiltersOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubscriptionFiltersRequest' +type MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call struct { + *mock.Call +} + +// DescribeSubscriptionFiltersRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeSubscriptionFiltersRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call { + return &MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call{Call: _e.mock.On("DescribeSubscriptionFiltersRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DescribeSubscriptionFiltersInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeSubscriptionFiltersOutput) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) (*request.Request, *cloudwatchlogs.DescribeSubscriptionFiltersOutput)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call { + _c.Call.Return(run) + return _c +} + +// DescribeSubscriptionFiltersWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DescribeSubscriptionFiltersWithContext") + } + + var r0 *cloudwatchlogs.DescribeSubscriptionFiltersOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, ...request.Option) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, ...request.Option) *cloudwatchlogs.DescribeSubscriptionFiltersOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DescribeSubscriptionFiltersOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubscriptionFiltersWithContext' +type MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call struct { + *mock.Call +} + +// DescribeSubscriptionFiltersWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DescribeSubscriptionFiltersWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call { + return &MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call{Call: _e.mock.On("DescribeSubscriptionFiltersWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeSubscriptionFiltersInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, ...request.Option) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call { + _c.Call.Return(run) + return _c +} + +// DisassociateKmsKey provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DisassociateKmsKey(_a0 *cloudwatchlogs.DisassociateKmsKeyInput) (*cloudwatchlogs.DisassociateKmsKeyOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DisassociateKmsKey") + } + + var r0 *cloudwatchlogs.DisassociateKmsKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DisassociateKmsKeyInput) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DisassociateKmsKeyInput) *cloudwatchlogs.DisassociateKmsKeyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DisassociateKmsKeyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DisassociateKmsKeyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DisassociateKmsKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisassociateKmsKey' +type MockCloudWatchLogsAPI_DisassociateKmsKey_Call struct { + *mock.Call +} + +// DisassociateKmsKey is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DisassociateKmsKeyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DisassociateKmsKey(_a0 interface{}) *MockCloudWatchLogsAPI_DisassociateKmsKey_Call { + return &MockCloudWatchLogsAPI_DisassociateKmsKey_Call{Call: _e.mock.On("DisassociateKmsKey", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DisassociateKmsKey_Call) Run(run func(_a0 *cloudwatchlogs.DisassociateKmsKeyInput)) *MockCloudWatchLogsAPI_DisassociateKmsKey_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DisassociateKmsKeyInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DisassociateKmsKey_Call) Return(_a0 *cloudwatchlogs.DisassociateKmsKeyOutput, _a1 error) *MockCloudWatchLogsAPI_DisassociateKmsKey_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DisassociateKmsKey_Call) RunAndReturn(run func(*cloudwatchlogs.DisassociateKmsKeyInput) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)) *MockCloudWatchLogsAPI_DisassociateKmsKey_Call { + _c.Call.Return(run) + return _c +} + +// DisassociateKmsKeyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) DisassociateKmsKeyRequest(_a0 *cloudwatchlogs.DisassociateKmsKeyInput) (*request.Request, *cloudwatchlogs.DisassociateKmsKeyOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DisassociateKmsKeyRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.DisassociateKmsKeyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DisassociateKmsKeyInput) (*request.Request, *cloudwatchlogs.DisassociateKmsKeyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DisassociateKmsKeyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DisassociateKmsKeyInput) *cloudwatchlogs.DisassociateKmsKeyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.DisassociateKmsKeyOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisassociateKmsKeyRequest' +type MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call struct { + *mock.Call +} + +// DisassociateKmsKeyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.DisassociateKmsKeyInput +func (_e *MockCloudWatchLogsAPI_Expecter) DisassociateKmsKeyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call { + return &MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call{Call: _e.mock.On("DisassociateKmsKeyRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DisassociateKmsKeyInput)) *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.DisassociateKmsKeyInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DisassociateKmsKeyOutput) *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DisassociateKmsKeyInput) (*request.Request, *cloudwatchlogs.DisassociateKmsKeyOutput)) *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call { + _c.Call.Return(run) + return _c +} + +// DisassociateKmsKeyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) DisassociateKmsKeyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DisassociateKmsKeyInput, _a2 ...request.Option) (*cloudwatchlogs.DisassociateKmsKeyOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for DisassociateKmsKeyWithContext") + } + + var r0 *cloudwatchlogs.DisassociateKmsKeyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DisassociateKmsKeyInput, ...request.Option) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DisassociateKmsKeyInput, ...request.Option) *cloudwatchlogs.DisassociateKmsKeyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.DisassociateKmsKeyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DisassociateKmsKeyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisassociateKmsKeyWithContext' +type MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call struct { + *mock.Call +} + +// DisassociateKmsKeyWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.DisassociateKmsKeyInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) DisassociateKmsKeyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call { + return &MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call{Call: _e.mock.On("DisassociateKmsKeyWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DisassociateKmsKeyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.DisassociateKmsKeyInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call) Return(_a0 *cloudwatchlogs.DisassociateKmsKeyOutput, _a1 error) *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DisassociateKmsKeyInput, ...request.Option) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)) *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call { + _c.Call.Return(run) + return _c +} + +// FilterLogEvents provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) FilterLogEvents(_a0 *cloudwatchlogs.FilterLogEventsInput) (*cloudwatchlogs.FilterLogEventsOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for FilterLogEvents") + } + + var r0 *cloudwatchlogs.FilterLogEventsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.FilterLogEventsInput) (*cloudwatchlogs.FilterLogEventsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.FilterLogEventsInput) *cloudwatchlogs.FilterLogEventsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.FilterLogEventsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.FilterLogEventsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_FilterLogEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogEvents' +type MockCloudWatchLogsAPI_FilterLogEvents_Call struct { + *mock.Call +} + +// FilterLogEvents is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.FilterLogEventsInput +func (_e *MockCloudWatchLogsAPI_Expecter) FilterLogEvents(_a0 interface{}) *MockCloudWatchLogsAPI_FilterLogEvents_Call { + return &MockCloudWatchLogsAPI_FilterLogEvents_Call{Call: _e.mock.On("FilterLogEvents", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEvents_Call) Run(run func(_a0 *cloudwatchlogs.FilterLogEventsInput)) *MockCloudWatchLogsAPI_FilterLogEvents_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.FilterLogEventsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEvents_Call) Return(_a0 *cloudwatchlogs.FilterLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_FilterLogEvents_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEvents_Call) RunAndReturn(run func(*cloudwatchlogs.FilterLogEventsInput) (*cloudwatchlogs.FilterLogEventsOutput, error)) *MockCloudWatchLogsAPI_FilterLogEvents_Call { + _c.Call.Return(run) + return _c +} + +// FilterLogEventsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) FilterLogEventsPages(_a0 *cloudwatchlogs.FilterLogEventsInput, _a1 func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for FilterLogEventsPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.FilterLogEventsInput, func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_FilterLogEventsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogEventsPages' +type MockCloudWatchLogsAPI_FilterLogEventsPages_Call struct { + *mock.Call +} + +// FilterLogEventsPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.FilterLogEventsInput +// - _a1 func(*cloudwatchlogs.FilterLogEventsOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) FilterLogEventsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_FilterLogEventsPages_Call { + return &MockCloudWatchLogsAPI_FilterLogEventsPages_Call{Call: _e.mock.On("FilterLogEventsPages", _a0, _a1)} +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsPages_Call) Run(run func(_a0 *cloudwatchlogs.FilterLogEventsInput, _a1 func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool)) *MockCloudWatchLogsAPI_FilterLogEventsPages_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.FilterLogEventsInput), args[1].(func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_FilterLogEventsPages_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsPages_Call) RunAndReturn(run func(*cloudwatchlogs.FilterLogEventsInput, func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool) error) *MockCloudWatchLogsAPI_FilterLogEventsPages_Call { + _c.Call.Return(run) + return _c +} + +// FilterLogEventsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) FilterLogEventsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.FilterLogEventsInput, _a2 func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1, _a2) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for FilterLogEventsPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.FilterLogEventsInput, func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogEventsPagesWithContext' +type MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call struct { + *mock.Call +} + +// FilterLogEventsPagesWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.FilterLogEventsInput +// - _a2 func(*cloudwatchlogs.FilterLogEventsOutput , bool) bool +// - _a3 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) FilterLogEventsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call { + return &MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call{Call: _e.mock.On("FilterLogEventsPagesWithContext", + append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.FilterLogEventsInput, _a2 func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-3) + for i, a := range args[3:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.FilterLogEventsInput), args[2].(func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.FilterLogEventsInput, func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call { + _c.Call.Return(run) + return _c +} + +// FilterLogEventsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) FilterLogEventsRequest(_a0 *cloudwatchlogs.FilterLogEventsInput) (*request.Request, *cloudwatchlogs.FilterLogEventsOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for FilterLogEventsRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.FilterLogEventsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.FilterLogEventsInput) (*request.Request, *cloudwatchlogs.FilterLogEventsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.FilterLogEventsInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.FilterLogEventsInput) *cloudwatchlogs.FilterLogEventsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.FilterLogEventsOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_FilterLogEventsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogEventsRequest' +type MockCloudWatchLogsAPI_FilterLogEventsRequest_Call struct { + *mock.Call +} + +// FilterLogEventsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.FilterLogEventsInput +func (_e *MockCloudWatchLogsAPI_Expecter) FilterLogEventsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call { + return &MockCloudWatchLogsAPI_FilterLogEventsRequest_Call{Call: _e.mock.On("FilterLogEventsRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call) Run(run func(_a0 *cloudwatchlogs.FilterLogEventsInput)) *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.FilterLogEventsInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.FilterLogEventsOutput) *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.FilterLogEventsInput) (*request.Request, *cloudwatchlogs.FilterLogEventsOutput)) *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call { + _c.Call.Return(run) + return _c +} + +// FilterLogEventsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) FilterLogEventsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.FilterLogEventsInput, _a2 ...request.Option) (*cloudwatchlogs.FilterLogEventsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for FilterLogEventsWithContext") + } + + var r0 *cloudwatchlogs.FilterLogEventsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.FilterLogEventsInput, ...request.Option) (*cloudwatchlogs.FilterLogEventsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.FilterLogEventsInput, ...request.Option) *cloudwatchlogs.FilterLogEventsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.FilterLogEventsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.FilterLogEventsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogEventsWithContext' +type MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call struct { + *mock.Call +} + +// FilterLogEventsWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.FilterLogEventsInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) FilterLogEventsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call { + return &MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call{Call: _e.mock.On("FilterLogEventsWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.FilterLogEventsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.FilterLogEventsInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call) Return(_a0 *cloudwatchlogs.FilterLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.FilterLogEventsInput, ...request.Option) (*cloudwatchlogs.FilterLogEventsOutput, error)) *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call { + _c.Call.Return(run) + return _c +} + +// GetDataProtectionPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetDataProtectionPolicy(_a0 *cloudwatchlogs.GetDataProtectionPolicyInput) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for GetDataProtectionPolicy") + } + + var r0 *cloudwatchlogs.GetDataProtectionPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) *cloudwatchlogs.GetDataProtectionPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.GetDataProtectionPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataProtectionPolicy' +type MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call struct { + *mock.Call +} + +// GetDataProtectionPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetDataProtectionPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetDataProtectionPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call { + return &MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call{Call: _e.mock.On("GetDataProtectionPolicy", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call) Run(run func(_a0 *cloudwatchlogs.GetDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.GetDataProtectionPolicyInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call) Return(_a0 *cloudwatchlogs.GetDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.GetDataProtectionPolicyInput) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call { + _c.Call.Return(run) + return _c +} + +// GetDataProtectionPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetDataProtectionPolicyRequest(_a0 *cloudwatchlogs.GetDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.GetDataProtectionPolicyOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for GetDataProtectionPolicyRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.GetDataProtectionPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.GetDataProtectionPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) *cloudwatchlogs.GetDataProtectionPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.GetDataProtectionPolicyOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataProtectionPolicyRequest' +type MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call struct { + *mock.Call +} + +// GetDataProtectionPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetDataProtectionPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetDataProtectionPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call { + return &MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call{Call: _e.mock.On("GetDataProtectionPolicyRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.GetDataProtectionPolicyInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetDataProtectionPolicyOutput) *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.GetDataProtectionPolicyOutput)) *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call { + _c.Call.Return(run) + return _c +} + +// GetDataProtectionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) GetDataProtectionPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetDataProtectionPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for GetDataProtectionPolicyWithContext") + } + + var r0 *cloudwatchlogs.GetDataProtectionPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDataProtectionPolicyInput, ...request.Option) *cloudwatchlogs.GetDataProtectionPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.GetDataProtectionPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetDataProtectionPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataProtectionPolicyWithContext' +type MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call struct { + *mock.Call +} + +// GetDataProtectionPolicyWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.GetDataProtectionPolicyInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) GetDataProtectionPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call{Call: _e.mock.On("GetDataProtectionPolicyWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetDataProtectionPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetDataProtectionPolicyInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.GetDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call { + _c.Call.Return(run) + return _c +} + +// GetDelivery provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetDelivery(_a0 *cloudwatchlogs.GetDeliveryInput) (*cloudwatchlogs.GetDeliveryOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for GetDelivery") + } + + var r0 *cloudwatchlogs.GetDeliveryOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryInput) (*cloudwatchlogs.GetDeliveryOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryInput) *cloudwatchlogs.GetDeliveryOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.GetDeliveryOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDeliveryInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_GetDelivery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDelivery' +type MockCloudWatchLogsAPI_GetDelivery_Call struct { + *mock.Call +} + +// GetDelivery is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetDeliveryInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetDelivery(_a0 interface{}) *MockCloudWatchLogsAPI_GetDelivery_Call { + return &MockCloudWatchLogsAPI_GetDelivery_Call{Call: _e.mock.On("GetDelivery", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_GetDelivery_Call) Run(run func(_a0 *cloudwatchlogs.GetDeliveryInput)) *MockCloudWatchLogsAPI_GetDelivery_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.GetDeliveryInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDelivery_Call) Return(_a0 *cloudwatchlogs.GetDeliveryOutput, _a1 error) *MockCloudWatchLogsAPI_GetDelivery_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDelivery_Call) RunAndReturn(run func(*cloudwatchlogs.GetDeliveryInput) (*cloudwatchlogs.GetDeliveryOutput, error)) *MockCloudWatchLogsAPI_GetDelivery_Call { + _c.Call.Return(run) + return _c +} + +// GetDeliveryDestination provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetDeliveryDestination(_a0 *cloudwatchlogs.GetDeliveryDestinationInput) (*cloudwatchlogs.GetDeliveryDestinationOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for GetDeliveryDestination") + } + + var r0 *cloudwatchlogs.GetDeliveryDestinationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryDestinationInput) (*cloudwatchlogs.GetDeliveryDestinationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryDestinationInput) *cloudwatchlogs.GetDeliveryDestinationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.GetDeliveryDestinationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDeliveryDestinationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_GetDeliveryDestination_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliveryDestination' +type MockCloudWatchLogsAPI_GetDeliveryDestination_Call struct { + *mock.Call +} + +// GetDeliveryDestination is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetDeliveryDestinationInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliveryDestination(_a0 interface{}) *MockCloudWatchLogsAPI_GetDeliveryDestination_Call { + return &MockCloudWatchLogsAPI_GetDeliveryDestination_Call{Call: _e.mock.On("GetDeliveryDestination", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestination_Call) Run(run func(_a0 *cloudwatchlogs.GetDeliveryDestinationInput)) *MockCloudWatchLogsAPI_GetDeliveryDestination_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.GetDeliveryDestinationInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestination_Call) Return(_a0 *cloudwatchlogs.GetDeliveryDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_GetDeliveryDestination_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestination_Call) RunAndReturn(run func(*cloudwatchlogs.GetDeliveryDestinationInput) (*cloudwatchlogs.GetDeliveryDestinationOutput, error)) *MockCloudWatchLogsAPI_GetDeliveryDestination_Call { + _c.Call.Return(run) + return _c +} + +// GetDeliveryDestinationPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetDeliveryDestinationPolicy(_a0 *cloudwatchlogs.GetDeliveryDestinationPolicyInput) (*cloudwatchlogs.GetDeliveryDestinationPolicyOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for GetDeliveryDestinationPolicy") + } + + var r0 *cloudwatchlogs.GetDeliveryDestinationPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryDestinationPolicyInput) (*cloudwatchlogs.GetDeliveryDestinationPolicyOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryDestinationPolicyInput) *cloudwatchlogs.GetDeliveryDestinationPolicyOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.GetDeliveryDestinationPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDeliveryDestinationPolicyInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_GetDeliveryDestinationPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliveryDestinationPolicy' +type MockCloudWatchLogsAPI_GetDeliveryDestinationPolicy_Call struct { + *mock.Call +} + +// GetDeliveryDestinationPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetDeliveryDestinationPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliveryDestinationPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicy_Call { + return &MockCloudWatchLogsAPI_GetDeliveryDestinationPolicy_Call{Call: _e.mock.On("GetDeliveryDestinationPolicy", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicy_Call) Run(run func(_a0 *cloudwatchlogs.GetDeliveryDestinationPolicyInput)) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicy_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.GetDeliveryDestinationPolicyInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicy_Call) Return(_a0 *cloudwatchlogs.GetDeliveryDestinationPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicy_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.GetDeliveryDestinationPolicyInput) (*cloudwatchlogs.GetDeliveryDestinationPolicyOutput, error)) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicy_Call { + _c.Call.Return(run) + return _c +} + +// GetDeliveryDestinationPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetDeliveryDestinationPolicyRequest(_a0 *cloudwatchlogs.GetDeliveryDestinationPolicyInput) (*request.Request, *cloudwatchlogs.GetDeliveryDestinationPolicyOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for GetDeliveryDestinationPolicyRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.GetDeliveryDestinationPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryDestinationPolicyInput) (*request.Request, *cloudwatchlogs.GetDeliveryDestinationPolicyOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryDestinationPolicyInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDeliveryDestinationPolicyInput) *cloudwatchlogs.GetDeliveryDestinationPolicyOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.GetDeliveryDestinationPolicyOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliveryDestinationPolicyRequest' +type MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyRequest_Call struct { + *mock.Call +} + +// GetDeliveryDestinationPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetDeliveryDestinationPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliveryDestinationPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyRequest_Call { + return &MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyRequest_Call{Call: _e.mock.On("GetDeliveryDestinationPolicyRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetDeliveryDestinationPolicyInput)) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.GetDeliveryDestinationPolicyInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetDeliveryDestinationPolicyOutput) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetDeliveryDestinationPolicyInput) (*request.Request, *cloudwatchlogs.GetDeliveryDestinationPolicyOutput)) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyRequest_Call { + _c.Call.Return(run) + return _c +} + +// GetDeliveryDestinationPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) GetDeliveryDestinationPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetDeliveryDestinationPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.GetDeliveryDestinationPolicyOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for GetDeliveryDestinationPolicyWithContext") + } + + var r0 *cloudwatchlogs.GetDeliveryDestinationPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliveryDestinationPolicyInput, ...request.Option) (*cloudwatchlogs.GetDeliveryDestinationPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliveryDestinationPolicyInput, ...request.Option) *cloudwatchlogs.GetDeliveryDestinationPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.GetDeliveryDestinationPolicyOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetDeliveryDestinationPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliveryDestinationPolicyWithContext' +type MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyWithContext_Call struct { + *mock.Call +} + +// GetDeliveryDestinationPolicyWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.GetDeliveryDestinationPolicyInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliveryDestinationPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyWithContext_Call{Call: _e.mock.On("GetDeliveryDestinationPolicyWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetDeliveryDestinationPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetDeliveryDestinationPolicyInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.GetDeliveryDestinationPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyWithContext_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetDeliveryDestinationPolicyInput, ...request.Option) (*cloudwatchlogs.GetDeliveryDestinationPolicyOutput, error)) *MockCloudWatchLogsAPI_GetDeliveryDestinationPolicyWithContext_Call { + _c.Call.Return(run) + return _c +} + +// GetDeliveryDestinationRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetDeliveryDestinationRequest(_a0 *cloudwatchlogs.GetDeliveryDestinationInput) (*request.Request, *cloudwatchlogs.GetDeliveryDestinationOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for GetDeliveryDestinationRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.GetDeliveryDestinationOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryDestinationInput) (*request.Request, *cloudwatchlogs.GetDeliveryDestinationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryDestinationInput) *request.Request); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDeliveryDestinationInput) *cloudwatchlogs.GetDeliveryDestinationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.GetDeliveryDestinationOutput) + } + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_GetDeliveryDestinationRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliveryDestinationRequest' +type MockCloudWatchLogsAPI_GetDeliveryDestinationRequest_Call struct { + *mock.Call +} + +// GetDeliveryDestinationRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetDeliveryDestinationInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliveryDestinationRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetDeliveryDestinationRequest_Call { + return &MockCloudWatchLogsAPI_GetDeliveryDestinationRequest_Call{Call: _e.mock.On("GetDeliveryDestinationRequest", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetDeliveryDestinationInput)) *MockCloudWatchLogsAPI_GetDeliveryDestinationRequest_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.GetDeliveryDestinationInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetDeliveryDestinationOutput) *MockCloudWatchLogsAPI_GetDeliveryDestinationRequest_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetDeliveryDestinationInput) (*request.Request, *cloudwatchlogs.GetDeliveryDestinationOutput)) *MockCloudWatchLogsAPI_GetDeliveryDestinationRequest_Call { + _c.Call.Return(run) + return _c +} + +// GetDeliveryDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) GetDeliveryDestinationWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetDeliveryDestinationInput, _a2 ...request.Option) (*cloudwatchlogs.GetDeliveryDestinationOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for GetDeliveryDestinationWithContext") + } + + var r0 *cloudwatchlogs.GetDeliveryDestinationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliveryDestinationInput, ...request.Option) (*cloudwatchlogs.GetDeliveryDestinationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliveryDestinationInput, ...request.Option) *cloudwatchlogs.GetDeliveryDestinationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.GetDeliveryDestinationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetDeliveryDestinationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_GetDeliveryDestinationWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliveryDestinationWithContext' +type MockCloudWatchLogsAPI_GetDeliveryDestinationWithContext_Call struct { + *mock.Call +} + +// GetDeliveryDestinationWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.GetDeliveryDestinationInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliveryDestinationWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetDeliveryDestinationWithContext_Call { + return &MockCloudWatchLogsAPI_GetDeliveryDestinationWithContext_Call{Call: _e.mock.On("GetDeliveryDestinationWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetDeliveryDestinationInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetDeliveryDestinationWithContext_Call { + _c.Call.Run(func(args mock.Arguments) { + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetDeliveryDestinationInput), variadicArgs...) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationWithContext_Call) Return(_a0 *cloudwatchlogs.GetDeliveryDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_GetDeliveryDestinationWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroups_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogGroupsInput) (*cloudwatchlogs.DescribeLogGroupsOutput, error)) *MockCloudWatchLogsAPI_DescribeLogGroups_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliveryDestinationWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetDeliveryDestinationInput, ...request.Option) (*cloudwatchlogs.GetDeliveryDestinationOutput, error)) *MockCloudWatchLogsAPI_GetDeliveryDestinationWithContext_Call { _c.Call.Return(run) return _c } -// DescribeLogGroupsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsPages(_a0 *cloudwatchlogs.DescribeLogGroupsInput, _a1 func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) +// GetDeliveryRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetDeliveryRequest(_a0 *cloudwatchlogs.GetDeliveryInput) (*request.Request, *cloudwatchlogs.GetDeliveryOutput) { + ret := _m.Called(_a0) - var r0 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogGroupsInput, func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for GetDeliveryRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.GetDeliveryOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryInput) (*request.Request, *cloudwatchlogs.GetDeliveryOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliveryInput) *request.Request); ok { + r0 = rf(_a0) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*request.Request) + } } - return r0 + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDeliveryInput) *cloudwatchlogs.GetDeliveryOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.GetDeliveryOutput) + } + } + + return r0, r1 } -// MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogGroupsPages' -type MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call struct { +// MockCloudWatchLogsAPI_GetDeliveryRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliveryRequest' +type MockCloudWatchLogsAPI_GetDeliveryRequest_Call struct { *mock.Call } -// DescribeLogGroupsPages is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeLogGroupsInput -// - _a1 func(*cloudwatchlogs.DescribeLogGroupsOutput , bool) bool -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogGroupsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call { - return &MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call{Call: _e.mock.On("DescribeLogGroupsPages", _a0, _a1)} +// GetDeliveryRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetDeliveryInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliveryRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetDeliveryRequest_Call { + return &MockCloudWatchLogsAPI_GetDeliveryRequest_Call{Call: _e.mock.On("GetDeliveryRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogGroupsInput, _a1 func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliveryRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetDeliveryInput)) *MockCloudWatchLogsAPI_GetDeliveryRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeLogGroupsInput), args[1].(func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool)) + run(args[0].(*cloudwatchlogs.GetDeliveryInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call { - _c.Call.Return(_a0) +func (_c *MockCloudWatchLogsAPI_GetDeliveryRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetDeliveryOutput) *MockCloudWatchLogsAPI_GetDeliveryRequest_Call { + _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogGroupsInput, func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeLogGroupsPages_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliveryRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetDeliveryInput) (*request.Request, *cloudwatchlogs.GetDeliveryOutput)) *MockCloudWatchLogsAPI_GetDeliveryRequest_Call { _c.Call.Return(run) return _c } -// DescribeLogGroupsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogGroupsInput, _a2 func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] +// GetDeliverySource provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetDeliverySource(_a0 *cloudwatchlogs.GetDeliverySourceInput) (*cloudwatchlogs.GetDeliverySourceOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for GetDeliverySource") } - var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) + var r0 *cloudwatchlogs.GetDeliverySourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliverySourceInput) (*cloudwatchlogs.GetDeliverySourceOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliverySourceInput) *cloudwatchlogs.GetDeliverySourceOutput); ok { + r0 = rf(_a0) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.GetDeliverySourceOutput) + } } - return r0 + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDeliverySourceInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -// MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogGroupsPagesWithContext' -type MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call struct { +// MockCloudWatchLogsAPI_GetDeliverySource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliverySource' +type MockCloudWatchLogsAPI_GetDeliverySource_Call struct { *mock.Call } -// DescribeLogGroupsPagesWithContext is a helper method to define mock.On call -// - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeLogGroupsInput -// - _a2 func(*cloudwatchlogs.DescribeLogGroupsOutput , bool) bool -// - _a3 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogGroupsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call{Call: _e.mock.On("DescribeLogGroupsPagesWithContext", - append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +// GetDeliverySource is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetDeliverySourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliverySource(_a0 interface{}) *MockCloudWatchLogsAPI_GetDeliverySource_Call { + return &MockCloudWatchLogsAPI_GetDeliverySource_Call{Call: _e.mock.On("GetDeliverySource", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogGroupsInput, _a2 func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliverySource_Call) Run(run func(_a0 *cloudwatchlogs.GetDeliverySourceInput)) *MockCloudWatchLogsAPI_GetDeliverySource_Call { _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-3) - for i, a := range args[3:] { - if a != nil { - variadicArgs[i] = a.(request.Option) - } - } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeLogGroupsInput), args[2].(func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool), variadicArgs...) + run(args[0].(*cloudwatchlogs.GetDeliverySourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call { - _c.Call.Return(_a0) +func (_c *MockCloudWatchLogsAPI_GetDeliverySource_Call) Return(_a0 *cloudwatchlogs.GetDeliverySourceOutput, _a1 error) *MockCloudWatchLogsAPI_GetDeliverySource_Call { + _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, func(*cloudwatchlogs.DescribeLogGroupsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeLogGroupsPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliverySource_Call) RunAndReturn(run func(*cloudwatchlogs.GetDeliverySourceInput) (*cloudwatchlogs.GetDeliverySourceOutput, error)) *MockCloudWatchLogsAPI_GetDeliverySource_Call { _c.Call.Return(run) return _c } -// DescribeLogGroupsRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsRequest(_a0 *cloudwatchlogs.DescribeLogGroupsInput) (*request.Request, *cloudwatchlogs.DescribeLogGroupsOutput) { +// GetDeliverySourceRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetDeliverySourceRequest(_a0 *cloudwatchlogs.GetDeliverySourceInput) (*request.Request, *cloudwatchlogs.GetDeliverySourceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetDeliverySourceRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DescribeLogGroupsOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogGroupsInput) (*request.Request, *cloudwatchlogs.DescribeLogGroupsOutput)); ok { + var r1 *cloudwatchlogs.GetDeliverySourceOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliverySourceInput) (*request.Request, *cloudwatchlogs.GetDeliverySourceOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogGroupsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDeliverySourceInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -3540,47 +8892,47 @@ func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsRequest(_a0 *cloudwatchlogs.De } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeLogGroupsInput) *cloudwatchlogs.DescribeLogGroupsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDeliverySourceInput) *cloudwatchlogs.GetDeliverySourceOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DescribeLogGroupsOutput) + r1 = ret.Get(1).(*cloudwatchlogs.GetDeliverySourceOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogGroupsRequest' -type MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call struct { +// MockCloudWatchLogsAPI_GetDeliverySourceRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliverySourceRequest' +type MockCloudWatchLogsAPI_GetDeliverySourceRequest_Call struct { *mock.Call } -// DescribeLogGroupsRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeLogGroupsInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogGroupsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call { - return &MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call{Call: _e.mock.On("DescribeLogGroupsRequest", _a0)} +// GetDeliverySourceRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetDeliverySourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliverySourceRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetDeliverySourceRequest_Call { + return &MockCloudWatchLogsAPI_GetDeliverySourceRequest_Call{Call: _e.mock.On("GetDeliverySourceRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogGroupsInput)) *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliverySourceRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetDeliverySourceInput)) *MockCloudWatchLogsAPI_GetDeliverySourceRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeLogGroupsInput)) + run(args[0].(*cloudwatchlogs.GetDeliverySourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeLogGroupsOutput) *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliverySourceRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetDeliverySourceOutput) *MockCloudWatchLogsAPI_GetDeliverySourceRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogGroupsInput) (*request.Request, *cloudwatchlogs.DescribeLogGroupsOutput)) *MockCloudWatchLogsAPI_DescribeLogGroupsRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliverySourceRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetDeliverySourceInput) (*request.Request, *cloudwatchlogs.GetDeliverySourceOutput)) *MockCloudWatchLogsAPI_GetDeliverySourceRequest_Call { _c.Call.Return(run) return _c } -// DescribeLogGroupsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogGroupsInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeLogGroupsOutput, error) { +// GetDeliverySourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) GetDeliverySourceWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetDeliverySourceInput, _a2 ...request.Option) (*cloudwatchlogs.GetDeliverySourceOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -3590,20 +8942,24 @@ func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeLogGroupsOutput + if len(ret) == 0 { + panic("no return value specified for GetDeliverySourceWithContext") + } + + var r0 *cloudwatchlogs.GetDeliverySourceOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, ...request.Option) (*cloudwatchlogs.DescribeLogGroupsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliverySourceInput, ...request.Option) (*cloudwatchlogs.GetDeliverySourceOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, ...request.Option) *cloudwatchlogs.DescribeLogGroupsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliverySourceInput, ...request.Option) *cloudwatchlogs.GetDeliverySourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeLogGroupsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetDeliverySourceOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetDeliverySourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -3612,21 +8968,21 @@ func (_m *MockCloudWatchLogsAPI) DescribeLogGroupsWithContext(_a0 context.Contex return r0, r1 } -// MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogGroupsWithContext' -type MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call struct { +// MockCloudWatchLogsAPI_GetDeliverySourceWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliverySourceWithContext' +type MockCloudWatchLogsAPI_GetDeliverySourceWithContext_Call struct { *mock.Call } -// DescribeLogGroupsWithContext is a helper method to define mock.On call +// GetDeliverySourceWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeLogGroupsInput +// - _a1 *cloudwatchlogs.GetDeliverySourceInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogGroupsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call{Call: _e.mock.On("DescribeLogGroupsWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliverySourceWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetDeliverySourceWithContext_Call { + return &MockCloudWatchLogsAPI_GetDeliverySourceWithContext_Call{Call: _e.mock.On("GetDeliverySourceWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogGroupsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliverySourceWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetDeliverySourceInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetDeliverySourceWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -3634,40 +8990,51 @@ func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call) Run(run func( variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeLogGroupsInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetDeliverySourceInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeLogGroupsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliverySourceWithContext_Call) Return(_a0 *cloudwatchlogs.GetDeliverySourceOutput, _a1 error) *MockCloudWatchLogsAPI_GetDeliverySourceWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeLogGroupsInput, ...request.Option) (*cloudwatchlogs.DescribeLogGroupsOutput, error)) *MockCloudWatchLogsAPI_DescribeLogGroupsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliverySourceWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetDeliverySourceInput, ...request.Option) (*cloudwatchlogs.GetDeliverySourceOutput, error)) *MockCloudWatchLogsAPI_GetDeliverySourceWithContext_Call { _c.Call.Return(run) return _c } -// DescribeLogStreams provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeLogStreams(_a0 *cloudwatchlogs.DescribeLogStreamsInput) (*cloudwatchlogs.DescribeLogStreamsOutput, error) { - ret := _m.Called(_a0) +// GetDeliveryWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) GetDeliveryWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetDeliveryInput, _a2 ...request.Option) (*cloudwatchlogs.GetDeliveryOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeLogStreamsOutput + if len(ret) == 0 { + panic("no return value specified for GetDeliveryWithContext") + } + + var r0 *cloudwatchlogs.GetDeliveryOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogStreamsInput) (*cloudwatchlogs.DescribeLogStreamsOutput, error)); ok { - return rf(_a0) + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliveryInput, ...request.Option) (*cloudwatchlogs.GetDeliveryOutput, error)); ok { + return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogStreamsInput) *cloudwatchlogs.DescribeLogStreamsOutput); ok { - r0 = rf(_a0) + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDeliveryInput, ...request.Option) *cloudwatchlogs.GetDeliveryOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeLogStreamsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetDeliveryOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeLogStreamsInput) error); ok { - r1 = rf(_a0) + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetDeliveryInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) } @@ -3675,146 +9042,115 @@ func (_m *MockCloudWatchLogsAPI) DescribeLogStreams(_a0 *cloudwatchlogs.Describe return r0, r1 } -// MockCloudWatchLogsAPI_DescribeLogStreams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogStreams' -type MockCloudWatchLogsAPI_DescribeLogStreams_Call struct { +// MockCloudWatchLogsAPI_GetDeliveryWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDeliveryWithContext' +type MockCloudWatchLogsAPI_GetDeliveryWithContext_Call struct { *mock.Call } -// DescribeLogStreams is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeLogStreamsInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogStreams(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeLogStreams_Call { - return &MockCloudWatchLogsAPI_DescribeLogStreams_Call{Call: _e.mock.On("DescribeLogStreams", _a0)} +// GetDeliveryWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.GetDeliveryInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) GetDeliveryWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetDeliveryWithContext_Call { + return &MockCloudWatchLogsAPI_GetDeliveryWithContext_Call{Call: _e.mock.On("GetDeliveryWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreams_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogStreamsInput)) *MockCloudWatchLogsAPI_DescribeLogStreams_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliveryWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetDeliveryInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetDeliveryWithContext_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeLogStreamsInput)) + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetDeliveryInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreams_Call) Return(_a0 *cloudwatchlogs.DescribeLogStreamsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeLogStreams_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliveryWithContext_Call) Return(_a0 *cloudwatchlogs.GetDeliveryOutput, _a1 error) *MockCloudWatchLogsAPI_GetDeliveryWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreams_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogStreamsInput) (*cloudwatchlogs.DescribeLogStreamsOutput, error)) *MockCloudWatchLogsAPI_DescribeLogStreams_Call { +func (_c *MockCloudWatchLogsAPI_GetDeliveryWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetDeliveryInput, ...request.Option) (*cloudwatchlogs.GetDeliveryOutput, error)) *MockCloudWatchLogsAPI_GetDeliveryWithContext_Call { _c.Call.Return(run) return _c } -// DescribeLogStreamsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsPages(_a0 *cloudwatchlogs.DescribeLogStreamsInput, _a1 func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) +// GetLogAnomalyDetector provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetLogAnomalyDetector(_a0 *cloudwatchlogs.GetLogAnomalyDetectorInput) (*cloudwatchlogs.GetLogAnomalyDetectorOutput, error) { + ret := _m.Called(_a0) - var r0 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogStreamsInput, func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) - } else { - r0 = ret.Error(0) + if len(ret) == 0 { + panic("no return value specified for GetLogAnomalyDetector") } - return r0 -} - -// MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogStreamsPages' -type MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call struct { - *mock.Call -} - -// DescribeLogStreamsPages is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeLogStreamsInput -// - _a1 func(*cloudwatchlogs.DescribeLogStreamsOutput , bool) bool -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogStreamsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call { - return &MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call{Call: _e.mock.On("DescribeLogStreamsPages", _a0, _a1)} -} - -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogStreamsInput, _a1 func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeLogStreamsInput), args[1].(func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool)) - }) - return _c -} - -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogStreamsInput, func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeLogStreamsPages_Call { - _c.Call.Return(run) - return _c -} - -// DescribeLogStreamsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogStreamsInput, _a2 func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] + var r0 *cloudwatchlogs.GetLogAnomalyDetectorOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogAnomalyDetectorInput) (*cloudwatchlogs.GetLogAnomalyDetectorOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogAnomalyDetectorInput) *cloudwatchlogs.GetLogAnomalyDetectorOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.GetLogAnomalyDetectorOutput) + } } - var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogAnomalyDetectorInput) error); ok { + r1 = rf(_a0) } else { - r0 = ret.Error(0) + r1 = ret.Error(1) } - return r0 + return r0, r1 } -// MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogStreamsPagesWithContext' -type MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call struct { +// MockCloudWatchLogsAPI_GetLogAnomalyDetector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogAnomalyDetector' +type MockCloudWatchLogsAPI_GetLogAnomalyDetector_Call struct { *mock.Call } -// DescribeLogStreamsPagesWithContext is a helper method to define mock.On call -// - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeLogStreamsInput -// - _a2 func(*cloudwatchlogs.DescribeLogStreamsOutput , bool) bool -// - _a3 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogStreamsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call{Call: _e.mock.On("DescribeLogStreamsPagesWithContext", - append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +// GetLogAnomalyDetector is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetLogAnomalyDetectorInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogAnomalyDetector(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogAnomalyDetector_Call { + return &MockCloudWatchLogsAPI_GetLogAnomalyDetector_Call{Call: _e.mock.On("GetLogAnomalyDetector", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogStreamsInput, _a2 func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogAnomalyDetector_Call) Run(run func(_a0 *cloudwatchlogs.GetLogAnomalyDetectorInput)) *MockCloudWatchLogsAPI_GetLogAnomalyDetector_Call { _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-3) - for i, a := range args[3:] { - if a != nil { - variadicArgs[i] = a.(request.Option) - } - } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeLogStreamsInput), args[2].(func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool), variadicArgs...) + run(args[0].(*cloudwatchlogs.GetLogAnomalyDetectorInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call { - _c.Call.Return(_a0) +func (_c *MockCloudWatchLogsAPI_GetLogAnomalyDetector_Call) Return(_a0 *cloudwatchlogs.GetLogAnomalyDetectorOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogAnomalyDetector_Call { + _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, func(*cloudwatchlogs.DescribeLogStreamsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeLogStreamsPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogAnomalyDetector_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogAnomalyDetectorInput) (*cloudwatchlogs.GetLogAnomalyDetectorOutput, error)) *MockCloudWatchLogsAPI_GetLogAnomalyDetector_Call { _c.Call.Return(run) return _c } -// DescribeLogStreamsRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsRequest(_a0 *cloudwatchlogs.DescribeLogStreamsInput) (*request.Request, *cloudwatchlogs.DescribeLogStreamsOutput) { +// GetLogAnomalyDetectorRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetLogAnomalyDetectorRequest(_a0 *cloudwatchlogs.GetLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.GetLogAnomalyDetectorOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLogAnomalyDetectorRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DescribeLogStreamsOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogStreamsInput) (*request.Request, *cloudwatchlogs.DescribeLogStreamsOutput)); ok { + var r1 *cloudwatchlogs.GetLogAnomalyDetectorOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.GetLogAnomalyDetectorOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeLogStreamsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogAnomalyDetectorInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -3822,47 +9158,47 @@ func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsRequest(_a0 *cloudwatchlogs.D } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeLogStreamsInput) *cloudwatchlogs.DescribeLogStreamsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogAnomalyDetectorInput) *cloudwatchlogs.GetLogAnomalyDetectorOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DescribeLogStreamsOutput) + r1 = ret.Get(1).(*cloudwatchlogs.GetLogAnomalyDetectorOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogStreamsRequest' -type MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call struct { +// MockCloudWatchLogsAPI_GetLogAnomalyDetectorRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogAnomalyDetectorRequest' +type MockCloudWatchLogsAPI_GetLogAnomalyDetectorRequest_Call struct { *mock.Call } -// DescribeLogStreamsRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeLogStreamsInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogStreamsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call { - return &MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call{Call: _e.mock.On("DescribeLogStreamsRequest", _a0)} +// GetLogAnomalyDetectorRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetLogAnomalyDetectorInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogAnomalyDetectorRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogAnomalyDetectorRequest_Call { + return &MockCloudWatchLogsAPI_GetLogAnomalyDetectorRequest_Call{Call: _e.mock.On("GetLogAnomalyDetectorRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeLogStreamsInput)) *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogAnomalyDetectorRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetLogAnomalyDetectorInput)) *MockCloudWatchLogsAPI_GetLogAnomalyDetectorRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeLogStreamsInput)) + run(args[0].(*cloudwatchlogs.GetLogAnomalyDetectorInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeLogStreamsOutput) *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogAnomalyDetectorRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetLogAnomalyDetectorOutput) *MockCloudWatchLogsAPI_GetLogAnomalyDetectorRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeLogStreamsInput) (*request.Request, *cloudwatchlogs.DescribeLogStreamsOutput)) *MockCloudWatchLogsAPI_DescribeLogStreamsRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogAnomalyDetectorRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.GetLogAnomalyDetectorOutput)) *MockCloudWatchLogsAPI_GetLogAnomalyDetectorRequest_Call { _c.Call.Return(run) return _c } -// DescribeLogStreamsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogStreamsInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeLogStreamsOutput, error) { +// GetLogAnomalyDetectorWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) GetLogAnomalyDetectorWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetLogAnomalyDetectorInput, _a2 ...request.Option) (*cloudwatchlogs.GetLogAnomalyDetectorOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -3872,20 +9208,24 @@ func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeLogStreamsOutput + if len(ret) == 0 { + panic("no return value specified for GetLogAnomalyDetectorWithContext") + } + + var r0 *cloudwatchlogs.GetLogAnomalyDetectorOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, ...request.Option) (*cloudwatchlogs.DescribeLogStreamsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogAnomalyDetectorInput, ...request.Option) (*cloudwatchlogs.GetLogAnomalyDetectorOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, ...request.Option) *cloudwatchlogs.DescribeLogStreamsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogAnomalyDetectorInput, ...request.Option) *cloudwatchlogs.GetLogAnomalyDetectorOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeLogStreamsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetLogAnomalyDetectorOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetLogAnomalyDetectorInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -3894,21 +9234,21 @@ func (_m *MockCloudWatchLogsAPI) DescribeLogStreamsWithContext(_a0 context.Conte return r0, r1 } -// MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeLogStreamsWithContext' -type MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call struct { +// MockCloudWatchLogsAPI_GetLogAnomalyDetectorWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogAnomalyDetectorWithContext' +type MockCloudWatchLogsAPI_GetLogAnomalyDetectorWithContext_Call struct { *mock.Call } -// DescribeLogStreamsWithContext is a helper method to define mock.On call +// GetLogAnomalyDetectorWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeLogStreamsInput +// - _a1 *cloudwatchlogs.GetLogAnomalyDetectorInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeLogStreamsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call{Call: _e.mock.On("DescribeLogStreamsWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogAnomalyDetectorWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetLogAnomalyDetectorWithContext_Call { + return &MockCloudWatchLogsAPI_GetLogAnomalyDetectorWithContext_Call{Call: _e.mock.On("GetLogAnomalyDetectorWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeLogStreamsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogAnomalyDetectorWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetLogAnomalyDetectorInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetLogAnomalyDetectorWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -3916,39 +9256,43 @@ func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call) Run(run func variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeLogStreamsInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetLogAnomalyDetectorInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeLogStreamsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogAnomalyDetectorWithContext_Call) Return(_a0 *cloudwatchlogs.GetLogAnomalyDetectorOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogAnomalyDetectorWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeLogStreamsInput, ...request.Option) (*cloudwatchlogs.DescribeLogStreamsOutput, error)) *MockCloudWatchLogsAPI_DescribeLogStreamsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogAnomalyDetectorWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetLogAnomalyDetectorInput, ...request.Option) (*cloudwatchlogs.GetLogAnomalyDetectorOutput, error)) *MockCloudWatchLogsAPI_GetLogAnomalyDetectorWithContext_Call { _c.Call.Return(run) return _c } -// DescribeMetricFilters provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeMetricFilters(_a0 *cloudwatchlogs.DescribeMetricFiltersInput) (*cloudwatchlogs.DescribeMetricFiltersOutput, error) { +// GetLogEvents provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetLogEvents(_a0 *cloudwatchlogs.GetLogEventsInput) (*cloudwatchlogs.GetLogEventsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DescribeMetricFiltersOutput + if len(ret) == 0 { + panic("no return value specified for GetLogEvents") + } + + var r0 *cloudwatchlogs.GetLogEventsOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeMetricFiltersInput) (*cloudwatchlogs.DescribeMetricFiltersOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogEventsInput) (*cloudwatchlogs.GetLogEventsOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeMetricFiltersInput) *cloudwatchlogs.DescribeMetricFiltersOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogEventsInput) *cloudwatchlogs.GetLogEventsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeMetricFiltersOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetLogEventsOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeMetricFiltersInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogEventsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -3957,40 +9301,44 @@ func (_m *MockCloudWatchLogsAPI) DescribeMetricFilters(_a0 *cloudwatchlogs.Descr return r0, r1 } -// MockCloudWatchLogsAPI_DescribeMetricFilters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeMetricFilters' -type MockCloudWatchLogsAPI_DescribeMetricFilters_Call struct { +// MockCloudWatchLogsAPI_GetLogEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogEvents' +type MockCloudWatchLogsAPI_GetLogEvents_Call struct { *mock.Call } -// DescribeMetricFilters is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeMetricFiltersInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeMetricFilters(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeMetricFilters_Call { - return &MockCloudWatchLogsAPI_DescribeMetricFilters_Call{Call: _e.mock.On("DescribeMetricFilters", _a0)} +// GetLogEvents is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetLogEventsInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogEvents(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogEvents_Call { + return &MockCloudWatchLogsAPI_GetLogEvents_Call{Call: _e.mock.On("GetLogEvents", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFilters_Call) Run(run func(_a0 *cloudwatchlogs.DescribeMetricFiltersInput)) *MockCloudWatchLogsAPI_DescribeMetricFilters_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEvents_Call) Run(run func(_a0 *cloudwatchlogs.GetLogEventsInput)) *MockCloudWatchLogsAPI_GetLogEvents_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeMetricFiltersInput)) + run(args[0].(*cloudwatchlogs.GetLogEventsInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFilters_Call) Return(_a0 *cloudwatchlogs.DescribeMetricFiltersOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeMetricFilters_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEvents_Call) Return(_a0 *cloudwatchlogs.GetLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogEvents_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFilters_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeMetricFiltersInput) (*cloudwatchlogs.DescribeMetricFiltersOutput, error)) *MockCloudWatchLogsAPI_DescribeMetricFilters_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEvents_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogEventsInput) (*cloudwatchlogs.GetLogEventsOutput, error)) *MockCloudWatchLogsAPI_GetLogEvents_Call { _c.Call.Return(run) return _c } -// DescribeMetricFiltersPages provides a mock function with given fields: _a0, _a1 -func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersPages(_a0 *cloudwatchlogs.DescribeMetricFiltersInput, _a1 func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool) error { +// GetLogEventsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) GetLogEventsPages(_a0 *cloudwatchlogs.GetLogEventsInput, _a1 func(*cloudwatchlogs.GetLogEventsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for GetLogEventsPages") + } + var r0 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeMetricFiltersInput, func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogEventsInput, func(*cloudwatchlogs.GetLogEventsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -3999,37 +9347,37 @@ func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersPages(_a0 *cloudwatchlogs. return r0 } -// MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeMetricFiltersPages' -type MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call struct { +// MockCloudWatchLogsAPI_GetLogEventsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogEventsPages' +type MockCloudWatchLogsAPI_GetLogEventsPages_Call struct { *mock.Call } -// DescribeMetricFiltersPages is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeMetricFiltersInput -// - _a1 func(*cloudwatchlogs.DescribeMetricFiltersOutput , bool) bool -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeMetricFiltersPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call { - return &MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call{Call: _e.mock.On("DescribeMetricFiltersPages", _a0, _a1)} +// GetLogEventsPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetLogEventsInput +// - _a1 func(*cloudwatchlogs.GetLogEventsOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogEventsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_GetLogEventsPages_Call { + return &MockCloudWatchLogsAPI_GetLogEventsPages_Call{Call: _e.mock.On("GetLogEventsPages", _a0, _a1)} } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeMetricFiltersInput, _a1 func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsPages_Call) Run(run func(_a0 *cloudwatchlogs.GetLogEventsInput, _a1 func(*cloudwatchlogs.GetLogEventsOutput, bool) bool)) *MockCloudWatchLogsAPI_GetLogEventsPages_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeMetricFiltersInput), args[1].(func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool)) + run(args[0].(*cloudwatchlogs.GetLogEventsInput), args[1].(func(*cloudwatchlogs.GetLogEventsOutput, bool) bool)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_GetLogEventsPages_Call { _c.Call.Return(_a0) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeMetricFiltersInput, func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeMetricFiltersPages_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsPages_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogEventsInput, func(*cloudwatchlogs.GetLogEventsOutput, bool) bool) error) *MockCloudWatchLogsAPI_GetLogEventsPages_Call { _c.Call.Return(run) return _c } -// DescribeMetricFiltersPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeMetricFiltersInput, _a2 func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool, _a3 ...request.Option) error { +// GetLogEventsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) GetLogEventsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetLogEventsInput, _a2 func(*cloudwatchlogs.GetLogEventsOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -4039,8 +9387,12 @@ func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersPagesWithContext(_a0 conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLogEventsPagesWithContext") + } + var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogEventsInput, func(*cloudwatchlogs.GetLogEventsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -4049,22 +9401,22 @@ func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersPagesWithContext(_a0 conte return r0 } -// MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeMetricFiltersPagesWithContext' -type MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call struct { +// MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogEventsPagesWithContext' +type MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call struct { *mock.Call } -// DescribeMetricFiltersPagesWithContext is a helper method to define mock.On call +// GetLogEventsPagesWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeMetricFiltersInput -// - _a2 func(*cloudwatchlogs.DescribeMetricFiltersOutput , bool) bool +// - _a1 *cloudwatchlogs.GetLogEventsInput +// - _a2 func(*cloudwatchlogs.GetLogEventsOutput , bool) bool // - _a3 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeMetricFiltersPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call{Call: _e.mock.On("DescribeMetricFiltersPagesWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogEventsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call { + return &MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call{Call: _e.mock.On("GetLogEventsPagesWithContext", append([]interface{}{_a0, _a1, _a2}, _a3...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeMetricFiltersInput, _a2 func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetLogEventsInput, _a2 func(*cloudwatchlogs.GetLogEventsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-3) for i, a := range args[3:] { @@ -4072,31 +9424,35 @@ func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call) Run( variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeMetricFiltersInput), args[2].(func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetLogEventsInput), args[2].(func(*cloudwatchlogs.GetLogEventsOutput, bool) bool), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call { _c.Call.Return(_a0) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, func(*cloudwatchlogs.DescribeMetricFiltersOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeMetricFiltersPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetLogEventsInput, func(*cloudwatchlogs.GetLogEventsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call { _c.Call.Return(run) return _c } -// DescribeMetricFiltersRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersRequest(_a0 *cloudwatchlogs.DescribeMetricFiltersInput) (*request.Request, *cloudwatchlogs.DescribeMetricFiltersOutput) { +// GetLogEventsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetLogEventsRequest(_a0 *cloudwatchlogs.GetLogEventsInput) (*request.Request, *cloudwatchlogs.GetLogEventsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLogEventsRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DescribeMetricFiltersOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeMetricFiltersInput) (*request.Request, *cloudwatchlogs.DescribeMetricFiltersOutput)); ok { + var r1 *cloudwatchlogs.GetLogEventsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogEventsInput) (*request.Request, *cloudwatchlogs.GetLogEventsOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeMetricFiltersInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogEventsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -4104,47 +9460,47 @@ func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersRequest(_a0 *cloudwatchlog } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeMetricFiltersInput) *cloudwatchlogs.DescribeMetricFiltersOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogEventsInput) *cloudwatchlogs.GetLogEventsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DescribeMetricFiltersOutput) + r1 = ret.Get(1).(*cloudwatchlogs.GetLogEventsOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeMetricFiltersRequest' -type MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call struct { +// MockCloudWatchLogsAPI_GetLogEventsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogEventsRequest' +type MockCloudWatchLogsAPI_GetLogEventsRequest_Call struct { *mock.Call } -// DescribeMetricFiltersRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeMetricFiltersInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeMetricFiltersRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call { - return &MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call{Call: _e.mock.On("DescribeMetricFiltersRequest", _a0)} +// GetLogEventsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetLogEventsInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogEventsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogEventsRequest_Call { + return &MockCloudWatchLogsAPI_GetLogEventsRequest_Call{Call: _e.mock.On("GetLogEventsRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeMetricFiltersInput)) *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetLogEventsInput)) *MockCloudWatchLogsAPI_GetLogEventsRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeMetricFiltersInput)) + run(args[0].(*cloudwatchlogs.GetLogEventsInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeMetricFiltersOutput) *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetLogEventsOutput) *MockCloudWatchLogsAPI_GetLogEventsRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeMetricFiltersInput) (*request.Request, *cloudwatchlogs.DescribeMetricFiltersOutput)) *MockCloudWatchLogsAPI_DescribeMetricFiltersRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogEventsInput) (*request.Request, *cloudwatchlogs.GetLogEventsOutput)) *MockCloudWatchLogsAPI_GetLogEventsRequest_Call { _c.Call.Return(run) return _c } -// DescribeMetricFiltersWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeMetricFiltersInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeMetricFiltersOutput, error) { +// GetLogEventsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) GetLogEventsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetLogEventsInput, _a2 ...request.Option) (*cloudwatchlogs.GetLogEventsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -4154,20 +9510,24 @@ func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersWithContext(_a0 context.Co _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeMetricFiltersOutput + if len(ret) == 0 { + panic("no return value specified for GetLogEventsWithContext") + } + + var r0 *cloudwatchlogs.GetLogEventsOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, ...request.Option) (*cloudwatchlogs.DescribeMetricFiltersOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogEventsInput, ...request.Option) (*cloudwatchlogs.GetLogEventsOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, ...request.Option) *cloudwatchlogs.DescribeMetricFiltersOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogEventsInput, ...request.Option) *cloudwatchlogs.GetLogEventsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeMetricFiltersOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetLogEventsOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetLogEventsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -4176,21 +9536,21 @@ func (_m *MockCloudWatchLogsAPI) DescribeMetricFiltersWithContext(_a0 context.Co return r0, r1 } -// MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeMetricFiltersWithContext' -type MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call struct { +// MockCloudWatchLogsAPI_GetLogEventsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogEventsWithContext' +type MockCloudWatchLogsAPI_GetLogEventsWithContext_Call struct { *mock.Call } -// DescribeMetricFiltersWithContext is a helper method to define mock.On call +// GetLogEventsWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeMetricFiltersInput +// - _a1 *cloudwatchlogs.GetLogEventsInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeMetricFiltersWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call{Call: _e.mock.On("DescribeMetricFiltersWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogEventsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call { + return &MockCloudWatchLogsAPI_GetLogEventsWithContext_Call{Call: _e.mock.On("GetLogEventsWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeMetricFiltersInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetLogEventsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -4198,39 +9558,43 @@ func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call) Run(run f variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeMetricFiltersInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetLogEventsInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeMetricFiltersOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call) Return(_a0 *cloudwatchlogs.GetLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeMetricFiltersInput, ...request.Option) (*cloudwatchlogs.DescribeMetricFiltersOutput, error)) *MockCloudWatchLogsAPI_DescribeMetricFiltersWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetLogEventsInput, ...request.Option) (*cloudwatchlogs.GetLogEventsOutput, error)) *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call { _c.Call.Return(run) return _c } -// DescribeQueries provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeQueries(_a0 *cloudwatchlogs.DescribeQueriesInput) (*cloudwatchlogs.DescribeQueriesOutput, error) { +// GetLogGroupFields provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetLogGroupFields(_a0 *cloudwatchlogs.GetLogGroupFieldsInput) (*cloudwatchlogs.GetLogGroupFieldsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DescribeQueriesOutput + if len(ret) == 0 { + panic("no return value specified for GetLogGroupFields") + } + + var r0 *cloudwatchlogs.GetLogGroupFieldsOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueriesInput) (*cloudwatchlogs.DescribeQueriesOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogGroupFieldsInput) (*cloudwatchlogs.GetLogGroupFieldsOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueriesInput) *cloudwatchlogs.DescribeQueriesOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogGroupFieldsInput) *cloudwatchlogs.GetLogGroupFieldsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeQueriesOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetLogGroupFieldsOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeQueriesInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogGroupFieldsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -4239,44 +9603,48 @@ func (_m *MockCloudWatchLogsAPI) DescribeQueries(_a0 *cloudwatchlogs.DescribeQue return r0, r1 } -// MockCloudWatchLogsAPI_DescribeQueries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueries' -type MockCloudWatchLogsAPI_DescribeQueries_Call struct { +// MockCloudWatchLogsAPI_GetLogGroupFields_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogGroupFields' +type MockCloudWatchLogsAPI_GetLogGroupFields_Call struct { *mock.Call } -// DescribeQueries is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeQueriesInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueries(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeQueries_Call { - return &MockCloudWatchLogsAPI_DescribeQueries_Call{Call: _e.mock.On("DescribeQueries", _a0)} +// GetLogGroupFields is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetLogGroupFieldsInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogGroupFields(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogGroupFields_Call { + return &MockCloudWatchLogsAPI_GetLogGroupFields_Call{Call: _e.mock.On("GetLogGroupFields", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeQueries_Call) Run(run func(_a0 *cloudwatchlogs.DescribeQueriesInput)) *MockCloudWatchLogsAPI_DescribeQueries_Call { +func (_c *MockCloudWatchLogsAPI_GetLogGroupFields_Call) Run(run func(_a0 *cloudwatchlogs.GetLogGroupFieldsInput)) *MockCloudWatchLogsAPI_GetLogGroupFields_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeQueriesInput)) + run(args[0].(*cloudwatchlogs.GetLogGroupFieldsInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueries_Call) Return(_a0 *cloudwatchlogs.DescribeQueriesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeQueries_Call { +func (_c *MockCloudWatchLogsAPI_GetLogGroupFields_Call) Return(_a0 *cloudwatchlogs.GetLogGroupFieldsOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogGroupFields_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueries_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeQueriesInput) (*cloudwatchlogs.DescribeQueriesOutput, error)) *MockCloudWatchLogsAPI_DescribeQueries_Call { +func (_c *MockCloudWatchLogsAPI_GetLogGroupFields_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogGroupFieldsInput) (*cloudwatchlogs.GetLogGroupFieldsOutput, error)) *MockCloudWatchLogsAPI_GetLogGroupFields_Call { _c.Call.Return(run) return _c } -// DescribeQueriesRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeQueriesRequest(_a0 *cloudwatchlogs.DescribeQueriesInput) (*request.Request, *cloudwatchlogs.DescribeQueriesOutput) { +// GetLogGroupFieldsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetLogGroupFieldsRequest(_a0 *cloudwatchlogs.GetLogGroupFieldsInput) (*request.Request, *cloudwatchlogs.GetLogGroupFieldsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLogGroupFieldsRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DescribeQueriesOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueriesInput) (*request.Request, *cloudwatchlogs.DescribeQueriesOutput)); ok { + var r1 *cloudwatchlogs.GetLogGroupFieldsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogGroupFieldsInput) (*request.Request, *cloudwatchlogs.GetLogGroupFieldsOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueriesInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogGroupFieldsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -4284,47 +9652,47 @@ func (_m *MockCloudWatchLogsAPI) DescribeQueriesRequest(_a0 *cloudwatchlogs.Desc } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeQueriesInput) *cloudwatchlogs.DescribeQueriesOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogGroupFieldsInput) *cloudwatchlogs.GetLogGroupFieldsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DescribeQueriesOutput) + r1 = ret.Get(1).(*cloudwatchlogs.GetLogGroupFieldsOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DescribeQueriesRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueriesRequest' -type MockCloudWatchLogsAPI_DescribeQueriesRequest_Call struct { +// MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogGroupFieldsRequest' +type MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call struct { *mock.Call } -// DescribeQueriesRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeQueriesInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueriesRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call { - return &MockCloudWatchLogsAPI_DescribeQueriesRequest_Call{Call: _e.mock.On("DescribeQueriesRequest", _a0)} +// GetLogGroupFieldsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetLogGroupFieldsInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogGroupFieldsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call { + return &MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call{Call: _e.mock.On("GetLogGroupFieldsRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeQueriesInput)) *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetLogGroupFieldsInput)) *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeQueriesInput)) + run(args[0].(*cloudwatchlogs.GetLogGroupFieldsInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeQueriesOutput) *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetLogGroupFieldsOutput) *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeQueriesInput) (*request.Request, *cloudwatchlogs.DescribeQueriesOutput)) *MockCloudWatchLogsAPI_DescribeQueriesRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogGroupFieldsInput) (*request.Request, *cloudwatchlogs.GetLogGroupFieldsOutput)) *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call { _c.Call.Return(run) return _c } -// DescribeQueriesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DescribeQueriesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeQueriesInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeQueriesOutput, error) { +// GetLogGroupFieldsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) GetLogGroupFieldsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetLogGroupFieldsInput, _a2 ...request.Option) (*cloudwatchlogs.GetLogGroupFieldsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -4334,20 +9702,24 @@ func (_m *MockCloudWatchLogsAPI) DescribeQueriesWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeQueriesOutput + if len(ret) == 0 { + panic("no return value specified for GetLogGroupFieldsWithContext") + } + + var r0 *cloudwatchlogs.GetLogGroupFieldsOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeQueriesInput, ...request.Option) (*cloudwatchlogs.DescribeQueriesOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogGroupFieldsInput, ...request.Option) (*cloudwatchlogs.GetLogGroupFieldsOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeQueriesInput, ...request.Option) *cloudwatchlogs.DescribeQueriesOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogGroupFieldsInput, ...request.Option) *cloudwatchlogs.GetLogGroupFieldsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeQueriesOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetLogGroupFieldsOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeQueriesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetLogGroupFieldsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -4356,21 +9728,21 @@ func (_m *MockCloudWatchLogsAPI) DescribeQueriesWithContext(_a0 context.Context, return r0, r1 } -// MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueriesWithContext' -type MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call struct { +// MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogGroupFieldsWithContext' +type MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call struct { *mock.Call } -// DescribeQueriesWithContext is a helper method to define mock.On call +// GetLogGroupFieldsWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeQueriesInput +// - _a1 *cloudwatchlogs.GetLogGroupFieldsInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueriesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call{Call: _e.mock.On("DescribeQueriesWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogGroupFieldsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call { + return &MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call{Call: _e.mock.On("GetLogGroupFieldsWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeQueriesInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetLogGroupFieldsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -4378,39 +9750,43 @@ func (_c *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call) Run(run func(_a variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeQueriesInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetLogGroupFieldsInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeQueriesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call) Return(_a0 *cloudwatchlogs.GetLogGroupFieldsOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeQueriesInput, ...request.Option) (*cloudwatchlogs.DescribeQueriesOutput, error)) *MockCloudWatchLogsAPI_DescribeQueriesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetLogGroupFieldsInput, ...request.Option) (*cloudwatchlogs.GetLogGroupFieldsOutput, error)) *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call { _c.Call.Return(run) return _c } -// DescribeQueryDefinitions provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeQueryDefinitions(_a0 *cloudwatchlogs.DescribeQueryDefinitionsInput) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error) { +// GetLogRecord provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetLogRecord(_a0 *cloudwatchlogs.GetLogRecordInput) (*cloudwatchlogs.GetLogRecordOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DescribeQueryDefinitionsOutput + if len(ret) == 0 { + panic("no return value specified for GetLogRecord") + } + + var r0 *cloudwatchlogs.GetLogRecordOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogRecordInput) (*cloudwatchlogs.GetLogRecordOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) *cloudwatchlogs.DescribeQueryDefinitionsOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogRecordInput) *cloudwatchlogs.GetLogRecordOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeQueryDefinitionsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetLogRecordOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogRecordInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -4419,44 +9795,48 @@ func (_m *MockCloudWatchLogsAPI) DescribeQueryDefinitions(_a0 *cloudwatchlogs.De return r0, r1 } -// MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueryDefinitions' -type MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call struct { +// MockCloudWatchLogsAPI_GetLogRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogRecord' +type MockCloudWatchLogsAPI_GetLogRecord_Call struct { *mock.Call } -// DescribeQueryDefinitions is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeQueryDefinitionsInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueryDefinitions(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call { - return &MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call{Call: _e.mock.On("DescribeQueryDefinitions", _a0)} +// GetLogRecord is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetLogRecordInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogRecord(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogRecord_Call { + return &MockCloudWatchLogsAPI_GetLogRecord_Call{Call: _e.mock.On("GetLogRecord", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call) Run(run func(_a0 *cloudwatchlogs.DescribeQueryDefinitionsInput)) *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call { +func (_c *MockCloudWatchLogsAPI_GetLogRecord_Call) Run(run func(_a0 *cloudwatchlogs.GetLogRecordInput)) *MockCloudWatchLogsAPI_GetLogRecord_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeQueryDefinitionsInput)) + run(args[0].(*cloudwatchlogs.GetLogRecordInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call) Return(_a0 *cloudwatchlogs.DescribeQueryDefinitionsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call { +func (_c *MockCloudWatchLogsAPI_GetLogRecord_Call) Return(_a0 *cloudwatchlogs.GetLogRecordOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogRecord_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeQueryDefinitionsInput) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error)) *MockCloudWatchLogsAPI_DescribeQueryDefinitions_Call { +func (_c *MockCloudWatchLogsAPI_GetLogRecord_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogRecordInput) (*cloudwatchlogs.GetLogRecordOutput, error)) *MockCloudWatchLogsAPI_GetLogRecord_Call { _c.Call.Return(run) return _c } -// DescribeQueryDefinitionsRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeQueryDefinitionsRequest(_a0 *cloudwatchlogs.DescribeQueryDefinitionsInput) (*request.Request, *cloudwatchlogs.DescribeQueryDefinitionsOutput) { +// GetLogRecordRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetLogRecordRequest(_a0 *cloudwatchlogs.GetLogRecordInput) (*request.Request, *cloudwatchlogs.GetLogRecordOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLogRecordRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DescribeQueryDefinitionsOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) (*request.Request, *cloudwatchlogs.DescribeQueryDefinitionsOutput)); ok { + var r1 *cloudwatchlogs.GetLogRecordOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogRecordInput) (*request.Request, *cloudwatchlogs.GetLogRecordOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogRecordInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -4464,47 +9844,47 @@ func (_m *MockCloudWatchLogsAPI) DescribeQueryDefinitionsRequest(_a0 *cloudwatch } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeQueryDefinitionsInput) *cloudwatchlogs.DescribeQueryDefinitionsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogRecordInput) *cloudwatchlogs.GetLogRecordOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DescribeQueryDefinitionsOutput) + r1 = ret.Get(1).(*cloudwatchlogs.GetLogRecordOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueryDefinitionsRequest' -type MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call struct { +// MockCloudWatchLogsAPI_GetLogRecordRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogRecordRequest' +type MockCloudWatchLogsAPI_GetLogRecordRequest_Call struct { *mock.Call } -// DescribeQueryDefinitionsRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeQueryDefinitionsInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueryDefinitionsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call { - return &MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call{Call: _e.mock.On("DescribeQueryDefinitionsRequest", _a0)} +// GetLogRecordRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetLogRecordInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogRecordRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogRecordRequest_Call { + return &MockCloudWatchLogsAPI_GetLogRecordRequest_Call{Call: _e.mock.On("GetLogRecordRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeQueryDefinitionsInput)) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogRecordRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetLogRecordInput)) *MockCloudWatchLogsAPI_GetLogRecordRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeQueryDefinitionsInput)) + run(args[0].(*cloudwatchlogs.GetLogRecordInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeQueryDefinitionsOutput) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogRecordRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetLogRecordOutput) *MockCloudWatchLogsAPI_GetLogRecordRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeQueryDefinitionsInput) (*request.Request, *cloudwatchlogs.DescribeQueryDefinitionsOutput)) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetLogRecordRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogRecordInput) (*request.Request, *cloudwatchlogs.GetLogRecordOutput)) *MockCloudWatchLogsAPI_GetLogRecordRequest_Call { _c.Call.Return(run) return _c } -// DescribeQueryDefinitionsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DescribeQueryDefinitionsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeQueryDefinitionsInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error) { +// GetLogRecordWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) GetLogRecordWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetLogRecordInput, _a2 ...request.Option) (*cloudwatchlogs.GetLogRecordOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -4514,20 +9894,24 @@ func (_m *MockCloudWatchLogsAPI) DescribeQueryDefinitionsWithContext(_a0 context _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeQueryDefinitionsOutput + if len(ret) == 0 { + panic("no return value specified for GetLogRecordWithContext") + } + + var r0 *cloudwatchlogs.GetLogRecordOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeQueryDefinitionsInput, ...request.Option) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogRecordInput, ...request.Option) (*cloudwatchlogs.GetLogRecordOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeQueryDefinitionsInput, ...request.Option) *cloudwatchlogs.DescribeQueryDefinitionsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogRecordInput, ...request.Option) *cloudwatchlogs.GetLogRecordOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeQueryDefinitionsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetLogRecordOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeQueryDefinitionsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetLogRecordInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -4536,21 +9920,21 @@ func (_m *MockCloudWatchLogsAPI) DescribeQueryDefinitionsWithContext(_a0 context return r0, r1 } -// MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeQueryDefinitionsWithContext' -type MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call struct { +// MockCloudWatchLogsAPI_GetLogRecordWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogRecordWithContext' +type MockCloudWatchLogsAPI_GetLogRecordWithContext_Call struct { *mock.Call } -// DescribeQueryDefinitionsWithContext is a helper method to define mock.On call +// GetLogRecordWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeQueryDefinitionsInput +// - _a1 *cloudwatchlogs.GetLogRecordInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeQueryDefinitionsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call{Call: _e.mock.On("DescribeQueryDefinitionsWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) GetLogRecordWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call { + return &MockCloudWatchLogsAPI_GetLogRecordWithContext_Call{Call: _e.mock.On("GetLogRecordWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeQueryDefinitionsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetLogRecordInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -4558,39 +9942,43 @@ func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call) Run(ru variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeQueryDefinitionsInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetLogRecordInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeQueryDefinitionsOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call) Return(_a0 *cloudwatchlogs.GetLogRecordOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeQueryDefinitionsInput, ...request.Option) (*cloudwatchlogs.DescribeQueryDefinitionsOutput, error)) *MockCloudWatchLogsAPI_DescribeQueryDefinitionsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetLogRecordInput, ...request.Option) (*cloudwatchlogs.GetLogRecordOutput, error)) *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call { _c.Call.Return(run) return _c } -// DescribeResourcePolicies provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeResourcePolicies(_a0 *cloudwatchlogs.DescribeResourcePoliciesInput) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error) { +// GetQueryResults provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetQueryResults(_a0 *cloudwatchlogs.GetQueryResultsInput) (*cloudwatchlogs.GetQueryResultsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DescribeResourcePoliciesOutput + if len(ret) == 0 { + panic("no return value specified for GetQueryResults") + } + + var r0 *cloudwatchlogs.GetQueryResultsOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetQueryResultsInput) (*cloudwatchlogs.GetQueryResultsOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) *cloudwatchlogs.DescribeResourcePoliciesOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetQueryResultsInput) *cloudwatchlogs.GetQueryResultsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeResourcePoliciesOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetQueryResultsOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetQueryResultsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -4599,44 +9987,48 @@ func (_m *MockCloudWatchLogsAPI) DescribeResourcePolicies(_a0 *cloudwatchlogs.De return r0, r1 } -// MockCloudWatchLogsAPI_DescribeResourcePolicies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeResourcePolicies' -type MockCloudWatchLogsAPI_DescribeResourcePolicies_Call struct { +// MockCloudWatchLogsAPI_GetQueryResults_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetQueryResults' +type MockCloudWatchLogsAPI_GetQueryResults_Call struct { *mock.Call } -// DescribeResourcePolicies is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeResourcePoliciesInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeResourcePolicies(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call { - return &MockCloudWatchLogsAPI_DescribeResourcePolicies_Call{Call: _e.mock.On("DescribeResourcePolicies", _a0)} +// GetQueryResults is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetQueryResultsInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetQueryResults(_a0 interface{}) *MockCloudWatchLogsAPI_GetQueryResults_Call { + return &MockCloudWatchLogsAPI_GetQueryResults_Call{Call: _e.mock.On("GetQueryResults", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call) Run(run func(_a0 *cloudwatchlogs.DescribeResourcePoliciesInput)) *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call { +func (_c *MockCloudWatchLogsAPI_GetQueryResults_Call) Run(run func(_a0 *cloudwatchlogs.GetQueryResultsInput)) *MockCloudWatchLogsAPI_GetQueryResults_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeResourcePoliciesInput)) + run(args[0].(*cloudwatchlogs.GetQueryResultsInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call) Return(_a0 *cloudwatchlogs.DescribeResourcePoliciesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call { +func (_c *MockCloudWatchLogsAPI_GetQueryResults_Call) Return(_a0 *cloudwatchlogs.GetQueryResultsOutput, _a1 error) *MockCloudWatchLogsAPI_GetQueryResults_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeResourcePoliciesInput) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)) *MockCloudWatchLogsAPI_DescribeResourcePolicies_Call { +func (_c *MockCloudWatchLogsAPI_GetQueryResults_Call) RunAndReturn(run func(*cloudwatchlogs.GetQueryResultsInput) (*cloudwatchlogs.GetQueryResultsOutput, error)) *MockCloudWatchLogsAPI_GetQueryResults_Call { _c.Call.Return(run) return _c } -// DescribeResourcePoliciesRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeResourcePoliciesRequest(_a0 *cloudwatchlogs.DescribeResourcePoliciesInput) (*request.Request, *cloudwatchlogs.DescribeResourcePoliciesOutput) { +// GetQueryResultsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) GetQueryResultsRequest(_a0 *cloudwatchlogs.GetQueryResultsInput) (*request.Request, *cloudwatchlogs.GetQueryResultsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetQueryResultsRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DescribeResourcePoliciesOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) (*request.Request, *cloudwatchlogs.DescribeResourcePoliciesOutput)); ok { + var r1 *cloudwatchlogs.GetQueryResultsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetQueryResultsInput) (*request.Request, *cloudwatchlogs.GetQueryResultsOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetQueryResultsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -4644,47 +10036,47 @@ func (_m *MockCloudWatchLogsAPI) DescribeResourcePoliciesRequest(_a0 *cloudwatch } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeResourcePoliciesInput) *cloudwatchlogs.DescribeResourcePoliciesOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetQueryResultsInput) *cloudwatchlogs.GetQueryResultsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DescribeResourcePoliciesOutput) + r1 = ret.Get(1).(*cloudwatchlogs.GetQueryResultsOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeResourcePoliciesRequest' -type MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call struct { +// MockCloudWatchLogsAPI_GetQueryResultsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetQueryResultsRequest' +type MockCloudWatchLogsAPI_GetQueryResultsRequest_Call struct { *mock.Call } -// DescribeResourcePoliciesRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeResourcePoliciesInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeResourcePoliciesRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call { - return &MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call{Call: _e.mock.On("DescribeResourcePoliciesRequest", _a0)} +// GetQueryResultsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.GetQueryResultsInput +func (_e *MockCloudWatchLogsAPI_Expecter) GetQueryResultsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call { + return &MockCloudWatchLogsAPI_GetQueryResultsRequest_Call{Call: _e.mock.On("GetQueryResultsRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeResourcePoliciesInput)) *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetQueryResultsInput)) *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeResourcePoliciesInput)) + run(args[0].(*cloudwatchlogs.GetQueryResultsInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeResourcePoliciesOutput) *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetQueryResultsOutput) *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeResourcePoliciesInput) (*request.Request, *cloudwatchlogs.DescribeResourcePoliciesOutput)) *MockCloudWatchLogsAPI_DescribeResourcePoliciesRequest_Call { +func (_c *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetQueryResultsInput) (*request.Request, *cloudwatchlogs.GetQueryResultsOutput)) *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call { _c.Call.Return(run) return _c } -// DescribeResourcePoliciesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DescribeResourcePoliciesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeResourcePoliciesInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error) { +// GetQueryResultsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) GetQueryResultsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetQueryResultsInput, _a2 ...request.Option) (*cloudwatchlogs.GetQueryResultsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -4694,20 +10086,24 @@ func (_m *MockCloudWatchLogsAPI) DescribeResourcePoliciesWithContext(_a0 context _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeResourcePoliciesOutput + if len(ret) == 0 { + panic("no return value specified for GetQueryResultsWithContext") + } + + var r0 *cloudwatchlogs.GetQueryResultsOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeResourcePoliciesInput, ...request.Option) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetQueryResultsInput, ...request.Option) (*cloudwatchlogs.GetQueryResultsOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeResourcePoliciesInput, ...request.Option) *cloudwatchlogs.DescribeResourcePoliciesOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetQueryResultsInput, ...request.Option) *cloudwatchlogs.GetQueryResultsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeResourcePoliciesOutput) + r0 = ret.Get(0).(*cloudwatchlogs.GetQueryResultsOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeResourcePoliciesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetQueryResultsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -4716,21 +10112,21 @@ func (_m *MockCloudWatchLogsAPI) DescribeResourcePoliciesWithContext(_a0 context return r0, r1 } -// MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeResourcePoliciesWithContext' -type MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call struct { +// MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetQueryResultsWithContext' +type MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call struct { *mock.Call } -// DescribeResourcePoliciesWithContext is a helper method to define mock.On call +// GetQueryResultsWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeResourcePoliciesInput +// - _a1 *cloudwatchlogs.GetQueryResultsInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeResourcePoliciesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call{Call: _e.mock.On("DescribeResourcePoliciesWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) GetQueryResultsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call { + return &MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call{Call: _e.mock.On("GetQueryResultsWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeResourcePoliciesInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetQueryResultsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -4738,39 +10134,43 @@ func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call) Run(ru variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeResourcePoliciesInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetQueryResultsInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeResourcePoliciesOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call) Return(_a0 *cloudwatchlogs.GetQueryResultsOutput, _a1 error) *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeResourcePoliciesInput, ...request.Option) (*cloudwatchlogs.DescribeResourcePoliciesOutput, error)) *MockCloudWatchLogsAPI_DescribeResourcePoliciesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetQueryResultsInput, ...request.Option) (*cloudwatchlogs.GetQueryResultsOutput, error)) *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call { _c.Call.Return(run) return _c } -// DescribeSubscriptionFilters provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFilters(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error) { +// ListAnomalies provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) ListAnomalies(_a0 *cloudwatchlogs.ListAnomaliesInput) (*cloudwatchlogs.ListAnomaliesOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DescribeSubscriptionFiltersOutput + if len(ret) == 0 { + panic("no return value specified for ListAnomalies") + } + + var r0 *cloudwatchlogs.ListAnomaliesOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListAnomaliesInput) (*cloudwatchlogs.ListAnomaliesOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) *cloudwatchlogs.DescribeSubscriptionFiltersOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListAnomaliesInput) *cloudwatchlogs.ListAnomaliesOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeSubscriptionFiltersOutput) + r0 = ret.Get(0).(*cloudwatchlogs.ListAnomaliesOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListAnomaliesInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -4779,40 +10179,44 @@ func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFilters(_a0 *cloudwatchlogs return r0, r1 } -// MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubscriptionFilters' -type MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call struct { +// MockCloudWatchLogsAPI_ListAnomalies_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAnomalies' +type MockCloudWatchLogsAPI_ListAnomalies_Call struct { *mock.Call } -// DescribeSubscriptionFilters is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeSubscriptionFilters(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call { - return &MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call{Call: _e.mock.On("DescribeSubscriptionFilters", _a0)} +// ListAnomalies is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.ListAnomaliesInput +func (_e *MockCloudWatchLogsAPI_Expecter) ListAnomalies(_a0 interface{}) *MockCloudWatchLogsAPI_ListAnomalies_Call { + return &MockCloudWatchLogsAPI_ListAnomalies_Call{Call: _e.mock.On("ListAnomalies", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call) Run(run func(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput)) *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomalies_Call) Run(run func(_a0 *cloudwatchlogs.ListAnomaliesInput)) *MockCloudWatchLogsAPI_ListAnomalies_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeSubscriptionFiltersInput)) + run(args[0].(*cloudwatchlogs.ListAnomaliesInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call) Return(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomalies_Call) Return(_a0 *cloudwatchlogs.ListAnomaliesOutput, _a1 error) *MockCloudWatchLogsAPI_ListAnomalies_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)) *MockCloudWatchLogsAPI_DescribeSubscriptionFilters_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomalies_Call) RunAndReturn(run func(*cloudwatchlogs.ListAnomaliesInput) (*cloudwatchlogs.ListAnomaliesOutput, error)) *MockCloudWatchLogsAPI_ListAnomalies_Call { _c.Call.Return(run) return _c } -// DescribeSubscriptionFiltersPages provides a mock function with given fields: _a0, _a1 -func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersPages(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a1 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool) error { +// ListAnomaliesPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) ListAnomaliesPages(_a0 *cloudwatchlogs.ListAnomaliesInput, _a1 func(*cloudwatchlogs.ListAnomaliesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListAnomaliesPages") + } + var r0 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput, func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListAnomaliesInput, func(*cloudwatchlogs.ListAnomaliesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -4821,37 +10225,37 @@ func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersPages(_a0 *cloudwatc return r0 } -// MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubscriptionFiltersPages' -type MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call struct { +// MockCloudWatchLogsAPI_ListAnomaliesPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAnomaliesPages' +type MockCloudWatchLogsAPI_ListAnomaliesPages_Call struct { *mock.Call } -// DescribeSubscriptionFiltersPages is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput -// - _a1 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput , bool) bool -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeSubscriptionFiltersPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call { - return &MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call{Call: _e.mock.On("DescribeSubscriptionFiltersPages", _a0, _a1)} +// ListAnomaliesPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.ListAnomaliesInput +// - _a1 func(*cloudwatchlogs.ListAnomaliesOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) ListAnomaliesPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_ListAnomaliesPages_Call { + return &MockCloudWatchLogsAPI_ListAnomaliesPages_Call{Call: _e.mock.On("ListAnomaliesPages", _a0, _a1)} } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call) Run(run func(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a1 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesPages_Call) Run(run func(_a0 *cloudwatchlogs.ListAnomaliesInput, _a1 func(*cloudwatchlogs.ListAnomaliesOutput, bool) bool)) *MockCloudWatchLogsAPI_ListAnomaliesPages_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeSubscriptionFiltersInput), args[1].(func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool)) + run(args[0].(*cloudwatchlogs.ListAnomaliesInput), args[1].(func(*cloudwatchlogs.ListAnomaliesOutput, bool) bool)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_ListAnomaliesPages_Call { _c.Call.Return(_a0) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeSubscriptionFiltersInput, func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool) error) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPages_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesPages_Call) RunAndReturn(run func(*cloudwatchlogs.ListAnomaliesInput, func(*cloudwatchlogs.ListAnomaliesOutput, bool) bool) error) *MockCloudWatchLogsAPI_ListAnomaliesPages_Call { _c.Call.Return(run) return _c } -// DescribeSubscriptionFiltersPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a2 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool, _a3 ...request.Option) error { +// ListAnomaliesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) ListAnomaliesPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.ListAnomaliesInput, _a2 func(*cloudwatchlogs.ListAnomaliesOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -4861,8 +10265,12 @@ func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersPagesWithContext(_a0 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAnomaliesPagesWithContext") + } + var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListAnomaliesInput, func(*cloudwatchlogs.ListAnomaliesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -4871,22 +10279,22 @@ func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersPagesWithContext(_a0 return r0 } -// MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubscriptionFiltersPagesWithContext' -type MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call struct { +// MockCloudWatchLogsAPI_ListAnomaliesPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAnomaliesPagesWithContext' +type MockCloudWatchLogsAPI_ListAnomaliesPagesWithContext_Call struct { *mock.Call } -// DescribeSubscriptionFiltersPagesWithContext is a helper method to define mock.On call +// ListAnomaliesPagesWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput -// - _a2 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput , bool) bool +// - _a1 *cloudwatchlogs.ListAnomaliesInput +// - _a2 func(*cloudwatchlogs.ListAnomaliesOutput , bool) bool // - _a3 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeSubscriptionFiltersPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call{Call: _e.mock.On("DescribeSubscriptionFiltersPagesWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) ListAnomaliesPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_ListAnomaliesPagesWithContext_Call { + return &MockCloudWatchLogsAPI_ListAnomaliesPagesWithContext_Call{Call: _e.mock.On("ListAnomaliesPagesWithContext", append([]interface{}{_a0, _a1, _a2}, _a3...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a2 func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.ListAnomaliesInput, _a2 func(*cloudwatchlogs.ListAnomaliesOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_ListAnomaliesPagesWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-3) for i, a := range args[3:] { @@ -4894,31 +10302,35 @@ func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeSubscriptionFiltersInput), args[2].(func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.ListAnomaliesInput), args[2].(func(*cloudwatchlogs.ListAnomaliesOutput, bool) bool), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_ListAnomaliesPagesWithContext_Call { _c.Call.Return(_a0) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, func(*cloudwatchlogs.DescribeSubscriptionFiltersOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.ListAnomaliesInput, func(*cloudwatchlogs.ListAnomaliesOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_ListAnomaliesPagesWithContext_Call { _c.Call.Return(run) return _c } -// DescribeSubscriptionFiltersRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersRequest(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput) (*request.Request, *cloudwatchlogs.DescribeSubscriptionFiltersOutput) { +// ListAnomaliesRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) ListAnomaliesRequest(_a0 *cloudwatchlogs.ListAnomaliesInput) (*request.Request, *cloudwatchlogs.ListAnomaliesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAnomaliesRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.DescribeSubscriptionFiltersOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) (*request.Request, *cloudwatchlogs.DescribeSubscriptionFiltersOutput)); ok { + var r1 *cloudwatchlogs.ListAnomaliesOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListAnomaliesInput) (*request.Request, *cloudwatchlogs.ListAnomaliesOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListAnomaliesInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -4926,47 +10338,47 @@ func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersRequest(_a0 *cloudwa } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) *cloudwatchlogs.DescribeSubscriptionFiltersOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListAnomaliesInput) *cloudwatchlogs.ListAnomaliesOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DescribeSubscriptionFiltersOutput) + r1 = ret.Get(1).(*cloudwatchlogs.ListAnomaliesOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubscriptionFiltersRequest' -type MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call struct { +// MockCloudWatchLogsAPI_ListAnomaliesRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAnomaliesRequest' +type MockCloudWatchLogsAPI_ListAnomaliesRequest_Call struct { *mock.Call } -// DescribeSubscriptionFiltersRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeSubscriptionFiltersRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call { - return &MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call{Call: _e.mock.On("DescribeSubscriptionFiltersRequest", _a0)} +// ListAnomaliesRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.ListAnomaliesInput +func (_e *MockCloudWatchLogsAPI_Expecter) ListAnomaliesRequest(_a0 interface{}) *MockCloudWatchLogsAPI_ListAnomaliesRequest_Call { + return &MockCloudWatchLogsAPI_ListAnomaliesRequest_Call{Call: _e.mock.On("ListAnomaliesRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call) Run(run func(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersInput)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesRequest_Call) Run(run func(_a0 *cloudwatchlogs.ListAnomaliesInput)) *MockCloudWatchLogsAPI_ListAnomaliesRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DescribeSubscriptionFiltersInput)) + run(args[0].(*cloudwatchlogs.ListAnomaliesInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DescribeSubscriptionFiltersOutput) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.ListAnomaliesOutput) *MockCloudWatchLogsAPI_ListAnomaliesRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DescribeSubscriptionFiltersInput) (*request.Request, *cloudwatchlogs.DescribeSubscriptionFiltersOutput)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesRequest_Call) RunAndReturn(run func(*cloudwatchlogs.ListAnomaliesInput) (*request.Request, *cloudwatchlogs.ListAnomaliesOutput)) *MockCloudWatchLogsAPI_ListAnomaliesRequest_Call { _c.Call.Return(run) return _c } -// DescribeSubscriptionFiltersWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a2 ...request.Option) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error) { +// ListAnomaliesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) ListAnomaliesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.ListAnomaliesInput, _a2 ...request.Option) (*cloudwatchlogs.ListAnomaliesOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -4976,20 +10388,24 @@ func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersWithContext(_a0 cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DescribeSubscriptionFiltersOutput + if len(ret) == 0 { + panic("no return value specified for ListAnomaliesWithContext") + } + + var r0 *cloudwatchlogs.ListAnomaliesOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, ...request.Option) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListAnomaliesInput, ...request.Option) (*cloudwatchlogs.ListAnomaliesOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, ...request.Option) *cloudwatchlogs.DescribeSubscriptionFiltersOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListAnomaliesInput, ...request.Option) *cloudwatchlogs.ListAnomaliesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DescribeSubscriptionFiltersOutput) + r0 = ret.Get(0).(*cloudwatchlogs.ListAnomaliesOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.ListAnomaliesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -4998,21 +10414,21 @@ func (_m *MockCloudWatchLogsAPI) DescribeSubscriptionFiltersWithContext(_a0 cont return r0, r1 } -// MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubscriptionFiltersWithContext' -type MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call struct { +// MockCloudWatchLogsAPI_ListAnomaliesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAnomaliesWithContext' +type MockCloudWatchLogsAPI_ListAnomaliesWithContext_Call struct { *mock.Call } -// DescribeSubscriptionFiltersWithContext is a helper method to define mock.On call +// ListAnomaliesWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput +// - _a1 *cloudwatchlogs.ListAnomaliesInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DescribeSubscriptionFiltersWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call { - return &MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call{Call: _e.mock.On("DescribeSubscriptionFiltersWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) ListAnomaliesWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_ListAnomaliesWithContext_Call { + return &MockCloudWatchLogsAPI_ListAnomaliesWithContext_Call{Call: _e.mock.On("ListAnomaliesWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DescribeSubscriptionFiltersInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.ListAnomaliesInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_ListAnomaliesWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -5020,39 +10436,43 @@ func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call) Run variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DescribeSubscriptionFiltersInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.ListAnomaliesInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call) Return(_a0 *cloudwatchlogs.DescribeSubscriptionFiltersOutput, _a1 error) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesWithContext_Call) Return(_a0 *cloudwatchlogs.ListAnomaliesOutput, _a1 error) *MockCloudWatchLogsAPI_ListAnomaliesWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DescribeSubscriptionFiltersInput, ...request.Option) (*cloudwatchlogs.DescribeSubscriptionFiltersOutput, error)) *MockCloudWatchLogsAPI_DescribeSubscriptionFiltersWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListAnomaliesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.ListAnomaliesInput, ...request.Option) (*cloudwatchlogs.ListAnomaliesOutput, error)) *MockCloudWatchLogsAPI_ListAnomaliesWithContext_Call { _c.Call.Return(run) return _c } -// DisassociateKmsKey provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DisassociateKmsKey(_a0 *cloudwatchlogs.DisassociateKmsKeyInput) (*cloudwatchlogs.DisassociateKmsKeyOutput, error) { +// ListLogAnomalyDetectors provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) ListLogAnomalyDetectors(_a0 *cloudwatchlogs.ListLogAnomalyDetectorsInput) (*cloudwatchlogs.ListLogAnomalyDetectorsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.DisassociateKmsKeyOutput + if len(ret) == 0 { + panic("no return value specified for ListLogAnomalyDetectors") + } + + var r0 *cloudwatchlogs.ListLogAnomalyDetectorsOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DisassociateKmsKeyInput) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListLogAnomalyDetectorsInput) (*cloudwatchlogs.ListLogAnomalyDetectorsOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DisassociateKmsKeyInput) *cloudwatchlogs.DisassociateKmsKeyOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListLogAnomalyDetectorsInput) *cloudwatchlogs.ListLogAnomalyDetectorsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DisassociateKmsKeyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.ListLogAnomalyDetectorsOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DisassociateKmsKeyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListLogAnomalyDetectorsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -5061,326 +10481,350 @@ func (_m *MockCloudWatchLogsAPI) DisassociateKmsKey(_a0 *cloudwatchlogs.Disassoc return r0, r1 } -// MockCloudWatchLogsAPI_DisassociateKmsKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisassociateKmsKey' -type MockCloudWatchLogsAPI_DisassociateKmsKey_Call struct { +// MockCloudWatchLogsAPI_ListLogAnomalyDetectors_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLogAnomalyDetectors' +type MockCloudWatchLogsAPI_ListLogAnomalyDetectors_Call struct { *mock.Call } -// DisassociateKmsKey is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DisassociateKmsKeyInput -func (_e *MockCloudWatchLogsAPI_Expecter) DisassociateKmsKey(_a0 interface{}) *MockCloudWatchLogsAPI_DisassociateKmsKey_Call { - return &MockCloudWatchLogsAPI_DisassociateKmsKey_Call{Call: _e.mock.On("DisassociateKmsKey", _a0)} +// ListLogAnomalyDetectors is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.ListLogAnomalyDetectorsInput +func (_e *MockCloudWatchLogsAPI_Expecter) ListLogAnomalyDetectors(_a0 interface{}) *MockCloudWatchLogsAPI_ListLogAnomalyDetectors_Call { + return &MockCloudWatchLogsAPI_ListLogAnomalyDetectors_Call{Call: _e.mock.On("ListLogAnomalyDetectors", _a0)} } -func (_c *MockCloudWatchLogsAPI_DisassociateKmsKey_Call) Run(run func(_a0 *cloudwatchlogs.DisassociateKmsKeyInput)) *MockCloudWatchLogsAPI_DisassociateKmsKey_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectors_Call) Run(run func(_a0 *cloudwatchlogs.ListLogAnomalyDetectorsInput)) *MockCloudWatchLogsAPI_ListLogAnomalyDetectors_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DisassociateKmsKeyInput)) + run(args[0].(*cloudwatchlogs.ListLogAnomalyDetectorsInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DisassociateKmsKey_Call) Return(_a0 *cloudwatchlogs.DisassociateKmsKeyOutput, _a1 error) *MockCloudWatchLogsAPI_DisassociateKmsKey_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectors_Call) Return(_a0 *cloudwatchlogs.ListLogAnomalyDetectorsOutput, _a1 error) *MockCloudWatchLogsAPI_ListLogAnomalyDetectors_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_DisassociateKmsKey_Call) RunAndReturn(run func(*cloudwatchlogs.DisassociateKmsKeyInput) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)) *MockCloudWatchLogsAPI_DisassociateKmsKey_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectors_Call) RunAndReturn(run func(*cloudwatchlogs.ListLogAnomalyDetectorsInput) (*cloudwatchlogs.ListLogAnomalyDetectorsOutput, error)) *MockCloudWatchLogsAPI_ListLogAnomalyDetectors_Call { _c.Call.Return(run) return _c } -// DisassociateKmsKeyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) DisassociateKmsKeyRequest(_a0 *cloudwatchlogs.DisassociateKmsKeyInput) (*request.Request, *cloudwatchlogs.DisassociateKmsKeyOutput) { - ret := _m.Called(_a0) +// ListLogAnomalyDetectorsPages provides a mock function with given fields: _a0, _a1 +func (_m *MockCloudWatchLogsAPI) ListLogAnomalyDetectorsPages(_a0 *cloudwatchlogs.ListLogAnomalyDetectorsInput, _a1 func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) - var r0 *request.Request - var r1 *cloudwatchlogs.DisassociateKmsKeyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DisassociateKmsKeyInput) (*request.Request, *cloudwatchlogs.DisassociateKmsKeyOutput)); ok { - return rf(_a0) - } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.DisassociateKmsKeyInput) *request.Request); ok { - r0 = rf(_a0) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) - } + if len(ret) == 0 { + panic("no return value specified for ListLogAnomalyDetectorsPages") } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.DisassociateKmsKeyInput) *cloudwatchlogs.DisassociateKmsKeyOutput); ok { - r1 = rf(_a0) + var r0 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListLogAnomalyDetectorsInput, func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.DisassociateKmsKeyOutput) - } + r0 = ret.Error(0) } - return r0, r1 + return r0 } -// MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisassociateKmsKeyRequest' -type MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call struct { +// MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLogAnomalyDetectorsPages' +type MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPages_Call struct { *mock.Call } -// DisassociateKmsKeyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.DisassociateKmsKeyInput -func (_e *MockCloudWatchLogsAPI_Expecter) DisassociateKmsKeyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call { - return &MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call{Call: _e.mock.On("DisassociateKmsKeyRequest", _a0)} +// ListLogAnomalyDetectorsPages is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.ListLogAnomalyDetectorsInput +// - _a1 func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput , bool) bool +func (_e *MockCloudWatchLogsAPI_Expecter) ListLogAnomalyDetectorsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPages_Call { + return &MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPages_Call{Call: _e.mock.On("ListLogAnomalyDetectorsPages", _a0, _a1)} } -func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call) Run(run func(_a0 *cloudwatchlogs.DisassociateKmsKeyInput)) *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPages_Call) Run(run func(_a0 *cloudwatchlogs.ListLogAnomalyDetectorsInput, _a1 func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput, bool) bool)) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPages_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.DisassociateKmsKeyInput)) + run(args[0].(*cloudwatchlogs.ListLogAnomalyDetectorsInput), args[1].(func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput, bool) bool)) }) return _c } -func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.DisassociateKmsKeyOutput) *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call { - _c.Call.Return(_a0, _a1) +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPages_Call { + _c.Call.Return(_a0) return _c } -func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.DisassociateKmsKeyInput) (*request.Request, *cloudwatchlogs.DisassociateKmsKeyOutput)) *MockCloudWatchLogsAPI_DisassociateKmsKeyRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPages_Call) RunAndReturn(run func(*cloudwatchlogs.ListLogAnomalyDetectorsInput, func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput, bool) bool) error) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPages_Call { _c.Call.Return(run) return _c } -// DisassociateKmsKeyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) DisassociateKmsKeyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.DisassociateKmsKeyInput, _a2 ...request.Option) (*cloudwatchlogs.DisassociateKmsKeyOutput, error) { - _va := make([]interface{}, len(_a2)) - for _i := range _a2 { - _va[_i] = _a2[_i] +// ListLogAnomalyDetectorsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *MockCloudWatchLogsAPI) ListLogAnomalyDetectorsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.ListLogAnomalyDetectorsInput, _a2 func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput, bool) bool, _a3 ...request.Option) error { + _va := make([]interface{}, len(_a3)) + for _i := range _a3 { + _va[_i] = _a3[_i] } var _ca []interface{} - _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _a0, _a1, _a2) _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.DisassociateKmsKeyOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DisassociateKmsKeyInput, ...request.Option) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)); ok { - return rf(_a0, _a1, _a2...) - } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.DisassociateKmsKeyInput, ...request.Option) *cloudwatchlogs.DisassociateKmsKeyOutput); ok { - r0 = rf(_a0, _a1, _a2...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.DisassociateKmsKeyOutput) - } + if len(ret) == 0 { + panic("no return value specified for ListLogAnomalyDetectorsPagesWithContext") } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.DisassociateKmsKeyInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListLogAnomalyDetectorsInput, func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) } else { - r1 = ret.Error(1) + r0 = ret.Error(0) } - return r0, r1 + return r0 } -// MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DisassociateKmsKeyWithContext' -type MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call struct { +// MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLogAnomalyDetectorsPagesWithContext' +type MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPagesWithContext_Call struct { *mock.Call } -// DisassociateKmsKeyWithContext is a helper method to define mock.On call +// ListLogAnomalyDetectorsPagesWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.DisassociateKmsKeyInput -// - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) DisassociateKmsKeyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call { - return &MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call{Call: _e.mock.On("DisassociateKmsKeyWithContext", - append([]interface{}{_a0, _a1}, _a2...)...)} +// - _a1 *cloudwatchlogs.ListLogAnomalyDetectorsInput +// - _a2 func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput , bool) bool +// - _a3 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) ListLogAnomalyDetectorsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPagesWithContext_Call { + return &MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPagesWithContext_Call{Call: _e.mock.On("ListLogAnomalyDetectorsPagesWithContext", + append([]interface{}{_a0, _a1, _a2}, _a3...)...)} } -func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.DisassociateKmsKeyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.ListLogAnomalyDetectorsInput, _a2 func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPagesWithContext_Call { _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-2) - for i, a := range args[2:] { + variadicArgs := make([]request.Option, len(args)-3) + for i, a := range args[3:] { if a != nil { variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.DisassociateKmsKeyInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.ListLogAnomalyDetectorsInput), args[2].(func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput, bool) bool), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call) Return(_a0 *cloudwatchlogs.DisassociateKmsKeyOutput, _a1 error) *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call { - _c.Call.Return(_a0, _a1) +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPagesWithContext_Call { + _c.Call.Return(_a0) return _c } -func (_c *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.DisassociateKmsKeyInput, ...request.Option) (*cloudwatchlogs.DisassociateKmsKeyOutput, error)) *MockCloudWatchLogsAPI_DisassociateKmsKeyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.ListLogAnomalyDetectorsInput, func(*cloudwatchlogs.ListLogAnomalyDetectorsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsPagesWithContext_Call { _c.Call.Return(run) return _c } -// FilterLogEvents provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) FilterLogEvents(_a0 *cloudwatchlogs.FilterLogEventsInput) (*cloudwatchlogs.FilterLogEventsOutput, error) { +// ListLogAnomalyDetectorsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) ListLogAnomalyDetectorsRequest(_a0 *cloudwatchlogs.ListLogAnomalyDetectorsInput) (*request.Request, *cloudwatchlogs.ListLogAnomalyDetectorsOutput) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.FilterLogEventsOutput - var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.FilterLogEventsInput) (*cloudwatchlogs.FilterLogEventsOutput, error)); ok { + if len(ret) == 0 { + panic("no return value specified for ListLogAnomalyDetectorsRequest") + } + + var r0 *request.Request + var r1 *cloudwatchlogs.ListLogAnomalyDetectorsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListLogAnomalyDetectorsInput) (*request.Request, *cloudwatchlogs.ListLogAnomalyDetectorsOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.FilterLogEventsInput) *cloudwatchlogs.FilterLogEventsOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListLogAnomalyDetectorsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.FilterLogEventsOutput) + r0 = ret.Get(0).(*request.Request) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.FilterLogEventsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListLogAnomalyDetectorsInput) *cloudwatchlogs.ListLogAnomalyDetectorsOutput); ok { r1 = rf(_a0) } else { - r1 = ret.Error(1) + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.ListLogAnomalyDetectorsOutput) + } } return r0, r1 } -// MockCloudWatchLogsAPI_FilterLogEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogEvents' -type MockCloudWatchLogsAPI_FilterLogEvents_Call struct { +// MockCloudWatchLogsAPI_ListLogAnomalyDetectorsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLogAnomalyDetectorsRequest' +type MockCloudWatchLogsAPI_ListLogAnomalyDetectorsRequest_Call struct { *mock.Call } -// FilterLogEvents is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.FilterLogEventsInput -func (_e *MockCloudWatchLogsAPI_Expecter) FilterLogEvents(_a0 interface{}) *MockCloudWatchLogsAPI_FilterLogEvents_Call { - return &MockCloudWatchLogsAPI_FilterLogEvents_Call{Call: _e.mock.On("FilterLogEvents", _a0)} +// ListLogAnomalyDetectorsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.ListLogAnomalyDetectorsInput +func (_e *MockCloudWatchLogsAPI_Expecter) ListLogAnomalyDetectorsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsRequest_Call { + return &MockCloudWatchLogsAPI_ListLogAnomalyDetectorsRequest_Call{Call: _e.mock.On("ListLogAnomalyDetectorsRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_FilterLogEvents_Call) Run(run func(_a0 *cloudwatchlogs.FilterLogEventsInput)) *MockCloudWatchLogsAPI_FilterLogEvents_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsRequest_Call) Run(run func(_a0 *cloudwatchlogs.ListLogAnomalyDetectorsInput)) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.FilterLogEventsInput)) + run(args[0].(*cloudwatchlogs.ListLogAnomalyDetectorsInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_FilterLogEvents_Call) Return(_a0 *cloudwatchlogs.FilterLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_FilterLogEvents_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.ListLogAnomalyDetectorsOutput) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_FilterLogEvents_Call) RunAndReturn(run func(*cloudwatchlogs.FilterLogEventsInput) (*cloudwatchlogs.FilterLogEventsOutput, error)) *MockCloudWatchLogsAPI_FilterLogEvents_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.ListLogAnomalyDetectorsInput) (*request.Request, *cloudwatchlogs.ListLogAnomalyDetectorsOutput)) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsRequest_Call { _c.Call.Return(run) return _c } -// FilterLogEventsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockCloudWatchLogsAPI) FilterLogEventsPages(_a0 *cloudwatchlogs.FilterLogEventsInput, _a1 func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) +// ListLogAnomalyDetectorsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) ListLogAnomalyDetectorsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.ListLogAnomalyDetectorsInput, _a2 ...request.Option) (*cloudwatchlogs.ListLogAnomalyDetectorsOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) - var r0 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.FilterLogEventsInput, func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListLogAnomalyDetectorsWithContext") + } + + var r0 *cloudwatchlogs.ListLogAnomalyDetectorsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListLogAnomalyDetectorsInput, ...request.Option) (*cloudwatchlogs.ListLogAnomalyDetectorsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListLogAnomalyDetectorsInput, ...request.Option) *cloudwatchlogs.ListLogAnomalyDetectorsOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.ListLogAnomalyDetectorsOutput) + } } - return r0 + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.ListLogAnomalyDetectorsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -// MockCloudWatchLogsAPI_FilterLogEventsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogEventsPages' -type MockCloudWatchLogsAPI_FilterLogEventsPages_Call struct { +// MockCloudWatchLogsAPI_ListLogAnomalyDetectorsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListLogAnomalyDetectorsWithContext' +type MockCloudWatchLogsAPI_ListLogAnomalyDetectorsWithContext_Call struct { *mock.Call } -// FilterLogEventsPages is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.FilterLogEventsInput -// - _a1 func(*cloudwatchlogs.FilterLogEventsOutput , bool) bool -func (_e *MockCloudWatchLogsAPI_Expecter) FilterLogEventsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_FilterLogEventsPages_Call { - return &MockCloudWatchLogsAPI_FilterLogEventsPages_Call{Call: _e.mock.On("FilterLogEventsPages", _a0, _a1)} +// ListLogAnomalyDetectorsWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.ListLogAnomalyDetectorsInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) ListLogAnomalyDetectorsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsWithContext_Call { + return &MockCloudWatchLogsAPI_ListLogAnomalyDetectorsWithContext_Call{Call: _e.mock.On("ListLogAnomalyDetectorsWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsPages_Call) Run(run func(_a0 *cloudwatchlogs.FilterLogEventsInput, _a1 func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool)) *MockCloudWatchLogsAPI_FilterLogEventsPages_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.ListLogAnomalyDetectorsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsWithContext_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.FilterLogEventsInput), args[1].(func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool)) + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.ListLogAnomalyDetectorsInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_FilterLogEventsPages_Call { - _c.Call.Return(_a0) +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsWithContext_Call) Return(_a0 *cloudwatchlogs.ListLogAnomalyDetectorsOutput, _a1 error) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsWithContext_Call { + _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsPages_Call) RunAndReturn(run func(*cloudwatchlogs.FilterLogEventsInput, func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool) error) *MockCloudWatchLogsAPI_FilterLogEventsPages_Call { +func (_c *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.ListLogAnomalyDetectorsInput, ...request.Option) (*cloudwatchlogs.ListLogAnomalyDetectorsOutput, error)) *MockCloudWatchLogsAPI_ListLogAnomalyDetectorsWithContext_Call { _c.Call.Return(run) return _c } -// FilterLogEventsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockCloudWatchLogsAPI) FilterLogEventsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.FilterLogEventsInput, _a2 func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] +// ListTagsForResource provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) ListTagsForResource(_a0 *cloudwatchlogs.ListTagsForResourceInput) (*cloudwatchlogs.ListTagsForResourceOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListTagsForResource") } - var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.FilterLogEventsInput, func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) + var r0 *cloudwatchlogs.ListTagsForResourceOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsForResourceInput) (*cloudwatchlogs.ListTagsForResourceOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsForResourceInput) *cloudwatchlogs.ListTagsForResourceOutput); ok { + r0 = rf(_a0) } else { - r0 = ret.Error(0) + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.ListTagsForResourceOutput) + } } - return r0 + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListTagsForResourceInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 } -// MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogEventsPagesWithContext' -type MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call struct { +// MockCloudWatchLogsAPI_ListTagsForResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsForResource' +type MockCloudWatchLogsAPI_ListTagsForResource_Call struct { *mock.Call } -// FilterLogEventsPagesWithContext is a helper method to define mock.On call -// - _a0 context.Context -// - _a1 *cloudwatchlogs.FilterLogEventsInput -// - _a2 func(*cloudwatchlogs.FilterLogEventsOutput , bool) bool -// - _a3 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) FilterLogEventsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call { - return &MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call{Call: _e.mock.On("FilterLogEventsPagesWithContext", - append([]interface{}{_a0, _a1, _a2}, _a3...)...)} +// ListTagsForResource is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.ListTagsForResourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsForResource(_a0 interface{}) *MockCloudWatchLogsAPI_ListTagsForResource_Call { + return &MockCloudWatchLogsAPI_ListTagsForResource_Call{Call: _e.mock.On("ListTagsForResource", _a0)} } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.FilterLogEventsInput, _a2 func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsForResource_Call) Run(run func(_a0 *cloudwatchlogs.ListTagsForResourceInput)) *MockCloudWatchLogsAPI_ListTagsForResource_Call { _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-3) - for i, a := range args[3:] { - if a != nil { - variadicArgs[i] = a.(request.Option) - } - } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.FilterLogEventsInput), args[2].(func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool), variadicArgs...) + run(args[0].(*cloudwatchlogs.ListTagsForResourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call { - _c.Call.Return(_a0) +func (_c *MockCloudWatchLogsAPI_ListTagsForResource_Call) Return(_a0 *cloudwatchlogs.ListTagsForResourceOutput, _a1 error) *MockCloudWatchLogsAPI_ListTagsForResource_Call { + _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.FilterLogEventsInput, func(*cloudwatchlogs.FilterLogEventsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_FilterLogEventsPagesWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsForResource_Call) RunAndReturn(run func(*cloudwatchlogs.ListTagsForResourceInput) (*cloudwatchlogs.ListTagsForResourceOutput, error)) *MockCloudWatchLogsAPI_ListTagsForResource_Call { _c.Call.Return(run) return _c } -// FilterLogEventsRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) FilterLogEventsRequest(_a0 *cloudwatchlogs.FilterLogEventsInput) (*request.Request, *cloudwatchlogs.FilterLogEventsOutput) { +// ListTagsForResourceRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) ListTagsForResourceRequest(_a0 *cloudwatchlogs.ListTagsForResourceInput) (*request.Request, *cloudwatchlogs.ListTagsForResourceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTagsForResourceRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.FilterLogEventsOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.FilterLogEventsInput) (*request.Request, *cloudwatchlogs.FilterLogEventsOutput)); ok { + var r1 *cloudwatchlogs.ListTagsForResourceOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsForResourceInput) (*request.Request, *cloudwatchlogs.ListTagsForResourceOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.FilterLogEventsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsForResourceInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -5388,47 +10832,47 @@ func (_m *MockCloudWatchLogsAPI) FilterLogEventsRequest(_a0 *cloudwatchlogs.Filt } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.FilterLogEventsInput) *cloudwatchlogs.FilterLogEventsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListTagsForResourceInput) *cloudwatchlogs.ListTagsForResourceOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.FilterLogEventsOutput) + r1 = ret.Get(1).(*cloudwatchlogs.ListTagsForResourceOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_FilterLogEventsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogEventsRequest' -type MockCloudWatchLogsAPI_FilterLogEventsRequest_Call struct { +// MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsForResourceRequest' +type MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call struct { *mock.Call } -// FilterLogEventsRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.FilterLogEventsInput -func (_e *MockCloudWatchLogsAPI_Expecter) FilterLogEventsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call { - return &MockCloudWatchLogsAPI_FilterLogEventsRequest_Call{Call: _e.mock.On("FilterLogEventsRequest", _a0)} +// ListTagsForResourceRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.ListTagsForResourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsForResourceRequest(_a0 interface{}) *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call { + return &MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call{Call: _e.mock.On("ListTagsForResourceRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call) Run(run func(_a0 *cloudwatchlogs.FilterLogEventsInput)) *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call) Run(run func(_a0 *cloudwatchlogs.ListTagsForResourceInput)) *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.FilterLogEventsInput)) + run(args[0].(*cloudwatchlogs.ListTagsForResourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.FilterLogEventsOutput) *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.ListTagsForResourceOutput) *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.FilterLogEventsInput) (*request.Request, *cloudwatchlogs.FilterLogEventsOutput)) *MockCloudWatchLogsAPI_FilterLogEventsRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call) RunAndReturn(run func(*cloudwatchlogs.ListTagsForResourceInput) (*request.Request, *cloudwatchlogs.ListTagsForResourceOutput)) *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call { _c.Call.Return(run) return _c } -// FilterLogEventsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) FilterLogEventsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.FilterLogEventsInput, _a2 ...request.Option) (*cloudwatchlogs.FilterLogEventsOutput, error) { +// ListTagsForResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) ListTagsForResourceWithContext(_a0 context.Context, _a1 *cloudwatchlogs.ListTagsForResourceInput, _a2 ...request.Option) (*cloudwatchlogs.ListTagsForResourceOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -5438,20 +10882,24 @@ func (_m *MockCloudWatchLogsAPI) FilterLogEventsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.FilterLogEventsOutput + if len(ret) == 0 { + panic("no return value specified for ListTagsForResourceWithContext") + } + + var r0 *cloudwatchlogs.ListTagsForResourceOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.FilterLogEventsInput, ...request.Option) (*cloudwatchlogs.FilterLogEventsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListTagsForResourceInput, ...request.Option) (*cloudwatchlogs.ListTagsForResourceOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.FilterLogEventsInput, ...request.Option) *cloudwatchlogs.FilterLogEventsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListTagsForResourceInput, ...request.Option) *cloudwatchlogs.ListTagsForResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.FilterLogEventsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.ListTagsForResourceOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.FilterLogEventsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.ListTagsForResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -5460,21 +10908,21 @@ func (_m *MockCloudWatchLogsAPI) FilterLogEventsWithContext(_a0 context.Context, return r0, r1 } -// MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogEventsWithContext' -type MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call struct { +// MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsForResourceWithContext' +type MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call struct { *mock.Call } -// FilterLogEventsWithContext is a helper method to define mock.On call +// ListTagsForResourceWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.FilterLogEventsInput +// - _a1 *cloudwatchlogs.ListTagsForResourceInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) FilterLogEventsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call { - return &MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call{Call: _e.mock.On("FilterLogEventsWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsForResourceWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call { + return &MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call{Call: _e.mock.On("ListTagsForResourceWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.FilterLogEventsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.ListTagsForResourceInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -5482,39 +10930,43 @@ func (_c *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call) Run(run func(_a variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.FilterLogEventsInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.ListTagsForResourceInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call) Return(_a0 *cloudwatchlogs.FilterLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call) Return(_a0 *cloudwatchlogs.ListTagsForResourceOutput, _a1 error) *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.FilterLogEventsInput, ...request.Option) (*cloudwatchlogs.FilterLogEventsOutput, error)) *MockCloudWatchLogsAPI_FilterLogEventsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.ListTagsForResourceInput, ...request.Option) (*cloudwatchlogs.ListTagsForResourceOutput, error)) *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call { _c.Call.Return(run) return _c } -// GetDataProtectionPolicy provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) GetDataProtectionPolicy(_a0 *cloudwatchlogs.GetDataProtectionPolicyInput) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error) { +// ListTagsLogGroup provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) ListTagsLogGroup(_a0 *cloudwatchlogs.ListTagsLogGroupInput) (*cloudwatchlogs.ListTagsLogGroupOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.GetDataProtectionPolicyOutput + if len(ret) == 0 { + panic("no return value specified for ListTagsLogGroup") + } + + var r0 *cloudwatchlogs.ListTagsLogGroupOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsLogGroupInput) (*cloudwatchlogs.ListTagsLogGroupOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) *cloudwatchlogs.GetDataProtectionPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsLogGroupInput) *cloudwatchlogs.ListTagsLogGroupOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.GetDataProtectionPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.ListTagsLogGroupOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListTagsLogGroupInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -5523,44 +10975,48 @@ func (_m *MockCloudWatchLogsAPI) GetDataProtectionPolicy(_a0 *cloudwatchlogs.Get return r0, r1 } -// MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataProtectionPolicy' -type MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call struct { +// MockCloudWatchLogsAPI_ListTagsLogGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsLogGroup' +type MockCloudWatchLogsAPI_ListTagsLogGroup_Call struct { *mock.Call } -// GetDataProtectionPolicy is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetDataProtectionPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) GetDataProtectionPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call { - return &MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call{Call: _e.mock.On("GetDataProtectionPolicy", _a0)} +// ListTagsLogGroup is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.ListTagsLogGroupInput +func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsLogGroup(_a0 interface{}) *MockCloudWatchLogsAPI_ListTagsLogGroup_Call { + return &MockCloudWatchLogsAPI_ListTagsLogGroup_Call{Call: _e.mock.On("ListTagsLogGroup", _a0)} } -func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call) Run(run func(_a0 *cloudwatchlogs.GetDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsLogGroup_Call) Run(run func(_a0 *cloudwatchlogs.ListTagsLogGroupInput)) *MockCloudWatchLogsAPI_ListTagsLogGroup_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetDataProtectionPolicyInput)) + run(args[0].(*cloudwatchlogs.ListTagsLogGroupInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call) Return(_a0 *cloudwatchlogs.GetDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsLogGroup_Call) Return(_a0 *cloudwatchlogs.ListTagsLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_ListTagsLogGroup_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.GetDataProtectionPolicyInput) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_GetDataProtectionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsLogGroup_Call) RunAndReturn(run func(*cloudwatchlogs.ListTagsLogGroupInput) (*cloudwatchlogs.ListTagsLogGroupOutput, error)) *MockCloudWatchLogsAPI_ListTagsLogGroup_Call { _c.Call.Return(run) return _c } -// GetDataProtectionPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) GetDataProtectionPolicyRequest(_a0 *cloudwatchlogs.GetDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.GetDataProtectionPolicyOutput) { +// ListTagsLogGroupRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) ListTagsLogGroupRequest(_a0 *cloudwatchlogs.ListTagsLogGroupInput) (*request.Request, *cloudwatchlogs.ListTagsLogGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTagsLogGroupRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.GetDataProtectionPolicyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.GetDataProtectionPolicyOutput)); ok { + var r1 *cloudwatchlogs.ListTagsLogGroupOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsLogGroupInput) (*request.Request, *cloudwatchlogs.ListTagsLogGroupOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsLogGroupInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -5568,47 +11024,47 @@ func (_m *MockCloudWatchLogsAPI) GetDataProtectionPolicyRequest(_a0 *cloudwatchl } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetDataProtectionPolicyInput) *cloudwatchlogs.GetDataProtectionPolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListTagsLogGroupInput) *cloudwatchlogs.ListTagsLogGroupOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.GetDataProtectionPolicyOutput) + r1 = ret.Get(1).(*cloudwatchlogs.ListTagsLogGroupOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataProtectionPolicyRequest' -type MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call struct { +// MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsLogGroupRequest' +type MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call struct { *mock.Call } -// GetDataProtectionPolicyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetDataProtectionPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) GetDataProtectionPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call { - return &MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call{Call: _e.mock.On("GetDataProtectionPolicyRequest", _a0)} +// ListTagsLogGroupRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.ListTagsLogGroupInput +func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsLogGroupRequest(_a0 interface{}) *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call { + return &MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call{Call: _e.mock.On("ListTagsLogGroupRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call) Run(run func(_a0 *cloudwatchlogs.ListTagsLogGroupInput)) *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetDataProtectionPolicyInput)) + run(args[0].(*cloudwatchlogs.ListTagsLogGroupInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetDataProtectionPolicyOutput) *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.ListTagsLogGroupOutput) *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.GetDataProtectionPolicyOutput)) *MockCloudWatchLogsAPI_GetDataProtectionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call) RunAndReturn(run func(*cloudwatchlogs.ListTagsLogGroupInput) (*request.Request, *cloudwatchlogs.ListTagsLogGroupOutput)) *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call { _c.Call.Return(run) return _c } -// GetDataProtectionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) GetDataProtectionPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetDataProtectionPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error) { +// ListTagsLogGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) ListTagsLogGroupWithContext(_a0 context.Context, _a1 *cloudwatchlogs.ListTagsLogGroupInput, _a2 ...request.Option) (*cloudwatchlogs.ListTagsLogGroupOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -5618,20 +11074,24 @@ func (_m *MockCloudWatchLogsAPI) GetDataProtectionPolicyWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.GetDataProtectionPolicyOutput + if len(ret) == 0 { + panic("no return value specified for ListTagsLogGroupWithContext") + } + + var r0 *cloudwatchlogs.ListTagsLogGroupOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListTagsLogGroupInput, ...request.Option) (*cloudwatchlogs.ListTagsLogGroupOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetDataProtectionPolicyInput, ...request.Option) *cloudwatchlogs.GetDataProtectionPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListTagsLogGroupInput, ...request.Option) *cloudwatchlogs.ListTagsLogGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.GetDataProtectionPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.ListTagsLogGroupOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetDataProtectionPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.ListTagsLogGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -5640,21 +11100,21 @@ func (_m *MockCloudWatchLogsAPI) GetDataProtectionPolicyWithContext(_a0 context. return r0, r1 } -// MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDataProtectionPolicyWithContext' -type MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call struct { +// MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsLogGroupWithContext' +type MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call struct { *mock.Call } -// GetDataProtectionPolicyWithContext is a helper method to define mock.On call +// ListTagsLogGroupWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.GetDataProtectionPolicyInput +// - _a1 *cloudwatchlogs.ListTagsLogGroupInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) GetDataProtectionPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call { - return &MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call{Call: _e.mock.On("GetDataProtectionPolicyWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsLogGroupWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call { + return &MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call{Call: _e.mock.On("ListTagsLogGroupWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetDataProtectionPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.ListTagsLogGroupInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -5662,39 +11122,43 @@ func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call) Run(run variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetDataProtectionPolicyInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.ListTagsLogGroupInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.GetDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call) Return(_a0 *cloudwatchlogs.ListTagsLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.GetDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_GetDataProtectionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.ListTagsLogGroupInput, ...request.Option) (*cloudwatchlogs.ListTagsLogGroupOutput, error)) *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call { _c.Call.Return(run) return _c } -// GetLogEvents provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) GetLogEvents(_a0 *cloudwatchlogs.GetLogEventsInput) (*cloudwatchlogs.GetLogEventsOutput, error) { +// PutAccountPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutAccountPolicy(_a0 *cloudwatchlogs.PutAccountPolicyInput) (*cloudwatchlogs.PutAccountPolicyOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.GetLogEventsOutput + if len(ret) == 0 { + panic("no return value specified for PutAccountPolicy") + } + + var r0 *cloudwatchlogs.PutAccountPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogEventsInput) (*cloudwatchlogs.GetLogEventsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutAccountPolicyInput) (*cloudwatchlogs.PutAccountPolicyOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogEventsInput) *cloudwatchlogs.GetLogEventsOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutAccountPolicyInput) *cloudwatchlogs.PutAccountPolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.GetLogEventsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutAccountPolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogEventsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutAccountPolicyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -5703,146 +11167,48 @@ func (_m *MockCloudWatchLogsAPI) GetLogEvents(_a0 *cloudwatchlogs.GetLogEventsIn return r0, r1 } -// MockCloudWatchLogsAPI_GetLogEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogEvents' -type MockCloudWatchLogsAPI_GetLogEvents_Call struct { +// MockCloudWatchLogsAPI_PutAccountPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutAccountPolicy' +type MockCloudWatchLogsAPI_PutAccountPolicy_Call struct { *mock.Call } -// GetLogEvents is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetLogEventsInput -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogEvents(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogEvents_Call { - return &MockCloudWatchLogsAPI_GetLogEvents_Call{Call: _e.mock.On("GetLogEvents", _a0)} +// PutAccountPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutAccountPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutAccountPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutAccountPolicy_Call { + return &MockCloudWatchLogsAPI_PutAccountPolicy_Call{Call: _e.mock.On("PutAccountPolicy", _a0)} } -func (_c *MockCloudWatchLogsAPI_GetLogEvents_Call) Run(run func(_a0 *cloudwatchlogs.GetLogEventsInput)) *MockCloudWatchLogsAPI_GetLogEvents_Call { +func (_c *MockCloudWatchLogsAPI_PutAccountPolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutAccountPolicyInput)) *MockCloudWatchLogsAPI_PutAccountPolicy_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetLogEventsInput)) + run(args[0].(*cloudwatchlogs.PutAccountPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogEvents_Call) Return(_a0 *cloudwatchlogs.GetLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogEvents_Call { +func (_c *MockCloudWatchLogsAPI_PutAccountPolicy_Call) Return(_a0 *cloudwatchlogs.PutAccountPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutAccountPolicy_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogEvents_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogEventsInput) (*cloudwatchlogs.GetLogEventsOutput, error)) *MockCloudWatchLogsAPI_GetLogEvents_Call { - _c.Call.Return(run) - return _c -} - -// GetLogEventsPages provides a mock function with given fields: _a0, _a1 -func (_m *MockCloudWatchLogsAPI) GetLogEventsPages(_a0 *cloudwatchlogs.GetLogEventsInput, _a1 func(*cloudwatchlogs.GetLogEventsOutput, bool) bool) error { - ret := _m.Called(_a0, _a1) - - var r0 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogEventsInput, func(*cloudwatchlogs.GetLogEventsOutput, bool) bool) error); ok { - r0 = rf(_a0, _a1) - } else { - r0 = ret.Error(0) - } - - return r0 -} - -// MockCloudWatchLogsAPI_GetLogEventsPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogEventsPages' -type MockCloudWatchLogsAPI_GetLogEventsPages_Call struct { - *mock.Call -} - -// GetLogEventsPages is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetLogEventsInput -// - _a1 func(*cloudwatchlogs.GetLogEventsOutput , bool) bool -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogEventsPages(_a0 interface{}, _a1 interface{}) *MockCloudWatchLogsAPI_GetLogEventsPages_Call { - return &MockCloudWatchLogsAPI_GetLogEventsPages_Call{Call: _e.mock.On("GetLogEventsPages", _a0, _a1)} -} - -func (_c *MockCloudWatchLogsAPI_GetLogEventsPages_Call) Run(run func(_a0 *cloudwatchlogs.GetLogEventsInput, _a1 func(*cloudwatchlogs.GetLogEventsOutput, bool) bool)) *MockCloudWatchLogsAPI_GetLogEventsPages_Call { - _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetLogEventsInput), args[1].(func(*cloudwatchlogs.GetLogEventsOutput, bool) bool)) - }) - return _c -} - -func (_c *MockCloudWatchLogsAPI_GetLogEventsPages_Call) Return(_a0 error) *MockCloudWatchLogsAPI_GetLogEventsPages_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockCloudWatchLogsAPI_GetLogEventsPages_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogEventsInput, func(*cloudwatchlogs.GetLogEventsOutput, bool) bool) error) *MockCloudWatchLogsAPI_GetLogEventsPages_Call { +func (_c *MockCloudWatchLogsAPI_PutAccountPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutAccountPolicyInput) (*cloudwatchlogs.PutAccountPolicyOutput, error)) *MockCloudWatchLogsAPI_PutAccountPolicy_Call { _c.Call.Return(run) return _c } -// GetLogEventsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *MockCloudWatchLogsAPI) GetLogEventsPagesWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetLogEventsInput, _a2 func(*cloudwatchlogs.GetLogEventsOutput, bool) bool, _a3 ...request.Option) error { - _va := make([]interface{}, len(_a3)) - for _i := range _a3 { - _va[_i] = _a3[_i] - } - var _ca []interface{} - _ca = append(_ca, _a0, _a1, _a2) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) +// PutAccountPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutAccountPolicyRequest(_a0 *cloudwatchlogs.PutAccountPolicyInput) (*request.Request, *cloudwatchlogs.PutAccountPolicyOutput) { + ret := _m.Called(_a0) - var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogEventsInput, func(*cloudwatchlogs.GetLogEventsOutput, bool) bool, ...request.Option) error); ok { - r0 = rf(_a0, _a1, _a2, _a3...) - } else { - r0 = ret.Error(0) + if len(ret) == 0 { + panic("no return value specified for PutAccountPolicyRequest") } - return r0 -} - -// MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogEventsPagesWithContext' -type MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call struct { - *mock.Call -} - -// GetLogEventsPagesWithContext is a helper method to define mock.On call -// - _a0 context.Context -// - _a1 *cloudwatchlogs.GetLogEventsInput -// - _a2 func(*cloudwatchlogs.GetLogEventsOutput , bool) bool -// - _a3 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogEventsPagesWithContext(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call { - return &MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call{Call: _e.mock.On("GetLogEventsPagesWithContext", - append([]interface{}{_a0, _a1, _a2}, _a3...)...)} -} - -func (_c *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetLogEventsInput, _a2 func(*cloudwatchlogs.GetLogEventsOutput, bool) bool, _a3 ...request.Option)) *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call { - _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-3) - for i, a := range args[3:] { - if a != nil { - variadicArgs[i] = a.(request.Option) - } - } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetLogEventsInput), args[2].(func(*cloudwatchlogs.GetLogEventsOutput, bool) bool), variadicArgs...) - }) - return _c -} - -func (_c *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call) Return(_a0 error) *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call { - _c.Call.Return(_a0) - return _c -} - -func (_c *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetLogEventsInput, func(*cloudwatchlogs.GetLogEventsOutput, bool) bool, ...request.Option) error) *MockCloudWatchLogsAPI_GetLogEventsPagesWithContext_Call { - _c.Call.Return(run) - return _c -} - -// GetLogEventsRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) GetLogEventsRequest(_a0 *cloudwatchlogs.GetLogEventsInput) (*request.Request, *cloudwatchlogs.GetLogEventsOutput) { - ret := _m.Called(_a0) - var r0 *request.Request - var r1 *cloudwatchlogs.GetLogEventsOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogEventsInput) (*request.Request, *cloudwatchlogs.GetLogEventsOutput)); ok { + var r1 *cloudwatchlogs.PutAccountPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutAccountPolicyInput) (*request.Request, *cloudwatchlogs.PutAccountPolicyOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogEventsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutAccountPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -5850,47 +11216,47 @@ func (_m *MockCloudWatchLogsAPI) GetLogEventsRequest(_a0 *cloudwatchlogs.GetLogE } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogEventsInput) *cloudwatchlogs.GetLogEventsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutAccountPolicyInput) *cloudwatchlogs.PutAccountPolicyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.GetLogEventsOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutAccountPolicyOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_GetLogEventsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogEventsRequest' -type MockCloudWatchLogsAPI_GetLogEventsRequest_Call struct { +// MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutAccountPolicyRequest' +type MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call struct { *mock.Call } -// GetLogEventsRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetLogEventsInput -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogEventsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogEventsRequest_Call { - return &MockCloudWatchLogsAPI_GetLogEventsRequest_Call{Call: _e.mock.On("GetLogEventsRequest", _a0)} +// PutAccountPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutAccountPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutAccountPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call { + return &MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call{Call: _e.mock.On("PutAccountPolicyRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_GetLogEventsRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetLogEventsInput)) *MockCloudWatchLogsAPI_GetLogEventsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutAccountPolicyInput)) *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetLogEventsInput)) + run(args[0].(*cloudwatchlogs.PutAccountPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogEventsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetLogEventsOutput) *MockCloudWatchLogsAPI_GetLogEventsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutAccountPolicyOutput) *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogEventsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogEventsInput) (*request.Request, *cloudwatchlogs.GetLogEventsOutput)) *MockCloudWatchLogsAPI_GetLogEventsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutAccountPolicyInput) (*request.Request, *cloudwatchlogs.PutAccountPolicyOutput)) *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call { _c.Call.Return(run) return _c } -// GetLogEventsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) GetLogEventsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetLogEventsInput, _a2 ...request.Option) (*cloudwatchlogs.GetLogEventsOutput, error) { +// PutAccountPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutAccountPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutAccountPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutAccountPolicyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -5900,20 +11266,24 @@ func (_m *MockCloudWatchLogsAPI) GetLogEventsWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.GetLogEventsOutput + if len(ret) == 0 { + panic("no return value specified for PutAccountPolicyWithContext") + } + + var r0 *cloudwatchlogs.PutAccountPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogEventsInput, ...request.Option) (*cloudwatchlogs.GetLogEventsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutAccountPolicyInput, ...request.Option) (*cloudwatchlogs.PutAccountPolicyOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogEventsInput, ...request.Option) *cloudwatchlogs.GetLogEventsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutAccountPolicyInput, ...request.Option) *cloudwatchlogs.PutAccountPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.GetLogEventsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutAccountPolicyOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetLogEventsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutAccountPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -5922,21 +11292,21 @@ func (_m *MockCloudWatchLogsAPI) GetLogEventsWithContext(_a0 context.Context, _a return r0, r1 } -// MockCloudWatchLogsAPI_GetLogEventsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogEventsWithContext' -type MockCloudWatchLogsAPI_GetLogEventsWithContext_Call struct { +// MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutAccountPolicyWithContext' +type MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call struct { *mock.Call } -// GetLogEventsWithContext is a helper method to define mock.On call +// PutAccountPolicyWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.GetLogEventsInput +// - _a1 *cloudwatchlogs.PutAccountPolicyInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogEventsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call { - return &MockCloudWatchLogsAPI_GetLogEventsWithContext_Call{Call: _e.mock.On("GetLogEventsWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) PutAccountPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call{Call: _e.mock.On("PutAccountPolicyWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetLogEventsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutAccountPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -5944,39 +11314,43 @@ func (_c *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call) Run(run func(_a0 c variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetLogEventsInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutAccountPolicyInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call) Return(_a0 *cloudwatchlogs.GetLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutAccountPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetLogEventsInput, ...request.Option) (*cloudwatchlogs.GetLogEventsOutput, error)) *MockCloudWatchLogsAPI_GetLogEventsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutAccountPolicyInput, ...request.Option) (*cloudwatchlogs.PutAccountPolicyOutput, error)) *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call { _c.Call.Return(run) return _c } -// GetLogGroupFields provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) GetLogGroupFields(_a0 *cloudwatchlogs.GetLogGroupFieldsInput) (*cloudwatchlogs.GetLogGroupFieldsOutput, error) { +// PutDataProtectionPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDataProtectionPolicy(_a0 *cloudwatchlogs.PutDataProtectionPolicyInput) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.GetLogGroupFieldsOutput + if len(ret) == 0 { + panic("no return value specified for PutDataProtectionPolicy") + } + + var r0 *cloudwatchlogs.PutDataProtectionPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogGroupFieldsInput) (*cloudwatchlogs.GetLogGroupFieldsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogGroupFieldsInput) *cloudwatchlogs.GetLogGroupFieldsOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) *cloudwatchlogs.PutDataProtectionPolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.GetLogGroupFieldsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutDataProtectionPolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogGroupFieldsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -5985,44 +11359,48 @@ func (_m *MockCloudWatchLogsAPI) GetLogGroupFields(_a0 *cloudwatchlogs.GetLogGro return r0, r1 } -// MockCloudWatchLogsAPI_GetLogGroupFields_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogGroupFields' -type MockCloudWatchLogsAPI_GetLogGroupFields_Call struct { +// MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDataProtectionPolicy' +type MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call struct { *mock.Call } -// GetLogGroupFields is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetLogGroupFieldsInput -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogGroupFields(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogGroupFields_Call { - return &MockCloudWatchLogsAPI_GetLogGroupFields_Call{Call: _e.mock.On("GetLogGroupFields", _a0)} +// PutDataProtectionPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDataProtectionPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDataProtectionPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call { + return &MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call{Call: _e.mock.On("PutDataProtectionPolicy", _a0)} } -func (_c *MockCloudWatchLogsAPI_GetLogGroupFields_Call) Run(run func(_a0 *cloudwatchlogs.GetLogGroupFieldsInput)) *MockCloudWatchLogsAPI_GetLogGroupFields_Call { +func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetLogGroupFieldsInput)) + run(args[0].(*cloudwatchlogs.PutDataProtectionPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogGroupFields_Call) Return(_a0 *cloudwatchlogs.GetLogGroupFieldsOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogGroupFields_Call { +func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call) Return(_a0 *cloudwatchlogs.PutDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogGroupFields_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogGroupFieldsInput) (*cloudwatchlogs.GetLogGroupFieldsOutput, error)) *MockCloudWatchLogsAPI_GetLogGroupFields_Call { +func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutDataProtectionPolicyInput) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call { _c.Call.Return(run) return _c } -// GetLogGroupFieldsRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) GetLogGroupFieldsRequest(_a0 *cloudwatchlogs.GetLogGroupFieldsInput) (*request.Request, *cloudwatchlogs.GetLogGroupFieldsOutput) { +// PutDataProtectionPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDataProtectionPolicyRequest(_a0 *cloudwatchlogs.PutDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.PutDataProtectionPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutDataProtectionPolicyRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.GetLogGroupFieldsOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogGroupFieldsInput) (*request.Request, *cloudwatchlogs.GetLogGroupFieldsOutput)); ok { + var r1 *cloudwatchlogs.PutDataProtectionPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.PutDataProtectionPolicyOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogGroupFieldsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -6030,47 +11408,47 @@ func (_m *MockCloudWatchLogsAPI) GetLogGroupFieldsRequest(_a0 *cloudwatchlogs.Ge } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogGroupFieldsInput) *cloudwatchlogs.GetLogGroupFieldsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) *cloudwatchlogs.PutDataProtectionPolicyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.GetLogGroupFieldsOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutDataProtectionPolicyOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogGroupFieldsRequest' -type MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call struct { +// MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDataProtectionPolicyRequest' +type MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call struct { *mock.Call } -// GetLogGroupFieldsRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetLogGroupFieldsInput -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogGroupFieldsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call { - return &MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call{Call: _e.mock.On("GetLogGroupFieldsRequest", _a0)} +// PutDataProtectionPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDataProtectionPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDataProtectionPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call { + return &MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call{Call: _e.mock.On("PutDataProtectionPolicyRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetLogGroupFieldsInput)) *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetLogGroupFieldsInput)) + run(args[0].(*cloudwatchlogs.PutDataProtectionPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetLogGroupFieldsOutput) *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutDataProtectionPolicyOutput) *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogGroupFieldsInput) (*request.Request, *cloudwatchlogs.GetLogGroupFieldsOutput)) *MockCloudWatchLogsAPI_GetLogGroupFieldsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.PutDataProtectionPolicyOutput)) *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call { _c.Call.Return(run) return _c } -// GetLogGroupFieldsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) GetLogGroupFieldsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetLogGroupFieldsInput, _a2 ...request.Option) (*cloudwatchlogs.GetLogGroupFieldsOutput, error) { +// PutDataProtectionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutDataProtectionPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutDataProtectionPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -6080,20 +11458,24 @@ func (_m *MockCloudWatchLogsAPI) GetLogGroupFieldsWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.GetLogGroupFieldsOutput + if len(ret) == 0 { + panic("no return value specified for PutDataProtectionPolicyWithContext") + } + + var r0 *cloudwatchlogs.PutDataProtectionPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogGroupFieldsInput, ...request.Option) (*cloudwatchlogs.GetLogGroupFieldsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogGroupFieldsInput, ...request.Option) *cloudwatchlogs.GetLogGroupFieldsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDataProtectionPolicyInput, ...request.Option) *cloudwatchlogs.PutDataProtectionPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.GetLogGroupFieldsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutDataProtectionPolicyOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetLogGroupFieldsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutDataProtectionPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -6102,21 +11484,21 @@ func (_m *MockCloudWatchLogsAPI) GetLogGroupFieldsWithContext(_a0 context.Contex return r0, r1 } -// MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogGroupFieldsWithContext' -type MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call struct { +// MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDataProtectionPolicyWithContext' +type MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call struct { *mock.Call } -// GetLogGroupFieldsWithContext is a helper method to define mock.On call +// PutDataProtectionPolicyWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.GetLogGroupFieldsInput +// - _a1 *cloudwatchlogs.PutDataProtectionPolicyInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogGroupFieldsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call { - return &MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call{Call: _e.mock.On("GetLogGroupFieldsWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) PutDataProtectionPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call{Call: _e.mock.On("PutDataProtectionPolicyWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetLogGroupFieldsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutDataProtectionPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -6124,39 +11506,43 @@ func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call) Run(run func( variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetLogGroupFieldsInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutDataProtectionPolicyInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call) Return(_a0 *cloudwatchlogs.GetLogGroupFieldsOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetLogGroupFieldsInput, ...request.Option) (*cloudwatchlogs.GetLogGroupFieldsOutput, error)) *MockCloudWatchLogsAPI_GetLogGroupFieldsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call { _c.Call.Return(run) return _c } -// GetLogRecord provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) GetLogRecord(_a0 *cloudwatchlogs.GetLogRecordInput) (*cloudwatchlogs.GetLogRecordOutput, error) { +// PutDeliveryDestination provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDeliveryDestination(_a0 *cloudwatchlogs.PutDeliveryDestinationInput) (*cloudwatchlogs.PutDeliveryDestinationOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.GetLogRecordOutput + if len(ret) == 0 { + panic("no return value specified for PutDeliveryDestination") + } + + var r0 *cloudwatchlogs.PutDeliveryDestinationOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogRecordInput) (*cloudwatchlogs.GetLogRecordOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliveryDestinationInput) (*cloudwatchlogs.PutDeliveryDestinationOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogRecordInput) *cloudwatchlogs.GetLogRecordOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliveryDestinationInput) *cloudwatchlogs.PutDeliveryDestinationOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.GetLogRecordOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutDeliveryDestinationOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogRecordInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDeliveryDestinationInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -6165,179 +11551,182 @@ func (_m *MockCloudWatchLogsAPI) GetLogRecord(_a0 *cloudwatchlogs.GetLogRecordIn return r0, r1 } -// MockCloudWatchLogsAPI_GetLogRecord_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogRecord' -type MockCloudWatchLogsAPI_GetLogRecord_Call struct { +// MockCloudWatchLogsAPI_PutDeliveryDestination_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDeliveryDestination' +type MockCloudWatchLogsAPI_PutDeliveryDestination_Call struct { *mock.Call } -// GetLogRecord is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetLogRecordInput -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogRecord(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogRecord_Call { - return &MockCloudWatchLogsAPI_GetLogRecord_Call{Call: _e.mock.On("GetLogRecord", _a0)} +// PutDeliveryDestination is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDeliveryDestinationInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDeliveryDestination(_a0 interface{}) *MockCloudWatchLogsAPI_PutDeliveryDestination_Call { + return &MockCloudWatchLogsAPI_PutDeliveryDestination_Call{Call: _e.mock.On("PutDeliveryDestination", _a0)} } -func (_c *MockCloudWatchLogsAPI_GetLogRecord_Call) Run(run func(_a0 *cloudwatchlogs.GetLogRecordInput)) *MockCloudWatchLogsAPI_GetLogRecord_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestination_Call) Run(run func(_a0 *cloudwatchlogs.PutDeliveryDestinationInput)) *MockCloudWatchLogsAPI_PutDeliveryDestination_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetLogRecordInput)) + run(args[0].(*cloudwatchlogs.PutDeliveryDestinationInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogRecord_Call) Return(_a0 *cloudwatchlogs.GetLogRecordOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogRecord_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestination_Call) Return(_a0 *cloudwatchlogs.PutDeliveryDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_PutDeliveryDestination_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogRecord_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogRecordInput) (*cloudwatchlogs.GetLogRecordOutput, error)) *MockCloudWatchLogsAPI_GetLogRecord_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestination_Call) RunAndReturn(run func(*cloudwatchlogs.PutDeliveryDestinationInput) (*cloudwatchlogs.PutDeliveryDestinationOutput, error)) *MockCloudWatchLogsAPI_PutDeliveryDestination_Call { _c.Call.Return(run) return _c } -// GetLogRecordRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) GetLogRecordRequest(_a0 *cloudwatchlogs.GetLogRecordInput) (*request.Request, *cloudwatchlogs.GetLogRecordOutput) { +// PutDeliveryDestinationPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDeliveryDestinationPolicy(_a0 *cloudwatchlogs.PutDeliveryDestinationPolicyInput) (*cloudwatchlogs.PutDeliveryDestinationPolicyOutput, error) { ret := _m.Called(_a0) - var r0 *request.Request - var r1 *cloudwatchlogs.GetLogRecordOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogRecordInput) (*request.Request, *cloudwatchlogs.GetLogRecordOutput)); ok { + if len(ret) == 0 { + panic("no return value specified for PutDeliveryDestinationPolicy") + } + + var r0 *cloudwatchlogs.PutDeliveryDestinationPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliveryDestinationPolicyInput) (*cloudwatchlogs.PutDeliveryDestinationPolicyOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetLogRecordInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliveryDestinationPolicyInput) *cloudwatchlogs.PutDeliveryDestinationPolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) + r0 = ret.Get(0).(*cloudwatchlogs.PutDeliveryDestinationPolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetLogRecordInput) *cloudwatchlogs.GetLogRecordOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDeliveryDestinationPolicyInput) error); ok { r1 = rf(_a0) } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.GetLogRecordOutput) - } + r1 = ret.Error(1) } return r0, r1 } -// MockCloudWatchLogsAPI_GetLogRecordRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogRecordRequest' -type MockCloudWatchLogsAPI_GetLogRecordRequest_Call struct { +// MockCloudWatchLogsAPI_PutDeliveryDestinationPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDeliveryDestinationPolicy' +type MockCloudWatchLogsAPI_PutDeliveryDestinationPolicy_Call struct { *mock.Call } -// GetLogRecordRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetLogRecordInput -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogRecordRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetLogRecordRequest_Call { - return &MockCloudWatchLogsAPI_GetLogRecordRequest_Call{Call: _e.mock.On("GetLogRecordRequest", _a0)} +// PutDeliveryDestinationPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDeliveryDestinationPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDeliveryDestinationPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicy_Call { + return &MockCloudWatchLogsAPI_PutDeliveryDestinationPolicy_Call{Call: _e.mock.On("PutDeliveryDestinationPolicy", _a0)} } -func (_c *MockCloudWatchLogsAPI_GetLogRecordRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetLogRecordInput)) *MockCloudWatchLogsAPI_GetLogRecordRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutDeliveryDestinationPolicyInput)) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicy_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetLogRecordInput)) + run(args[0].(*cloudwatchlogs.PutDeliveryDestinationPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogRecordRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetLogRecordOutput) *MockCloudWatchLogsAPI_GetLogRecordRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicy_Call) Return(_a0 *cloudwatchlogs.PutDeliveryDestinationPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicy_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogRecordRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetLogRecordInput) (*request.Request, *cloudwatchlogs.GetLogRecordOutput)) *MockCloudWatchLogsAPI_GetLogRecordRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutDeliveryDestinationPolicyInput) (*cloudwatchlogs.PutDeliveryDestinationPolicyOutput, error)) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicy_Call { _c.Call.Return(run) return _c } -// GetLogRecordWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) GetLogRecordWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetLogRecordInput, _a2 ...request.Option) (*cloudwatchlogs.GetLogRecordOutput, error) { - _va := make([]interface{}, len(_a2)) - for _i := range _a2 { - _va[_i] = _a2[_i] +// PutDeliveryDestinationPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDeliveryDestinationPolicyRequest(_a0 *cloudwatchlogs.PutDeliveryDestinationPolicyInput) (*request.Request, *cloudwatchlogs.PutDeliveryDestinationPolicyOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for PutDeliveryDestinationPolicyRequest") } - var _ca []interface{} - _ca = append(_ca, _a0, _a1) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.GetLogRecordOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogRecordInput, ...request.Option) (*cloudwatchlogs.GetLogRecordOutput, error)); ok { - return rf(_a0, _a1, _a2...) + var r0 *request.Request + var r1 *cloudwatchlogs.PutDeliveryDestinationPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliveryDestinationPolicyInput) (*request.Request, *cloudwatchlogs.PutDeliveryDestinationPolicyOutput)); ok { + return rf(_a0) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetLogRecordInput, ...request.Option) *cloudwatchlogs.GetLogRecordOutput); ok { - r0 = rf(_a0, _a1, _a2...) + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliveryDestinationPolicyInput) *request.Request); ok { + r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.GetLogRecordOutput) + r0 = ret.Get(0).(*request.Request) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetLogRecordInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDeliveryDestinationPolicyInput) *cloudwatchlogs.PutDeliveryDestinationPolicyOutput); ok { + r1 = rf(_a0) } else { - r1 = ret.Error(1) + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.PutDeliveryDestinationPolicyOutput) + } } return r0, r1 } -// MockCloudWatchLogsAPI_GetLogRecordWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogRecordWithContext' -type MockCloudWatchLogsAPI_GetLogRecordWithContext_Call struct { +// MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDeliveryDestinationPolicyRequest' +type MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyRequest_Call struct { *mock.Call } -// GetLogRecordWithContext is a helper method to define mock.On call -// - _a0 context.Context -// - _a1 *cloudwatchlogs.GetLogRecordInput -// - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) GetLogRecordWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call { - return &MockCloudWatchLogsAPI_GetLogRecordWithContext_Call{Call: _e.mock.On("GetLogRecordWithContext", - append([]interface{}{_a0, _a1}, _a2...)...)} +// PutDeliveryDestinationPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDeliveryDestinationPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDeliveryDestinationPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyRequest_Call { + return &MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyRequest_Call{Call: _e.mock.On("PutDeliveryDestinationPolicyRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetLogRecordInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutDeliveryDestinationPolicyInput)) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyRequest_Call { _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-2) - for i, a := range args[2:] { - if a != nil { - variadicArgs[i] = a.(request.Option) - } - } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetLogRecordInput), variadicArgs...) + run(args[0].(*cloudwatchlogs.PutDeliveryDestinationPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call) Return(_a0 *cloudwatchlogs.GetLogRecordOutput, _a1 error) *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutDeliveryDestinationPolicyOutput) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetLogRecordInput, ...request.Option) (*cloudwatchlogs.GetLogRecordOutput, error)) *MockCloudWatchLogsAPI_GetLogRecordWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutDeliveryDestinationPolicyInput) (*request.Request, *cloudwatchlogs.PutDeliveryDestinationPolicyOutput)) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyRequest_Call { _c.Call.Return(run) return _c } -// GetQueryResults provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) GetQueryResults(_a0 *cloudwatchlogs.GetQueryResultsInput) (*cloudwatchlogs.GetQueryResultsOutput, error) { - ret := _m.Called(_a0) +// PutDeliveryDestinationPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutDeliveryDestinationPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutDeliveryDestinationPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutDeliveryDestinationPolicyOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.GetQueryResultsOutput + if len(ret) == 0 { + panic("no return value specified for PutDeliveryDestinationPolicyWithContext") + } + + var r0 *cloudwatchlogs.PutDeliveryDestinationPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetQueryResultsInput) (*cloudwatchlogs.GetQueryResultsOutput, error)); ok { - return rf(_a0) + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDeliveryDestinationPolicyInput, ...request.Option) (*cloudwatchlogs.PutDeliveryDestinationPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetQueryResultsInput) *cloudwatchlogs.GetQueryResultsOutput); ok { - r0 = rf(_a0) + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDeliveryDestinationPolicyInput, ...request.Option) *cloudwatchlogs.PutDeliveryDestinationPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.GetQueryResultsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutDeliveryDestinationPolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetQueryResultsInput) error); ok { - r1 = rf(_a0) + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutDeliveryDestinationPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) } @@ -6345,44 +11734,57 @@ func (_m *MockCloudWatchLogsAPI) GetQueryResults(_a0 *cloudwatchlogs.GetQueryRes return r0, r1 } -// MockCloudWatchLogsAPI_GetQueryResults_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetQueryResults' -type MockCloudWatchLogsAPI_GetQueryResults_Call struct { +// MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDeliveryDestinationPolicyWithContext' +type MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyWithContext_Call struct { *mock.Call } -// GetQueryResults is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetQueryResultsInput -func (_e *MockCloudWatchLogsAPI_Expecter) GetQueryResults(_a0 interface{}) *MockCloudWatchLogsAPI_GetQueryResults_Call { - return &MockCloudWatchLogsAPI_GetQueryResults_Call{Call: _e.mock.On("GetQueryResults", _a0)} +// PutDeliveryDestinationPolicyWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.PutDeliveryDestinationPolicyInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) PutDeliveryDestinationPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyWithContext_Call{Call: _e.mock.On("PutDeliveryDestinationPolicyWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_GetQueryResults_Call) Run(run func(_a0 *cloudwatchlogs.GetQueryResultsInput)) *MockCloudWatchLogsAPI_GetQueryResults_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutDeliveryDestinationPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyWithContext_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetQueryResultsInput)) + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutDeliveryDestinationPolicyInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetQueryResults_Call) Return(_a0 *cloudwatchlogs.GetQueryResultsOutput, _a1 error) *MockCloudWatchLogsAPI_GetQueryResults_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutDeliveryDestinationPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetQueryResults_Call) RunAndReturn(run func(*cloudwatchlogs.GetQueryResultsInput) (*cloudwatchlogs.GetQueryResultsOutput, error)) *MockCloudWatchLogsAPI_GetQueryResults_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutDeliveryDestinationPolicyInput, ...request.Option) (*cloudwatchlogs.PutDeliveryDestinationPolicyOutput, error)) *MockCloudWatchLogsAPI_PutDeliveryDestinationPolicyWithContext_Call { _c.Call.Return(run) return _c } -// GetQueryResultsRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) GetQueryResultsRequest(_a0 *cloudwatchlogs.GetQueryResultsInput) (*request.Request, *cloudwatchlogs.GetQueryResultsOutput) { +// PutDeliveryDestinationRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDeliveryDestinationRequest(_a0 *cloudwatchlogs.PutDeliveryDestinationInput) (*request.Request, *cloudwatchlogs.PutDeliveryDestinationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutDeliveryDestinationRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.GetQueryResultsOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetQueryResultsInput) (*request.Request, *cloudwatchlogs.GetQueryResultsOutput)); ok { + var r1 *cloudwatchlogs.PutDeliveryDestinationOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliveryDestinationInput) (*request.Request, *cloudwatchlogs.PutDeliveryDestinationOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.GetQueryResultsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliveryDestinationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -6390,47 +11792,47 @@ func (_m *MockCloudWatchLogsAPI) GetQueryResultsRequest(_a0 *cloudwatchlogs.GetQ } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.GetQueryResultsInput) *cloudwatchlogs.GetQueryResultsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDeliveryDestinationInput) *cloudwatchlogs.PutDeliveryDestinationOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.GetQueryResultsOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutDeliveryDestinationOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_GetQueryResultsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetQueryResultsRequest' -type MockCloudWatchLogsAPI_GetQueryResultsRequest_Call struct { +// MockCloudWatchLogsAPI_PutDeliveryDestinationRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDeliveryDestinationRequest' +type MockCloudWatchLogsAPI_PutDeliveryDestinationRequest_Call struct { *mock.Call } -// GetQueryResultsRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.GetQueryResultsInput -func (_e *MockCloudWatchLogsAPI_Expecter) GetQueryResultsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call { - return &MockCloudWatchLogsAPI_GetQueryResultsRequest_Call{Call: _e.mock.On("GetQueryResultsRequest", _a0)} +// PutDeliveryDestinationRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDeliveryDestinationInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDeliveryDestinationRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutDeliveryDestinationRequest_Call { + return &MockCloudWatchLogsAPI_PutDeliveryDestinationRequest_Call{Call: _e.mock.On("PutDeliveryDestinationRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call) Run(run func(_a0 *cloudwatchlogs.GetQueryResultsInput)) *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutDeliveryDestinationInput)) *MockCloudWatchLogsAPI_PutDeliveryDestinationRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.GetQueryResultsInput)) + run(args[0].(*cloudwatchlogs.PutDeliveryDestinationInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.GetQueryResultsOutput) *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutDeliveryDestinationOutput) *MockCloudWatchLogsAPI_PutDeliveryDestinationRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.GetQueryResultsInput) (*request.Request, *cloudwatchlogs.GetQueryResultsOutput)) *MockCloudWatchLogsAPI_GetQueryResultsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutDeliveryDestinationInput) (*request.Request, *cloudwatchlogs.PutDeliveryDestinationOutput)) *MockCloudWatchLogsAPI_PutDeliveryDestinationRequest_Call { _c.Call.Return(run) return _c } -// GetQueryResultsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) GetQueryResultsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.GetQueryResultsInput, _a2 ...request.Option) (*cloudwatchlogs.GetQueryResultsOutput, error) { +// PutDeliveryDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutDeliveryDestinationWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutDeliveryDestinationInput, _a2 ...request.Option) (*cloudwatchlogs.PutDeliveryDestinationOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -6440,20 +11842,24 @@ func (_m *MockCloudWatchLogsAPI) GetQueryResultsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.GetQueryResultsOutput + if len(ret) == 0 { + panic("no return value specified for PutDeliveryDestinationWithContext") + } + + var r0 *cloudwatchlogs.PutDeliveryDestinationOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetQueryResultsInput, ...request.Option) (*cloudwatchlogs.GetQueryResultsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDeliveryDestinationInput, ...request.Option) (*cloudwatchlogs.PutDeliveryDestinationOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.GetQueryResultsInput, ...request.Option) *cloudwatchlogs.GetQueryResultsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDeliveryDestinationInput, ...request.Option) *cloudwatchlogs.PutDeliveryDestinationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.GetQueryResultsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutDeliveryDestinationOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.GetQueryResultsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutDeliveryDestinationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -6462,21 +11868,21 @@ func (_m *MockCloudWatchLogsAPI) GetQueryResultsWithContext(_a0 context.Context, return r0, r1 } -// MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetQueryResultsWithContext' -type MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call struct { +// MockCloudWatchLogsAPI_PutDeliveryDestinationWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDeliveryDestinationWithContext' +type MockCloudWatchLogsAPI_PutDeliveryDestinationWithContext_Call struct { *mock.Call } -// GetQueryResultsWithContext is a helper method to define mock.On call +// PutDeliveryDestinationWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.GetQueryResultsInput +// - _a1 *cloudwatchlogs.PutDeliveryDestinationInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) GetQueryResultsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call { - return &MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call{Call: _e.mock.On("GetQueryResultsWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) PutDeliveryDestinationWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutDeliveryDestinationWithContext_Call { + return &MockCloudWatchLogsAPI_PutDeliveryDestinationWithContext_Call{Call: _e.mock.On("PutDeliveryDestinationWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.GetQueryResultsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutDeliveryDestinationInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutDeliveryDestinationWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -6484,39 +11890,43 @@ func (_c *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call) Run(run func(_a variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.GetQueryResultsInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutDeliveryDestinationInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call) Return(_a0 *cloudwatchlogs.GetQueryResultsOutput, _a1 error) *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationWithContext_Call) Return(_a0 *cloudwatchlogs.PutDeliveryDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_PutDeliveryDestinationWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.GetQueryResultsInput, ...request.Option) (*cloudwatchlogs.GetQueryResultsOutput, error)) *MockCloudWatchLogsAPI_GetQueryResultsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliveryDestinationWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutDeliveryDestinationInput, ...request.Option) (*cloudwatchlogs.PutDeliveryDestinationOutput, error)) *MockCloudWatchLogsAPI_PutDeliveryDestinationWithContext_Call { _c.Call.Return(run) return _c } -// ListTagsForResource provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) ListTagsForResource(_a0 *cloudwatchlogs.ListTagsForResourceInput) (*cloudwatchlogs.ListTagsForResourceOutput, error) { +// PutDeliverySource provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDeliverySource(_a0 *cloudwatchlogs.PutDeliverySourceInput) (*cloudwatchlogs.PutDeliverySourceOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.ListTagsForResourceOutput + if len(ret) == 0 { + panic("no return value specified for PutDeliverySource") + } + + var r0 *cloudwatchlogs.PutDeliverySourceOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsForResourceInput) (*cloudwatchlogs.ListTagsForResourceOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliverySourceInput) (*cloudwatchlogs.PutDeliverySourceOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsForResourceInput) *cloudwatchlogs.ListTagsForResourceOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliverySourceInput) *cloudwatchlogs.PutDeliverySourceOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.ListTagsForResourceOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutDeliverySourceOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListTagsForResourceInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDeliverySourceInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -6525,44 +11935,48 @@ func (_m *MockCloudWatchLogsAPI) ListTagsForResource(_a0 *cloudwatchlogs.ListTag return r0, r1 } -// MockCloudWatchLogsAPI_ListTagsForResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsForResource' -type MockCloudWatchLogsAPI_ListTagsForResource_Call struct { +// MockCloudWatchLogsAPI_PutDeliverySource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDeliverySource' +type MockCloudWatchLogsAPI_PutDeliverySource_Call struct { *mock.Call } -// ListTagsForResource is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.ListTagsForResourceInput -func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsForResource(_a0 interface{}) *MockCloudWatchLogsAPI_ListTagsForResource_Call { - return &MockCloudWatchLogsAPI_ListTagsForResource_Call{Call: _e.mock.On("ListTagsForResource", _a0)} +// PutDeliverySource is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDeliverySourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDeliverySource(_a0 interface{}) *MockCloudWatchLogsAPI_PutDeliverySource_Call { + return &MockCloudWatchLogsAPI_PutDeliverySource_Call{Call: _e.mock.On("PutDeliverySource", _a0)} } -func (_c *MockCloudWatchLogsAPI_ListTagsForResource_Call) Run(run func(_a0 *cloudwatchlogs.ListTagsForResourceInput)) *MockCloudWatchLogsAPI_ListTagsForResource_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliverySource_Call) Run(run func(_a0 *cloudwatchlogs.PutDeliverySourceInput)) *MockCloudWatchLogsAPI_PutDeliverySource_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.ListTagsForResourceInput)) + run(args[0].(*cloudwatchlogs.PutDeliverySourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsForResource_Call) Return(_a0 *cloudwatchlogs.ListTagsForResourceOutput, _a1 error) *MockCloudWatchLogsAPI_ListTagsForResource_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliverySource_Call) Return(_a0 *cloudwatchlogs.PutDeliverySourceOutput, _a1 error) *MockCloudWatchLogsAPI_PutDeliverySource_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsForResource_Call) RunAndReturn(run func(*cloudwatchlogs.ListTagsForResourceInput) (*cloudwatchlogs.ListTagsForResourceOutput, error)) *MockCloudWatchLogsAPI_ListTagsForResource_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliverySource_Call) RunAndReturn(run func(*cloudwatchlogs.PutDeliverySourceInput) (*cloudwatchlogs.PutDeliverySourceOutput, error)) *MockCloudWatchLogsAPI_PutDeliverySource_Call { _c.Call.Return(run) return _c } -// ListTagsForResourceRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) ListTagsForResourceRequest(_a0 *cloudwatchlogs.ListTagsForResourceInput) (*request.Request, *cloudwatchlogs.ListTagsForResourceOutput) { +// PutDeliverySourceRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDeliverySourceRequest(_a0 *cloudwatchlogs.PutDeliverySourceInput) (*request.Request, *cloudwatchlogs.PutDeliverySourceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutDeliverySourceRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.ListTagsForResourceOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsForResourceInput) (*request.Request, *cloudwatchlogs.ListTagsForResourceOutput)); ok { + var r1 *cloudwatchlogs.PutDeliverySourceOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliverySourceInput) (*request.Request, *cloudwatchlogs.PutDeliverySourceOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsForResourceInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDeliverySourceInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -6570,47 +11984,47 @@ func (_m *MockCloudWatchLogsAPI) ListTagsForResourceRequest(_a0 *cloudwatchlogs. } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListTagsForResourceInput) *cloudwatchlogs.ListTagsForResourceOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDeliverySourceInput) *cloudwatchlogs.PutDeliverySourceOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.ListTagsForResourceOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutDeliverySourceOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsForResourceRequest' -type MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call struct { +// MockCloudWatchLogsAPI_PutDeliverySourceRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDeliverySourceRequest' +type MockCloudWatchLogsAPI_PutDeliverySourceRequest_Call struct { *mock.Call } -// ListTagsForResourceRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.ListTagsForResourceInput -func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsForResourceRequest(_a0 interface{}) *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call { - return &MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call{Call: _e.mock.On("ListTagsForResourceRequest", _a0)} +// PutDeliverySourceRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDeliverySourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDeliverySourceRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutDeliverySourceRequest_Call { + return &MockCloudWatchLogsAPI_PutDeliverySourceRequest_Call{Call: _e.mock.On("PutDeliverySourceRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call) Run(run func(_a0 *cloudwatchlogs.ListTagsForResourceInput)) *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliverySourceRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutDeliverySourceInput)) *MockCloudWatchLogsAPI_PutDeliverySourceRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.ListTagsForResourceInput)) + run(args[0].(*cloudwatchlogs.PutDeliverySourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.ListTagsForResourceOutput) *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliverySourceRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutDeliverySourceOutput) *MockCloudWatchLogsAPI_PutDeliverySourceRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call) RunAndReturn(run func(*cloudwatchlogs.ListTagsForResourceInput) (*request.Request, *cloudwatchlogs.ListTagsForResourceOutput)) *MockCloudWatchLogsAPI_ListTagsForResourceRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliverySourceRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutDeliverySourceInput) (*request.Request, *cloudwatchlogs.PutDeliverySourceOutput)) *MockCloudWatchLogsAPI_PutDeliverySourceRequest_Call { _c.Call.Return(run) return _c } -// ListTagsForResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) ListTagsForResourceWithContext(_a0 context.Context, _a1 *cloudwatchlogs.ListTagsForResourceInput, _a2 ...request.Option) (*cloudwatchlogs.ListTagsForResourceOutput, error) { +// PutDeliverySourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutDeliverySourceWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutDeliverySourceInput, _a2 ...request.Option) (*cloudwatchlogs.PutDeliverySourceOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -6620,20 +12034,24 @@ func (_m *MockCloudWatchLogsAPI) ListTagsForResourceWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.ListTagsForResourceOutput + if len(ret) == 0 { + panic("no return value specified for PutDeliverySourceWithContext") + } + + var r0 *cloudwatchlogs.PutDeliverySourceOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListTagsForResourceInput, ...request.Option) (*cloudwatchlogs.ListTagsForResourceOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDeliverySourceInput, ...request.Option) (*cloudwatchlogs.PutDeliverySourceOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListTagsForResourceInput, ...request.Option) *cloudwatchlogs.ListTagsForResourceOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDeliverySourceInput, ...request.Option) *cloudwatchlogs.PutDeliverySourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.ListTagsForResourceOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutDeliverySourceOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.ListTagsForResourceInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutDeliverySourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -6642,21 +12060,21 @@ func (_m *MockCloudWatchLogsAPI) ListTagsForResourceWithContext(_a0 context.Cont return r0, r1 } -// MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsForResourceWithContext' -type MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call struct { +// MockCloudWatchLogsAPI_PutDeliverySourceWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDeliverySourceWithContext' +type MockCloudWatchLogsAPI_PutDeliverySourceWithContext_Call struct { *mock.Call } -// ListTagsForResourceWithContext is a helper method to define mock.On call +// PutDeliverySourceWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.ListTagsForResourceInput +// - _a1 *cloudwatchlogs.PutDeliverySourceInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsForResourceWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call { - return &MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call{Call: _e.mock.On("ListTagsForResourceWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) PutDeliverySourceWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutDeliverySourceWithContext_Call { + return &MockCloudWatchLogsAPI_PutDeliverySourceWithContext_Call{Call: _e.mock.On("PutDeliverySourceWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.ListTagsForResourceInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliverySourceWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutDeliverySourceInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutDeliverySourceWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -6664,39 +12082,43 @@ func (_c *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call) Run(run fun variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.ListTagsForResourceInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutDeliverySourceInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call) Return(_a0 *cloudwatchlogs.ListTagsForResourceOutput, _a1 error) *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliverySourceWithContext_Call) Return(_a0 *cloudwatchlogs.PutDeliverySourceOutput, _a1 error) *MockCloudWatchLogsAPI_PutDeliverySourceWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.ListTagsForResourceInput, ...request.Option) (*cloudwatchlogs.ListTagsForResourceOutput, error)) *MockCloudWatchLogsAPI_ListTagsForResourceWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDeliverySourceWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutDeliverySourceInput, ...request.Option) (*cloudwatchlogs.PutDeliverySourceOutput, error)) *MockCloudWatchLogsAPI_PutDeliverySourceWithContext_Call { _c.Call.Return(run) return _c } -// ListTagsLogGroup provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) ListTagsLogGroup(_a0 *cloudwatchlogs.ListTagsLogGroupInput) (*cloudwatchlogs.ListTagsLogGroupOutput, error) { +// PutDestination provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDestination(_a0 *cloudwatchlogs.PutDestinationInput) (*cloudwatchlogs.PutDestinationOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.ListTagsLogGroupOutput + if len(ret) == 0 { + panic("no return value specified for PutDestination") + } + + var r0 *cloudwatchlogs.PutDestinationOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsLogGroupInput) (*cloudwatchlogs.ListTagsLogGroupOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationInput) (*cloudwatchlogs.PutDestinationOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsLogGroupInput) *cloudwatchlogs.ListTagsLogGroupOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationInput) *cloudwatchlogs.PutDestinationOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.ListTagsLogGroupOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutDestinationOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListTagsLogGroupInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDestinationInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -6705,179 +12127,182 @@ func (_m *MockCloudWatchLogsAPI) ListTagsLogGroup(_a0 *cloudwatchlogs.ListTagsLo return r0, r1 } -// MockCloudWatchLogsAPI_ListTagsLogGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsLogGroup' -type MockCloudWatchLogsAPI_ListTagsLogGroup_Call struct { +// MockCloudWatchLogsAPI_PutDestination_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestination' +type MockCloudWatchLogsAPI_PutDestination_Call struct { *mock.Call } -// ListTagsLogGroup is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.ListTagsLogGroupInput -func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsLogGroup(_a0 interface{}) *MockCloudWatchLogsAPI_ListTagsLogGroup_Call { - return &MockCloudWatchLogsAPI_ListTagsLogGroup_Call{Call: _e.mock.On("ListTagsLogGroup", _a0)} +// PutDestination is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDestinationInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDestination(_a0 interface{}) *MockCloudWatchLogsAPI_PutDestination_Call { + return &MockCloudWatchLogsAPI_PutDestination_Call{Call: _e.mock.On("PutDestination", _a0)} } -func (_c *MockCloudWatchLogsAPI_ListTagsLogGroup_Call) Run(run func(_a0 *cloudwatchlogs.ListTagsLogGroupInput)) *MockCloudWatchLogsAPI_ListTagsLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_PutDestination_Call) Run(run func(_a0 *cloudwatchlogs.PutDestinationInput)) *MockCloudWatchLogsAPI_PutDestination_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.ListTagsLogGroupInput)) + run(args[0].(*cloudwatchlogs.PutDestinationInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsLogGroup_Call) Return(_a0 *cloudwatchlogs.ListTagsLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_ListTagsLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_PutDestination_Call) Return(_a0 *cloudwatchlogs.PutDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_PutDestination_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsLogGroup_Call) RunAndReturn(run func(*cloudwatchlogs.ListTagsLogGroupInput) (*cloudwatchlogs.ListTagsLogGroupOutput, error)) *MockCloudWatchLogsAPI_ListTagsLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_PutDestination_Call) RunAndReturn(run func(*cloudwatchlogs.PutDestinationInput) (*cloudwatchlogs.PutDestinationOutput, error)) *MockCloudWatchLogsAPI_PutDestination_Call { _c.Call.Return(run) return _c } -// ListTagsLogGroupRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) ListTagsLogGroupRequest(_a0 *cloudwatchlogs.ListTagsLogGroupInput) (*request.Request, *cloudwatchlogs.ListTagsLogGroupOutput) { +// PutDestinationPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDestinationPolicy(_a0 *cloudwatchlogs.PutDestinationPolicyInput) (*cloudwatchlogs.PutDestinationPolicyOutput, error) { ret := _m.Called(_a0) - var r0 *request.Request - var r1 *cloudwatchlogs.ListTagsLogGroupOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsLogGroupInput) (*request.Request, *cloudwatchlogs.ListTagsLogGroupOutput)); ok { + if len(ret) == 0 { + panic("no return value specified for PutDestinationPolicy") + } + + var r0 *cloudwatchlogs.PutDestinationPolicyOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationPolicyInput) (*cloudwatchlogs.PutDestinationPolicyOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.ListTagsLogGroupInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationPolicyInput) *cloudwatchlogs.PutDestinationPolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) + r0 = ret.Get(0).(*cloudwatchlogs.PutDestinationPolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.ListTagsLogGroupInput) *cloudwatchlogs.ListTagsLogGroupOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDestinationPolicyInput) error); ok { r1 = rf(_a0) } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.ListTagsLogGroupOutput) - } + r1 = ret.Error(1) } return r0, r1 } -// MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsLogGroupRequest' -type MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call struct { +// MockCloudWatchLogsAPI_PutDestinationPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestinationPolicy' +type MockCloudWatchLogsAPI_PutDestinationPolicy_Call struct { *mock.Call } -// ListTagsLogGroupRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.ListTagsLogGroupInput -func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsLogGroupRequest(_a0 interface{}) *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call { - return &MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call{Call: _e.mock.On("ListTagsLogGroupRequest", _a0)} +// PutDestinationPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDestinationPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDestinationPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutDestinationPolicy_Call { + return &MockCloudWatchLogsAPI_PutDestinationPolicy_Call{Call: _e.mock.On("PutDestinationPolicy", _a0)} } -func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call) Run(run func(_a0 *cloudwatchlogs.ListTagsLogGroupInput)) *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationPolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutDestinationPolicyInput)) *MockCloudWatchLogsAPI_PutDestinationPolicy_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.ListTagsLogGroupInput)) + run(args[0].(*cloudwatchlogs.PutDestinationPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.ListTagsLogGroupOutput) *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationPolicy_Call) Return(_a0 *cloudwatchlogs.PutDestinationPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutDestinationPolicy_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call) RunAndReturn(run func(*cloudwatchlogs.ListTagsLogGroupInput) (*request.Request, *cloudwatchlogs.ListTagsLogGroupOutput)) *MockCloudWatchLogsAPI_ListTagsLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutDestinationPolicyInput) (*cloudwatchlogs.PutDestinationPolicyOutput, error)) *MockCloudWatchLogsAPI_PutDestinationPolicy_Call { _c.Call.Return(run) return _c } -// ListTagsLogGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) ListTagsLogGroupWithContext(_a0 context.Context, _a1 *cloudwatchlogs.ListTagsLogGroupInput, _a2 ...request.Option) (*cloudwatchlogs.ListTagsLogGroupOutput, error) { - _va := make([]interface{}, len(_a2)) - for _i := range _a2 { - _va[_i] = _a2[_i] +// PutDestinationPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDestinationPolicyRequest(_a0 *cloudwatchlogs.PutDestinationPolicyInput) (*request.Request, *cloudwatchlogs.PutDestinationPolicyOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for PutDestinationPolicyRequest") } - var _ca []interface{} - _ca = append(_ca, _a0, _a1) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.ListTagsLogGroupOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListTagsLogGroupInput, ...request.Option) (*cloudwatchlogs.ListTagsLogGroupOutput, error)); ok { - return rf(_a0, _a1, _a2...) + var r0 *request.Request + var r1 *cloudwatchlogs.PutDestinationPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationPolicyInput) (*request.Request, *cloudwatchlogs.PutDestinationPolicyOutput)); ok { + return rf(_a0) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.ListTagsLogGroupInput, ...request.Option) *cloudwatchlogs.ListTagsLogGroupOutput); ok { - r0 = rf(_a0, _a1, _a2...) + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationPolicyInput) *request.Request); ok { + r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.ListTagsLogGroupOutput) + r0 = ret.Get(0).(*request.Request) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.ListTagsLogGroupInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDestinationPolicyInput) *cloudwatchlogs.PutDestinationPolicyOutput); ok { + r1 = rf(_a0) } else { - r1 = ret.Error(1) + if ret.Get(1) != nil { + r1 = ret.Get(1).(*cloudwatchlogs.PutDestinationPolicyOutput) + } } return r0, r1 } -// MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListTagsLogGroupWithContext' -type MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call struct { +// MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestinationPolicyRequest' +type MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call struct { *mock.Call } -// ListTagsLogGroupWithContext is a helper method to define mock.On call -// - _a0 context.Context -// - _a1 *cloudwatchlogs.ListTagsLogGroupInput -// - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) ListTagsLogGroupWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call { - return &MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call{Call: _e.mock.On("ListTagsLogGroupWithContext", - append([]interface{}{_a0, _a1}, _a2...)...)} +// PutDestinationPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDestinationPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDestinationPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call { + return &MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call{Call: _e.mock.On("PutDestinationPolicyRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.ListTagsLogGroupInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutDestinationPolicyInput)) *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call { _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-2) - for i, a := range args[2:] { - if a != nil { - variadicArgs[i] = a.(request.Option) - } - } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.ListTagsLogGroupInput), variadicArgs...) + run(args[0].(*cloudwatchlogs.PutDestinationPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call) Return(_a0 *cloudwatchlogs.ListTagsLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutDestinationPolicyOutput) *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.ListTagsLogGroupInput, ...request.Option) (*cloudwatchlogs.ListTagsLogGroupOutput, error)) *MockCloudWatchLogsAPI_ListTagsLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutDestinationPolicyInput) (*request.Request, *cloudwatchlogs.PutDestinationPolicyOutput)) *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call { _c.Call.Return(run) return _c } -// PutAccountPolicy provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutAccountPolicy(_a0 *cloudwatchlogs.PutAccountPolicyInput) (*cloudwatchlogs.PutAccountPolicyOutput, error) { - ret := _m.Called(_a0) +// PutDestinationPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutDestinationPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutDestinationPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutDestinationPolicyOutput, error) { + _va := make([]interface{}, len(_a2)) + for _i := range _a2 { + _va[_i] = _a2[_i] + } + var _ca []interface{} + _ca = append(_ca, _a0, _a1) + _ca = append(_ca, _va...) + ret := _m.Called(_ca...) + + if len(ret) == 0 { + panic("no return value specified for PutDestinationPolicyWithContext") + } - var r0 *cloudwatchlogs.PutAccountPolicyOutput + var r0 *cloudwatchlogs.PutDestinationPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutAccountPolicyInput) (*cloudwatchlogs.PutAccountPolicyOutput, error)); ok { - return rf(_a0) + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDestinationPolicyInput, ...request.Option) (*cloudwatchlogs.PutDestinationPolicyOutput, error)); ok { + return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutAccountPolicyInput) *cloudwatchlogs.PutAccountPolicyOutput); ok { - r0 = rf(_a0) + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDestinationPolicyInput, ...request.Option) *cloudwatchlogs.PutDestinationPolicyOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutAccountPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutDestinationPolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutAccountPolicyInput) error); ok { - r1 = rf(_a0) + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutDestinationPolicyInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) } @@ -6885,44 +12310,57 @@ func (_m *MockCloudWatchLogsAPI) PutAccountPolicy(_a0 *cloudwatchlogs.PutAccount return r0, r1 } -// MockCloudWatchLogsAPI_PutAccountPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutAccountPolicy' -type MockCloudWatchLogsAPI_PutAccountPolicy_Call struct { +// MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestinationPolicyWithContext' +type MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call struct { *mock.Call } -// PutAccountPolicy is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutAccountPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutAccountPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutAccountPolicy_Call { - return &MockCloudWatchLogsAPI_PutAccountPolicy_Call{Call: _e.mock.On("PutAccountPolicy", _a0)} +// PutDestinationPolicyWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.PutDestinationPolicyInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) PutDestinationPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call{Call: _e.mock.On("PutDestinationPolicyWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutAccountPolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutAccountPolicyInput)) *MockCloudWatchLogsAPI_PutAccountPolicy_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutDestinationPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutAccountPolicyInput)) + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutDestinationPolicyInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutAccountPolicy_Call) Return(_a0 *cloudwatchlogs.PutAccountPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutAccountPolicy_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutDestinationPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutAccountPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutAccountPolicyInput) (*cloudwatchlogs.PutAccountPolicyOutput, error)) *MockCloudWatchLogsAPI_PutAccountPolicy_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutDestinationPolicyInput, ...request.Option) (*cloudwatchlogs.PutDestinationPolicyOutput, error)) *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call { _c.Call.Return(run) return _c } -// PutAccountPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutAccountPolicyRequest(_a0 *cloudwatchlogs.PutAccountPolicyInput) (*request.Request, *cloudwatchlogs.PutAccountPolicyOutput) { +// PutDestinationRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutDestinationRequest(_a0 *cloudwatchlogs.PutDestinationInput) (*request.Request, *cloudwatchlogs.PutDestinationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutDestinationRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.PutAccountPolicyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutAccountPolicyInput) (*request.Request, *cloudwatchlogs.PutAccountPolicyOutput)); ok { + var r1 *cloudwatchlogs.PutDestinationOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationInput) (*request.Request, *cloudwatchlogs.PutDestinationOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutAccountPolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -6930,47 +12368,47 @@ func (_m *MockCloudWatchLogsAPI) PutAccountPolicyRequest(_a0 *cloudwatchlogs.Put } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutAccountPolicyInput) *cloudwatchlogs.PutAccountPolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDestinationInput) *cloudwatchlogs.PutDestinationOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.PutAccountPolicyOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutDestinationOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutAccountPolicyRequest' -type MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call struct { +// MockCloudWatchLogsAPI_PutDestinationRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestinationRequest' +type MockCloudWatchLogsAPI_PutDestinationRequest_Call struct { *mock.Call } -// PutAccountPolicyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutAccountPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutAccountPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call { - return &MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call{Call: _e.mock.On("PutAccountPolicyRequest", _a0)} +// PutDestinationRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutDestinationInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutDestinationRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutDestinationRequest_Call { + return &MockCloudWatchLogsAPI_PutDestinationRequest_Call{Call: _e.mock.On("PutDestinationRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutAccountPolicyInput)) *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutDestinationInput)) *MockCloudWatchLogsAPI_PutDestinationRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutAccountPolicyInput)) + run(args[0].(*cloudwatchlogs.PutDestinationInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutAccountPolicyOutput) *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutDestinationOutput) *MockCloudWatchLogsAPI_PutDestinationRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutAccountPolicyInput) (*request.Request, *cloudwatchlogs.PutAccountPolicyOutput)) *MockCloudWatchLogsAPI_PutAccountPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutDestinationInput) (*request.Request, *cloudwatchlogs.PutDestinationOutput)) *MockCloudWatchLogsAPI_PutDestinationRequest_Call { _c.Call.Return(run) return _c } -// PutAccountPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) PutAccountPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutAccountPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutAccountPolicyOutput, error) { +// PutDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutDestinationWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutDestinationInput, _a2 ...request.Option) (*cloudwatchlogs.PutDestinationOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -6980,20 +12418,24 @@ func (_m *MockCloudWatchLogsAPI) PutAccountPolicyWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.PutAccountPolicyOutput + if len(ret) == 0 { + panic("no return value specified for PutDestinationWithContext") + } + + var r0 *cloudwatchlogs.PutDestinationOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutAccountPolicyInput, ...request.Option) (*cloudwatchlogs.PutAccountPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDestinationInput, ...request.Option) (*cloudwatchlogs.PutDestinationOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutAccountPolicyInput, ...request.Option) *cloudwatchlogs.PutAccountPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDestinationInput, ...request.Option) *cloudwatchlogs.PutDestinationOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutAccountPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutDestinationOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutAccountPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutDestinationInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -7002,21 +12444,21 @@ func (_m *MockCloudWatchLogsAPI) PutAccountPolicyWithContext(_a0 context.Context return r0, r1 } -// MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutAccountPolicyWithContext' -type MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call struct { +// MockCloudWatchLogsAPI_PutDestinationWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestinationWithContext' +type MockCloudWatchLogsAPI_PutDestinationWithContext_Call struct { *mock.Call } -// PutAccountPolicyWithContext is a helper method to define mock.On call +// PutDestinationWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.PutAccountPolicyInput +// - _a1 *cloudwatchlogs.PutDestinationInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) PutAccountPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call { - return &MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call{Call: _e.mock.On("PutAccountPolicyWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) PutDestinationWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutDestinationWithContext_Call { + return &MockCloudWatchLogsAPI_PutDestinationWithContext_Call{Call: _e.mock.On("PutDestinationWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutAccountPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutDestinationInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutDestinationWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -7024,39 +12466,43 @@ func (_c *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call) Run(run func(_ variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutAccountPolicyInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutDestinationInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutAccountPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationWithContext_Call) Return(_a0 *cloudwatchlogs.PutDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_PutDestinationWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutAccountPolicyInput, ...request.Option) (*cloudwatchlogs.PutAccountPolicyOutput, error)) *MockCloudWatchLogsAPI_PutAccountPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutDestinationWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutDestinationInput, ...request.Option) (*cloudwatchlogs.PutDestinationOutput, error)) *MockCloudWatchLogsAPI_PutDestinationWithContext_Call { _c.Call.Return(run) return _c } -// PutDataProtectionPolicy provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutDataProtectionPolicy(_a0 *cloudwatchlogs.PutDataProtectionPolicyInput) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error) { +// PutLogEvents provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutLogEvents(_a0 *cloudwatchlogs.PutLogEventsInput) (*cloudwatchlogs.PutLogEventsOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.PutDataProtectionPolicyOutput + if len(ret) == 0 { + panic("no return value specified for PutLogEvents") + } + + var r0 *cloudwatchlogs.PutLogEventsOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutLogEventsInput) (*cloudwatchlogs.PutLogEventsOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) *cloudwatchlogs.PutDataProtectionPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutLogEventsInput) *cloudwatchlogs.PutLogEventsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutDataProtectionPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutLogEventsOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutLogEventsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -7065,44 +12511,48 @@ func (_m *MockCloudWatchLogsAPI) PutDataProtectionPolicy(_a0 *cloudwatchlogs.Put return r0, r1 } -// MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDataProtectionPolicy' -type MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call struct { +// MockCloudWatchLogsAPI_PutLogEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutLogEvents' +type MockCloudWatchLogsAPI_PutLogEvents_Call struct { *mock.Call } -// PutDataProtectionPolicy is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutDataProtectionPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutDataProtectionPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call { - return &MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call{Call: _e.mock.On("PutDataProtectionPolicy", _a0)} +// PutLogEvents is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutLogEventsInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutLogEvents(_a0 interface{}) *MockCloudWatchLogsAPI_PutLogEvents_Call { + return &MockCloudWatchLogsAPI_PutLogEvents_Call{Call: _e.mock.On("PutLogEvents", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_PutLogEvents_Call) Run(run func(_a0 *cloudwatchlogs.PutLogEventsInput)) *MockCloudWatchLogsAPI_PutLogEvents_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutDataProtectionPolicyInput)) + run(args[0].(*cloudwatchlogs.PutLogEventsInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call) Return(_a0 *cloudwatchlogs.PutDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_PutLogEvents_Call) Return(_a0 *cloudwatchlogs.PutLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_PutLogEvents_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutDataProtectionPolicyInput) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_PutDataProtectionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_PutLogEvents_Call) RunAndReturn(run func(*cloudwatchlogs.PutLogEventsInput) (*cloudwatchlogs.PutLogEventsOutput, error)) *MockCloudWatchLogsAPI_PutLogEvents_Call { _c.Call.Return(run) return _c } -// PutDataProtectionPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutDataProtectionPolicyRequest(_a0 *cloudwatchlogs.PutDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.PutDataProtectionPolicyOutput) { +// PutLogEventsRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutLogEventsRequest(_a0 *cloudwatchlogs.PutLogEventsInput) (*request.Request, *cloudwatchlogs.PutLogEventsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutLogEventsRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.PutDataProtectionPolicyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.PutDataProtectionPolicyOutput)); ok { + var r1 *cloudwatchlogs.PutLogEventsOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutLogEventsInput) (*request.Request, *cloudwatchlogs.PutLogEventsOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutLogEventsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -7110,47 +12560,47 @@ func (_m *MockCloudWatchLogsAPI) PutDataProtectionPolicyRequest(_a0 *cloudwatchl } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDataProtectionPolicyInput) *cloudwatchlogs.PutDataProtectionPolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutLogEventsInput) *cloudwatchlogs.PutLogEventsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.PutDataProtectionPolicyOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutLogEventsOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDataProtectionPolicyRequest' -type MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call struct { +// MockCloudWatchLogsAPI_PutLogEventsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutLogEventsRequest' +type MockCloudWatchLogsAPI_PutLogEventsRequest_Call struct { *mock.Call } -// PutDataProtectionPolicyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutDataProtectionPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutDataProtectionPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call { - return &MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call{Call: _e.mock.On("PutDataProtectionPolicyRequest", _a0)} +// PutLogEventsRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutLogEventsInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutLogEventsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutLogEventsRequest_Call { + return &MockCloudWatchLogsAPI_PutLogEventsRequest_Call{Call: _e.mock.On("PutLogEventsRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutDataProtectionPolicyInput)) *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutLogEventsRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutLogEventsInput)) *MockCloudWatchLogsAPI_PutLogEventsRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutDataProtectionPolicyInput)) + run(args[0].(*cloudwatchlogs.PutLogEventsInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutDataProtectionPolicyOutput) *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutLogEventsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutLogEventsOutput) *MockCloudWatchLogsAPI_PutLogEventsRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutDataProtectionPolicyInput) (*request.Request, *cloudwatchlogs.PutDataProtectionPolicyOutput)) *MockCloudWatchLogsAPI_PutDataProtectionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutLogEventsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutLogEventsInput) (*request.Request, *cloudwatchlogs.PutLogEventsOutput)) *MockCloudWatchLogsAPI_PutLogEventsRequest_Call { _c.Call.Return(run) return _c } -// PutDataProtectionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) PutDataProtectionPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutDataProtectionPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error) { +// PutLogEventsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutLogEventsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutLogEventsInput, _a2 ...request.Option) (*cloudwatchlogs.PutLogEventsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -7160,84 +12610,25 @@ func (_m *MockCloudWatchLogsAPI) PutDataProtectionPolicyWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.PutDataProtectionPolicyOutput - var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error)); ok { - return rf(_a0, _a1, _a2...) - } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDataProtectionPolicyInput, ...request.Option) *cloudwatchlogs.PutDataProtectionPolicyOutput); ok { - r0 = rf(_a0, _a1, _a2...) - } else { - if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutDataProtectionPolicyOutput) - } - } - - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutDataProtectionPolicyInput, ...request.Option) error); ok { - r1 = rf(_a0, _a1, _a2...) - } else { - r1 = ret.Error(1) - } - - return r0, r1 -} - -// MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDataProtectionPolicyWithContext' -type MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call struct { - *mock.Call -} - -// PutDataProtectionPolicyWithContext is a helper method to define mock.On call -// - _a0 context.Context -// - _a1 *cloudwatchlogs.PutDataProtectionPolicyInput -// - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) PutDataProtectionPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call { - return &MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call{Call: _e.mock.On("PutDataProtectionPolicyWithContext", - append([]interface{}{_a0, _a1}, _a2...)...)} -} - -func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutDataProtectionPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call { - _c.Call.Run(func(args mock.Arguments) { - variadicArgs := make([]request.Option, len(args)-2) - for i, a := range args[2:] { - if a != nil { - variadicArgs[i] = a.(request.Option) - } - } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutDataProtectionPolicyInput), variadicArgs...) - }) - return _c -} - -func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutDataProtectionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call { - _c.Call.Return(_a0, _a1) - return _c -} - -func (_c *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutDataProtectionPolicyInput, ...request.Option) (*cloudwatchlogs.PutDataProtectionPolicyOutput, error)) *MockCloudWatchLogsAPI_PutDataProtectionPolicyWithContext_Call { - _c.Call.Return(run) - return _c -} - -// PutDestination provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutDestination(_a0 *cloudwatchlogs.PutDestinationInput) (*cloudwatchlogs.PutDestinationOutput, error) { - ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutLogEventsWithContext") + } - var r0 *cloudwatchlogs.PutDestinationOutput + var r0 *cloudwatchlogs.PutLogEventsOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationInput) (*cloudwatchlogs.PutDestinationOutput, error)); ok { - return rf(_a0) + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutLogEventsInput, ...request.Option) (*cloudwatchlogs.PutLogEventsOutput, error)); ok { + return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationInput) *cloudwatchlogs.PutDestinationOutput); ok { - r0 = rf(_a0) + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutLogEventsInput, ...request.Option) *cloudwatchlogs.PutLogEventsOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutDestinationOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutLogEventsOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDestinationInput) error); ok { - r1 = rf(_a0) + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutLogEventsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) } @@ -7245,52 +12636,65 @@ func (_m *MockCloudWatchLogsAPI) PutDestination(_a0 *cloudwatchlogs.PutDestinati return r0, r1 } -// MockCloudWatchLogsAPI_PutDestination_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestination' -type MockCloudWatchLogsAPI_PutDestination_Call struct { +// MockCloudWatchLogsAPI_PutLogEventsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutLogEventsWithContext' +type MockCloudWatchLogsAPI_PutLogEventsWithContext_Call struct { *mock.Call } -// PutDestination is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutDestinationInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutDestination(_a0 interface{}) *MockCloudWatchLogsAPI_PutDestination_Call { - return &MockCloudWatchLogsAPI_PutDestination_Call{Call: _e.mock.On("PutDestination", _a0)} +// PutLogEventsWithContext is a helper method to define mock.On call +// - _a0 context.Context +// - _a1 *cloudwatchlogs.PutLogEventsInput +// - _a2 ...request.Option +func (_e *MockCloudWatchLogsAPI_Expecter) PutLogEventsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call { + return &MockCloudWatchLogsAPI_PutLogEventsWithContext_Call{Call: _e.mock.On("PutLogEventsWithContext", + append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutDestination_Call) Run(run func(_a0 *cloudwatchlogs.PutDestinationInput)) *MockCloudWatchLogsAPI_PutDestination_Call { +func (_c *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutLogEventsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutDestinationInput)) + variadicArgs := make([]request.Option, len(args)-2) + for i, a := range args[2:] { + if a != nil { + variadicArgs[i] = a.(request.Option) + } + } + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutLogEventsInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestination_Call) Return(_a0 *cloudwatchlogs.PutDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_PutDestination_Call { +func (_c *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call) Return(_a0 *cloudwatchlogs.PutLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestination_Call) RunAndReturn(run func(*cloudwatchlogs.PutDestinationInput) (*cloudwatchlogs.PutDestinationOutput, error)) *MockCloudWatchLogsAPI_PutDestination_Call { +func (_c *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutLogEventsInput, ...request.Option) (*cloudwatchlogs.PutLogEventsOutput, error)) *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call { _c.Call.Return(run) return _c } -// PutDestinationPolicy provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutDestinationPolicy(_a0 *cloudwatchlogs.PutDestinationPolicyInput) (*cloudwatchlogs.PutDestinationPolicyOutput, error) { +// PutMetricFilter provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutMetricFilter(_a0 *cloudwatchlogs.PutMetricFilterInput) (*cloudwatchlogs.PutMetricFilterOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.PutDestinationPolicyOutput + if len(ret) == 0 { + panic("no return value specified for PutMetricFilter") + } + + var r0 *cloudwatchlogs.PutMetricFilterOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationPolicyInput) (*cloudwatchlogs.PutDestinationPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutMetricFilterInput) (*cloudwatchlogs.PutMetricFilterOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationPolicyInput) *cloudwatchlogs.PutDestinationPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutMetricFilterInput) *cloudwatchlogs.PutMetricFilterOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutDestinationPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutMetricFilterOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDestinationPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutMetricFilterInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -7299,44 +12703,48 @@ func (_m *MockCloudWatchLogsAPI) PutDestinationPolicy(_a0 *cloudwatchlogs.PutDes return r0, r1 } -// MockCloudWatchLogsAPI_PutDestinationPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestinationPolicy' -type MockCloudWatchLogsAPI_PutDestinationPolicy_Call struct { +// MockCloudWatchLogsAPI_PutMetricFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutMetricFilter' +type MockCloudWatchLogsAPI_PutMetricFilter_Call struct { *mock.Call } -// PutDestinationPolicy is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutDestinationPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutDestinationPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutDestinationPolicy_Call { - return &MockCloudWatchLogsAPI_PutDestinationPolicy_Call{Call: _e.mock.On("PutDestinationPolicy", _a0)} +// PutMetricFilter is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutMetricFilterInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutMetricFilter(_a0 interface{}) *MockCloudWatchLogsAPI_PutMetricFilter_Call { + return &MockCloudWatchLogsAPI_PutMetricFilter_Call{Call: _e.mock.On("PutMetricFilter", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutDestinationPolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutDestinationPolicyInput)) *MockCloudWatchLogsAPI_PutDestinationPolicy_Call { +func (_c *MockCloudWatchLogsAPI_PutMetricFilter_Call) Run(run func(_a0 *cloudwatchlogs.PutMetricFilterInput)) *MockCloudWatchLogsAPI_PutMetricFilter_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutDestinationPolicyInput)) + run(args[0].(*cloudwatchlogs.PutMetricFilterInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestinationPolicy_Call) Return(_a0 *cloudwatchlogs.PutDestinationPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutDestinationPolicy_Call { +func (_c *MockCloudWatchLogsAPI_PutMetricFilter_Call) Return(_a0 *cloudwatchlogs.PutMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_PutMetricFilter_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestinationPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutDestinationPolicyInput) (*cloudwatchlogs.PutDestinationPolicyOutput, error)) *MockCloudWatchLogsAPI_PutDestinationPolicy_Call { +func (_c *MockCloudWatchLogsAPI_PutMetricFilter_Call) RunAndReturn(run func(*cloudwatchlogs.PutMetricFilterInput) (*cloudwatchlogs.PutMetricFilterOutput, error)) *MockCloudWatchLogsAPI_PutMetricFilter_Call { _c.Call.Return(run) return _c } -// PutDestinationPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutDestinationPolicyRequest(_a0 *cloudwatchlogs.PutDestinationPolicyInput) (*request.Request, *cloudwatchlogs.PutDestinationPolicyOutput) { +// PutMetricFilterRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutMetricFilterRequest(_a0 *cloudwatchlogs.PutMetricFilterInput) (*request.Request, *cloudwatchlogs.PutMetricFilterOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutMetricFilterRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.PutDestinationPolicyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationPolicyInput) (*request.Request, *cloudwatchlogs.PutDestinationPolicyOutput)); ok { + var r1 *cloudwatchlogs.PutMetricFilterOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutMetricFilterInput) (*request.Request, *cloudwatchlogs.PutMetricFilterOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationPolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutMetricFilterInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -7344,47 +12752,47 @@ func (_m *MockCloudWatchLogsAPI) PutDestinationPolicyRequest(_a0 *cloudwatchlogs } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDestinationPolicyInput) *cloudwatchlogs.PutDestinationPolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutMetricFilterInput) *cloudwatchlogs.PutMetricFilterOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.PutDestinationPolicyOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutMetricFilterOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestinationPolicyRequest' -type MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call struct { +// MockCloudWatchLogsAPI_PutMetricFilterRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutMetricFilterRequest' +type MockCloudWatchLogsAPI_PutMetricFilterRequest_Call struct { *mock.Call } -// PutDestinationPolicyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutDestinationPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutDestinationPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call { - return &MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call{Call: _e.mock.On("PutDestinationPolicyRequest", _a0)} +// PutMetricFilterRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutMetricFilterInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutMetricFilterRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call { + return &MockCloudWatchLogsAPI_PutMetricFilterRequest_Call{Call: _e.mock.On("PutMetricFilterRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutDestinationPolicyInput)) *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutMetricFilterInput)) *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutDestinationPolicyInput)) + run(args[0].(*cloudwatchlogs.PutMetricFilterInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutDestinationPolicyOutput) *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutMetricFilterOutput) *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutDestinationPolicyInput) (*request.Request, *cloudwatchlogs.PutDestinationPolicyOutput)) *MockCloudWatchLogsAPI_PutDestinationPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutMetricFilterInput) (*request.Request, *cloudwatchlogs.PutMetricFilterOutput)) *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call { _c.Call.Return(run) return _c } -// PutDestinationPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) PutDestinationPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutDestinationPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutDestinationPolicyOutput, error) { +// PutMetricFilterWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutMetricFilterWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutMetricFilterInput, _a2 ...request.Option) (*cloudwatchlogs.PutMetricFilterOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -7394,20 +12802,24 @@ func (_m *MockCloudWatchLogsAPI) PutDestinationPolicyWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.PutDestinationPolicyOutput + if len(ret) == 0 { + panic("no return value specified for PutMetricFilterWithContext") + } + + var r0 *cloudwatchlogs.PutMetricFilterOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDestinationPolicyInput, ...request.Option) (*cloudwatchlogs.PutDestinationPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutMetricFilterInput, ...request.Option) (*cloudwatchlogs.PutMetricFilterOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDestinationPolicyInput, ...request.Option) *cloudwatchlogs.PutDestinationPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutMetricFilterInput, ...request.Option) *cloudwatchlogs.PutMetricFilterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutDestinationPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutMetricFilterOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutDestinationPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutMetricFilterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -7416,21 +12828,21 @@ func (_m *MockCloudWatchLogsAPI) PutDestinationPolicyWithContext(_a0 context.Con return r0, r1 } -// MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestinationPolicyWithContext' -type MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call struct { +// MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutMetricFilterWithContext' +type MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call struct { *mock.Call } -// PutDestinationPolicyWithContext is a helper method to define mock.On call +// PutMetricFilterWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.PutDestinationPolicyInput +// - _a1 *cloudwatchlogs.PutMetricFilterInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) PutDestinationPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call { - return &MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call{Call: _e.mock.On("PutDestinationPolicyWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) PutMetricFilterWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call { + return &MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call{Call: _e.mock.On("PutMetricFilterWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutDestinationPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutMetricFilterInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -7438,31 +12850,93 @@ func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call) Run(run fu variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutDestinationPolicyInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutMetricFilterInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutDestinationPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call) Return(_a0 *cloudwatchlogs.PutMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutDestinationPolicyInput, ...request.Option) (*cloudwatchlogs.PutDestinationPolicyOutput, error)) *MockCloudWatchLogsAPI_PutDestinationPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutMetricFilterInput, ...request.Option) (*cloudwatchlogs.PutMetricFilterOutput, error)) *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call { _c.Call.Return(run) return _c } -// PutDestinationRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutDestinationRequest(_a0 *cloudwatchlogs.PutDestinationInput) (*request.Request, *cloudwatchlogs.PutDestinationOutput) { +// PutQueryDefinition provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutQueryDefinition(_a0 *cloudwatchlogs.PutQueryDefinitionInput) (*cloudwatchlogs.PutQueryDefinitionOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for PutQueryDefinition") + } + + var r0 *cloudwatchlogs.PutQueryDefinitionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutQueryDefinitionInput) (*cloudwatchlogs.PutQueryDefinitionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutQueryDefinitionInput) *cloudwatchlogs.PutQueryDefinitionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*cloudwatchlogs.PutQueryDefinitionOutput) + } + } + + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutQueryDefinitionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// MockCloudWatchLogsAPI_PutQueryDefinition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutQueryDefinition' +type MockCloudWatchLogsAPI_PutQueryDefinition_Call struct { + *mock.Call +} + +// PutQueryDefinition is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutQueryDefinitionInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutQueryDefinition(_a0 interface{}) *MockCloudWatchLogsAPI_PutQueryDefinition_Call { + return &MockCloudWatchLogsAPI_PutQueryDefinition_Call{Call: _e.mock.On("PutQueryDefinition", _a0)} +} + +func (_c *MockCloudWatchLogsAPI_PutQueryDefinition_Call) Run(run func(_a0 *cloudwatchlogs.PutQueryDefinitionInput)) *MockCloudWatchLogsAPI_PutQueryDefinition_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(*cloudwatchlogs.PutQueryDefinitionInput)) + }) + return _c +} + +func (_c *MockCloudWatchLogsAPI_PutQueryDefinition_Call) Return(_a0 *cloudwatchlogs.PutQueryDefinitionOutput, _a1 error) *MockCloudWatchLogsAPI_PutQueryDefinition_Call { + _c.Call.Return(_a0, _a1) + return _c +} + +func (_c *MockCloudWatchLogsAPI_PutQueryDefinition_Call) RunAndReturn(run func(*cloudwatchlogs.PutQueryDefinitionInput) (*cloudwatchlogs.PutQueryDefinitionOutput, error)) *MockCloudWatchLogsAPI_PutQueryDefinition_Call { + _c.Call.Return(run) + return _c +} + +// PutQueryDefinitionRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutQueryDefinitionRequest(_a0 *cloudwatchlogs.PutQueryDefinitionInput) (*request.Request, *cloudwatchlogs.PutQueryDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutQueryDefinitionRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.PutDestinationOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationInput) (*request.Request, *cloudwatchlogs.PutDestinationOutput)); ok { + var r1 *cloudwatchlogs.PutQueryDefinitionOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutQueryDefinitionInput) (*request.Request, *cloudwatchlogs.PutQueryDefinitionOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutDestinationInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutQueryDefinitionInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -7470,47 +12944,47 @@ func (_m *MockCloudWatchLogsAPI) PutDestinationRequest(_a0 *cloudwatchlogs.PutDe } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutDestinationInput) *cloudwatchlogs.PutDestinationOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutQueryDefinitionInput) *cloudwatchlogs.PutQueryDefinitionOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.PutDestinationOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutQueryDefinitionOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_PutDestinationRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestinationRequest' -type MockCloudWatchLogsAPI_PutDestinationRequest_Call struct { +// MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutQueryDefinitionRequest' +type MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call struct { *mock.Call } -// PutDestinationRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutDestinationInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutDestinationRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutDestinationRequest_Call { - return &MockCloudWatchLogsAPI_PutDestinationRequest_Call{Call: _e.mock.On("PutDestinationRequest", _a0)} +// PutQueryDefinitionRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutQueryDefinitionInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutQueryDefinitionRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call { + return &MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call{Call: _e.mock.On("PutQueryDefinitionRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutDestinationRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutDestinationInput)) *MockCloudWatchLogsAPI_PutDestinationRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutQueryDefinitionInput)) *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutDestinationInput)) + run(args[0].(*cloudwatchlogs.PutQueryDefinitionInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestinationRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutDestinationOutput) *MockCloudWatchLogsAPI_PutDestinationRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutQueryDefinitionOutput) *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestinationRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutDestinationInput) (*request.Request, *cloudwatchlogs.PutDestinationOutput)) *MockCloudWatchLogsAPI_PutDestinationRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutQueryDefinitionInput) (*request.Request, *cloudwatchlogs.PutQueryDefinitionOutput)) *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call { _c.Call.Return(run) return _c } -// PutDestinationWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) PutDestinationWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutDestinationInput, _a2 ...request.Option) (*cloudwatchlogs.PutDestinationOutput, error) { +// PutQueryDefinitionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutQueryDefinitionWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutQueryDefinitionInput, _a2 ...request.Option) (*cloudwatchlogs.PutQueryDefinitionOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -7520,20 +12994,24 @@ func (_m *MockCloudWatchLogsAPI) PutDestinationWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.PutDestinationOutput + if len(ret) == 0 { + panic("no return value specified for PutQueryDefinitionWithContext") + } + + var r0 *cloudwatchlogs.PutQueryDefinitionOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDestinationInput, ...request.Option) (*cloudwatchlogs.PutDestinationOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutQueryDefinitionInput, ...request.Option) (*cloudwatchlogs.PutQueryDefinitionOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutDestinationInput, ...request.Option) *cloudwatchlogs.PutDestinationOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutQueryDefinitionInput, ...request.Option) *cloudwatchlogs.PutQueryDefinitionOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutDestinationOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutQueryDefinitionOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutDestinationInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutQueryDefinitionInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -7542,21 +13020,21 @@ func (_m *MockCloudWatchLogsAPI) PutDestinationWithContext(_a0 context.Context, return r0, r1 } -// MockCloudWatchLogsAPI_PutDestinationWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutDestinationWithContext' -type MockCloudWatchLogsAPI_PutDestinationWithContext_Call struct { +// MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutQueryDefinitionWithContext' +type MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call struct { *mock.Call } -// PutDestinationWithContext is a helper method to define mock.On call +// PutQueryDefinitionWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.PutDestinationInput +// - _a1 *cloudwatchlogs.PutQueryDefinitionInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) PutDestinationWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutDestinationWithContext_Call { - return &MockCloudWatchLogsAPI_PutDestinationWithContext_Call{Call: _e.mock.On("PutDestinationWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) PutQueryDefinitionWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call { + return &MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call{Call: _e.mock.On("PutQueryDefinitionWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutDestinationWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutDestinationInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutDestinationWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutQueryDefinitionInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -7564,39 +13042,43 @@ func (_c *MockCloudWatchLogsAPI_PutDestinationWithContext_Call) Run(run func(_a0 variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutDestinationInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutQueryDefinitionInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestinationWithContext_Call) Return(_a0 *cloudwatchlogs.PutDestinationOutput, _a1 error) *MockCloudWatchLogsAPI_PutDestinationWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call) Return(_a0 *cloudwatchlogs.PutQueryDefinitionOutput, _a1 error) *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutDestinationWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutDestinationInput, ...request.Option) (*cloudwatchlogs.PutDestinationOutput, error)) *MockCloudWatchLogsAPI_PutDestinationWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutQueryDefinitionInput, ...request.Option) (*cloudwatchlogs.PutQueryDefinitionOutput, error)) *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call { _c.Call.Return(run) return _c } -// PutLogEvents provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutLogEvents(_a0 *cloudwatchlogs.PutLogEventsInput) (*cloudwatchlogs.PutLogEventsOutput, error) { +// PutResourcePolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutResourcePolicy(_a0 *cloudwatchlogs.PutResourcePolicyInput) (*cloudwatchlogs.PutResourcePolicyOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.PutLogEventsOutput + if len(ret) == 0 { + panic("no return value specified for PutResourcePolicy") + } + + var r0 *cloudwatchlogs.PutResourcePolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutLogEventsInput) (*cloudwatchlogs.PutLogEventsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutResourcePolicyInput) (*cloudwatchlogs.PutResourcePolicyOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutLogEventsInput) *cloudwatchlogs.PutLogEventsOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutResourcePolicyInput) *cloudwatchlogs.PutResourcePolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutLogEventsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutResourcePolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutLogEventsInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutResourcePolicyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -7605,44 +13087,48 @@ func (_m *MockCloudWatchLogsAPI) PutLogEvents(_a0 *cloudwatchlogs.PutLogEventsIn return r0, r1 } -// MockCloudWatchLogsAPI_PutLogEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutLogEvents' -type MockCloudWatchLogsAPI_PutLogEvents_Call struct { +// MockCloudWatchLogsAPI_PutResourcePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutResourcePolicy' +type MockCloudWatchLogsAPI_PutResourcePolicy_Call struct { *mock.Call } -// PutLogEvents is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutLogEventsInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutLogEvents(_a0 interface{}) *MockCloudWatchLogsAPI_PutLogEvents_Call { - return &MockCloudWatchLogsAPI_PutLogEvents_Call{Call: _e.mock.On("PutLogEvents", _a0)} +// PutResourcePolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutResourcePolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutResourcePolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutResourcePolicy_Call { + return &MockCloudWatchLogsAPI_PutResourcePolicy_Call{Call: _e.mock.On("PutResourcePolicy", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutLogEvents_Call) Run(run func(_a0 *cloudwatchlogs.PutLogEventsInput)) *MockCloudWatchLogsAPI_PutLogEvents_Call { +func (_c *MockCloudWatchLogsAPI_PutResourcePolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutResourcePolicyInput)) *MockCloudWatchLogsAPI_PutResourcePolicy_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutLogEventsInput)) + run(args[0].(*cloudwatchlogs.PutResourcePolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutLogEvents_Call) Return(_a0 *cloudwatchlogs.PutLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_PutLogEvents_Call { +func (_c *MockCloudWatchLogsAPI_PutResourcePolicy_Call) Return(_a0 *cloudwatchlogs.PutResourcePolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutResourcePolicy_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutLogEvents_Call) RunAndReturn(run func(*cloudwatchlogs.PutLogEventsInput) (*cloudwatchlogs.PutLogEventsOutput, error)) *MockCloudWatchLogsAPI_PutLogEvents_Call { +func (_c *MockCloudWatchLogsAPI_PutResourcePolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutResourcePolicyInput) (*cloudwatchlogs.PutResourcePolicyOutput, error)) *MockCloudWatchLogsAPI_PutResourcePolicy_Call { _c.Call.Return(run) return _c } -// PutLogEventsRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutLogEventsRequest(_a0 *cloudwatchlogs.PutLogEventsInput) (*request.Request, *cloudwatchlogs.PutLogEventsOutput) { +// PutResourcePolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutResourcePolicyRequest(_a0 *cloudwatchlogs.PutResourcePolicyInput) (*request.Request, *cloudwatchlogs.PutResourcePolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutResourcePolicyRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.PutLogEventsOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutLogEventsInput) (*request.Request, *cloudwatchlogs.PutLogEventsOutput)); ok { + var r1 *cloudwatchlogs.PutResourcePolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutResourcePolicyInput) (*request.Request, *cloudwatchlogs.PutResourcePolicyOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutLogEventsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutResourcePolicyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -7650,47 +13136,47 @@ func (_m *MockCloudWatchLogsAPI) PutLogEventsRequest(_a0 *cloudwatchlogs.PutLogE } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutLogEventsInput) *cloudwatchlogs.PutLogEventsOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutResourcePolicyInput) *cloudwatchlogs.PutResourcePolicyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.PutLogEventsOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutResourcePolicyOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_PutLogEventsRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutLogEventsRequest' -type MockCloudWatchLogsAPI_PutLogEventsRequest_Call struct { +// MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutResourcePolicyRequest' +type MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call struct { *mock.Call } -// PutLogEventsRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutLogEventsInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutLogEventsRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutLogEventsRequest_Call { - return &MockCloudWatchLogsAPI_PutLogEventsRequest_Call{Call: _e.mock.On("PutLogEventsRequest", _a0)} +// PutResourcePolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutResourcePolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutResourcePolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call { + return &MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call{Call: _e.mock.On("PutResourcePolicyRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutLogEventsRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutLogEventsInput)) *MockCloudWatchLogsAPI_PutLogEventsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutResourcePolicyInput)) *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutLogEventsInput)) + run(args[0].(*cloudwatchlogs.PutResourcePolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutLogEventsRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutLogEventsOutput) *MockCloudWatchLogsAPI_PutLogEventsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutResourcePolicyOutput) *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutLogEventsRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutLogEventsInput) (*request.Request, *cloudwatchlogs.PutLogEventsOutput)) *MockCloudWatchLogsAPI_PutLogEventsRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutResourcePolicyInput) (*request.Request, *cloudwatchlogs.PutResourcePolicyOutput)) *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call { _c.Call.Return(run) return _c } -// PutLogEventsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) PutLogEventsWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutLogEventsInput, _a2 ...request.Option) (*cloudwatchlogs.PutLogEventsOutput, error) { +// PutResourcePolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutResourcePolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutResourcePolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutResourcePolicyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -7700,20 +13186,24 @@ func (_m *MockCloudWatchLogsAPI) PutLogEventsWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.PutLogEventsOutput + if len(ret) == 0 { + panic("no return value specified for PutResourcePolicyWithContext") + } + + var r0 *cloudwatchlogs.PutResourcePolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutLogEventsInput, ...request.Option) (*cloudwatchlogs.PutLogEventsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutResourcePolicyInput, ...request.Option) (*cloudwatchlogs.PutResourcePolicyOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutLogEventsInput, ...request.Option) *cloudwatchlogs.PutLogEventsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutResourcePolicyInput, ...request.Option) *cloudwatchlogs.PutResourcePolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutLogEventsOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutResourcePolicyOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutLogEventsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutResourcePolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -7722,21 +13212,21 @@ func (_m *MockCloudWatchLogsAPI) PutLogEventsWithContext(_a0 context.Context, _a return r0, r1 } -// MockCloudWatchLogsAPI_PutLogEventsWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutLogEventsWithContext' -type MockCloudWatchLogsAPI_PutLogEventsWithContext_Call struct { +// MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutResourcePolicyWithContext' +type MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call struct { *mock.Call } -// PutLogEventsWithContext is a helper method to define mock.On call +// PutResourcePolicyWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.PutLogEventsInput +// - _a1 *cloudwatchlogs.PutResourcePolicyInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) PutLogEventsWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call { - return &MockCloudWatchLogsAPI_PutLogEventsWithContext_Call{Call: _e.mock.On("PutLogEventsWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) PutResourcePolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call { + return &MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call{Call: _e.mock.On("PutResourcePolicyWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutLogEventsInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutResourcePolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -7744,39 +13234,43 @@ func (_c *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call) Run(run func(_a0 c variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutLogEventsInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutResourcePolicyInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call) Return(_a0 *cloudwatchlogs.PutLogEventsOutput, _a1 error) *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutResourcePolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutLogEventsInput, ...request.Option) (*cloudwatchlogs.PutLogEventsOutput, error)) *MockCloudWatchLogsAPI_PutLogEventsWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutResourcePolicyInput, ...request.Option) (*cloudwatchlogs.PutResourcePolicyOutput, error)) *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call { _c.Call.Return(run) return _c } -// PutMetricFilter provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutMetricFilter(_a0 *cloudwatchlogs.PutMetricFilterInput) (*cloudwatchlogs.PutMetricFilterOutput, error) { +// PutRetentionPolicy provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutRetentionPolicy(_a0 *cloudwatchlogs.PutRetentionPolicyInput) (*cloudwatchlogs.PutRetentionPolicyOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.PutMetricFilterOutput + if len(ret) == 0 { + panic("no return value specified for PutRetentionPolicy") + } + + var r0 *cloudwatchlogs.PutRetentionPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutMetricFilterInput) (*cloudwatchlogs.PutMetricFilterOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutRetentionPolicyInput) (*cloudwatchlogs.PutRetentionPolicyOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutMetricFilterInput) *cloudwatchlogs.PutMetricFilterOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutRetentionPolicyInput) *cloudwatchlogs.PutRetentionPolicyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutMetricFilterOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutRetentionPolicyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutMetricFilterInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutRetentionPolicyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -7785,44 +13279,48 @@ func (_m *MockCloudWatchLogsAPI) PutMetricFilter(_a0 *cloudwatchlogs.PutMetricFi return r0, r1 } -// MockCloudWatchLogsAPI_PutMetricFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutMetricFilter' -type MockCloudWatchLogsAPI_PutMetricFilter_Call struct { +// MockCloudWatchLogsAPI_PutRetentionPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutRetentionPolicy' +type MockCloudWatchLogsAPI_PutRetentionPolicy_Call struct { *mock.Call } -// PutMetricFilter is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutMetricFilterInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutMetricFilter(_a0 interface{}) *MockCloudWatchLogsAPI_PutMetricFilter_Call { - return &MockCloudWatchLogsAPI_PutMetricFilter_Call{Call: _e.mock.On("PutMetricFilter", _a0)} +// PutRetentionPolicy is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutRetentionPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutRetentionPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutRetentionPolicy_Call { + return &MockCloudWatchLogsAPI_PutRetentionPolicy_Call{Call: _e.mock.On("PutRetentionPolicy", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutMetricFilter_Call) Run(run func(_a0 *cloudwatchlogs.PutMetricFilterInput)) *MockCloudWatchLogsAPI_PutMetricFilter_Call { +func (_c *MockCloudWatchLogsAPI_PutRetentionPolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutRetentionPolicyInput)) *MockCloudWatchLogsAPI_PutRetentionPolicy_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutMetricFilterInput)) + run(args[0].(*cloudwatchlogs.PutRetentionPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutMetricFilter_Call) Return(_a0 *cloudwatchlogs.PutMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_PutMetricFilter_Call { +func (_c *MockCloudWatchLogsAPI_PutRetentionPolicy_Call) Return(_a0 *cloudwatchlogs.PutRetentionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutRetentionPolicy_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutMetricFilter_Call) RunAndReturn(run func(*cloudwatchlogs.PutMetricFilterInput) (*cloudwatchlogs.PutMetricFilterOutput, error)) *MockCloudWatchLogsAPI_PutMetricFilter_Call { +func (_c *MockCloudWatchLogsAPI_PutRetentionPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutRetentionPolicyInput) (*cloudwatchlogs.PutRetentionPolicyOutput, error)) *MockCloudWatchLogsAPI_PutRetentionPolicy_Call { _c.Call.Return(run) return _c } -// PutMetricFilterRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutMetricFilterRequest(_a0 *cloudwatchlogs.PutMetricFilterInput) (*request.Request, *cloudwatchlogs.PutMetricFilterOutput) { +// PutRetentionPolicyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutRetentionPolicyRequest(_a0 *cloudwatchlogs.PutRetentionPolicyInput) (*request.Request, *cloudwatchlogs.PutRetentionPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutRetentionPolicyRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.PutMetricFilterOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutMetricFilterInput) (*request.Request, *cloudwatchlogs.PutMetricFilterOutput)); ok { + var r1 *cloudwatchlogs.PutRetentionPolicyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutRetentionPolicyInput) (*request.Request, *cloudwatchlogs.PutRetentionPolicyOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutMetricFilterInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutRetentionPolicyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -7830,47 +13328,47 @@ func (_m *MockCloudWatchLogsAPI) PutMetricFilterRequest(_a0 *cloudwatchlogs.PutM } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutMetricFilterInput) *cloudwatchlogs.PutMetricFilterOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutRetentionPolicyInput) *cloudwatchlogs.PutRetentionPolicyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.PutMetricFilterOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutRetentionPolicyOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_PutMetricFilterRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutMetricFilterRequest' -type MockCloudWatchLogsAPI_PutMetricFilterRequest_Call struct { +// MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutRetentionPolicyRequest' +type MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call struct { *mock.Call } -// PutMetricFilterRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutMetricFilterInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutMetricFilterRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call { - return &MockCloudWatchLogsAPI_PutMetricFilterRequest_Call{Call: _e.mock.On("PutMetricFilterRequest", _a0)} +// PutRetentionPolicyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutRetentionPolicyInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutRetentionPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call { + return &MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call{Call: _e.mock.On("PutRetentionPolicyRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutMetricFilterInput)) *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutRetentionPolicyInput)) *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutMetricFilterInput)) + run(args[0].(*cloudwatchlogs.PutRetentionPolicyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutMetricFilterOutput) *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutRetentionPolicyOutput) *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutMetricFilterInput) (*request.Request, *cloudwatchlogs.PutMetricFilterOutput)) *MockCloudWatchLogsAPI_PutMetricFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutRetentionPolicyInput) (*request.Request, *cloudwatchlogs.PutRetentionPolicyOutput)) *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call { _c.Call.Return(run) return _c } -// PutMetricFilterWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) PutMetricFilterWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutMetricFilterInput, _a2 ...request.Option) (*cloudwatchlogs.PutMetricFilterOutput, error) { +// PutRetentionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutRetentionPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutRetentionPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutRetentionPolicyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -7880,20 +13378,24 @@ func (_m *MockCloudWatchLogsAPI) PutMetricFilterWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.PutMetricFilterOutput + if len(ret) == 0 { + panic("no return value specified for PutRetentionPolicyWithContext") + } + + var r0 *cloudwatchlogs.PutRetentionPolicyOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutMetricFilterInput, ...request.Option) (*cloudwatchlogs.PutMetricFilterOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutRetentionPolicyInput, ...request.Option) (*cloudwatchlogs.PutRetentionPolicyOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutMetricFilterInput, ...request.Option) *cloudwatchlogs.PutMetricFilterOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutRetentionPolicyInput, ...request.Option) *cloudwatchlogs.PutRetentionPolicyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutMetricFilterOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutRetentionPolicyOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutMetricFilterInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutRetentionPolicyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -7902,21 +13404,21 @@ func (_m *MockCloudWatchLogsAPI) PutMetricFilterWithContext(_a0 context.Context, return r0, r1 } -// MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutMetricFilterWithContext' -type MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call struct { +// MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutRetentionPolicyWithContext' +type MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call struct { *mock.Call } -// PutMetricFilterWithContext is a helper method to define mock.On call +// PutRetentionPolicyWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.PutMetricFilterInput +// - _a1 *cloudwatchlogs.PutRetentionPolicyInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) PutMetricFilterWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call { - return &MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call{Call: _e.mock.On("PutMetricFilterWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) PutRetentionPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call { + return &MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call{Call: _e.mock.On("PutRetentionPolicyWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutMetricFilterInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutRetentionPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -7924,39 +13426,43 @@ func (_c *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call) Run(run func(_a variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutMetricFilterInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutRetentionPolicyInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call) Return(_a0 *cloudwatchlogs.PutMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutRetentionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutMetricFilterInput, ...request.Option) (*cloudwatchlogs.PutMetricFilterOutput, error)) *MockCloudWatchLogsAPI_PutMetricFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutRetentionPolicyInput, ...request.Option) (*cloudwatchlogs.PutRetentionPolicyOutput, error)) *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call { _c.Call.Return(run) return _c } -// PutQueryDefinition provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutQueryDefinition(_a0 *cloudwatchlogs.PutQueryDefinitionInput) (*cloudwatchlogs.PutQueryDefinitionOutput, error) { +// PutSubscriptionFilter provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutSubscriptionFilter(_a0 *cloudwatchlogs.PutSubscriptionFilterInput) (*cloudwatchlogs.PutSubscriptionFilterOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.PutQueryDefinitionOutput + if len(ret) == 0 { + panic("no return value specified for PutSubscriptionFilter") + } + + var r0 *cloudwatchlogs.PutSubscriptionFilterOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutQueryDefinitionInput) (*cloudwatchlogs.PutQueryDefinitionOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutSubscriptionFilterInput) (*cloudwatchlogs.PutSubscriptionFilterOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutQueryDefinitionInput) *cloudwatchlogs.PutQueryDefinitionOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutSubscriptionFilterInput) *cloudwatchlogs.PutSubscriptionFilterOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutQueryDefinitionOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutSubscriptionFilterOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutQueryDefinitionInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutSubscriptionFilterInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -7965,44 +13471,48 @@ func (_m *MockCloudWatchLogsAPI) PutQueryDefinition(_a0 *cloudwatchlogs.PutQuery return r0, r1 } -// MockCloudWatchLogsAPI_PutQueryDefinition_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutQueryDefinition' -type MockCloudWatchLogsAPI_PutQueryDefinition_Call struct { +// MockCloudWatchLogsAPI_PutSubscriptionFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutSubscriptionFilter' +type MockCloudWatchLogsAPI_PutSubscriptionFilter_Call struct { *mock.Call } -// PutQueryDefinition is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutQueryDefinitionInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutQueryDefinition(_a0 interface{}) *MockCloudWatchLogsAPI_PutQueryDefinition_Call { - return &MockCloudWatchLogsAPI_PutQueryDefinition_Call{Call: _e.mock.On("PutQueryDefinition", _a0)} +// PutSubscriptionFilter is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutSubscriptionFilterInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutSubscriptionFilter(_a0 interface{}) *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call { + return &MockCloudWatchLogsAPI_PutSubscriptionFilter_Call{Call: _e.mock.On("PutSubscriptionFilter", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutQueryDefinition_Call) Run(run func(_a0 *cloudwatchlogs.PutQueryDefinitionInput)) *MockCloudWatchLogsAPI_PutQueryDefinition_Call { +func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call) Run(run func(_a0 *cloudwatchlogs.PutSubscriptionFilterInput)) *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutQueryDefinitionInput)) + run(args[0].(*cloudwatchlogs.PutSubscriptionFilterInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutQueryDefinition_Call) Return(_a0 *cloudwatchlogs.PutQueryDefinitionOutput, _a1 error) *MockCloudWatchLogsAPI_PutQueryDefinition_Call { +func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call) Return(_a0 *cloudwatchlogs.PutSubscriptionFilterOutput, _a1 error) *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutQueryDefinition_Call) RunAndReturn(run func(*cloudwatchlogs.PutQueryDefinitionInput) (*cloudwatchlogs.PutQueryDefinitionOutput, error)) *MockCloudWatchLogsAPI_PutQueryDefinition_Call { +func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call) RunAndReturn(run func(*cloudwatchlogs.PutSubscriptionFilterInput) (*cloudwatchlogs.PutSubscriptionFilterOutput, error)) *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call { _c.Call.Return(run) return _c } -// PutQueryDefinitionRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutQueryDefinitionRequest(_a0 *cloudwatchlogs.PutQueryDefinitionInput) (*request.Request, *cloudwatchlogs.PutQueryDefinitionOutput) { +// PutSubscriptionFilterRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) PutSubscriptionFilterRequest(_a0 *cloudwatchlogs.PutSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.PutSubscriptionFilterOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutSubscriptionFilterRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.PutQueryDefinitionOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutQueryDefinitionInput) (*request.Request, *cloudwatchlogs.PutQueryDefinitionOutput)); ok { + var r1 *cloudwatchlogs.PutSubscriptionFilterOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.PutSubscriptionFilterOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutQueryDefinitionInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutSubscriptionFilterInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -8010,47 +13520,47 @@ func (_m *MockCloudWatchLogsAPI) PutQueryDefinitionRequest(_a0 *cloudwatchlogs.P } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutQueryDefinitionInput) *cloudwatchlogs.PutQueryDefinitionOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutSubscriptionFilterInput) *cloudwatchlogs.PutSubscriptionFilterOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.PutQueryDefinitionOutput) + r1 = ret.Get(1).(*cloudwatchlogs.PutSubscriptionFilterOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutQueryDefinitionRequest' -type MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call struct { +// MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutSubscriptionFilterRequest' +type MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call struct { *mock.Call } -// PutQueryDefinitionRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutQueryDefinitionInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutQueryDefinitionRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call { - return &MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call{Call: _e.mock.On("PutQueryDefinitionRequest", _a0)} +// PutSubscriptionFilterRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.PutSubscriptionFilterInput +func (_e *MockCloudWatchLogsAPI_Expecter) PutSubscriptionFilterRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call { + return &MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call{Call: _e.mock.On("PutSubscriptionFilterRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutQueryDefinitionInput)) *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutSubscriptionFilterInput)) *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutQueryDefinitionInput)) + run(args[0].(*cloudwatchlogs.PutSubscriptionFilterInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutQueryDefinitionOutput) *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutSubscriptionFilterOutput) *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutQueryDefinitionInput) (*request.Request, *cloudwatchlogs.PutQueryDefinitionOutput)) *MockCloudWatchLogsAPI_PutQueryDefinitionRequest_Call { +func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.PutSubscriptionFilterOutput)) *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call { _c.Call.Return(run) return _c } -// PutQueryDefinitionWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) PutQueryDefinitionWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutQueryDefinitionInput, _a2 ...request.Option) (*cloudwatchlogs.PutQueryDefinitionOutput, error) { +// PutSubscriptionFilterWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) PutSubscriptionFilterWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutSubscriptionFilterInput, _a2 ...request.Option) (*cloudwatchlogs.PutSubscriptionFilterOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -8060,20 +13570,24 @@ func (_m *MockCloudWatchLogsAPI) PutQueryDefinitionWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.PutQueryDefinitionOutput + if len(ret) == 0 { + panic("no return value specified for PutSubscriptionFilterWithContext") + } + + var r0 *cloudwatchlogs.PutSubscriptionFilterOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutQueryDefinitionInput, ...request.Option) (*cloudwatchlogs.PutQueryDefinitionOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutSubscriptionFilterInput, ...request.Option) (*cloudwatchlogs.PutSubscriptionFilterOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutQueryDefinitionInput, ...request.Option) *cloudwatchlogs.PutQueryDefinitionOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutSubscriptionFilterInput, ...request.Option) *cloudwatchlogs.PutSubscriptionFilterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutQueryDefinitionOutput) + r0 = ret.Get(0).(*cloudwatchlogs.PutSubscriptionFilterOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutQueryDefinitionInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutSubscriptionFilterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -8082,21 +13596,21 @@ func (_m *MockCloudWatchLogsAPI) PutQueryDefinitionWithContext(_a0 context.Conte return r0, r1 } -// MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutQueryDefinitionWithContext' -type MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call struct { +// MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutSubscriptionFilterWithContext' +type MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call struct { *mock.Call } -// PutQueryDefinitionWithContext is a helper method to define mock.On call +// PutSubscriptionFilterWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.PutQueryDefinitionInput +// - _a1 *cloudwatchlogs.PutSubscriptionFilterInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) PutQueryDefinitionWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call { - return &MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call{Call: _e.mock.On("PutQueryDefinitionWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) PutSubscriptionFilterWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call { + return &MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call{Call: _e.mock.On("PutSubscriptionFilterWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutQueryDefinitionInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutSubscriptionFilterInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -8104,39 +13618,43 @@ func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call) Run(run func variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutQueryDefinitionInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutSubscriptionFilterInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call) Return(_a0 *cloudwatchlogs.PutQueryDefinitionOutput, _a1 error) *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call) Return(_a0 *cloudwatchlogs.PutSubscriptionFilterOutput, _a1 error) *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutQueryDefinitionInput, ...request.Option) (*cloudwatchlogs.PutQueryDefinitionOutput, error)) *MockCloudWatchLogsAPI_PutQueryDefinitionWithContext_Call { +func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutSubscriptionFilterInput, ...request.Option) (*cloudwatchlogs.PutSubscriptionFilterOutput, error)) *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call { _c.Call.Return(run) return _c } -// PutResourcePolicy provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutResourcePolicy(_a0 *cloudwatchlogs.PutResourcePolicyInput) (*cloudwatchlogs.PutResourcePolicyOutput, error) { +// StartLiveTail provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) StartLiveTail(_a0 *cloudwatchlogs.StartLiveTailInput) (*cloudwatchlogs.StartLiveTailOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.PutResourcePolicyOutput + if len(ret) == 0 { + panic("no return value specified for StartLiveTail") + } + + var r0 *cloudwatchlogs.StartLiveTailOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutResourcePolicyInput) (*cloudwatchlogs.PutResourcePolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartLiveTailInput) (*cloudwatchlogs.StartLiveTailOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutResourcePolicyInput) *cloudwatchlogs.PutResourcePolicyOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartLiveTailInput) *cloudwatchlogs.StartLiveTailOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutResourcePolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.StartLiveTailOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutResourcePolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.StartLiveTailInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -8145,44 +13663,48 @@ func (_m *MockCloudWatchLogsAPI) PutResourcePolicy(_a0 *cloudwatchlogs.PutResour return r0, r1 } -// MockCloudWatchLogsAPI_PutResourcePolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutResourcePolicy' -type MockCloudWatchLogsAPI_PutResourcePolicy_Call struct { +// MockCloudWatchLogsAPI_StartLiveTail_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartLiveTail' +type MockCloudWatchLogsAPI_StartLiveTail_Call struct { *mock.Call } -// PutResourcePolicy is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutResourcePolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutResourcePolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutResourcePolicy_Call { - return &MockCloudWatchLogsAPI_PutResourcePolicy_Call{Call: _e.mock.On("PutResourcePolicy", _a0)} +// StartLiveTail is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.StartLiveTailInput +func (_e *MockCloudWatchLogsAPI_Expecter) StartLiveTail(_a0 interface{}) *MockCloudWatchLogsAPI_StartLiveTail_Call { + return &MockCloudWatchLogsAPI_StartLiveTail_Call{Call: _e.mock.On("StartLiveTail", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutResourcePolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutResourcePolicyInput)) *MockCloudWatchLogsAPI_PutResourcePolicy_Call { +func (_c *MockCloudWatchLogsAPI_StartLiveTail_Call) Run(run func(_a0 *cloudwatchlogs.StartLiveTailInput)) *MockCloudWatchLogsAPI_StartLiveTail_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutResourcePolicyInput)) + run(args[0].(*cloudwatchlogs.StartLiveTailInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutResourcePolicy_Call) Return(_a0 *cloudwatchlogs.PutResourcePolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutResourcePolicy_Call { +func (_c *MockCloudWatchLogsAPI_StartLiveTail_Call) Return(_a0 *cloudwatchlogs.StartLiveTailOutput, _a1 error) *MockCloudWatchLogsAPI_StartLiveTail_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutResourcePolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutResourcePolicyInput) (*cloudwatchlogs.PutResourcePolicyOutput, error)) *MockCloudWatchLogsAPI_PutResourcePolicy_Call { +func (_c *MockCloudWatchLogsAPI_StartLiveTail_Call) RunAndReturn(run func(*cloudwatchlogs.StartLiveTailInput) (*cloudwatchlogs.StartLiveTailOutput, error)) *MockCloudWatchLogsAPI_StartLiveTail_Call { _c.Call.Return(run) return _c } -// PutResourcePolicyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutResourcePolicyRequest(_a0 *cloudwatchlogs.PutResourcePolicyInput) (*request.Request, *cloudwatchlogs.PutResourcePolicyOutput) { +// StartLiveTailRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) StartLiveTailRequest(_a0 *cloudwatchlogs.StartLiveTailInput) (*request.Request, *cloudwatchlogs.StartLiveTailOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartLiveTailRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.PutResourcePolicyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutResourcePolicyInput) (*request.Request, *cloudwatchlogs.PutResourcePolicyOutput)); ok { + var r1 *cloudwatchlogs.StartLiveTailOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartLiveTailInput) (*request.Request, *cloudwatchlogs.StartLiveTailOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutResourcePolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartLiveTailInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -8190,47 +13712,47 @@ func (_m *MockCloudWatchLogsAPI) PutResourcePolicyRequest(_a0 *cloudwatchlogs.Pu } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutResourcePolicyInput) *cloudwatchlogs.PutResourcePolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.StartLiveTailInput) *cloudwatchlogs.StartLiveTailOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.PutResourcePolicyOutput) + r1 = ret.Get(1).(*cloudwatchlogs.StartLiveTailOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutResourcePolicyRequest' -type MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call struct { +// MockCloudWatchLogsAPI_StartLiveTailRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartLiveTailRequest' +type MockCloudWatchLogsAPI_StartLiveTailRequest_Call struct { *mock.Call } -// PutResourcePolicyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutResourcePolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutResourcePolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call { - return &MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call{Call: _e.mock.On("PutResourcePolicyRequest", _a0)} +// StartLiveTailRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.StartLiveTailInput +func (_e *MockCloudWatchLogsAPI_Expecter) StartLiveTailRequest(_a0 interface{}) *MockCloudWatchLogsAPI_StartLiveTailRequest_Call { + return &MockCloudWatchLogsAPI_StartLiveTailRequest_Call{Call: _e.mock.On("StartLiveTailRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutResourcePolicyInput)) *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_StartLiveTailRequest_Call) Run(run func(_a0 *cloudwatchlogs.StartLiveTailInput)) *MockCloudWatchLogsAPI_StartLiveTailRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutResourcePolicyInput)) + run(args[0].(*cloudwatchlogs.StartLiveTailInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutResourcePolicyOutput) *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_StartLiveTailRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.StartLiveTailOutput) *MockCloudWatchLogsAPI_StartLiveTailRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutResourcePolicyInput) (*request.Request, *cloudwatchlogs.PutResourcePolicyOutput)) *MockCloudWatchLogsAPI_PutResourcePolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_StartLiveTailRequest_Call) RunAndReturn(run func(*cloudwatchlogs.StartLiveTailInput) (*request.Request, *cloudwatchlogs.StartLiveTailOutput)) *MockCloudWatchLogsAPI_StartLiveTailRequest_Call { _c.Call.Return(run) return _c } -// PutResourcePolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) PutResourcePolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutResourcePolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutResourcePolicyOutput, error) { +// StartLiveTailWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) StartLiveTailWithContext(_a0 context.Context, _a1 *cloudwatchlogs.StartLiveTailInput, _a2 ...request.Option) (*cloudwatchlogs.StartLiveTailOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -8240,20 +13762,24 @@ func (_m *MockCloudWatchLogsAPI) PutResourcePolicyWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.PutResourcePolicyOutput + if len(ret) == 0 { + panic("no return value specified for StartLiveTailWithContext") + } + + var r0 *cloudwatchlogs.StartLiveTailOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutResourcePolicyInput, ...request.Option) (*cloudwatchlogs.PutResourcePolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StartLiveTailInput, ...request.Option) (*cloudwatchlogs.StartLiveTailOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutResourcePolicyInput, ...request.Option) *cloudwatchlogs.PutResourcePolicyOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StartLiveTailInput, ...request.Option) *cloudwatchlogs.StartLiveTailOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutResourcePolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.StartLiveTailOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutResourcePolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.StartLiveTailInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -8262,21 +13788,21 @@ func (_m *MockCloudWatchLogsAPI) PutResourcePolicyWithContext(_a0 context.Contex return r0, r1 } -// MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutResourcePolicyWithContext' -type MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call struct { +// MockCloudWatchLogsAPI_StartLiveTailWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartLiveTailWithContext' +type MockCloudWatchLogsAPI_StartLiveTailWithContext_Call struct { *mock.Call } -// PutResourcePolicyWithContext is a helper method to define mock.On call +// StartLiveTailWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.PutResourcePolicyInput +// - _a1 *cloudwatchlogs.StartLiveTailInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) PutResourcePolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call { - return &MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call{Call: _e.mock.On("PutResourcePolicyWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) StartLiveTailWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_StartLiveTailWithContext_Call { + return &MockCloudWatchLogsAPI_StartLiveTailWithContext_Call{Call: _e.mock.On("StartLiveTailWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutResourcePolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_StartLiveTailWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.StartLiveTailInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_StartLiveTailWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -8284,39 +13810,43 @@ func (_c *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call) Run(run func( variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutResourcePolicyInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.StartLiveTailInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutResourcePolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_StartLiveTailWithContext_Call) Return(_a0 *cloudwatchlogs.StartLiveTailOutput, _a1 error) *MockCloudWatchLogsAPI_StartLiveTailWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutResourcePolicyInput, ...request.Option) (*cloudwatchlogs.PutResourcePolicyOutput, error)) *MockCloudWatchLogsAPI_PutResourcePolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_StartLiveTailWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.StartLiveTailInput, ...request.Option) (*cloudwatchlogs.StartLiveTailOutput, error)) *MockCloudWatchLogsAPI_StartLiveTailWithContext_Call { _c.Call.Return(run) return _c } -// PutRetentionPolicy provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutRetentionPolicy(_a0 *cloudwatchlogs.PutRetentionPolicyInput) (*cloudwatchlogs.PutRetentionPolicyOutput, error) { +// StartQuery provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) StartQuery(_a0 *cloudwatchlogs.StartQueryInput) (*cloudwatchlogs.StartQueryOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.PutRetentionPolicyOutput + if len(ret) == 0 { + panic("no return value specified for StartQuery") + } + + var r0 *cloudwatchlogs.StartQueryOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutRetentionPolicyInput) (*cloudwatchlogs.PutRetentionPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartQueryInput) (*cloudwatchlogs.StartQueryOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutRetentionPolicyInput) *cloudwatchlogs.PutRetentionPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartQueryInput) *cloudwatchlogs.StartQueryOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutRetentionPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.StartQueryOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutRetentionPolicyInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.StartQueryInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -8325,44 +13855,48 @@ func (_m *MockCloudWatchLogsAPI) PutRetentionPolicy(_a0 *cloudwatchlogs.PutReten return r0, r1 } -// MockCloudWatchLogsAPI_PutRetentionPolicy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutRetentionPolicy' -type MockCloudWatchLogsAPI_PutRetentionPolicy_Call struct { +// MockCloudWatchLogsAPI_StartQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartQuery' +type MockCloudWatchLogsAPI_StartQuery_Call struct { *mock.Call } -// PutRetentionPolicy is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutRetentionPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutRetentionPolicy(_a0 interface{}) *MockCloudWatchLogsAPI_PutRetentionPolicy_Call { - return &MockCloudWatchLogsAPI_PutRetentionPolicy_Call{Call: _e.mock.On("PutRetentionPolicy", _a0)} +// StartQuery is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.StartQueryInput +func (_e *MockCloudWatchLogsAPI_Expecter) StartQuery(_a0 interface{}) *MockCloudWatchLogsAPI_StartQuery_Call { + return &MockCloudWatchLogsAPI_StartQuery_Call{Call: _e.mock.On("StartQuery", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutRetentionPolicy_Call) Run(run func(_a0 *cloudwatchlogs.PutRetentionPolicyInput)) *MockCloudWatchLogsAPI_PutRetentionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_StartQuery_Call) Run(run func(_a0 *cloudwatchlogs.StartQueryInput)) *MockCloudWatchLogsAPI_StartQuery_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutRetentionPolicyInput)) + run(args[0].(*cloudwatchlogs.StartQueryInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutRetentionPolicy_Call) Return(_a0 *cloudwatchlogs.PutRetentionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutRetentionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_StartQuery_Call) Return(_a0 *cloudwatchlogs.StartQueryOutput, _a1 error) *MockCloudWatchLogsAPI_StartQuery_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutRetentionPolicy_Call) RunAndReturn(run func(*cloudwatchlogs.PutRetentionPolicyInput) (*cloudwatchlogs.PutRetentionPolicyOutput, error)) *MockCloudWatchLogsAPI_PutRetentionPolicy_Call { +func (_c *MockCloudWatchLogsAPI_StartQuery_Call) RunAndReturn(run func(*cloudwatchlogs.StartQueryInput) (*cloudwatchlogs.StartQueryOutput, error)) *MockCloudWatchLogsAPI_StartQuery_Call { _c.Call.Return(run) return _c } -// PutRetentionPolicyRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutRetentionPolicyRequest(_a0 *cloudwatchlogs.PutRetentionPolicyInput) (*request.Request, *cloudwatchlogs.PutRetentionPolicyOutput) { +// StartQueryRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) StartQueryRequest(_a0 *cloudwatchlogs.StartQueryInput) (*request.Request, *cloudwatchlogs.StartQueryOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartQueryRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.PutRetentionPolicyOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutRetentionPolicyInput) (*request.Request, *cloudwatchlogs.PutRetentionPolicyOutput)); ok { + var r1 *cloudwatchlogs.StartQueryOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartQueryInput) (*request.Request, *cloudwatchlogs.StartQueryOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutRetentionPolicyInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartQueryInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -8370,47 +13904,47 @@ func (_m *MockCloudWatchLogsAPI) PutRetentionPolicyRequest(_a0 *cloudwatchlogs.P } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutRetentionPolicyInput) *cloudwatchlogs.PutRetentionPolicyOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.StartQueryInput) *cloudwatchlogs.StartQueryOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.PutRetentionPolicyOutput) + r1 = ret.Get(1).(*cloudwatchlogs.StartQueryOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutRetentionPolicyRequest' -type MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call struct { +// MockCloudWatchLogsAPI_StartQueryRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartQueryRequest' +type MockCloudWatchLogsAPI_StartQueryRequest_Call struct { *mock.Call } -// PutRetentionPolicyRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutRetentionPolicyInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutRetentionPolicyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call { - return &MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call{Call: _e.mock.On("PutRetentionPolicyRequest", _a0)} +// StartQueryRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.StartQueryInput +func (_e *MockCloudWatchLogsAPI_Expecter) StartQueryRequest(_a0 interface{}) *MockCloudWatchLogsAPI_StartQueryRequest_Call { + return &MockCloudWatchLogsAPI_StartQueryRequest_Call{Call: _e.mock.On("StartQueryRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutRetentionPolicyInput)) *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_StartQueryRequest_Call) Run(run func(_a0 *cloudwatchlogs.StartQueryInput)) *MockCloudWatchLogsAPI_StartQueryRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutRetentionPolicyInput)) + run(args[0].(*cloudwatchlogs.StartQueryInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutRetentionPolicyOutput) *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_StartQueryRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.StartQueryOutput) *MockCloudWatchLogsAPI_StartQueryRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutRetentionPolicyInput) (*request.Request, *cloudwatchlogs.PutRetentionPolicyOutput)) *MockCloudWatchLogsAPI_PutRetentionPolicyRequest_Call { +func (_c *MockCloudWatchLogsAPI_StartQueryRequest_Call) RunAndReturn(run func(*cloudwatchlogs.StartQueryInput) (*request.Request, *cloudwatchlogs.StartQueryOutput)) *MockCloudWatchLogsAPI_StartQueryRequest_Call { _c.Call.Return(run) return _c } -// PutRetentionPolicyWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) PutRetentionPolicyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutRetentionPolicyInput, _a2 ...request.Option) (*cloudwatchlogs.PutRetentionPolicyOutput, error) { +// StartQueryWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) StartQueryWithContext(_a0 context.Context, _a1 *cloudwatchlogs.StartQueryInput, _a2 ...request.Option) (*cloudwatchlogs.StartQueryOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -8420,20 +13954,24 @@ func (_m *MockCloudWatchLogsAPI) PutRetentionPolicyWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.PutRetentionPolicyOutput + if len(ret) == 0 { + panic("no return value specified for StartQueryWithContext") + } + + var r0 *cloudwatchlogs.StartQueryOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutRetentionPolicyInput, ...request.Option) (*cloudwatchlogs.PutRetentionPolicyOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StartQueryInput, ...request.Option) (*cloudwatchlogs.StartQueryOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutRetentionPolicyInput, ...request.Option) *cloudwatchlogs.PutRetentionPolicyOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StartQueryInput, ...request.Option) *cloudwatchlogs.StartQueryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutRetentionPolicyOutput) + r0 = ret.Get(0).(*cloudwatchlogs.StartQueryOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutRetentionPolicyInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.StartQueryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -8442,21 +13980,21 @@ func (_m *MockCloudWatchLogsAPI) PutRetentionPolicyWithContext(_a0 context.Conte return r0, r1 } -// MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutRetentionPolicyWithContext' -type MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call struct { +// MockCloudWatchLogsAPI_StartQueryWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartQueryWithContext' +type MockCloudWatchLogsAPI_StartQueryWithContext_Call struct { *mock.Call } -// PutRetentionPolicyWithContext is a helper method to define mock.On call +// StartQueryWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.PutRetentionPolicyInput +// - _a1 *cloudwatchlogs.StartQueryInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) PutRetentionPolicyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call { - return &MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call{Call: _e.mock.On("PutRetentionPolicyWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) StartQueryWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_StartQueryWithContext_Call { + return &MockCloudWatchLogsAPI_StartQueryWithContext_Call{Call: _e.mock.On("StartQueryWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutRetentionPolicyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_StartQueryWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.StartQueryInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_StartQueryWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -8464,39 +14002,43 @@ func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call) Run(run func variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutRetentionPolicyInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.StartQueryInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call) Return(_a0 *cloudwatchlogs.PutRetentionPolicyOutput, _a1 error) *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_StartQueryWithContext_Call) Return(_a0 *cloudwatchlogs.StartQueryOutput, _a1 error) *MockCloudWatchLogsAPI_StartQueryWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutRetentionPolicyInput, ...request.Option) (*cloudwatchlogs.PutRetentionPolicyOutput, error)) *MockCloudWatchLogsAPI_PutRetentionPolicyWithContext_Call { +func (_c *MockCloudWatchLogsAPI_StartQueryWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.StartQueryInput, ...request.Option) (*cloudwatchlogs.StartQueryOutput, error)) *MockCloudWatchLogsAPI_StartQueryWithContext_Call { _c.Call.Return(run) return _c } -// PutSubscriptionFilter provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutSubscriptionFilter(_a0 *cloudwatchlogs.PutSubscriptionFilterInput) (*cloudwatchlogs.PutSubscriptionFilterOutput, error) { +// StopQuery provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) StopQuery(_a0 *cloudwatchlogs.StopQueryInput) (*cloudwatchlogs.StopQueryOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.PutSubscriptionFilterOutput + if len(ret) == 0 { + panic("no return value specified for StopQuery") + } + + var r0 *cloudwatchlogs.StopQueryOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutSubscriptionFilterInput) (*cloudwatchlogs.PutSubscriptionFilterOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StopQueryInput) (*cloudwatchlogs.StopQueryOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutSubscriptionFilterInput) *cloudwatchlogs.PutSubscriptionFilterOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StopQueryInput) *cloudwatchlogs.StopQueryOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutSubscriptionFilterOutput) + r0 = ret.Get(0).(*cloudwatchlogs.StopQueryOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutSubscriptionFilterInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.StopQueryInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -8505,44 +14047,48 @@ func (_m *MockCloudWatchLogsAPI) PutSubscriptionFilter(_a0 *cloudwatchlogs.PutSu return r0, r1 } -// MockCloudWatchLogsAPI_PutSubscriptionFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutSubscriptionFilter' -type MockCloudWatchLogsAPI_PutSubscriptionFilter_Call struct { +// MockCloudWatchLogsAPI_StopQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopQuery' +type MockCloudWatchLogsAPI_StopQuery_Call struct { *mock.Call } -// PutSubscriptionFilter is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutSubscriptionFilterInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutSubscriptionFilter(_a0 interface{}) *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call { - return &MockCloudWatchLogsAPI_PutSubscriptionFilter_Call{Call: _e.mock.On("PutSubscriptionFilter", _a0)} +// StopQuery is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.StopQueryInput +func (_e *MockCloudWatchLogsAPI_Expecter) StopQuery(_a0 interface{}) *MockCloudWatchLogsAPI_StopQuery_Call { + return &MockCloudWatchLogsAPI_StopQuery_Call{Call: _e.mock.On("StopQuery", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call) Run(run func(_a0 *cloudwatchlogs.PutSubscriptionFilterInput)) *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call { +func (_c *MockCloudWatchLogsAPI_StopQuery_Call) Run(run func(_a0 *cloudwatchlogs.StopQueryInput)) *MockCloudWatchLogsAPI_StopQuery_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutSubscriptionFilterInput)) + run(args[0].(*cloudwatchlogs.StopQueryInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call) Return(_a0 *cloudwatchlogs.PutSubscriptionFilterOutput, _a1 error) *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call { +func (_c *MockCloudWatchLogsAPI_StopQuery_Call) Return(_a0 *cloudwatchlogs.StopQueryOutput, _a1 error) *MockCloudWatchLogsAPI_StopQuery_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call) RunAndReturn(run func(*cloudwatchlogs.PutSubscriptionFilterInput) (*cloudwatchlogs.PutSubscriptionFilterOutput, error)) *MockCloudWatchLogsAPI_PutSubscriptionFilter_Call { +func (_c *MockCloudWatchLogsAPI_StopQuery_Call) RunAndReturn(run func(*cloudwatchlogs.StopQueryInput) (*cloudwatchlogs.StopQueryOutput, error)) *MockCloudWatchLogsAPI_StopQuery_Call { _c.Call.Return(run) return _c } -// PutSubscriptionFilterRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) PutSubscriptionFilterRequest(_a0 *cloudwatchlogs.PutSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.PutSubscriptionFilterOutput) { +// StopQueryRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) StopQueryRequest(_a0 *cloudwatchlogs.StopQueryInput) (*request.Request, *cloudwatchlogs.StopQueryOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopQueryRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.PutSubscriptionFilterOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.PutSubscriptionFilterOutput)); ok { + var r1 *cloudwatchlogs.StopQueryOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StopQueryInput) (*request.Request, *cloudwatchlogs.StopQueryOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.PutSubscriptionFilterInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StopQueryInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -8550,47 +14096,47 @@ func (_m *MockCloudWatchLogsAPI) PutSubscriptionFilterRequest(_a0 *cloudwatchlog } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.PutSubscriptionFilterInput) *cloudwatchlogs.PutSubscriptionFilterOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.StopQueryInput) *cloudwatchlogs.StopQueryOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.PutSubscriptionFilterOutput) + r1 = ret.Get(1).(*cloudwatchlogs.StopQueryOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutSubscriptionFilterRequest' -type MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call struct { +// MockCloudWatchLogsAPI_StopQueryRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopQueryRequest' +type MockCloudWatchLogsAPI_StopQueryRequest_Call struct { *mock.Call } -// PutSubscriptionFilterRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.PutSubscriptionFilterInput -func (_e *MockCloudWatchLogsAPI_Expecter) PutSubscriptionFilterRequest(_a0 interface{}) *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call { - return &MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call{Call: _e.mock.On("PutSubscriptionFilterRequest", _a0)} +// StopQueryRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.StopQueryInput +func (_e *MockCloudWatchLogsAPI_Expecter) StopQueryRequest(_a0 interface{}) *MockCloudWatchLogsAPI_StopQueryRequest_Call { + return &MockCloudWatchLogsAPI_StopQueryRequest_Call{Call: _e.mock.On("StopQueryRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call) Run(run func(_a0 *cloudwatchlogs.PutSubscriptionFilterInput)) *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_StopQueryRequest_Call) Run(run func(_a0 *cloudwatchlogs.StopQueryInput)) *MockCloudWatchLogsAPI_StopQueryRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.PutSubscriptionFilterInput)) + run(args[0].(*cloudwatchlogs.StopQueryInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.PutSubscriptionFilterOutput) *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_StopQueryRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.StopQueryOutput) *MockCloudWatchLogsAPI_StopQueryRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call) RunAndReturn(run func(*cloudwatchlogs.PutSubscriptionFilterInput) (*request.Request, *cloudwatchlogs.PutSubscriptionFilterOutput)) *MockCloudWatchLogsAPI_PutSubscriptionFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_StopQueryRequest_Call) RunAndReturn(run func(*cloudwatchlogs.StopQueryInput) (*request.Request, *cloudwatchlogs.StopQueryOutput)) *MockCloudWatchLogsAPI_StopQueryRequest_Call { _c.Call.Return(run) return _c } -// PutSubscriptionFilterWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) PutSubscriptionFilterWithContext(_a0 context.Context, _a1 *cloudwatchlogs.PutSubscriptionFilterInput, _a2 ...request.Option) (*cloudwatchlogs.PutSubscriptionFilterOutput, error) { +// StopQueryWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) StopQueryWithContext(_a0 context.Context, _a1 *cloudwatchlogs.StopQueryInput, _a2 ...request.Option) (*cloudwatchlogs.StopQueryOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -8600,20 +14146,24 @@ func (_m *MockCloudWatchLogsAPI) PutSubscriptionFilterWithContext(_a0 context.Co _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.PutSubscriptionFilterOutput + if len(ret) == 0 { + panic("no return value specified for StopQueryWithContext") + } + + var r0 *cloudwatchlogs.StopQueryOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutSubscriptionFilterInput, ...request.Option) (*cloudwatchlogs.PutSubscriptionFilterOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StopQueryInput, ...request.Option) (*cloudwatchlogs.StopQueryOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.PutSubscriptionFilterInput, ...request.Option) *cloudwatchlogs.PutSubscriptionFilterOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StopQueryInput, ...request.Option) *cloudwatchlogs.StopQueryOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.PutSubscriptionFilterOutput) + r0 = ret.Get(0).(*cloudwatchlogs.StopQueryOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.PutSubscriptionFilterInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.StopQueryInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -8622,21 +14172,21 @@ func (_m *MockCloudWatchLogsAPI) PutSubscriptionFilterWithContext(_a0 context.Co return r0, r1 } -// MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PutSubscriptionFilterWithContext' -type MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call struct { +// MockCloudWatchLogsAPI_StopQueryWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopQueryWithContext' +type MockCloudWatchLogsAPI_StopQueryWithContext_Call struct { *mock.Call } -// PutSubscriptionFilterWithContext is a helper method to define mock.On call +// StopQueryWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.PutSubscriptionFilterInput +// - _a1 *cloudwatchlogs.StopQueryInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) PutSubscriptionFilterWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call { - return &MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call{Call: _e.mock.On("PutSubscriptionFilterWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) StopQueryWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_StopQueryWithContext_Call { + return &MockCloudWatchLogsAPI_StopQueryWithContext_Call{Call: _e.mock.On("StopQueryWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.PutSubscriptionFilterInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_StopQueryWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.StopQueryInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_StopQueryWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -8644,39 +14194,43 @@ func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call) Run(run f variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.PutSubscriptionFilterInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.StopQueryInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call) Return(_a0 *cloudwatchlogs.PutSubscriptionFilterOutput, _a1 error) *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_StopQueryWithContext_Call) Return(_a0 *cloudwatchlogs.StopQueryOutput, _a1 error) *MockCloudWatchLogsAPI_StopQueryWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.PutSubscriptionFilterInput, ...request.Option) (*cloudwatchlogs.PutSubscriptionFilterOutput, error)) *MockCloudWatchLogsAPI_PutSubscriptionFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_StopQueryWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.StopQueryInput, ...request.Option) (*cloudwatchlogs.StopQueryOutput, error)) *MockCloudWatchLogsAPI_StopQueryWithContext_Call { _c.Call.Return(run) return _c } -// StartQuery provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) StartQuery(_a0 *cloudwatchlogs.StartQueryInput) (*cloudwatchlogs.StartQueryOutput, error) { +// TagLogGroup provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) TagLogGroup(_a0 *cloudwatchlogs.TagLogGroupInput) (*cloudwatchlogs.TagLogGroupOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.StartQueryOutput + if len(ret) == 0 { + panic("no return value specified for TagLogGroup") + } + + var r0 *cloudwatchlogs.TagLogGroupOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartQueryInput) (*cloudwatchlogs.StartQueryOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagLogGroupInput) (*cloudwatchlogs.TagLogGroupOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartQueryInput) *cloudwatchlogs.StartQueryOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagLogGroupInput) *cloudwatchlogs.TagLogGroupOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.StartQueryOutput) + r0 = ret.Get(0).(*cloudwatchlogs.TagLogGroupOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.StartQueryInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TagLogGroupInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -8685,44 +14239,48 @@ func (_m *MockCloudWatchLogsAPI) StartQuery(_a0 *cloudwatchlogs.StartQueryInput) return r0, r1 } -// MockCloudWatchLogsAPI_StartQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartQuery' -type MockCloudWatchLogsAPI_StartQuery_Call struct { +// MockCloudWatchLogsAPI_TagLogGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagLogGroup' +type MockCloudWatchLogsAPI_TagLogGroup_Call struct { *mock.Call } -// StartQuery is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.StartQueryInput -func (_e *MockCloudWatchLogsAPI_Expecter) StartQuery(_a0 interface{}) *MockCloudWatchLogsAPI_StartQuery_Call { - return &MockCloudWatchLogsAPI_StartQuery_Call{Call: _e.mock.On("StartQuery", _a0)} +// TagLogGroup is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.TagLogGroupInput +func (_e *MockCloudWatchLogsAPI_Expecter) TagLogGroup(_a0 interface{}) *MockCloudWatchLogsAPI_TagLogGroup_Call { + return &MockCloudWatchLogsAPI_TagLogGroup_Call{Call: _e.mock.On("TagLogGroup", _a0)} } -func (_c *MockCloudWatchLogsAPI_StartQuery_Call) Run(run func(_a0 *cloudwatchlogs.StartQueryInput)) *MockCloudWatchLogsAPI_StartQuery_Call { +func (_c *MockCloudWatchLogsAPI_TagLogGroup_Call) Run(run func(_a0 *cloudwatchlogs.TagLogGroupInput)) *MockCloudWatchLogsAPI_TagLogGroup_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.StartQueryInput)) + run(args[0].(*cloudwatchlogs.TagLogGroupInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_StartQuery_Call) Return(_a0 *cloudwatchlogs.StartQueryOutput, _a1 error) *MockCloudWatchLogsAPI_StartQuery_Call { +func (_c *MockCloudWatchLogsAPI_TagLogGroup_Call) Return(_a0 *cloudwatchlogs.TagLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_TagLogGroup_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_StartQuery_Call) RunAndReturn(run func(*cloudwatchlogs.StartQueryInput) (*cloudwatchlogs.StartQueryOutput, error)) *MockCloudWatchLogsAPI_StartQuery_Call { +func (_c *MockCloudWatchLogsAPI_TagLogGroup_Call) RunAndReturn(run func(*cloudwatchlogs.TagLogGroupInput) (*cloudwatchlogs.TagLogGroupOutput, error)) *MockCloudWatchLogsAPI_TagLogGroup_Call { _c.Call.Return(run) return _c } -// StartQueryRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) StartQueryRequest(_a0 *cloudwatchlogs.StartQueryInput) (*request.Request, *cloudwatchlogs.StartQueryOutput) { +// TagLogGroupRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) TagLogGroupRequest(_a0 *cloudwatchlogs.TagLogGroupInput) (*request.Request, *cloudwatchlogs.TagLogGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for TagLogGroupRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.StartQueryOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartQueryInput) (*request.Request, *cloudwatchlogs.StartQueryOutput)); ok { + var r1 *cloudwatchlogs.TagLogGroupOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagLogGroupInput) (*request.Request, *cloudwatchlogs.TagLogGroupOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StartQueryInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagLogGroupInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -8730,47 +14288,47 @@ func (_m *MockCloudWatchLogsAPI) StartQueryRequest(_a0 *cloudwatchlogs.StartQuer } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.StartQueryInput) *cloudwatchlogs.StartQueryOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TagLogGroupInput) *cloudwatchlogs.TagLogGroupOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.StartQueryOutput) + r1 = ret.Get(1).(*cloudwatchlogs.TagLogGroupOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_StartQueryRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartQueryRequest' -type MockCloudWatchLogsAPI_StartQueryRequest_Call struct { +// MockCloudWatchLogsAPI_TagLogGroupRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagLogGroupRequest' +type MockCloudWatchLogsAPI_TagLogGroupRequest_Call struct { *mock.Call } -// StartQueryRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.StartQueryInput -func (_e *MockCloudWatchLogsAPI_Expecter) StartQueryRequest(_a0 interface{}) *MockCloudWatchLogsAPI_StartQueryRequest_Call { - return &MockCloudWatchLogsAPI_StartQueryRequest_Call{Call: _e.mock.On("StartQueryRequest", _a0)} +// TagLogGroupRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.TagLogGroupInput +func (_e *MockCloudWatchLogsAPI_Expecter) TagLogGroupRequest(_a0 interface{}) *MockCloudWatchLogsAPI_TagLogGroupRequest_Call { + return &MockCloudWatchLogsAPI_TagLogGroupRequest_Call{Call: _e.mock.On("TagLogGroupRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_StartQueryRequest_Call) Run(run func(_a0 *cloudwatchlogs.StartQueryInput)) *MockCloudWatchLogsAPI_StartQueryRequest_Call { +func (_c *MockCloudWatchLogsAPI_TagLogGroupRequest_Call) Run(run func(_a0 *cloudwatchlogs.TagLogGroupInput)) *MockCloudWatchLogsAPI_TagLogGroupRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.StartQueryInput)) + run(args[0].(*cloudwatchlogs.TagLogGroupInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_StartQueryRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.StartQueryOutput) *MockCloudWatchLogsAPI_StartQueryRequest_Call { +func (_c *MockCloudWatchLogsAPI_TagLogGroupRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.TagLogGroupOutput) *MockCloudWatchLogsAPI_TagLogGroupRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_StartQueryRequest_Call) RunAndReturn(run func(*cloudwatchlogs.StartQueryInput) (*request.Request, *cloudwatchlogs.StartQueryOutput)) *MockCloudWatchLogsAPI_StartQueryRequest_Call { +func (_c *MockCloudWatchLogsAPI_TagLogGroupRequest_Call) RunAndReturn(run func(*cloudwatchlogs.TagLogGroupInput) (*request.Request, *cloudwatchlogs.TagLogGroupOutput)) *MockCloudWatchLogsAPI_TagLogGroupRequest_Call { _c.Call.Return(run) return _c } -// StartQueryWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) StartQueryWithContext(_a0 context.Context, _a1 *cloudwatchlogs.StartQueryInput, _a2 ...request.Option) (*cloudwatchlogs.StartQueryOutput, error) { +// TagLogGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) TagLogGroupWithContext(_a0 context.Context, _a1 *cloudwatchlogs.TagLogGroupInput, _a2 ...request.Option) (*cloudwatchlogs.TagLogGroupOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -8780,20 +14338,24 @@ func (_m *MockCloudWatchLogsAPI) StartQueryWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.StartQueryOutput + if len(ret) == 0 { + panic("no return value specified for TagLogGroupWithContext") + } + + var r0 *cloudwatchlogs.TagLogGroupOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StartQueryInput, ...request.Option) (*cloudwatchlogs.StartQueryOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TagLogGroupInput, ...request.Option) (*cloudwatchlogs.TagLogGroupOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StartQueryInput, ...request.Option) *cloudwatchlogs.StartQueryOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TagLogGroupInput, ...request.Option) *cloudwatchlogs.TagLogGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.StartQueryOutput) + r0 = ret.Get(0).(*cloudwatchlogs.TagLogGroupOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.StartQueryInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.TagLogGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -8802,21 +14364,21 @@ func (_m *MockCloudWatchLogsAPI) StartQueryWithContext(_a0 context.Context, _a1 return r0, r1 } -// MockCloudWatchLogsAPI_StartQueryWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartQueryWithContext' -type MockCloudWatchLogsAPI_StartQueryWithContext_Call struct { +// MockCloudWatchLogsAPI_TagLogGroupWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagLogGroupWithContext' +type MockCloudWatchLogsAPI_TagLogGroupWithContext_Call struct { *mock.Call } -// StartQueryWithContext is a helper method to define mock.On call +// TagLogGroupWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.StartQueryInput +// - _a1 *cloudwatchlogs.TagLogGroupInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) StartQueryWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_StartQueryWithContext_Call { - return &MockCloudWatchLogsAPI_StartQueryWithContext_Call{Call: _e.mock.On("StartQueryWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) TagLogGroupWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call { + return &MockCloudWatchLogsAPI_TagLogGroupWithContext_Call{Call: _e.mock.On("TagLogGroupWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_StartQueryWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.StartQueryInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_StartQueryWithContext_Call { +func (_c *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.TagLogGroupInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -8824,39 +14386,43 @@ func (_c *MockCloudWatchLogsAPI_StartQueryWithContext_Call) Run(run func(_a0 con variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.StartQueryInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.TagLogGroupInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_StartQueryWithContext_Call) Return(_a0 *cloudwatchlogs.StartQueryOutput, _a1 error) *MockCloudWatchLogsAPI_StartQueryWithContext_Call { +func (_c *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call) Return(_a0 *cloudwatchlogs.TagLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_StartQueryWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.StartQueryInput, ...request.Option) (*cloudwatchlogs.StartQueryOutput, error)) *MockCloudWatchLogsAPI_StartQueryWithContext_Call { +func (_c *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.TagLogGroupInput, ...request.Option) (*cloudwatchlogs.TagLogGroupOutput, error)) *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call { _c.Call.Return(run) return _c } -// StopQuery provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) StopQuery(_a0 *cloudwatchlogs.StopQueryInput) (*cloudwatchlogs.StopQueryOutput, error) { +// TagResource provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) TagResource(_a0 *cloudwatchlogs.TagResourceInput) (*cloudwatchlogs.TagResourceOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.StopQueryOutput + if len(ret) == 0 { + panic("no return value specified for TagResource") + } + + var r0 *cloudwatchlogs.TagResourceOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StopQueryInput) (*cloudwatchlogs.StopQueryOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagResourceInput) (*cloudwatchlogs.TagResourceOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StopQueryInput) *cloudwatchlogs.StopQueryOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagResourceInput) *cloudwatchlogs.TagResourceOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.StopQueryOutput) + r0 = ret.Get(0).(*cloudwatchlogs.TagResourceOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.StopQueryInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TagResourceInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -8865,44 +14431,48 @@ func (_m *MockCloudWatchLogsAPI) StopQuery(_a0 *cloudwatchlogs.StopQueryInput) ( return r0, r1 } -// MockCloudWatchLogsAPI_StopQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopQuery' -type MockCloudWatchLogsAPI_StopQuery_Call struct { +// MockCloudWatchLogsAPI_TagResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagResource' +type MockCloudWatchLogsAPI_TagResource_Call struct { *mock.Call } -// StopQuery is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.StopQueryInput -func (_e *MockCloudWatchLogsAPI_Expecter) StopQuery(_a0 interface{}) *MockCloudWatchLogsAPI_StopQuery_Call { - return &MockCloudWatchLogsAPI_StopQuery_Call{Call: _e.mock.On("StopQuery", _a0)} +// TagResource is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.TagResourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) TagResource(_a0 interface{}) *MockCloudWatchLogsAPI_TagResource_Call { + return &MockCloudWatchLogsAPI_TagResource_Call{Call: _e.mock.On("TagResource", _a0)} } -func (_c *MockCloudWatchLogsAPI_StopQuery_Call) Run(run func(_a0 *cloudwatchlogs.StopQueryInput)) *MockCloudWatchLogsAPI_StopQuery_Call { +func (_c *MockCloudWatchLogsAPI_TagResource_Call) Run(run func(_a0 *cloudwatchlogs.TagResourceInput)) *MockCloudWatchLogsAPI_TagResource_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.StopQueryInput)) + run(args[0].(*cloudwatchlogs.TagResourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_StopQuery_Call) Return(_a0 *cloudwatchlogs.StopQueryOutput, _a1 error) *MockCloudWatchLogsAPI_StopQuery_Call { +func (_c *MockCloudWatchLogsAPI_TagResource_Call) Return(_a0 *cloudwatchlogs.TagResourceOutput, _a1 error) *MockCloudWatchLogsAPI_TagResource_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_StopQuery_Call) RunAndReturn(run func(*cloudwatchlogs.StopQueryInput) (*cloudwatchlogs.StopQueryOutput, error)) *MockCloudWatchLogsAPI_StopQuery_Call { +func (_c *MockCloudWatchLogsAPI_TagResource_Call) RunAndReturn(run func(*cloudwatchlogs.TagResourceInput) (*cloudwatchlogs.TagResourceOutput, error)) *MockCloudWatchLogsAPI_TagResource_Call { _c.Call.Return(run) return _c } -// StopQueryRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) StopQueryRequest(_a0 *cloudwatchlogs.StopQueryInput) (*request.Request, *cloudwatchlogs.StopQueryOutput) { +// TagResourceRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) TagResourceRequest(_a0 *cloudwatchlogs.TagResourceInput) (*request.Request, *cloudwatchlogs.TagResourceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for TagResourceRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.StopQueryOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StopQueryInput) (*request.Request, *cloudwatchlogs.StopQueryOutput)); ok { + var r1 *cloudwatchlogs.TagResourceOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagResourceInput) (*request.Request, *cloudwatchlogs.TagResourceOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.StopQueryInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -8910,47 +14480,47 @@ func (_m *MockCloudWatchLogsAPI) StopQueryRequest(_a0 *cloudwatchlogs.StopQueryI } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.StopQueryInput) *cloudwatchlogs.StopQueryOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TagResourceInput) *cloudwatchlogs.TagResourceOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.StopQueryOutput) + r1 = ret.Get(1).(*cloudwatchlogs.TagResourceOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_StopQueryRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopQueryRequest' -type MockCloudWatchLogsAPI_StopQueryRequest_Call struct { +// MockCloudWatchLogsAPI_TagResourceRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagResourceRequest' +type MockCloudWatchLogsAPI_TagResourceRequest_Call struct { *mock.Call } -// StopQueryRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.StopQueryInput -func (_e *MockCloudWatchLogsAPI_Expecter) StopQueryRequest(_a0 interface{}) *MockCloudWatchLogsAPI_StopQueryRequest_Call { - return &MockCloudWatchLogsAPI_StopQueryRequest_Call{Call: _e.mock.On("StopQueryRequest", _a0)} +// TagResourceRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.TagResourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) TagResourceRequest(_a0 interface{}) *MockCloudWatchLogsAPI_TagResourceRequest_Call { + return &MockCloudWatchLogsAPI_TagResourceRequest_Call{Call: _e.mock.On("TagResourceRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_StopQueryRequest_Call) Run(run func(_a0 *cloudwatchlogs.StopQueryInput)) *MockCloudWatchLogsAPI_StopQueryRequest_Call { +func (_c *MockCloudWatchLogsAPI_TagResourceRequest_Call) Run(run func(_a0 *cloudwatchlogs.TagResourceInput)) *MockCloudWatchLogsAPI_TagResourceRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.StopQueryInput)) + run(args[0].(*cloudwatchlogs.TagResourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_StopQueryRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.StopQueryOutput) *MockCloudWatchLogsAPI_StopQueryRequest_Call { +func (_c *MockCloudWatchLogsAPI_TagResourceRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.TagResourceOutput) *MockCloudWatchLogsAPI_TagResourceRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_StopQueryRequest_Call) RunAndReturn(run func(*cloudwatchlogs.StopQueryInput) (*request.Request, *cloudwatchlogs.StopQueryOutput)) *MockCloudWatchLogsAPI_StopQueryRequest_Call { +func (_c *MockCloudWatchLogsAPI_TagResourceRequest_Call) RunAndReturn(run func(*cloudwatchlogs.TagResourceInput) (*request.Request, *cloudwatchlogs.TagResourceOutput)) *MockCloudWatchLogsAPI_TagResourceRequest_Call { _c.Call.Return(run) return _c } -// StopQueryWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) StopQueryWithContext(_a0 context.Context, _a1 *cloudwatchlogs.StopQueryInput, _a2 ...request.Option) (*cloudwatchlogs.StopQueryOutput, error) { +// TagResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) TagResourceWithContext(_a0 context.Context, _a1 *cloudwatchlogs.TagResourceInput, _a2 ...request.Option) (*cloudwatchlogs.TagResourceOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -8960,20 +14530,24 @@ func (_m *MockCloudWatchLogsAPI) StopQueryWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.StopQueryOutput + if len(ret) == 0 { + panic("no return value specified for TagResourceWithContext") + } + + var r0 *cloudwatchlogs.TagResourceOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StopQueryInput, ...request.Option) (*cloudwatchlogs.StopQueryOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TagResourceInput, ...request.Option) (*cloudwatchlogs.TagResourceOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.StopQueryInput, ...request.Option) *cloudwatchlogs.StopQueryOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TagResourceInput, ...request.Option) *cloudwatchlogs.TagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.StopQueryOutput) + r0 = ret.Get(0).(*cloudwatchlogs.TagResourceOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.StopQueryInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.TagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -8982,21 +14556,21 @@ func (_m *MockCloudWatchLogsAPI) StopQueryWithContext(_a0 context.Context, _a1 * return r0, r1 } -// MockCloudWatchLogsAPI_StopQueryWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopQueryWithContext' -type MockCloudWatchLogsAPI_StopQueryWithContext_Call struct { +// MockCloudWatchLogsAPI_TagResourceWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagResourceWithContext' +type MockCloudWatchLogsAPI_TagResourceWithContext_Call struct { *mock.Call } -// StopQueryWithContext is a helper method to define mock.On call +// TagResourceWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.StopQueryInput +// - _a1 *cloudwatchlogs.TagResourceInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) StopQueryWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_StopQueryWithContext_Call { - return &MockCloudWatchLogsAPI_StopQueryWithContext_Call{Call: _e.mock.On("StopQueryWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) TagResourceWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_TagResourceWithContext_Call { + return &MockCloudWatchLogsAPI_TagResourceWithContext_Call{Call: _e.mock.On("TagResourceWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_StopQueryWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.StopQueryInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_StopQueryWithContext_Call { +func (_c *MockCloudWatchLogsAPI_TagResourceWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.TagResourceInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_TagResourceWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -9004,39 +14578,43 @@ func (_c *MockCloudWatchLogsAPI_StopQueryWithContext_Call) Run(run func(_a0 cont variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.StopQueryInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.TagResourceInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_StopQueryWithContext_Call) Return(_a0 *cloudwatchlogs.StopQueryOutput, _a1 error) *MockCloudWatchLogsAPI_StopQueryWithContext_Call { +func (_c *MockCloudWatchLogsAPI_TagResourceWithContext_Call) Return(_a0 *cloudwatchlogs.TagResourceOutput, _a1 error) *MockCloudWatchLogsAPI_TagResourceWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_StopQueryWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.StopQueryInput, ...request.Option) (*cloudwatchlogs.StopQueryOutput, error)) *MockCloudWatchLogsAPI_StopQueryWithContext_Call { +func (_c *MockCloudWatchLogsAPI_TagResourceWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.TagResourceInput, ...request.Option) (*cloudwatchlogs.TagResourceOutput, error)) *MockCloudWatchLogsAPI_TagResourceWithContext_Call { _c.Call.Return(run) return _c } -// TagLogGroup provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) TagLogGroup(_a0 *cloudwatchlogs.TagLogGroupInput) (*cloudwatchlogs.TagLogGroupOutput, error) { +// TestMetricFilter provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) TestMetricFilter(_a0 *cloudwatchlogs.TestMetricFilterInput) (*cloudwatchlogs.TestMetricFilterOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.TagLogGroupOutput + if len(ret) == 0 { + panic("no return value specified for TestMetricFilter") + } + + var r0 *cloudwatchlogs.TestMetricFilterOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagLogGroupInput) (*cloudwatchlogs.TagLogGroupOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TestMetricFilterInput) (*cloudwatchlogs.TestMetricFilterOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagLogGroupInput) *cloudwatchlogs.TagLogGroupOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TestMetricFilterInput) *cloudwatchlogs.TestMetricFilterOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.TagLogGroupOutput) + r0 = ret.Get(0).(*cloudwatchlogs.TestMetricFilterOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TagLogGroupInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TestMetricFilterInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -9045,44 +14623,48 @@ func (_m *MockCloudWatchLogsAPI) TagLogGroup(_a0 *cloudwatchlogs.TagLogGroupInpu return r0, r1 } -// MockCloudWatchLogsAPI_TagLogGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagLogGroup' -type MockCloudWatchLogsAPI_TagLogGroup_Call struct { +// MockCloudWatchLogsAPI_TestMetricFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TestMetricFilter' +type MockCloudWatchLogsAPI_TestMetricFilter_Call struct { *mock.Call } -// TagLogGroup is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.TagLogGroupInput -func (_e *MockCloudWatchLogsAPI_Expecter) TagLogGroup(_a0 interface{}) *MockCloudWatchLogsAPI_TagLogGroup_Call { - return &MockCloudWatchLogsAPI_TagLogGroup_Call{Call: _e.mock.On("TagLogGroup", _a0)} +// TestMetricFilter is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.TestMetricFilterInput +func (_e *MockCloudWatchLogsAPI_Expecter) TestMetricFilter(_a0 interface{}) *MockCloudWatchLogsAPI_TestMetricFilter_Call { + return &MockCloudWatchLogsAPI_TestMetricFilter_Call{Call: _e.mock.On("TestMetricFilter", _a0)} } -func (_c *MockCloudWatchLogsAPI_TagLogGroup_Call) Run(run func(_a0 *cloudwatchlogs.TagLogGroupInput)) *MockCloudWatchLogsAPI_TagLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_TestMetricFilter_Call) Run(run func(_a0 *cloudwatchlogs.TestMetricFilterInput)) *MockCloudWatchLogsAPI_TestMetricFilter_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.TagLogGroupInput)) + run(args[0].(*cloudwatchlogs.TestMetricFilterInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_TagLogGroup_Call) Return(_a0 *cloudwatchlogs.TagLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_TagLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_TestMetricFilter_Call) Return(_a0 *cloudwatchlogs.TestMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_TestMetricFilter_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_TagLogGroup_Call) RunAndReturn(run func(*cloudwatchlogs.TagLogGroupInput) (*cloudwatchlogs.TagLogGroupOutput, error)) *MockCloudWatchLogsAPI_TagLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_TestMetricFilter_Call) RunAndReturn(run func(*cloudwatchlogs.TestMetricFilterInput) (*cloudwatchlogs.TestMetricFilterOutput, error)) *MockCloudWatchLogsAPI_TestMetricFilter_Call { _c.Call.Return(run) return _c } -// TagLogGroupRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) TagLogGroupRequest(_a0 *cloudwatchlogs.TagLogGroupInput) (*request.Request, *cloudwatchlogs.TagLogGroupOutput) { +// TestMetricFilterRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) TestMetricFilterRequest(_a0 *cloudwatchlogs.TestMetricFilterInput) (*request.Request, *cloudwatchlogs.TestMetricFilterOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for TestMetricFilterRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.TagLogGroupOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagLogGroupInput) (*request.Request, *cloudwatchlogs.TagLogGroupOutput)); ok { + var r1 *cloudwatchlogs.TestMetricFilterOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TestMetricFilterInput) (*request.Request, *cloudwatchlogs.TestMetricFilterOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagLogGroupInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TestMetricFilterInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -9090,47 +14672,47 @@ func (_m *MockCloudWatchLogsAPI) TagLogGroupRequest(_a0 *cloudwatchlogs.TagLogGr } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TagLogGroupInput) *cloudwatchlogs.TagLogGroupOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TestMetricFilterInput) *cloudwatchlogs.TestMetricFilterOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.TagLogGroupOutput) + r1 = ret.Get(1).(*cloudwatchlogs.TestMetricFilterOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_TagLogGroupRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagLogGroupRequest' -type MockCloudWatchLogsAPI_TagLogGroupRequest_Call struct { +// MockCloudWatchLogsAPI_TestMetricFilterRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TestMetricFilterRequest' +type MockCloudWatchLogsAPI_TestMetricFilterRequest_Call struct { *mock.Call } -// TagLogGroupRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.TagLogGroupInput -func (_e *MockCloudWatchLogsAPI_Expecter) TagLogGroupRequest(_a0 interface{}) *MockCloudWatchLogsAPI_TagLogGroupRequest_Call { - return &MockCloudWatchLogsAPI_TagLogGroupRequest_Call{Call: _e.mock.On("TagLogGroupRequest", _a0)} +// TestMetricFilterRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.TestMetricFilterInput +func (_e *MockCloudWatchLogsAPI_Expecter) TestMetricFilterRequest(_a0 interface{}) *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call { + return &MockCloudWatchLogsAPI_TestMetricFilterRequest_Call{Call: _e.mock.On("TestMetricFilterRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_TagLogGroupRequest_Call) Run(run func(_a0 *cloudwatchlogs.TagLogGroupInput)) *MockCloudWatchLogsAPI_TagLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call) Run(run func(_a0 *cloudwatchlogs.TestMetricFilterInput)) *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.TagLogGroupInput)) + run(args[0].(*cloudwatchlogs.TestMetricFilterInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_TagLogGroupRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.TagLogGroupOutput) *MockCloudWatchLogsAPI_TagLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.TestMetricFilterOutput) *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_TagLogGroupRequest_Call) RunAndReturn(run func(*cloudwatchlogs.TagLogGroupInput) (*request.Request, *cloudwatchlogs.TagLogGroupOutput)) *MockCloudWatchLogsAPI_TagLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call) RunAndReturn(run func(*cloudwatchlogs.TestMetricFilterInput) (*request.Request, *cloudwatchlogs.TestMetricFilterOutput)) *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call { _c.Call.Return(run) return _c } -// TagLogGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) TagLogGroupWithContext(_a0 context.Context, _a1 *cloudwatchlogs.TagLogGroupInput, _a2 ...request.Option) (*cloudwatchlogs.TagLogGroupOutput, error) { +// TestMetricFilterWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) TestMetricFilterWithContext(_a0 context.Context, _a1 *cloudwatchlogs.TestMetricFilterInput, _a2 ...request.Option) (*cloudwatchlogs.TestMetricFilterOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -9140,20 +14722,24 @@ func (_m *MockCloudWatchLogsAPI) TagLogGroupWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.TagLogGroupOutput + if len(ret) == 0 { + panic("no return value specified for TestMetricFilterWithContext") + } + + var r0 *cloudwatchlogs.TestMetricFilterOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TagLogGroupInput, ...request.Option) (*cloudwatchlogs.TagLogGroupOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TestMetricFilterInput, ...request.Option) (*cloudwatchlogs.TestMetricFilterOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TagLogGroupInput, ...request.Option) *cloudwatchlogs.TagLogGroupOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TestMetricFilterInput, ...request.Option) *cloudwatchlogs.TestMetricFilterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.TagLogGroupOutput) + r0 = ret.Get(0).(*cloudwatchlogs.TestMetricFilterOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.TagLogGroupInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.TestMetricFilterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -9162,21 +14748,21 @@ func (_m *MockCloudWatchLogsAPI) TagLogGroupWithContext(_a0 context.Context, _a1 return r0, r1 } -// MockCloudWatchLogsAPI_TagLogGroupWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagLogGroupWithContext' -type MockCloudWatchLogsAPI_TagLogGroupWithContext_Call struct { +// MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TestMetricFilterWithContext' +type MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call struct { *mock.Call } -// TagLogGroupWithContext is a helper method to define mock.On call +// TestMetricFilterWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.TagLogGroupInput +// - _a1 *cloudwatchlogs.TestMetricFilterInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) TagLogGroupWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call { - return &MockCloudWatchLogsAPI_TagLogGroupWithContext_Call{Call: _e.mock.On("TagLogGroupWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) TestMetricFilterWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call { + return &MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call{Call: _e.mock.On("TestMetricFilterWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.TagLogGroupInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.TestMetricFilterInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -9184,39 +14770,43 @@ func (_c *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call) Run(run func(_a0 co variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.TagLogGroupInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.TestMetricFilterInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call) Return(_a0 *cloudwatchlogs.TagLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call) Return(_a0 *cloudwatchlogs.TestMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.TagLogGroupInput, ...request.Option) (*cloudwatchlogs.TagLogGroupOutput, error)) *MockCloudWatchLogsAPI_TagLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.TestMetricFilterInput, ...request.Option) (*cloudwatchlogs.TestMetricFilterOutput, error)) *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call { _c.Call.Return(run) return _c } -// TagResource provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) TagResource(_a0 *cloudwatchlogs.TagResourceInput) (*cloudwatchlogs.TagResourceOutput, error) { +// UntagLogGroup provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) UntagLogGroup(_a0 *cloudwatchlogs.UntagLogGroupInput) (*cloudwatchlogs.UntagLogGroupOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.TagResourceOutput + if len(ret) == 0 { + panic("no return value specified for UntagLogGroup") + } + + var r0 *cloudwatchlogs.UntagLogGroupOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagResourceInput) (*cloudwatchlogs.TagResourceOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagLogGroupInput) (*cloudwatchlogs.UntagLogGroupOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagResourceInput) *cloudwatchlogs.TagResourceOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagLogGroupInput) *cloudwatchlogs.UntagLogGroupOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.TagResourceOutput) + r0 = ret.Get(0).(*cloudwatchlogs.UntagLogGroupOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TagResourceInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UntagLogGroupInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -9225,44 +14815,48 @@ func (_m *MockCloudWatchLogsAPI) TagResource(_a0 *cloudwatchlogs.TagResourceInpu return r0, r1 } -// MockCloudWatchLogsAPI_TagResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagResource' -type MockCloudWatchLogsAPI_TagResource_Call struct { +// MockCloudWatchLogsAPI_UntagLogGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagLogGroup' +type MockCloudWatchLogsAPI_UntagLogGroup_Call struct { *mock.Call } -// TagResource is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.TagResourceInput -func (_e *MockCloudWatchLogsAPI_Expecter) TagResource(_a0 interface{}) *MockCloudWatchLogsAPI_TagResource_Call { - return &MockCloudWatchLogsAPI_TagResource_Call{Call: _e.mock.On("TagResource", _a0)} +// UntagLogGroup is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.UntagLogGroupInput +func (_e *MockCloudWatchLogsAPI_Expecter) UntagLogGroup(_a0 interface{}) *MockCloudWatchLogsAPI_UntagLogGroup_Call { + return &MockCloudWatchLogsAPI_UntagLogGroup_Call{Call: _e.mock.On("UntagLogGroup", _a0)} } -func (_c *MockCloudWatchLogsAPI_TagResource_Call) Run(run func(_a0 *cloudwatchlogs.TagResourceInput)) *MockCloudWatchLogsAPI_TagResource_Call { +func (_c *MockCloudWatchLogsAPI_UntagLogGroup_Call) Run(run func(_a0 *cloudwatchlogs.UntagLogGroupInput)) *MockCloudWatchLogsAPI_UntagLogGroup_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.TagResourceInput)) + run(args[0].(*cloudwatchlogs.UntagLogGroupInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_TagResource_Call) Return(_a0 *cloudwatchlogs.TagResourceOutput, _a1 error) *MockCloudWatchLogsAPI_TagResource_Call { +func (_c *MockCloudWatchLogsAPI_UntagLogGroup_Call) Return(_a0 *cloudwatchlogs.UntagLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_UntagLogGroup_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_TagResource_Call) RunAndReturn(run func(*cloudwatchlogs.TagResourceInput) (*cloudwatchlogs.TagResourceOutput, error)) *MockCloudWatchLogsAPI_TagResource_Call { +func (_c *MockCloudWatchLogsAPI_UntagLogGroup_Call) RunAndReturn(run func(*cloudwatchlogs.UntagLogGroupInput) (*cloudwatchlogs.UntagLogGroupOutput, error)) *MockCloudWatchLogsAPI_UntagLogGroup_Call { _c.Call.Return(run) return _c } -// TagResourceRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) TagResourceRequest(_a0 *cloudwatchlogs.TagResourceInput) (*request.Request, *cloudwatchlogs.TagResourceOutput) { +// UntagLogGroupRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) UntagLogGroupRequest(_a0 *cloudwatchlogs.UntagLogGroupInput) (*request.Request, *cloudwatchlogs.UntagLogGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UntagLogGroupRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.TagResourceOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagResourceInput) (*request.Request, *cloudwatchlogs.TagResourceOutput)); ok { + var r1 *cloudwatchlogs.UntagLogGroupOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagLogGroupInput) (*request.Request, *cloudwatchlogs.UntagLogGroupOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TagResourceInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagLogGroupInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -9270,47 +14864,47 @@ func (_m *MockCloudWatchLogsAPI) TagResourceRequest(_a0 *cloudwatchlogs.TagResou } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TagResourceInput) *cloudwatchlogs.TagResourceOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UntagLogGroupInput) *cloudwatchlogs.UntagLogGroupOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.TagResourceOutput) + r1 = ret.Get(1).(*cloudwatchlogs.UntagLogGroupOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_TagResourceRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagResourceRequest' -type MockCloudWatchLogsAPI_TagResourceRequest_Call struct { +// MockCloudWatchLogsAPI_UntagLogGroupRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagLogGroupRequest' +type MockCloudWatchLogsAPI_UntagLogGroupRequest_Call struct { *mock.Call } -// TagResourceRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.TagResourceInput -func (_e *MockCloudWatchLogsAPI_Expecter) TagResourceRequest(_a0 interface{}) *MockCloudWatchLogsAPI_TagResourceRequest_Call { - return &MockCloudWatchLogsAPI_TagResourceRequest_Call{Call: _e.mock.On("TagResourceRequest", _a0)} +// UntagLogGroupRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.UntagLogGroupInput +func (_e *MockCloudWatchLogsAPI_Expecter) UntagLogGroupRequest(_a0 interface{}) *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call { + return &MockCloudWatchLogsAPI_UntagLogGroupRequest_Call{Call: _e.mock.On("UntagLogGroupRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_TagResourceRequest_Call) Run(run func(_a0 *cloudwatchlogs.TagResourceInput)) *MockCloudWatchLogsAPI_TagResourceRequest_Call { +func (_c *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call) Run(run func(_a0 *cloudwatchlogs.UntagLogGroupInput)) *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.TagResourceInput)) + run(args[0].(*cloudwatchlogs.UntagLogGroupInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_TagResourceRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.TagResourceOutput) *MockCloudWatchLogsAPI_TagResourceRequest_Call { +func (_c *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.UntagLogGroupOutput) *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_TagResourceRequest_Call) RunAndReturn(run func(*cloudwatchlogs.TagResourceInput) (*request.Request, *cloudwatchlogs.TagResourceOutput)) *MockCloudWatchLogsAPI_TagResourceRequest_Call { +func (_c *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call) RunAndReturn(run func(*cloudwatchlogs.UntagLogGroupInput) (*request.Request, *cloudwatchlogs.UntagLogGroupOutput)) *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call { _c.Call.Return(run) return _c } -// TagResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) TagResourceWithContext(_a0 context.Context, _a1 *cloudwatchlogs.TagResourceInput, _a2 ...request.Option) (*cloudwatchlogs.TagResourceOutput, error) { +// UntagLogGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) UntagLogGroupWithContext(_a0 context.Context, _a1 *cloudwatchlogs.UntagLogGroupInput, _a2 ...request.Option) (*cloudwatchlogs.UntagLogGroupOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -9320,20 +14914,24 @@ func (_m *MockCloudWatchLogsAPI) TagResourceWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.TagResourceOutput + if len(ret) == 0 { + panic("no return value specified for UntagLogGroupWithContext") + } + + var r0 *cloudwatchlogs.UntagLogGroupOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TagResourceInput, ...request.Option) (*cloudwatchlogs.TagResourceOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UntagLogGroupInput, ...request.Option) (*cloudwatchlogs.UntagLogGroupOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TagResourceInput, ...request.Option) *cloudwatchlogs.TagResourceOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UntagLogGroupInput, ...request.Option) *cloudwatchlogs.UntagLogGroupOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.TagResourceOutput) + r0 = ret.Get(0).(*cloudwatchlogs.UntagLogGroupOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.TagResourceInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.UntagLogGroupInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -9342,21 +14940,21 @@ func (_m *MockCloudWatchLogsAPI) TagResourceWithContext(_a0 context.Context, _a1 return r0, r1 } -// MockCloudWatchLogsAPI_TagResourceWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TagResourceWithContext' -type MockCloudWatchLogsAPI_TagResourceWithContext_Call struct { +// MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagLogGroupWithContext' +type MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call struct { *mock.Call } -// TagResourceWithContext is a helper method to define mock.On call +// UntagLogGroupWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.TagResourceInput +// - _a1 *cloudwatchlogs.UntagLogGroupInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) TagResourceWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_TagResourceWithContext_Call { - return &MockCloudWatchLogsAPI_TagResourceWithContext_Call{Call: _e.mock.On("TagResourceWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) UntagLogGroupWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call { + return &MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call{Call: _e.mock.On("UntagLogGroupWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_TagResourceWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.TagResourceInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_TagResourceWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.UntagLogGroupInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -9364,39 +14962,43 @@ func (_c *MockCloudWatchLogsAPI_TagResourceWithContext_Call) Run(run func(_a0 co variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.TagResourceInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.UntagLogGroupInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_TagResourceWithContext_Call) Return(_a0 *cloudwatchlogs.TagResourceOutput, _a1 error) *MockCloudWatchLogsAPI_TagResourceWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call) Return(_a0 *cloudwatchlogs.UntagLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_TagResourceWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.TagResourceInput, ...request.Option) (*cloudwatchlogs.TagResourceOutput, error)) *MockCloudWatchLogsAPI_TagResourceWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.UntagLogGroupInput, ...request.Option) (*cloudwatchlogs.UntagLogGroupOutput, error)) *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call { _c.Call.Return(run) return _c } -// TestMetricFilter provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) TestMetricFilter(_a0 *cloudwatchlogs.TestMetricFilterInput) (*cloudwatchlogs.TestMetricFilterOutput, error) { +// UntagResource provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) UntagResource(_a0 *cloudwatchlogs.UntagResourceInput) (*cloudwatchlogs.UntagResourceOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.TestMetricFilterOutput + if len(ret) == 0 { + panic("no return value specified for UntagResource") + } + + var r0 *cloudwatchlogs.UntagResourceOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TestMetricFilterInput) (*cloudwatchlogs.TestMetricFilterOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagResourceInput) (*cloudwatchlogs.UntagResourceOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TestMetricFilterInput) *cloudwatchlogs.TestMetricFilterOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagResourceInput) *cloudwatchlogs.UntagResourceOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.TestMetricFilterOutput) + r0 = ret.Get(0).(*cloudwatchlogs.UntagResourceOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TestMetricFilterInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UntagResourceInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -9405,44 +15007,48 @@ func (_m *MockCloudWatchLogsAPI) TestMetricFilter(_a0 *cloudwatchlogs.TestMetric return r0, r1 } -// MockCloudWatchLogsAPI_TestMetricFilter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TestMetricFilter' -type MockCloudWatchLogsAPI_TestMetricFilter_Call struct { +// MockCloudWatchLogsAPI_UntagResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagResource' +type MockCloudWatchLogsAPI_UntagResource_Call struct { *mock.Call } -// TestMetricFilter is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.TestMetricFilterInput -func (_e *MockCloudWatchLogsAPI_Expecter) TestMetricFilter(_a0 interface{}) *MockCloudWatchLogsAPI_TestMetricFilter_Call { - return &MockCloudWatchLogsAPI_TestMetricFilter_Call{Call: _e.mock.On("TestMetricFilter", _a0)} +// UntagResource is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.UntagResourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) UntagResource(_a0 interface{}) *MockCloudWatchLogsAPI_UntagResource_Call { + return &MockCloudWatchLogsAPI_UntagResource_Call{Call: _e.mock.On("UntagResource", _a0)} } -func (_c *MockCloudWatchLogsAPI_TestMetricFilter_Call) Run(run func(_a0 *cloudwatchlogs.TestMetricFilterInput)) *MockCloudWatchLogsAPI_TestMetricFilter_Call { +func (_c *MockCloudWatchLogsAPI_UntagResource_Call) Run(run func(_a0 *cloudwatchlogs.UntagResourceInput)) *MockCloudWatchLogsAPI_UntagResource_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.TestMetricFilterInput)) + run(args[0].(*cloudwatchlogs.UntagResourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_TestMetricFilter_Call) Return(_a0 *cloudwatchlogs.TestMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_TestMetricFilter_Call { +func (_c *MockCloudWatchLogsAPI_UntagResource_Call) Return(_a0 *cloudwatchlogs.UntagResourceOutput, _a1 error) *MockCloudWatchLogsAPI_UntagResource_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_TestMetricFilter_Call) RunAndReturn(run func(*cloudwatchlogs.TestMetricFilterInput) (*cloudwatchlogs.TestMetricFilterOutput, error)) *MockCloudWatchLogsAPI_TestMetricFilter_Call { +func (_c *MockCloudWatchLogsAPI_UntagResource_Call) RunAndReturn(run func(*cloudwatchlogs.UntagResourceInput) (*cloudwatchlogs.UntagResourceOutput, error)) *MockCloudWatchLogsAPI_UntagResource_Call { _c.Call.Return(run) return _c } -// TestMetricFilterRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) TestMetricFilterRequest(_a0 *cloudwatchlogs.TestMetricFilterInput) (*request.Request, *cloudwatchlogs.TestMetricFilterOutput) { +// UntagResourceRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) UntagResourceRequest(_a0 *cloudwatchlogs.UntagResourceInput) (*request.Request, *cloudwatchlogs.UntagResourceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UntagResourceRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.TestMetricFilterOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TestMetricFilterInput) (*request.Request, *cloudwatchlogs.TestMetricFilterOutput)); ok { + var r1 *cloudwatchlogs.UntagResourceOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagResourceInput) (*request.Request, *cloudwatchlogs.UntagResourceOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.TestMetricFilterInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagResourceInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -9450,47 +15056,47 @@ func (_m *MockCloudWatchLogsAPI) TestMetricFilterRequest(_a0 *cloudwatchlogs.Tes } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.TestMetricFilterInput) *cloudwatchlogs.TestMetricFilterOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UntagResourceInput) *cloudwatchlogs.UntagResourceOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.TestMetricFilterOutput) + r1 = ret.Get(1).(*cloudwatchlogs.UntagResourceOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_TestMetricFilterRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TestMetricFilterRequest' -type MockCloudWatchLogsAPI_TestMetricFilterRequest_Call struct { +// MockCloudWatchLogsAPI_UntagResourceRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagResourceRequest' +type MockCloudWatchLogsAPI_UntagResourceRequest_Call struct { *mock.Call } -// TestMetricFilterRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.TestMetricFilterInput -func (_e *MockCloudWatchLogsAPI_Expecter) TestMetricFilterRequest(_a0 interface{}) *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call { - return &MockCloudWatchLogsAPI_TestMetricFilterRequest_Call{Call: _e.mock.On("TestMetricFilterRequest", _a0)} +// UntagResourceRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.UntagResourceInput +func (_e *MockCloudWatchLogsAPI_Expecter) UntagResourceRequest(_a0 interface{}) *MockCloudWatchLogsAPI_UntagResourceRequest_Call { + return &MockCloudWatchLogsAPI_UntagResourceRequest_Call{Call: _e.mock.On("UntagResourceRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call) Run(run func(_a0 *cloudwatchlogs.TestMetricFilterInput)) *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_UntagResourceRequest_Call) Run(run func(_a0 *cloudwatchlogs.UntagResourceInput)) *MockCloudWatchLogsAPI_UntagResourceRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.TestMetricFilterInput)) + run(args[0].(*cloudwatchlogs.UntagResourceInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.TestMetricFilterOutput) *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_UntagResourceRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.UntagResourceOutput) *MockCloudWatchLogsAPI_UntagResourceRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call) RunAndReturn(run func(*cloudwatchlogs.TestMetricFilterInput) (*request.Request, *cloudwatchlogs.TestMetricFilterOutput)) *MockCloudWatchLogsAPI_TestMetricFilterRequest_Call { +func (_c *MockCloudWatchLogsAPI_UntagResourceRequest_Call) RunAndReturn(run func(*cloudwatchlogs.UntagResourceInput) (*request.Request, *cloudwatchlogs.UntagResourceOutput)) *MockCloudWatchLogsAPI_UntagResourceRequest_Call { _c.Call.Return(run) return _c } -// TestMetricFilterWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) TestMetricFilterWithContext(_a0 context.Context, _a1 *cloudwatchlogs.TestMetricFilterInput, _a2 ...request.Option) (*cloudwatchlogs.TestMetricFilterOutput, error) { +// UntagResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) UntagResourceWithContext(_a0 context.Context, _a1 *cloudwatchlogs.UntagResourceInput, _a2 ...request.Option) (*cloudwatchlogs.UntagResourceOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -9500,20 +15106,24 @@ func (_m *MockCloudWatchLogsAPI) TestMetricFilterWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.TestMetricFilterOutput + if len(ret) == 0 { + panic("no return value specified for UntagResourceWithContext") + } + + var r0 *cloudwatchlogs.UntagResourceOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TestMetricFilterInput, ...request.Option) (*cloudwatchlogs.TestMetricFilterOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UntagResourceInput, ...request.Option) (*cloudwatchlogs.UntagResourceOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.TestMetricFilterInput, ...request.Option) *cloudwatchlogs.TestMetricFilterOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UntagResourceInput, ...request.Option) *cloudwatchlogs.UntagResourceOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.TestMetricFilterOutput) + r0 = ret.Get(0).(*cloudwatchlogs.UntagResourceOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.TestMetricFilterInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.UntagResourceInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -9522,21 +15132,21 @@ func (_m *MockCloudWatchLogsAPI) TestMetricFilterWithContext(_a0 context.Context return r0, r1 } -// MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TestMetricFilterWithContext' -type MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call struct { +// MockCloudWatchLogsAPI_UntagResourceWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagResourceWithContext' +type MockCloudWatchLogsAPI_UntagResourceWithContext_Call struct { *mock.Call } -// TestMetricFilterWithContext is a helper method to define mock.On call +// UntagResourceWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.TestMetricFilterInput +// - _a1 *cloudwatchlogs.UntagResourceInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) TestMetricFilterWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call { - return &MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call{Call: _e.mock.On("TestMetricFilterWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) UntagResourceWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_UntagResourceWithContext_Call { + return &MockCloudWatchLogsAPI_UntagResourceWithContext_Call{Call: _e.mock.On("UntagResourceWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.TestMetricFilterInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UntagResourceWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.UntagResourceInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_UntagResourceWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -9544,39 +15154,43 @@ func (_c *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call) Run(run func(_ variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.TestMetricFilterInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.UntagResourceInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call) Return(_a0 *cloudwatchlogs.TestMetricFilterOutput, _a1 error) *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UntagResourceWithContext_Call) Return(_a0 *cloudwatchlogs.UntagResourceOutput, _a1 error) *MockCloudWatchLogsAPI_UntagResourceWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.TestMetricFilterInput, ...request.Option) (*cloudwatchlogs.TestMetricFilterOutput, error)) *MockCloudWatchLogsAPI_TestMetricFilterWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UntagResourceWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.UntagResourceInput, ...request.Option) (*cloudwatchlogs.UntagResourceOutput, error)) *MockCloudWatchLogsAPI_UntagResourceWithContext_Call { _c.Call.Return(run) return _c } -// UntagLogGroup provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) UntagLogGroup(_a0 *cloudwatchlogs.UntagLogGroupInput) (*cloudwatchlogs.UntagLogGroupOutput, error) { +// UpdateAnomaly provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) UpdateAnomaly(_a0 *cloudwatchlogs.UpdateAnomalyInput) (*cloudwatchlogs.UpdateAnomalyOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.UntagLogGroupOutput + if len(ret) == 0 { + panic("no return value specified for UpdateAnomaly") + } + + var r0 *cloudwatchlogs.UpdateAnomalyOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagLogGroupInput) (*cloudwatchlogs.UntagLogGroupOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UpdateAnomalyInput) (*cloudwatchlogs.UpdateAnomalyOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagLogGroupInput) *cloudwatchlogs.UntagLogGroupOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UpdateAnomalyInput) *cloudwatchlogs.UpdateAnomalyOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.UntagLogGroupOutput) + r0 = ret.Get(0).(*cloudwatchlogs.UpdateAnomalyOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UntagLogGroupInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UpdateAnomalyInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -9585,44 +15199,48 @@ func (_m *MockCloudWatchLogsAPI) UntagLogGroup(_a0 *cloudwatchlogs.UntagLogGroup return r0, r1 } -// MockCloudWatchLogsAPI_UntagLogGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagLogGroup' -type MockCloudWatchLogsAPI_UntagLogGroup_Call struct { +// MockCloudWatchLogsAPI_UpdateAnomaly_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAnomaly' +type MockCloudWatchLogsAPI_UpdateAnomaly_Call struct { *mock.Call } -// UntagLogGroup is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.UntagLogGroupInput -func (_e *MockCloudWatchLogsAPI_Expecter) UntagLogGroup(_a0 interface{}) *MockCloudWatchLogsAPI_UntagLogGroup_Call { - return &MockCloudWatchLogsAPI_UntagLogGroup_Call{Call: _e.mock.On("UntagLogGroup", _a0)} +// UpdateAnomaly is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.UpdateAnomalyInput +func (_e *MockCloudWatchLogsAPI_Expecter) UpdateAnomaly(_a0 interface{}) *MockCloudWatchLogsAPI_UpdateAnomaly_Call { + return &MockCloudWatchLogsAPI_UpdateAnomaly_Call{Call: _e.mock.On("UpdateAnomaly", _a0)} } -func (_c *MockCloudWatchLogsAPI_UntagLogGroup_Call) Run(run func(_a0 *cloudwatchlogs.UntagLogGroupInput)) *MockCloudWatchLogsAPI_UntagLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_UpdateAnomaly_Call) Run(run func(_a0 *cloudwatchlogs.UpdateAnomalyInput)) *MockCloudWatchLogsAPI_UpdateAnomaly_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.UntagLogGroupInput)) + run(args[0].(*cloudwatchlogs.UpdateAnomalyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_UntagLogGroup_Call) Return(_a0 *cloudwatchlogs.UntagLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_UntagLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_UpdateAnomaly_Call) Return(_a0 *cloudwatchlogs.UpdateAnomalyOutput, _a1 error) *MockCloudWatchLogsAPI_UpdateAnomaly_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_UntagLogGroup_Call) RunAndReturn(run func(*cloudwatchlogs.UntagLogGroupInput) (*cloudwatchlogs.UntagLogGroupOutput, error)) *MockCloudWatchLogsAPI_UntagLogGroup_Call { +func (_c *MockCloudWatchLogsAPI_UpdateAnomaly_Call) RunAndReturn(run func(*cloudwatchlogs.UpdateAnomalyInput) (*cloudwatchlogs.UpdateAnomalyOutput, error)) *MockCloudWatchLogsAPI_UpdateAnomaly_Call { _c.Call.Return(run) return _c } -// UntagLogGroupRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) UntagLogGroupRequest(_a0 *cloudwatchlogs.UntagLogGroupInput) (*request.Request, *cloudwatchlogs.UntagLogGroupOutput) { +// UpdateAnomalyRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) UpdateAnomalyRequest(_a0 *cloudwatchlogs.UpdateAnomalyInput) (*request.Request, *cloudwatchlogs.UpdateAnomalyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateAnomalyRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.UntagLogGroupOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagLogGroupInput) (*request.Request, *cloudwatchlogs.UntagLogGroupOutput)); ok { + var r1 *cloudwatchlogs.UpdateAnomalyOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UpdateAnomalyInput) (*request.Request, *cloudwatchlogs.UpdateAnomalyOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagLogGroupInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UpdateAnomalyInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -9630,47 +15248,47 @@ func (_m *MockCloudWatchLogsAPI) UntagLogGroupRequest(_a0 *cloudwatchlogs.UntagL } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UntagLogGroupInput) *cloudwatchlogs.UntagLogGroupOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UpdateAnomalyInput) *cloudwatchlogs.UpdateAnomalyOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.UntagLogGroupOutput) + r1 = ret.Get(1).(*cloudwatchlogs.UpdateAnomalyOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_UntagLogGroupRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagLogGroupRequest' -type MockCloudWatchLogsAPI_UntagLogGroupRequest_Call struct { +// MockCloudWatchLogsAPI_UpdateAnomalyRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAnomalyRequest' +type MockCloudWatchLogsAPI_UpdateAnomalyRequest_Call struct { *mock.Call } -// UntagLogGroupRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.UntagLogGroupInput -func (_e *MockCloudWatchLogsAPI_Expecter) UntagLogGroupRequest(_a0 interface{}) *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call { - return &MockCloudWatchLogsAPI_UntagLogGroupRequest_Call{Call: _e.mock.On("UntagLogGroupRequest", _a0)} +// UpdateAnomalyRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.UpdateAnomalyInput +func (_e *MockCloudWatchLogsAPI_Expecter) UpdateAnomalyRequest(_a0 interface{}) *MockCloudWatchLogsAPI_UpdateAnomalyRequest_Call { + return &MockCloudWatchLogsAPI_UpdateAnomalyRequest_Call{Call: _e.mock.On("UpdateAnomalyRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call) Run(run func(_a0 *cloudwatchlogs.UntagLogGroupInput)) *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_UpdateAnomalyRequest_Call) Run(run func(_a0 *cloudwatchlogs.UpdateAnomalyInput)) *MockCloudWatchLogsAPI_UpdateAnomalyRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.UntagLogGroupInput)) + run(args[0].(*cloudwatchlogs.UpdateAnomalyInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.UntagLogGroupOutput) *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_UpdateAnomalyRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.UpdateAnomalyOutput) *MockCloudWatchLogsAPI_UpdateAnomalyRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call) RunAndReturn(run func(*cloudwatchlogs.UntagLogGroupInput) (*request.Request, *cloudwatchlogs.UntagLogGroupOutput)) *MockCloudWatchLogsAPI_UntagLogGroupRequest_Call { +func (_c *MockCloudWatchLogsAPI_UpdateAnomalyRequest_Call) RunAndReturn(run func(*cloudwatchlogs.UpdateAnomalyInput) (*request.Request, *cloudwatchlogs.UpdateAnomalyOutput)) *MockCloudWatchLogsAPI_UpdateAnomalyRequest_Call { _c.Call.Return(run) return _c } -// UntagLogGroupWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) UntagLogGroupWithContext(_a0 context.Context, _a1 *cloudwatchlogs.UntagLogGroupInput, _a2 ...request.Option) (*cloudwatchlogs.UntagLogGroupOutput, error) { +// UpdateAnomalyWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) UpdateAnomalyWithContext(_a0 context.Context, _a1 *cloudwatchlogs.UpdateAnomalyInput, _a2 ...request.Option) (*cloudwatchlogs.UpdateAnomalyOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -9680,20 +15298,24 @@ func (_m *MockCloudWatchLogsAPI) UntagLogGroupWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.UntagLogGroupOutput + if len(ret) == 0 { + panic("no return value specified for UpdateAnomalyWithContext") + } + + var r0 *cloudwatchlogs.UpdateAnomalyOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UntagLogGroupInput, ...request.Option) (*cloudwatchlogs.UntagLogGroupOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UpdateAnomalyInput, ...request.Option) (*cloudwatchlogs.UpdateAnomalyOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UntagLogGroupInput, ...request.Option) *cloudwatchlogs.UntagLogGroupOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UpdateAnomalyInput, ...request.Option) *cloudwatchlogs.UpdateAnomalyOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.UntagLogGroupOutput) + r0 = ret.Get(0).(*cloudwatchlogs.UpdateAnomalyOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.UntagLogGroupInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.UpdateAnomalyInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -9702,21 +15324,21 @@ func (_m *MockCloudWatchLogsAPI) UntagLogGroupWithContext(_a0 context.Context, _ return r0, r1 } -// MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagLogGroupWithContext' -type MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call struct { +// MockCloudWatchLogsAPI_UpdateAnomalyWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAnomalyWithContext' +type MockCloudWatchLogsAPI_UpdateAnomalyWithContext_Call struct { *mock.Call } -// UntagLogGroupWithContext is a helper method to define mock.On call +// UpdateAnomalyWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.UntagLogGroupInput +// - _a1 *cloudwatchlogs.UpdateAnomalyInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) UntagLogGroupWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call { - return &MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call{Call: _e.mock.On("UntagLogGroupWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) UpdateAnomalyWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_UpdateAnomalyWithContext_Call { + return &MockCloudWatchLogsAPI_UpdateAnomalyWithContext_Call{Call: _e.mock.On("UpdateAnomalyWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.UntagLogGroupInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UpdateAnomalyWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.UpdateAnomalyInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_UpdateAnomalyWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -9724,39 +15346,43 @@ func (_c *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call) Run(run func(_a0 variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.UntagLogGroupInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.UpdateAnomalyInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call) Return(_a0 *cloudwatchlogs.UntagLogGroupOutput, _a1 error) *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UpdateAnomalyWithContext_Call) Return(_a0 *cloudwatchlogs.UpdateAnomalyOutput, _a1 error) *MockCloudWatchLogsAPI_UpdateAnomalyWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.UntagLogGroupInput, ...request.Option) (*cloudwatchlogs.UntagLogGroupOutput, error)) *MockCloudWatchLogsAPI_UntagLogGroupWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UpdateAnomalyWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.UpdateAnomalyInput, ...request.Option) (*cloudwatchlogs.UpdateAnomalyOutput, error)) *MockCloudWatchLogsAPI_UpdateAnomalyWithContext_Call { _c.Call.Return(run) return _c } -// UntagResource provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) UntagResource(_a0 *cloudwatchlogs.UntagResourceInput) (*cloudwatchlogs.UntagResourceOutput, error) { +// UpdateLogAnomalyDetector provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) UpdateLogAnomalyDetector(_a0 *cloudwatchlogs.UpdateLogAnomalyDetectorInput) (*cloudwatchlogs.UpdateLogAnomalyDetectorOutput, error) { ret := _m.Called(_a0) - var r0 *cloudwatchlogs.UntagResourceOutput + if len(ret) == 0 { + panic("no return value specified for UpdateLogAnomalyDetector") + } + + var r0 *cloudwatchlogs.UpdateLogAnomalyDetectorOutput var r1 error - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagResourceInput) (*cloudwatchlogs.UntagResourceOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UpdateLogAnomalyDetectorInput) (*cloudwatchlogs.UpdateLogAnomalyDetectorOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagResourceInput) *cloudwatchlogs.UntagResourceOutput); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UpdateLogAnomalyDetectorInput) *cloudwatchlogs.UpdateLogAnomalyDetectorOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.UntagResourceOutput) + r0 = ret.Get(0).(*cloudwatchlogs.UpdateLogAnomalyDetectorOutput) } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UntagResourceInput) error); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UpdateLogAnomalyDetectorInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -9765,44 +15391,48 @@ func (_m *MockCloudWatchLogsAPI) UntagResource(_a0 *cloudwatchlogs.UntagResource return r0, r1 } -// MockCloudWatchLogsAPI_UntagResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagResource' -type MockCloudWatchLogsAPI_UntagResource_Call struct { +// MockCloudWatchLogsAPI_UpdateLogAnomalyDetector_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLogAnomalyDetector' +type MockCloudWatchLogsAPI_UpdateLogAnomalyDetector_Call struct { *mock.Call } -// UntagResource is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.UntagResourceInput -func (_e *MockCloudWatchLogsAPI_Expecter) UntagResource(_a0 interface{}) *MockCloudWatchLogsAPI_UntagResource_Call { - return &MockCloudWatchLogsAPI_UntagResource_Call{Call: _e.mock.On("UntagResource", _a0)} +// UpdateLogAnomalyDetector is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.UpdateLogAnomalyDetectorInput +func (_e *MockCloudWatchLogsAPI_Expecter) UpdateLogAnomalyDetector(_a0 interface{}) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetector_Call { + return &MockCloudWatchLogsAPI_UpdateLogAnomalyDetector_Call{Call: _e.mock.On("UpdateLogAnomalyDetector", _a0)} } -func (_c *MockCloudWatchLogsAPI_UntagResource_Call) Run(run func(_a0 *cloudwatchlogs.UntagResourceInput)) *MockCloudWatchLogsAPI_UntagResource_Call { +func (_c *MockCloudWatchLogsAPI_UpdateLogAnomalyDetector_Call) Run(run func(_a0 *cloudwatchlogs.UpdateLogAnomalyDetectorInput)) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetector_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.UntagResourceInput)) + run(args[0].(*cloudwatchlogs.UpdateLogAnomalyDetectorInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_UntagResource_Call) Return(_a0 *cloudwatchlogs.UntagResourceOutput, _a1 error) *MockCloudWatchLogsAPI_UntagResource_Call { +func (_c *MockCloudWatchLogsAPI_UpdateLogAnomalyDetector_Call) Return(_a0 *cloudwatchlogs.UpdateLogAnomalyDetectorOutput, _a1 error) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetector_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_UntagResource_Call) RunAndReturn(run func(*cloudwatchlogs.UntagResourceInput) (*cloudwatchlogs.UntagResourceOutput, error)) *MockCloudWatchLogsAPI_UntagResource_Call { +func (_c *MockCloudWatchLogsAPI_UpdateLogAnomalyDetector_Call) RunAndReturn(run func(*cloudwatchlogs.UpdateLogAnomalyDetectorInput) (*cloudwatchlogs.UpdateLogAnomalyDetectorOutput, error)) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetector_Call { _c.Call.Return(run) return _c } -// UntagResourceRequest provides a mock function with given fields: _a0 -func (_m *MockCloudWatchLogsAPI) UntagResourceRequest(_a0 *cloudwatchlogs.UntagResourceInput) (*request.Request, *cloudwatchlogs.UntagResourceOutput) { +// UpdateLogAnomalyDetectorRequest provides a mock function with given fields: _a0 +func (_m *MockCloudWatchLogsAPI) UpdateLogAnomalyDetectorRequest(_a0 *cloudwatchlogs.UpdateLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.UpdateLogAnomalyDetectorOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateLogAnomalyDetectorRequest") + } + var r0 *request.Request - var r1 *cloudwatchlogs.UntagResourceOutput - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagResourceInput) (*request.Request, *cloudwatchlogs.UntagResourceOutput)); ok { + var r1 *cloudwatchlogs.UpdateLogAnomalyDetectorOutput + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UpdateLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.UpdateLogAnomalyDetectorOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UntagResourceInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*cloudwatchlogs.UpdateLogAnomalyDetectorInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -9810,47 +15440,47 @@ func (_m *MockCloudWatchLogsAPI) UntagResourceRequest(_a0 *cloudwatchlogs.UntagR } } - if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UntagResourceInput) *cloudwatchlogs.UntagResourceOutput); ok { + if rf, ok := ret.Get(1).(func(*cloudwatchlogs.UpdateLogAnomalyDetectorInput) *cloudwatchlogs.UpdateLogAnomalyDetectorOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*cloudwatchlogs.UntagResourceOutput) + r1 = ret.Get(1).(*cloudwatchlogs.UpdateLogAnomalyDetectorOutput) } } return r0, r1 } -// MockCloudWatchLogsAPI_UntagResourceRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagResourceRequest' -type MockCloudWatchLogsAPI_UntagResourceRequest_Call struct { +// MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorRequest_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLogAnomalyDetectorRequest' +type MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorRequest_Call struct { *mock.Call } -// UntagResourceRequest is a helper method to define mock.On call -// - _a0 *cloudwatchlogs.UntagResourceInput -func (_e *MockCloudWatchLogsAPI_Expecter) UntagResourceRequest(_a0 interface{}) *MockCloudWatchLogsAPI_UntagResourceRequest_Call { - return &MockCloudWatchLogsAPI_UntagResourceRequest_Call{Call: _e.mock.On("UntagResourceRequest", _a0)} +// UpdateLogAnomalyDetectorRequest is a helper method to define mock.On call +// - _a0 *cloudwatchlogs.UpdateLogAnomalyDetectorInput +func (_e *MockCloudWatchLogsAPI_Expecter) UpdateLogAnomalyDetectorRequest(_a0 interface{}) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorRequest_Call { + return &MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorRequest_Call{Call: _e.mock.On("UpdateLogAnomalyDetectorRequest", _a0)} } -func (_c *MockCloudWatchLogsAPI_UntagResourceRequest_Call) Run(run func(_a0 *cloudwatchlogs.UntagResourceInput)) *MockCloudWatchLogsAPI_UntagResourceRequest_Call { +func (_c *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorRequest_Call) Run(run func(_a0 *cloudwatchlogs.UpdateLogAnomalyDetectorInput)) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorRequest_Call { _c.Call.Run(func(args mock.Arguments) { - run(args[0].(*cloudwatchlogs.UntagResourceInput)) + run(args[0].(*cloudwatchlogs.UpdateLogAnomalyDetectorInput)) }) return _c } -func (_c *MockCloudWatchLogsAPI_UntagResourceRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.UntagResourceOutput) *MockCloudWatchLogsAPI_UntagResourceRequest_Call { +func (_c *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorRequest_Call) Return(_a0 *request.Request, _a1 *cloudwatchlogs.UpdateLogAnomalyDetectorOutput) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorRequest_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_UntagResourceRequest_Call) RunAndReturn(run func(*cloudwatchlogs.UntagResourceInput) (*request.Request, *cloudwatchlogs.UntagResourceOutput)) *MockCloudWatchLogsAPI_UntagResourceRequest_Call { +func (_c *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorRequest_Call) RunAndReturn(run func(*cloudwatchlogs.UpdateLogAnomalyDetectorInput) (*request.Request, *cloudwatchlogs.UpdateLogAnomalyDetectorOutput)) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorRequest_Call { _c.Call.Return(run) return _c } -// UntagResourceWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *MockCloudWatchLogsAPI) UntagResourceWithContext(_a0 context.Context, _a1 *cloudwatchlogs.UntagResourceInput, _a2 ...request.Option) (*cloudwatchlogs.UntagResourceOutput, error) { +// UpdateLogAnomalyDetectorWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *MockCloudWatchLogsAPI) UpdateLogAnomalyDetectorWithContext(_a0 context.Context, _a1 *cloudwatchlogs.UpdateLogAnomalyDetectorInput, _a2 ...request.Option) (*cloudwatchlogs.UpdateLogAnomalyDetectorOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -9860,20 +15490,24 @@ func (_m *MockCloudWatchLogsAPI) UntagResourceWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *cloudwatchlogs.UntagResourceOutput + if len(ret) == 0 { + panic("no return value specified for UpdateLogAnomalyDetectorWithContext") + } + + var r0 *cloudwatchlogs.UpdateLogAnomalyDetectorOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UntagResourceInput, ...request.Option) (*cloudwatchlogs.UntagResourceOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UpdateLogAnomalyDetectorInput, ...request.Option) (*cloudwatchlogs.UpdateLogAnomalyDetectorOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UntagResourceInput, ...request.Option) *cloudwatchlogs.UntagResourceOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *cloudwatchlogs.UpdateLogAnomalyDetectorInput, ...request.Option) *cloudwatchlogs.UpdateLogAnomalyDetectorOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*cloudwatchlogs.UntagResourceOutput) + r0 = ret.Get(0).(*cloudwatchlogs.UpdateLogAnomalyDetectorOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.UntagResourceInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *cloudwatchlogs.UpdateLogAnomalyDetectorInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -9882,21 +15516,21 @@ func (_m *MockCloudWatchLogsAPI) UntagResourceWithContext(_a0 context.Context, _ return r0, r1 } -// MockCloudWatchLogsAPI_UntagResourceWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UntagResourceWithContext' -type MockCloudWatchLogsAPI_UntagResourceWithContext_Call struct { +// MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLogAnomalyDetectorWithContext' +type MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorWithContext_Call struct { *mock.Call } -// UntagResourceWithContext is a helper method to define mock.On call +// UpdateLogAnomalyDetectorWithContext is a helper method to define mock.On call // - _a0 context.Context -// - _a1 *cloudwatchlogs.UntagResourceInput +// - _a1 *cloudwatchlogs.UpdateLogAnomalyDetectorInput // - _a2 ...request.Option -func (_e *MockCloudWatchLogsAPI_Expecter) UntagResourceWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_UntagResourceWithContext_Call { - return &MockCloudWatchLogsAPI_UntagResourceWithContext_Call{Call: _e.mock.On("UntagResourceWithContext", +func (_e *MockCloudWatchLogsAPI_Expecter) UpdateLogAnomalyDetectorWithContext(_a0 interface{}, _a1 interface{}, _a2 ...interface{}) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorWithContext_Call { + return &MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorWithContext_Call{Call: _e.mock.On("UpdateLogAnomalyDetectorWithContext", append([]interface{}{_a0, _a1}, _a2...)...)} } -func (_c *MockCloudWatchLogsAPI_UntagResourceWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.UntagResourceInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_UntagResourceWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorWithContext_Call) Run(run func(_a0 context.Context, _a1 *cloudwatchlogs.UpdateLogAnomalyDetectorInput, _a2 ...request.Option)) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorWithContext_Call { _c.Call.Run(func(args mock.Arguments) { variadicArgs := make([]request.Option, len(args)-2) for i, a := range args[2:] { @@ -9904,17 +15538,17 @@ func (_c *MockCloudWatchLogsAPI_UntagResourceWithContext_Call) Run(run func(_a0 variadicArgs[i] = a.(request.Option) } } - run(args[0].(context.Context), args[1].(*cloudwatchlogs.UntagResourceInput), variadicArgs...) + run(args[0].(context.Context), args[1].(*cloudwatchlogs.UpdateLogAnomalyDetectorInput), variadicArgs...) }) return _c } -func (_c *MockCloudWatchLogsAPI_UntagResourceWithContext_Call) Return(_a0 *cloudwatchlogs.UntagResourceOutput, _a1 error) *MockCloudWatchLogsAPI_UntagResourceWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorWithContext_Call) Return(_a0 *cloudwatchlogs.UpdateLogAnomalyDetectorOutput, _a1 error) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorWithContext_Call { _c.Call.Return(_a0, _a1) return _c } -func (_c *MockCloudWatchLogsAPI_UntagResourceWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.UntagResourceInput, ...request.Option) (*cloudwatchlogs.UntagResourceOutput, error)) *MockCloudWatchLogsAPI_UntagResourceWithContext_Call { +func (_c *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorWithContext_Call) RunAndReturn(run func(context.Context, *cloudwatchlogs.UpdateLogAnomalyDetectorInput, ...request.Option) (*cloudwatchlogs.UpdateLogAnomalyDetectorOutput, error)) *MockCloudWatchLogsAPI_UpdateLogAnomalyDetectorWithContext_Call { _c.Call.Return(run) return _c } diff --git a/mocks/github.com/aws/aws-sdk-go/service/lambda/lambdaiface/mock_LambdaAPI.go b/mocks/github.com/aws/aws-sdk-go/service/lambda/lambdaiface/mock_LambdaAPI.go index 7d94d02..166f895 100644 --- a/mocks/github.com/aws/aws-sdk-go/service/lambda/lambdaiface/mock_LambdaAPI.go +++ b/mocks/github.com/aws/aws-sdk-go/service/lambda/lambdaiface/mock_LambdaAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.32.4. DO NOT EDIT. +// Code generated by mockery v2.39.1. DO NOT EDIT. package lambdaiface @@ -29,6 +29,10 @@ func (_m *MockLambdaAPI) EXPECT() *MockLambdaAPI_Expecter { func (_m *MockLambdaAPI) AddLayerVersionPermission(_a0 *lambda.AddLayerVersionPermissionInput) (*lambda.AddLayerVersionPermissionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AddLayerVersionPermission") + } + var r0 *lambda.AddLayerVersionPermissionOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.AddLayerVersionPermissionInput) (*lambda.AddLayerVersionPermissionOutput, error)); ok { @@ -83,6 +87,10 @@ func (_c *MockLambdaAPI_AddLayerVersionPermission_Call) RunAndReturn(run func(*l func (_m *MockLambdaAPI) AddLayerVersionPermissionRequest(_a0 *lambda.AddLayerVersionPermissionInput) (*request.Request, *lambda.AddLayerVersionPermissionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AddLayerVersionPermissionRequest") + } + var r0 *request.Request var r1 *lambda.AddLayerVersionPermissionOutput if rf, ok := ret.Get(0).(func(*lambda.AddLayerVersionPermissionInput) (*request.Request, *lambda.AddLayerVersionPermissionOutput)); ok { @@ -146,6 +154,10 @@ func (_m *MockLambdaAPI) AddLayerVersionPermissionWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddLayerVersionPermissionWithContext") + } + var r0 *lambda.AddLayerVersionPermissionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.AddLayerVersionPermissionInput, ...request.Option) (*lambda.AddLayerVersionPermissionOutput, error)); ok { @@ -209,6 +221,10 @@ func (_c *MockLambdaAPI_AddLayerVersionPermissionWithContext_Call) RunAndReturn( func (_m *MockLambdaAPI) AddPermission(_a0 *lambda.AddPermissionInput) (*lambda.AddPermissionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AddPermission") + } + var r0 *lambda.AddPermissionOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.AddPermissionInput) (*lambda.AddPermissionOutput, error)); ok { @@ -263,6 +279,10 @@ func (_c *MockLambdaAPI_AddPermission_Call) RunAndReturn(run func(*lambda.AddPer func (_m *MockLambdaAPI) AddPermissionRequest(_a0 *lambda.AddPermissionInput) (*request.Request, *lambda.AddPermissionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AddPermissionRequest") + } + var r0 *request.Request var r1 *lambda.AddPermissionOutput if rf, ok := ret.Get(0).(func(*lambda.AddPermissionInput) (*request.Request, *lambda.AddPermissionOutput)); ok { @@ -326,6 +346,10 @@ func (_m *MockLambdaAPI) AddPermissionWithContext(_a0 context.Context, _a1 *lamb _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddPermissionWithContext") + } + var r0 *lambda.AddPermissionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.AddPermissionInput, ...request.Option) (*lambda.AddPermissionOutput, error)); ok { @@ -389,6 +413,10 @@ func (_c *MockLambdaAPI_AddPermissionWithContext_Call) RunAndReturn(run func(con func (_m *MockLambdaAPI) CreateAlias(_a0 *lambda.CreateAliasInput) (*lambda.AliasConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateAlias") + } + var r0 *lambda.AliasConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.CreateAliasInput) (*lambda.AliasConfiguration, error)); ok { @@ -443,6 +471,10 @@ func (_c *MockLambdaAPI_CreateAlias_Call) RunAndReturn(run func(*lambda.CreateAl func (_m *MockLambdaAPI) CreateAliasRequest(_a0 *lambda.CreateAliasInput) (*request.Request, *lambda.AliasConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateAliasRequest") + } + var r0 *request.Request var r1 *lambda.AliasConfiguration if rf, ok := ret.Get(0).(func(*lambda.CreateAliasInput) (*request.Request, *lambda.AliasConfiguration)); ok { @@ -506,6 +538,10 @@ func (_m *MockLambdaAPI) CreateAliasWithContext(_a0 context.Context, _a1 *lambda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAliasWithContext") + } + var r0 *lambda.AliasConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateAliasInput, ...request.Option) (*lambda.AliasConfiguration, error)); ok { @@ -569,6 +605,10 @@ func (_c *MockLambdaAPI_CreateAliasWithContext_Call) RunAndReturn(run func(conte func (_m *MockLambdaAPI) CreateCodeSigningConfig(_a0 *lambda.CreateCodeSigningConfigInput) (*lambda.CreateCodeSigningConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateCodeSigningConfig") + } + var r0 *lambda.CreateCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.CreateCodeSigningConfigInput) (*lambda.CreateCodeSigningConfigOutput, error)); ok { @@ -623,6 +663,10 @@ func (_c *MockLambdaAPI_CreateCodeSigningConfig_Call) RunAndReturn(run func(*lam func (_m *MockLambdaAPI) CreateCodeSigningConfigRequest(_a0 *lambda.CreateCodeSigningConfigInput) (*request.Request, *lambda.CreateCodeSigningConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateCodeSigningConfigRequest") + } + var r0 *request.Request var r1 *lambda.CreateCodeSigningConfigOutput if rf, ok := ret.Get(0).(func(*lambda.CreateCodeSigningConfigInput) (*request.Request, *lambda.CreateCodeSigningConfigOutput)); ok { @@ -686,6 +730,10 @@ func (_m *MockLambdaAPI) CreateCodeSigningConfigWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateCodeSigningConfigWithContext") + } + var r0 *lambda.CreateCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateCodeSigningConfigInput, ...request.Option) (*lambda.CreateCodeSigningConfigOutput, error)); ok { @@ -749,6 +797,10 @@ func (_c *MockLambdaAPI_CreateCodeSigningConfigWithContext_Call) RunAndReturn(ru func (_m *MockLambdaAPI) CreateEventSourceMapping(_a0 *lambda.CreateEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEventSourceMapping") + } + var r0 *lambda.EventSourceMappingConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.CreateEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error)); ok { @@ -803,6 +855,10 @@ func (_c *MockLambdaAPI_CreateEventSourceMapping_Call) RunAndReturn(run func(*la func (_m *MockLambdaAPI) CreateEventSourceMappingRequest(_a0 *lambda.CreateEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEventSourceMappingRequest") + } + var r0 *request.Request var r1 *lambda.EventSourceMappingConfiguration if rf, ok := ret.Get(0).(func(*lambda.CreateEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration)); ok { @@ -866,6 +922,10 @@ func (_m *MockLambdaAPI) CreateEventSourceMappingWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateEventSourceMappingWithContext") + } + var r0 *lambda.EventSourceMappingConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateEventSourceMappingInput, ...request.Option) (*lambda.EventSourceMappingConfiguration, error)); ok { @@ -929,6 +989,10 @@ func (_c *MockLambdaAPI_CreateEventSourceMappingWithContext_Call) RunAndReturn(r func (_m *MockLambdaAPI) CreateFunction(_a0 *lambda.CreateFunctionInput) (*lambda.FunctionConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateFunction") + } + var r0 *lambda.FunctionConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionInput) (*lambda.FunctionConfiguration, error)); ok { @@ -983,6 +1047,10 @@ func (_c *MockLambdaAPI_CreateFunction_Call) RunAndReturn(run func(*lambda.Creat func (_m *MockLambdaAPI) CreateFunctionRequest(_a0 *lambda.CreateFunctionInput) (*request.Request, *lambda.FunctionConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateFunctionRequest") + } + var r0 *request.Request var r1 *lambda.FunctionConfiguration if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionInput) (*request.Request, *lambda.FunctionConfiguration)); ok { @@ -1039,6 +1107,10 @@ func (_c *MockLambdaAPI_CreateFunctionRequest_Call) RunAndReturn(run func(*lambd func (_m *MockLambdaAPI) CreateFunctionUrlConfig(_a0 *lambda.CreateFunctionUrlConfigInput) (*lambda.CreateFunctionUrlConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateFunctionUrlConfig") + } + var r0 *lambda.CreateFunctionUrlConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionUrlConfigInput) (*lambda.CreateFunctionUrlConfigOutput, error)); ok { @@ -1093,6 +1165,10 @@ func (_c *MockLambdaAPI_CreateFunctionUrlConfig_Call) RunAndReturn(run func(*lam func (_m *MockLambdaAPI) CreateFunctionUrlConfigRequest(_a0 *lambda.CreateFunctionUrlConfigInput) (*request.Request, *lambda.CreateFunctionUrlConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateFunctionUrlConfigRequest") + } + var r0 *request.Request var r1 *lambda.CreateFunctionUrlConfigOutput if rf, ok := ret.Get(0).(func(*lambda.CreateFunctionUrlConfigInput) (*request.Request, *lambda.CreateFunctionUrlConfigOutput)); ok { @@ -1156,6 +1232,10 @@ func (_m *MockLambdaAPI) CreateFunctionUrlConfigWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateFunctionUrlConfigWithContext") + } + var r0 *lambda.CreateFunctionUrlConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateFunctionUrlConfigInput, ...request.Option) (*lambda.CreateFunctionUrlConfigOutput, error)); ok { @@ -1226,6 +1306,10 @@ func (_m *MockLambdaAPI) CreateFunctionWithContext(_a0 context.Context, _a1 *lam _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateFunctionWithContext") + } + var r0 *lambda.FunctionConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.CreateFunctionInput, ...request.Option) (*lambda.FunctionConfiguration, error)); ok { @@ -1289,6 +1373,10 @@ func (_c *MockLambdaAPI_CreateFunctionWithContext_Call) RunAndReturn(run func(co func (_m *MockLambdaAPI) DeleteAlias(_a0 *lambda.DeleteAliasInput) (*lambda.DeleteAliasOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAlias") + } + var r0 *lambda.DeleteAliasOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.DeleteAliasInput) (*lambda.DeleteAliasOutput, error)); ok { @@ -1343,6 +1431,10 @@ func (_c *MockLambdaAPI_DeleteAlias_Call) RunAndReturn(run func(*lambda.DeleteAl func (_m *MockLambdaAPI) DeleteAliasRequest(_a0 *lambda.DeleteAliasInput) (*request.Request, *lambda.DeleteAliasOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAliasRequest") + } + var r0 *request.Request var r1 *lambda.DeleteAliasOutput if rf, ok := ret.Get(0).(func(*lambda.DeleteAliasInput) (*request.Request, *lambda.DeleteAliasOutput)); ok { @@ -1406,6 +1498,10 @@ func (_m *MockLambdaAPI) DeleteAliasWithContext(_a0 context.Context, _a1 *lambda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAliasWithContext") + } + var r0 *lambda.DeleteAliasOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteAliasInput, ...request.Option) (*lambda.DeleteAliasOutput, error)); ok { @@ -1469,6 +1565,10 @@ func (_c *MockLambdaAPI_DeleteAliasWithContext_Call) RunAndReturn(run func(conte func (_m *MockLambdaAPI) DeleteCodeSigningConfig(_a0 *lambda.DeleteCodeSigningConfigInput) (*lambda.DeleteCodeSigningConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteCodeSigningConfig") + } + var r0 *lambda.DeleteCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.DeleteCodeSigningConfigInput) (*lambda.DeleteCodeSigningConfigOutput, error)); ok { @@ -1523,6 +1623,10 @@ func (_c *MockLambdaAPI_DeleteCodeSigningConfig_Call) RunAndReturn(run func(*lam func (_m *MockLambdaAPI) DeleteCodeSigningConfigRequest(_a0 *lambda.DeleteCodeSigningConfigInput) (*request.Request, *lambda.DeleteCodeSigningConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteCodeSigningConfigRequest") + } + var r0 *request.Request var r1 *lambda.DeleteCodeSigningConfigOutput if rf, ok := ret.Get(0).(func(*lambda.DeleteCodeSigningConfigInput) (*request.Request, *lambda.DeleteCodeSigningConfigOutput)); ok { @@ -1586,6 +1690,10 @@ func (_m *MockLambdaAPI) DeleteCodeSigningConfigWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteCodeSigningConfigWithContext") + } + var r0 *lambda.DeleteCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteCodeSigningConfigInput, ...request.Option) (*lambda.DeleteCodeSigningConfigOutput, error)); ok { @@ -1649,6 +1757,10 @@ func (_c *MockLambdaAPI_DeleteCodeSigningConfigWithContext_Call) RunAndReturn(ru func (_m *MockLambdaAPI) DeleteEventSourceMapping(_a0 *lambda.DeleteEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteEventSourceMapping") + } + var r0 *lambda.EventSourceMappingConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.DeleteEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error)); ok { @@ -1703,6 +1815,10 @@ func (_c *MockLambdaAPI_DeleteEventSourceMapping_Call) RunAndReturn(run func(*la func (_m *MockLambdaAPI) DeleteEventSourceMappingRequest(_a0 *lambda.DeleteEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteEventSourceMappingRequest") + } + var r0 *request.Request var r1 *lambda.EventSourceMappingConfiguration if rf, ok := ret.Get(0).(func(*lambda.DeleteEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration)); ok { @@ -1766,6 +1882,10 @@ func (_m *MockLambdaAPI) DeleteEventSourceMappingWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteEventSourceMappingWithContext") + } + var r0 *lambda.EventSourceMappingConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteEventSourceMappingInput, ...request.Option) (*lambda.EventSourceMappingConfiguration, error)); ok { @@ -1829,6 +1949,10 @@ func (_c *MockLambdaAPI_DeleteEventSourceMappingWithContext_Call) RunAndReturn(r func (_m *MockLambdaAPI) DeleteFunction(_a0 *lambda.DeleteFunctionInput) (*lambda.DeleteFunctionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFunction") + } + var r0 *lambda.DeleteFunctionOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionInput) (*lambda.DeleteFunctionOutput, error)); ok { @@ -1883,6 +2007,10 @@ func (_c *MockLambdaAPI_DeleteFunction_Call) RunAndReturn(run func(*lambda.Delet func (_m *MockLambdaAPI) DeleteFunctionCodeSigningConfig(_a0 *lambda.DeleteFunctionCodeSigningConfigInput) (*lambda.DeleteFunctionCodeSigningConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionCodeSigningConfig") + } + var r0 *lambda.DeleteFunctionCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionCodeSigningConfigInput) (*lambda.DeleteFunctionCodeSigningConfigOutput, error)); ok { @@ -1937,6 +2065,10 @@ func (_c *MockLambdaAPI_DeleteFunctionCodeSigningConfig_Call) RunAndReturn(run f func (_m *MockLambdaAPI) DeleteFunctionCodeSigningConfigRequest(_a0 *lambda.DeleteFunctionCodeSigningConfigInput) (*request.Request, *lambda.DeleteFunctionCodeSigningConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionCodeSigningConfigRequest") + } + var r0 *request.Request var r1 *lambda.DeleteFunctionCodeSigningConfigOutput if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionCodeSigningConfigInput) (*request.Request, *lambda.DeleteFunctionCodeSigningConfigOutput)); ok { @@ -2000,6 +2132,10 @@ func (_m *MockLambdaAPI) DeleteFunctionCodeSigningConfigWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionCodeSigningConfigWithContext") + } + var r0 *lambda.DeleteFunctionCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionCodeSigningConfigInput, ...request.Option) (*lambda.DeleteFunctionCodeSigningConfigOutput, error)); ok { @@ -2063,6 +2199,10 @@ func (_c *MockLambdaAPI_DeleteFunctionCodeSigningConfigWithContext_Call) RunAndR func (_m *MockLambdaAPI) DeleteFunctionConcurrency(_a0 *lambda.DeleteFunctionConcurrencyInput) (*lambda.DeleteFunctionConcurrencyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionConcurrency") + } + var r0 *lambda.DeleteFunctionConcurrencyOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionConcurrencyInput) (*lambda.DeleteFunctionConcurrencyOutput, error)); ok { @@ -2117,6 +2257,10 @@ func (_c *MockLambdaAPI_DeleteFunctionConcurrency_Call) RunAndReturn(run func(*l func (_m *MockLambdaAPI) DeleteFunctionConcurrencyRequest(_a0 *lambda.DeleteFunctionConcurrencyInput) (*request.Request, *lambda.DeleteFunctionConcurrencyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionConcurrencyRequest") + } + var r0 *request.Request var r1 *lambda.DeleteFunctionConcurrencyOutput if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionConcurrencyInput) (*request.Request, *lambda.DeleteFunctionConcurrencyOutput)); ok { @@ -2180,6 +2324,10 @@ func (_m *MockLambdaAPI) DeleteFunctionConcurrencyWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionConcurrencyWithContext") + } + var r0 *lambda.DeleteFunctionConcurrencyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionConcurrencyInput, ...request.Option) (*lambda.DeleteFunctionConcurrencyOutput, error)); ok { @@ -2243,6 +2391,10 @@ func (_c *MockLambdaAPI_DeleteFunctionConcurrencyWithContext_Call) RunAndReturn( func (_m *MockLambdaAPI) DeleteFunctionEventInvokeConfig(_a0 *lambda.DeleteFunctionEventInvokeConfigInput) (*lambda.DeleteFunctionEventInvokeConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionEventInvokeConfig") + } + var r0 *lambda.DeleteFunctionEventInvokeConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionEventInvokeConfigInput) (*lambda.DeleteFunctionEventInvokeConfigOutput, error)); ok { @@ -2297,6 +2449,10 @@ func (_c *MockLambdaAPI_DeleteFunctionEventInvokeConfig_Call) RunAndReturn(run f func (_m *MockLambdaAPI) DeleteFunctionEventInvokeConfigRequest(_a0 *lambda.DeleteFunctionEventInvokeConfigInput) (*request.Request, *lambda.DeleteFunctionEventInvokeConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionEventInvokeConfigRequest") + } + var r0 *request.Request var r1 *lambda.DeleteFunctionEventInvokeConfigOutput if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionEventInvokeConfigInput) (*request.Request, *lambda.DeleteFunctionEventInvokeConfigOutput)); ok { @@ -2360,6 +2516,10 @@ func (_m *MockLambdaAPI) DeleteFunctionEventInvokeConfigWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionEventInvokeConfigWithContext") + } + var r0 *lambda.DeleteFunctionEventInvokeConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionEventInvokeConfigInput, ...request.Option) (*lambda.DeleteFunctionEventInvokeConfigOutput, error)); ok { @@ -2423,6 +2583,10 @@ func (_c *MockLambdaAPI_DeleteFunctionEventInvokeConfigWithContext_Call) RunAndR func (_m *MockLambdaAPI) DeleteFunctionRequest(_a0 *lambda.DeleteFunctionInput) (*request.Request, *lambda.DeleteFunctionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionRequest") + } + var r0 *request.Request var r1 *lambda.DeleteFunctionOutput if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionInput) (*request.Request, *lambda.DeleteFunctionOutput)); ok { @@ -2479,6 +2643,10 @@ func (_c *MockLambdaAPI_DeleteFunctionRequest_Call) RunAndReturn(run func(*lambd func (_m *MockLambdaAPI) DeleteFunctionUrlConfig(_a0 *lambda.DeleteFunctionUrlConfigInput) (*lambda.DeleteFunctionUrlConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionUrlConfig") + } + var r0 *lambda.DeleteFunctionUrlConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionUrlConfigInput) (*lambda.DeleteFunctionUrlConfigOutput, error)); ok { @@ -2533,6 +2701,10 @@ func (_c *MockLambdaAPI_DeleteFunctionUrlConfig_Call) RunAndReturn(run func(*lam func (_m *MockLambdaAPI) DeleteFunctionUrlConfigRequest(_a0 *lambda.DeleteFunctionUrlConfigInput) (*request.Request, *lambda.DeleteFunctionUrlConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionUrlConfigRequest") + } + var r0 *request.Request var r1 *lambda.DeleteFunctionUrlConfigOutput if rf, ok := ret.Get(0).(func(*lambda.DeleteFunctionUrlConfigInput) (*request.Request, *lambda.DeleteFunctionUrlConfigOutput)); ok { @@ -2596,6 +2768,10 @@ func (_m *MockLambdaAPI) DeleteFunctionUrlConfigWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionUrlConfigWithContext") + } + var r0 *lambda.DeleteFunctionUrlConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionUrlConfigInput, ...request.Option) (*lambda.DeleteFunctionUrlConfigOutput, error)); ok { @@ -2666,6 +2842,10 @@ func (_m *MockLambdaAPI) DeleteFunctionWithContext(_a0 context.Context, _a1 *lam _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFunctionWithContext") + } + var r0 *lambda.DeleteFunctionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteFunctionInput, ...request.Option) (*lambda.DeleteFunctionOutput, error)); ok { @@ -2729,6 +2909,10 @@ func (_c *MockLambdaAPI_DeleteFunctionWithContext_Call) RunAndReturn(run func(co func (_m *MockLambdaAPI) DeleteLayerVersion(_a0 *lambda.DeleteLayerVersionInput) (*lambda.DeleteLayerVersionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteLayerVersion") + } + var r0 *lambda.DeleteLayerVersionOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.DeleteLayerVersionInput) (*lambda.DeleteLayerVersionOutput, error)); ok { @@ -2783,6 +2967,10 @@ func (_c *MockLambdaAPI_DeleteLayerVersion_Call) RunAndReturn(run func(*lambda.D func (_m *MockLambdaAPI) DeleteLayerVersionRequest(_a0 *lambda.DeleteLayerVersionInput) (*request.Request, *lambda.DeleteLayerVersionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteLayerVersionRequest") + } + var r0 *request.Request var r1 *lambda.DeleteLayerVersionOutput if rf, ok := ret.Get(0).(func(*lambda.DeleteLayerVersionInput) (*request.Request, *lambda.DeleteLayerVersionOutput)); ok { @@ -2846,6 +3034,10 @@ func (_m *MockLambdaAPI) DeleteLayerVersionWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteLayerVersionWithContext") + } + var r0 *lambda.DeleteLayerVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteLayerVersionInput, ...request.Option) (*lambda.DeleteLayerVersionOutput, error)); ok { @@ -2909,6 +3101,10 @@ func (_c *MockLambdaAPI_DeleteLayerVersionWithContext_Call) RunAndReturn(run fun func (_m *MockLambdaAPI) DeleteProvisionedConcurrencyConfig(_a0 *lambda.DeleteProvisionedConcurrencyConfigInput) (*lambda.DeleteProvisionedConcurrencyConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteProvisionedConcurrencyConfig") + } + var r0 *lambda.DeleteProvisionedConcurrencyConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.DeleteProvisionedConcurrencyConfigInput) (*lambda.DeleteProvisionedConcurrencyConfigOutput, error)); ok { @@ -2963,6 +3159,10 @@ func (_c *MockLambdaAPI_DeleteProvisionedConcurrencyConfig_Call) RunAndReturn(ru func (_m *MockLambdaAPI) DeleteProvisionedConcurrencyConfigRequest(_a0 *lambda.DeleteProvisionedConcurrencyConfigInput) (*request.Request, *lambda.DeleteProvisionedConcurrencyConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteProvisionedConcurrencyConfigRequest") + } + var r0 *request.Request var r1 *lambda.DeleteProvisionedConcurrencyConfigOutput if rf, ok := ret.Get(0).(func(*lambda.DeleteProvisionedConcurrencyConfigInput) (*request.Request, *lambda.DeleteProvisionedConcurrencyConfigOutput)); ok { @@ -3026,6 +3226,10 @@ func (_m *MockLambdaAPI) DeleteProvisionedConcurrencyConfigWithContext(_a0 conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteProvisionedConcurrencyConfigWithContext") + } + var r0 *lambda.DeleteProvisionedConcurrencyConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.DeleteProvisionedConcurrencyConfigInput, ...request.Option) (*lambda.DeleteProvisionedConcurrencyConfigOutput, error)); ok { @@ -3089,6 +3293,10 @@ func (_c *MockLambdaAPI_DeleteProvisionedConcurrencyConfigWithContext_Call) RunA func (_m *MockLambdaAPI) GetAccountSettings(_a0 *lambda.GetAccountSettingsInput) (*lambda.GetAccountSettingsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetAccountSettings") + } + var r0 *lambda.GetAccountSettingsOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetAccountSettingsInput) (*lambda.GetAccountSettingsOutput, error)); ok { @@ -3143,6 +3351,10 @@ func (_c *MockLambdaAPI_GetAccountSettings_Call) RunAndReturn(run func(*lambda.G func (_m *MockLambdaAPI) GetAccountSettingsRequest(_a0 *lambda.GetAccountSettingsInput) (*request.Request, *lambda.GetAccountSettingsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetAccountSettingsRequest") + } + var r0 *request.Request var r1 *lambda.GetAccountSettingsOutput if rf, ok := ret.Get(0).(func(*lambda.GetAccountSettingsInput) (*request.Request, *lambda.GetAccountSettingsOutput)); ok { @@ -3206,6 +3418,10 @@ func (_m *MockLambdaAPI) GetAccountSettingsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetAccountSettingsWithContext") + } + var r0 *lambda.GetAccountSettingsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetAccountSettingsInput, ...request.Option) (*lambda.GetAccountSettingsOutput, error)); ok { @@ -3269,6 +3485,10 @@ func (_c *MockLambdaAPI_GetAccountSettingsWithContext_Call) RunAndReturn(run fun func (_m *MockLambdaAPI) GetAlias(_a0 *lambda.GetAliasInput) (*lambda.AliasConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetAlias") + } + var r0 *lambda.AliasConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetAliasInput) (*lambda.AliasConfiguration, error)); ok { @@ -3323,6 +3543,10 @@ func (_c *MockLambdaAPI_GetAlias_Call) RunAndReturn(run func(*lambda.GetAliasInp func (_m *MockLambdaAPI) GetAliasRequest(_a0 *lambda.GetAliasInput) (*request.Request, *lambda.AliasConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetAliasRequest") + } + var r0 *request.Request var r1 *lambda.AliasConfiguration if rf, ok := ret.Get(0).(func(*lambda.GetAliasInput) (*request.Request, *lambda.AliasConfiguration)); ok { @@ -3386,6 +3610,10 @@ func (_m *MockLambdaAPI) GetAliasWithContext(_a0 context.Context, _a1 *lambda.Ge _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetAliasWithContext") + } + var r0 *lambda.AliasConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetAliasInput, ...request.Option) (*lambda.AliasConfiguration, error)); ok { @@ -3449,6 +3677,10 @@ func (_c *MockLambdaAPI_GetAliasWithContext_Call) RunAndReturn(run func(context. func (_m *MockLambdaAPI) GetCodeSigningConfig(_a0 *lambda.GetCodeSigningConfigInput) (*lambda.GetCodeSigningConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetCodeSigningConfig") + } + var r0 *lambda.GetCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetCodeSigningConfigInput) (*lambda.GetCodeSigningConfigOutput, error)); ok { @@ -3503,6 +3735,10 @@ func (_c *MockLambdaAPI_GetCodeSigningConfig_Call) RunAndReturn(run func(*lambda func (_m *MockLambdaAPI) GetCodeSigningConfigRequest(_a0 *lambda.GetCodeSigningConfigInput) (*request.Request, *lambda.GetCodeSigningConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetCodeSigningConfigRequest") + } + var r0 *request.Request var r1 *lambda.GetCodeSigningConfigOutput if rf, ok := ret.Get(0).(func(*lambda.GetCodeSigningConfigInput) (*request.Request, *lambda.GetCodeSigningConfigOutput)); ok { @@ -3566,6 +3802,10 @@ func (_m *MockLambdaAPI) GetCodeSigningConfigWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetCodeSigningConfigWithContext") + } + var r0 *lambda.GetCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetCodeSigningConfigInput, ...request.Option) (*lambda.GetCodeSigningConfigOutput, error)); ok { @@ -3629,6 +3869,10 @@ func (_c *MockLambdaAPI_GetCodeSigningConfigWithContext_Call) RunAndReturn(run f func (_m *MockLambdaAPI) GetEventSourceMapping(_a0 *lambda.GetEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetEventSourceMapping") + } + var r0 *lambda.EventSourceMappingConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error)); ok { @@ -3683,6 +3927,10 @@ func (_c *MockLambdaAPI_GetEventSourceMapping_Call) RunAndReturn(run func(*lambd func (_m *MockLambdaAPI) GetEventSourceMappingRequest(_a0 *lambda.GetEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetEventSourceMappingRequest") + } + var r0 *request.Request var r1 *lambda.EventSourceMappingConfiguration if rf, ok := ret.Get(0).(func(*lambda.GetEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration)); ok { @@ -3746,6 +3994,10 @@ func (_m *MockLambdaAPI) GetEventSourceMappingWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetEventSourceMappingWithContext") + } + var r0 *lambda.EventSourceMappingConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetEventSourceMappingInput, ...request.Option) (*lambda.EventSourceMappingConfiguration, error)); ok { @@ -3809,6 +4061,10 @@ func (_c *MockLambdaAPI_GetEventSourceMappingWithContext_Call) RunAndReturn(run func (_m *MockLambdaAPI) GetFunction(_a0 *lambda.GetFunctionInput) (*lambda.GetFunctionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunction") + } + var r0 *lambda.GetFunctionOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) (*lambda.GetFunctionOutput, error)); ok { @@ -3863,6 +4119,10 @@ func (_c *MockLambdaAPI_GetFunction_Call) RunAndReturn(run func(*lambda.GetFunct func (_m *MockLambdaAPI) GetFunctionCodeSigningConfig(_a0 *lambda.GetFunctionCodeSigningConfigInput) (*lambda.GetFunctionCodeSigningConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionCodeSigningConfig") + } + var r0 *lambda.GetFunctionCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionCodeSigningConfigInput) (*lambda.GetFunctionCodeSigningConfigOutput, error)); ok { @@ -3917,6 +4177,10 @@ func (_c *MockLambdaAPI_GetFunctionCodeSigningConfig_Call) RunAndReturn(run func func (_m *MockLambdaAPI) GetFunctionCodeSigningConfigRequest(_a0 *lambda.GetFunctionCodeSigningConfigInput) (*request.Request, *lambda.GetFunctionCodeSigningConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionCodeSigningConfigRequest") + } + var r0 *request.Request var r1 *lambda.GetFunctionCodeSigningConfigOutput if rf, ok := ret.Get(0).(func(*lambda.GetFunctionCodeSigningConfigInput) (*request.Request, *lambda.GetFunctionCodeSigningConfigOutput)); ok { @@ -3980,6 +4244,10 @@ func (_m *MockLambdaAPI) GetFunctionCodeSigningConfigWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetFunctionCodeSigningConfigWithContext") + } + var r0 *lambda.GetFunctionCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionCodeSigningConfigInput, ...request.Option) (*lambda.GetFunctionCodeSigningConfigOutput, error)); ok { @@ -4043,6 +4311,10 @@ func (_c *MockLambdaAPI_GetFunctionCodeSigningConfigWithContext_Call) RunAndRetu func (_m *MockLambdaAPI) GetFunctionConcurrency(_a0 *lambda.GetFunctionConcurrencyInput) (*lambda.GetFunctionConcurrencyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionConcurrency") + } + var r0 *lambda.GetFunctionConcurrencyOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConcurrencyInput) (*lambda.GetFunctionConcurrencyOutput, error)); ok { @@ -4097,6 +4369,10 @@ func (_c *MockLambdaAPI_GetFunctionConcurrency_Call) RunAndReturn(run func(*lamb func (_m *MockLambdaAPI) GetFunctionConcurrencyRequest(_a0 *lambda.GetFunctionConcurrencyInput) (*request.Request, *lambda.GetFunctionConcurrencyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionConcurrencyRequest") + } + var r0 *request.Request var r1 *lambda.GetFunctionConcurrencyOutput if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConcurrencyInput) (*request.Request, *lambda.GetFunctionConcurrencyOutput)); ok { @@ -4160,6 +4436,10 @@ func (_m *MockLambdaAPI) GetFunctionConcurrencyWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetFunctionConcurrencyWithContext") + } + var r0 *lambda.GetFunctionConcurrencyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionConcurrencyInput, ...request.Option) (*lambda.GetFunctionConcurrencyOutput, error)); ok { @@ -4223,6 +4503,10 @@ func (_c *MockLambdaAPI_GetFunctionConcurrencyWithContext_Call) RunAndReturn(run func (_m *MockLambdaAPI) GetFunctionConfiguration(_a0 *lambda.GetFunctionConfigurationInput) (*lambda.FunctionConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionConfiguration") + } + var r0 *lambda.FunctionConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConfigurationInput) (*lambda.FunctionConfiguration, error)); ok { @@ -4277,6 +4561,10 @@ func (_c *MockLambdaAPI_GetFunctionConfiguration_Call) RunAndReturn(run func(*la func (_m *MockLambdaAPI) GetFunctionConfigurationRequest(_a0 *lambda.GetFunctionConfigurationInput) (*request.Request, *lambda.FunctionConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionConfigurationRequest") + } + var r0 *request.Request var r1 *lambda.FunctionConfiguration if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConfigurationInput) (*request.Request, *lambda.FunctionConfiguration)); ok { @@ -4340,6 +4628,10 @@ func (_m *MockLambdaAPI) GetFunctionConfigurationWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetFunctionConfigurationWithContext") + } + var r0 *lambda.FunctionConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionConfigurationInput, ...request.Option) (*lambda.FunctionConfiguration, error)); ok { @@ -4403,6 +4695,10 @@ func (_c *MockLambdaAPI_GetFunctionConfigurationWithContext_Call) RunAndReturn(r func (_m *MockLambdaAPI) GetFunctionEventInvokeConfig(_a0 *lambda.GetFunctionEventInvokeConfigInput) (*lambda.GetFunctionEventInvokeConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionEventInvokeConfig") + } + var r0 *lambda.GetFunctionEventInvokeConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionEventInvokeConfigInput) (*lambda.GetFunctionEventInvokeConfigOutput, error)); ok { @@ -4457,6 +4753,10 @@ func (_c *MockLambdaAPI_GetFunctionEventInvokeConfig_Call) RunAndReturn(run func func (_m *MockLambdaAPI) GetFunctionEventInvokeConfigRequest(_a0 *lambda.GetFunctionEventInvokeConfigInput) (*request.Request, *lambda.GetFunctionEventInvokeConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionEventInvokeConfigRequest") + } + var r0 *request.Request var r1 *lambda.GetFunctionEventInvokeConfigOutput if rf, ok := ret.Get(0).(func(*lambda.GetFunctionEventInvokeConfigInput) (*request.Request, *lambda.GetFunctionEventInvokeConfigOutput)); ok { @@ -4520,6 +4820,10 @@ func (_m *MockLambdaAPI) GetFunctionEventInvokeConfigWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetFunctionEventInvokeConfigWithContext") + } + var r0 *lambda.GetFunctionEventInvokeConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionEventInvokeConfigInput, ...request.Option) (*lambda.GetFunctionEventInvokeConfigOutput, error)); ok { @@ -4583,6 +4887,10 @@ func (_c *MockLambdaAPI_GetFunctionEventInvokeConfigWithContext_Call) RunAndRetu func (_m *MockLambdaAPI) GetFunctionRequest(_a0 *lambda.GetFunctionInput) (*request.Request, *lambda.GetFunctionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionRequest") + } + var r0 *request.Request var r1 *lambda.GetFunctionOutput if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) (*request.Request, *lambda.GetFunctionOutput)); ok { @@ -4639,6 +4947,10 @@ func (_c *MockLambdaAPI_GetFunctionRequest_Call) RunAndReturn(run func(*lambda.G func (_m *MockLambdaAPI) GetFunctionUrlConfig(_a0 *lambda.GetFunctionUrlConfigInput) (*lambda.GetFunctionUrlConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionUrlConfig") + } + var r0 *lambda.GetFunctionUrlConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionUrlConfigInput) (*lambda.GetFunctionUrlConfigOutput, error)); ok { @@ -4693,6 +5005,10 @@ func (_c *MockLambdaAPI_GetFunctionUrlConfig_Call) RunAndReturn(run func(*lambda func (_m *MockLambdaAPI) GetFunctionUrlConfigRequest(_a0 *lambda.GetFunctionUrlConfigInput) (*request.Request, *lambda.GetFunctionUrlConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetFunctionUrlConfigRequest") + } + var r0 *request.Request var r1 *lambda.GetFunctionUrlConfigOutput if rf, ok := ret.Get(0).(func(*lambda.GetFunctionUrlConfigInput) (*request.Request, *lambda.GetFunctionUrlConfigOutput)); ok { @@ -4756,6 +5072,10 @@ func (_m *MockLambdaAPI) GetFunctionUrlConfigWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetFunctionUrlConfigWithContext") + } + var r0 *lambda.GetFunctionUrlConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionUrlConfigInput, ...request.Option) (*lambda.GetFunctionUrlConfigOutput, error)); ok { @@ -4826,6 +5146,10 @@ func (_m *MockLambdaAPI) GetFunctionWithContext(_a0 context.Context, _a1 *lambda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetFunctionWithContext") + } + var r0 *lambda.GetFunctionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionInput, ...request.Option) (*lambda.GetFunctionOutput, error)); ok { @@ -4889,6 +5213,10 @@ func (_c *MockLambdaAPI_GetFunctionWithContext_Call) RunAndReturn(run func(conte func (_m *MockLambdaAPI) GetLayerVersion(_a0 *lambda.GetLayerVersionInput) (*lambda.GetLayerVersionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLayerVersion") + } + var r0 *lambda.GetLayerVersionOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionInput) (*lambda.GetLayerVersionOutput, error)); ok { @@ -4943,6 +5271,10 @@ func (_c *MockLambdaAPI_GetLayerVersion_Call) RunAndReturn(run func(*lambda.GetL func (_m *MockLambdaAPI) GetLayerVersionByArn(_a0 *lambda.GetLayerVersionByArnInput) (*lambda.GetLayerVersionByArnOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLayerVersionByArn") + } + var r0 *lambda.GetLayerVersionByArnOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionByArnInput) (*lambda.GetLayerVersionByArnOutput, error)); ok { @@ -4997,6 +5329,10 @@ func (_c *MockLambdaAPI_GetLayerVersionByArn_Call) RunAndReturn(run func(*lambda func (_m *MockLambdaAPI) GetLayerVersionByArnRequest(_a0 *lambda.GetLayerVersionByArnInput) (*request.Request, *lambda.GetLayerVersionByArnOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLayerVersionByArnRequest") + } + var r0 *request.Request var r1 *lambda.GetLayerVersionByArnOutput if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionByArnInput) (*request.Request, *lambda.GetLayerVersionByArnOutput)); ok { @@ -5060,6 +5396,10 @@ func (_m *MockLambdaAPI) GetLayerVersionByArnWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLayerVersionByArnWithContext") + } + var r0 *lambda.GetLayerVersionByArnOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetLayerVersionByArnInput, ...request.Option) (*lambda.GetLayerVersionByArnOutput, error)); ok { @@ -5123,6 +5463,10 @@ func (_c *MockLambdaAPI_GetLayerVersionByArnWithContext_Call) RunAndReturn(run f func (_m *MockLambdaAPI) GetLayerVersionPolicy(_a0 *lambda.GetLayerVersionPolicyInput) (*lambda.GetLayerVersionPolicyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLayerVersionPolicy") + } + var r0 *lambda.GetLayerVersionPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionPolicyInput) (*lambda.GetLayerVersionPolicyOutput, error)); ok { @@ -5177,6 +5521,10 @@ func (_c *MockLambdaAPI_GetLayerVersionPolicy_Call) RunAndReturn(run func(*lambd func (_m *MockLambdaAPI) GetLayerVersionPolicyRequest(_a0 *lambda.GetLayerVersionPolicyInput) (*request.Request, *lambda.GetLayerVersionPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLayerVersionPolicyRequest") + } + var r0 *request.Request var r1 *lambda.GetLayerVersionPolicyOutput if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionPolicyInput) (*request.Request, *lambda.GetLayerVersionPolicyOutput)); ok { @@ -5240,6 +5588,10 @@ func (_m *MockLambdaAPI) GetLayerVersionPolicyWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLayerVersionPolicyWithContext") + } + var r0 *lambda.GetLayerVersionPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetLayerVersionPolicyInput, ...request.Option) (*lambda.GetLayerVersionPolicyOutput, error)); ok { @@ -5303,6 +5655,10 @@ func (_c *MockLambdaAPI_GetLayerVersionPolicyWithContext_Call) RunAndReturn(run func (_m *MockLambdaAPI) GetLayerVersionRequest(_a0 *lambda.GetLayerVersionInput) (*request.Request, *lambda.GetLayerVersionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLayerVersionRequest") + } + var r0 *request.Request var r1 *lambda.GetLayerVersionOutput if rf, ok := ret.Get(0).(func(*lambda.GetLayerVersionInput) (*request.Request, *lambda.GetLayerVersionOutput)); ok { @@ -5366,6 +5722,10 @@ func (_m *MockLambdaAPI) GetLayerVersionWithContext(_a0 context.Context, _a1 *la _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLayerVersionWithContext") + } + var r0 *lambda.GetLayerVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetLayerVersionInput, ...request.Option) (*lambda.GetLayerVersionOutput, error)); ok { @@ -5429,6 +5789,10 @@ func (_c *MockLambdaAPI_GetLayerVersionWithContext_Call) RunAndReturn(run func(c func (_m *MockLambdaAPI) GetPolicy(_a0 *lambda.GetPolicyInput) (*lambda.GetPolicyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetPolicy") + } + var r0 *lambda.GetPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetPolicyInput) (*lambda.GetPolicyOutput, error)); ok { @@ -5483,6 +5847,10 @@ func (_c *MockLambdaAPI_GetPolicy_Call) RunAndReturn(run func(*lambda.GetPolicyI func (_m *MockLambdaAPI) GetPolicyRequest(_a0 *lambda.GetPolicyInput) (*request.Request, *lambda.GetPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetPolicyRequest") + } + var r0 *request.Request var r1 *lambda.GetPolicyOutput if rf, ok := ret.Get(0).(func(*lambda.GetPolicyInput) (*request.Request, *lambda.GetPolicyOutput)); ok { @@ -5546,6 +5914,10 @@ func (_m *MockLambdaAPI) GetPolicyWithContext(_a0 context.Context, _a1 *lambda.G _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetPolicyWithContext") + } + var r0 *lambda.GetPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetPolicyInput, ...request.Option) (*lambda.GetPolicyOutput, error)); ok { @@ -5609,6 +5981,10 @@ func (_c *MockLambdaAPI_GetPolicyWithContext_Call) RunAndReturn(run func(context func (_m *MockLambdaAPI) GetProvisionedConcurrencyConfig(_a0 *lambda.GetProvisionedConcurrencyConfigInput) (*lambda.GetProvisionedConcurrencyConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetProvisionedConcurrencyConfig") + } + var r0 *lambda.GetProvisionedConcurrencyConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetProvisionedConcurrencyConfigInput) (*lambda.GetProvisionedConcurrencyConfigOutput, error)); ok { @@ -5663,6 +6039,10 @@ func (_c *MockLambdaAPI_GetProvisionedConcurrencyConfig_Call) RunAndReturn(run f func (_m *MockLambdaAPI) GetProvisionedConcurrencyConfigRequest(_a0 *lambda.GetProvisionedConcurrencyConfigInput) (*request.Request, *lambda.GetProvisionedConcurrencyConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetProvisionedConcurrencyConfigRequest") + } + var r0 *request.Request var r1 *lambda.GetProvisionedConcurrencyConfigOutput if rf, ok := ret.Get(0).(func(*lambda.GetProvisionedConcurrencyConfigInput) (*request.Request, *lambda.GetProvisionedConcurrencyConfigOutput)); ok { @@ -5726,6 +6106,10 @@ func (_m *MockLambdaAPI) GetProvisionedConcurrencyConfigWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetProvisionedConcurrencyConfigWithContext") + } + var r0 *lambda.GetProvisionedConcurrencyConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetProvisionedConcurrencyConfigInput, ...request.Option) (*lambda.GetProvisionedConcurrencyConfigOutput, error)); ok { @@ -5789,6 +6173,10 @@ func (_c *MockLambdaAPI_GetProvisionedConcurrencyConfigWithContext_Call) RunAndR func (_m *MockLambdaAPI) GetRuntimeManagementConfig(_a0 *lambda.GetRuntimeManagementConfigInput) (*lambda.GetRuntimeManagementConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetRuntimeManagementConfig") + } + var r0 *lambda.GetRuntimeManagementConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.GetRuntimeManagementConfigInput) (*lambda.GetRuntimeManagementConfigOutput, error)); ok { @@ -5843,6 +6231,10 @@ func (_c *MockLambdaAPI_GetRuntimeManagementConfig_Call) RunAndReturn(run func(* func (_m *MockLambdaAPI) GetRuntimeManagementConfigRequest(_a0 *lambda.GetRuntimeManagementConfigInput) (*request.Request, *lambda.GetRuntimeManagementConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetRuntimeManagementConfigRequest") + } + var r0 *request.Request var r1 *lambda.GetRuntimeManagementConfigOutput if rf, ok := ret.Get(0).(func(*lambda.GetRuntimeManagementConfigInput) (*request.Request, *lambda.GetRuntimeManagementConfigOutput)); ok { @@ -5906,6 +6298,10 @@ func (_m *MockLambdaAPI) GetRuntimeManagementConfigWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetRuntimeManagementConfigWithContext") + } + var r0 *lambda.GetRuntimeManagementConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetRuntimeManagementConfigInput, ...request.Option) (*lambda.GetRuntimeManagementConfigOutput, error)); ok { @@ -5969,6 +6365,10 @@ func (_c *MockLambdaAPI_GetRuntimeManagementConfigWithContext_Call) RunAndReturn func (_m *MockLambdaAPI) Invoke(_a0 *lambda.InvokeInput) (*lambda.InvokeOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for Invoke") + } + var r0 *lambda.InvokeOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.InvokeInput) (*lambda.InvokeOutput, error)); ok { @@ -6023,6 +6423,10 @@ func (_c *MockLambdaAPI_Invoke_Call) RunAndReturn(run func(*lambda.InvokeInput) func (_m *MockLambdaAPI) InvokeAsync(_a0 *lambda.InvokeAsyncInput) (*lambda.InvokeAsyncOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for InvokeAsync") + } + var r0 *lambda.InvokeAsyncOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.InvokeAsyncInput) (*lambda.InvokeAsyncOutput, error)); ok { @@ -6077,6 +6481,10 @@ func (_c *MockLambdaAPI_InvokeAsync_Call) RunAndReturn(run func(*lambda.InvokeAs func (_m *MockLambdaAPI) InvokeAsyncRequest(_a0 *lambda.InvokeAsyncInput) (*request.Request, *lambda.InvokeAsyncOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for InvokeAsyncRequest") + } + var r0 *request.Request var r1 *lambda.InvokeAsyncOutput if rf, ok := ret.Get(0).(func(*lambda.InvokeAsyncInput) (*request.Request, *lambda.InvokeAsyncOutput)); ok { @@ -6140,6 +6548,10 @@ func (_m *MockLambdaAPI) InvokeAsyncWithContext(_a0 context.Context, _a1 *lambda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for InvokeAsyncWithContext") + } + var r0 *lambda.InvokeAsyncOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.InvokeAsyncInput, ...request.Option) (*lambda.InvokeAsyncOutput, error)); ok { @@ -6203,6 +6615,10 @@ func (_c *MockLambdaAPI_InvokeAsyncWithContext_Call) RunAndReturn(run func(conte func (_m *MockLambdaAPI) InvokeRequest(_a0 *lambda.InvokeInput) (*request.Request, *lambda.InvokeOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for InvokeRequest") + } + var r0 *request.Request var r1 *lambda.InvokeOutput if rf, ok := ret.Get(0).(func(*lambda.InvokeInput) (*request.Request, *lambda.InvokeOutput)); ok { @@ -6266,6 +6682,10 @@ func (_m *MockLambdaAPI) InvokeWithContext(_a0 context.Context, _a1 *lambda.Invo _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for InvokeWithContext") + } + var r0 *lambda.InvokeOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.InvokeInput, ...request.Option) (*lambda.InvokeOutput, error)); ok { @@ -6329,6 +6749,10 @@ func (_c *MockLambdaAPI_InvokeWithContext_Call) RunAndReturn(run func(context.Co func (_m *MockLambdaAPI) InvokeWithResponseStream(_a0 *lambda.InvokeWithResponseStreamInput) (*lambda.InvokeWithResponseStreamOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for InvokeWithResponseStream") + } + var r0 *lambda.InvokeWithResponseStreamOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.InvokeWithResponseStreamInput) (*lambda.InvokeWithResponseStreamOutput, error)); ok { @@ -6383,6 +6807,10 @@ func (_c *MockLambdaAPI_InvokeWithResponseStream_Call) RunAndReturn(run func(*la func (_m *MockLambdaAPI) InvokeWithResponseStreamRequest(_a0 *lambda.InvokeWithResponseStreamInput) (*request.Request, *lambda.InvokeWithResponseStreamOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for InvokeWithResponseStreamRequest") + } + var r0 *request.Request var r1 *lambda.InvokeWithResponseStreamOutput if rf, ok := ret.Get(0).(func(*lambda.InvokeWithResponseStreamInput) (*request.Request, *lambda.InvokeWithResponseStreamOutput)); ok { @@ -6446,6 +6874,10 @@ func (_m *MockLambdaAPI) InvokeWithResponseStreamWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for InvokeWithResponseStreamWithContext") + } + var r0 *lambda.InvokeWithResponseStreamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.InvokeWithResponseStreamInput, ...request.Option) (*lambda.InvokeWithResponseStreamOutput, error)); ok { @@ -6509,6 +6941,10 @@ func (_c *MockLambdaAPI_InvokeWithResponseStreamWithContext_Call) RunAndReturn(r func (_m *MockLambdaAPI) ListAliases(_a0 *lambda.ListAliasesInput) (*lambda.ListAliasesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAliases") + } + var r0 *lambda.ListAliasesOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListAliasesInput) (*lambda.ListAliasesOutput, error)); ok { @@ -6563,6 +6999,10 @@ func (_c *MockLambdaAPI_ListAliases_Call) RunAndReturn(run func(*lambda.ListAlia func (_m *MockLambdaAPI) ListAliasesPages(_a0 *lambda.ListAliasesInput, _a1 func(*lambda.ListAliasesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListAliasesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListAliasesInput, func(*lambda.ListAliasesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -6613,6 +7053,10 @@ func (_m *MockLambdaAPI) ListAliasesPagesWithContext(_a0 context.Context, _a1 *l _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAliasesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListAliasesInput, func(*lambda.ListAliasesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -6665,6 +7109,10 @@ func (_c *MockLambdaAPI_ListAliasesPagesWithContext_Call) RunAndReturn(run func( func (_m *MockLambdaAPI) ListAliasesRequest(_a0 *lambda.ListAliasesInput) (*request.Request, *lambda.ListAliasesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAliasesRequest") + } + var r0 *request.Request var r1 *lambda.ListAliasesOutput if rf, ok := ret.Get(0).(func(*lambda.ListAliasesInput) (*request.Request, *lambda.ListAliasesOutput)); ok { @@ -6728,6 +7176,10 @@ func (_m *MockLambdaAPI) ListAliasesWithContext(_a0 context.Context, _a1 *lambda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAliasesWithContext") + } + var r0 *lambda.ListAliasesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListAliasesInput, ...request.Option) (*lambda.ListAliasesOutput, error)); ok { @@ -6791,6 +7243,10 @@ func (_c *MockLambdaAPI_ListAliasesWithContext_Call) RunAndReturn(run func(conte func (_m *MockLambdaAPI) ListCodeSigningConfigs(_a0 *lambda.ListCodeSigningConfigsInput) (*lambda.ListCodeSigningConfigsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListCodeSigningConfigs") + } + var r0 *lambda.ListCodeSigningConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListCodeSigningConfigsInput) (*lambda.ListCodeSigningConfigsOutput, error)); ok { @@ -6845,6 +7301,10 @@ func (_c *MockLambdaAPI_ListCodeSigningConfigs_Call) RunAndReturn(run func(*lamb func (_m *MockLambdaAPI) ListCodeSigningConfigsPages(_a0 *lambda.ListCodeSigningConfigsInput, _a1 func(*lambda.ListCodeSigningConfigsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListCodeSigningConfigsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListCodeSigningConfigsInput, func(*lambda.ListCodeSigningConfigsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -6895,6 +7355,10 @@ func (_m *MockLambdaAPI) ListCodeSigningConfigsPagesWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListCodeSigningConfigsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListCodeSigningConfigsInput, func(*lambda.ListCodeSigningConfigsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -6947,6 +7411,10 @@ func (_c *MockLambdaAPI_ListCodeSigningConfigsPagesWithContext_Call) RunAndRetur func (_m *MockLambdaAPI) ListCodeSigningConfigsRequest(_a0 *lambda.ListCodeSigningConfigsInput) (*request.Request, *lambda.ListCodeSigningConfigsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListCodeSigningConfigsRequest") + } + var r0 *request.Request var r1 *lambda.ListCodeSigningConfigsOutput if rf, ok := ret.Get(0).(func(*lambda.ListCodeSigningConfigsInput) (*request.Request, *lambda.ListCodeSigningConfigsOutput)); ok { @@ -7010,6 +7478,10 @@ func (_m *MockLambdaAPI) ListCodeSigningConfigsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListCodeSigningConfigsWithContext") + } + var r0 *lambda.ListCodeSigningConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListCodeSigningConfigsInput, ...request.Option) (*lambda.ListCodeSigningConfigsOutput, error)); ok { @@ -7073,6 +7545,10 @@ func (_c *MockLambdaAPI_ListCodeSigningConfigsWithContext_Call) RunAndReturn(run func (_m *MockLambdaAPI) ListEventSourceMappings(_a0 *lambda.ListEventSourceMappingsInput) (*lambda.ListEventSourceMappingsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListEventSourceMappings") + } + var r0 *lambda.ListEventSourceMappingsOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListEventSourceMappingsInput) (*lambda.ListEventSourceMappingsOutput, error)); ok { @@ -7127,6 +7603,10 @@ func (_c *MockLambdaAPI_ListEventSourceMappings_Call) RunAndReturn(run func(*lam func (_m *MockLambdaAPI) ListEventSourceMappingsPages(_a0 *lambda.ListEventSourceMappingsInput, _a1 func(*lambda.ListEventSourceMappingsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListEventSourceMappingsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListEventSourceMappingsInput, func(*lambda.ListEventSourceMappingsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -7177,6 +7657,10 @@ func (_m *MockLambdaAPI) ListEventSourceMappingsPagesWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEventSourceMappingsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListEventSourceMappingsInput, func(*lambda.ListEventSourceMappingsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -7229,6 +7713,10 @@ func (_c *MockLambdaAPI_ListEventSourceMappingsPagesWithContext_Call) RunAndRetu func (_m *MockLambdaAPI) ListEventSourceMappingsRequest(_a0 *lambda.ListEventSourceMappingsInput) (*request.Request, *lambda.ListEventSourceMappingsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListEventSourceMappingsRequest") + } + var r0 *request.Request var r1 *lambda.ListEventSourceMappingsOutput if rf, ok := ret.Get(0).(func(*lambda.ListEventSourceMappingsInput) (*request.Request, *lambda.ListEventSourceMappingsOutput)); ok { @@ -7292,6 +7780,10 @@ func (_m *MockLambdaAPI) ListEventSourceMappingsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEventSourceMappingsWithContext") + } + var r0 *lambda.ListEventSourceMappingsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListEventSourceMappingsInput, ...request.Option) (*lambda.ListEventSourceMappingsOutput, error)); ok { @@ -7355,6 +7847,10 @@ func (_c *MockLambdaAPI_ListEventSourceMappingsWithContext_Call) RunAndReturn(ru func (_m *MockLambdaAPI) ListFunctionEventInvokeConfigs(_a0 *lambda.ListFunctionEventInvokeConfigsInput) (*lambda.ListFunctionEventInvokeConfigsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFunctionEventInvokeConfigs") + } + var r0 *lambda.ListFunctionEventInvokeConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListFunctionEventInvokeConfigsInput) (*lambda.ListFunctionEventInvokeConfigsOutput, error)); ok { @@ -7409,6 +7905,10 @@ func (_c *MockLambdaAPI_ListFunctionEventInvokeConfigs_Call) RunAndReturn(run fu func (_m *MockLambdaAPI) ListFunctionEventInvokeConfigsPages(_a0 *lambda.ListFunctionEventInvokeConfigsInput, _a1 func(*lambda.ListFunctionEventInvokeConfigsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListFunctionEventInvokeConfigsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListFunctionEventInvokeConfigsInput, func(*lambda.ListFunctionEventInvokeConfigsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -7459,6 +7959,10 @@ func (_m *MockLambdaAPI) ListFunctionEventInvokeConfigsPagesWithContext(_a0 cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFunctionEventInvokeConfigsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionEventInvokeConfigsInput, func(*lambda.ListFunctionEventInvokeConfigsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -7511,6 +8015,10 @@ func (_c *MockLambdaAPI_ListFunctionEventInvokeConfigsPagesWithContext_Call) Run func (_m *MockLambdaAPI) ListFunctionEventInvokeConfigsRequest(_a0 *lambda.ListFunctionEventInvokeConfigsInput) (*request.Request, *lambda.ListFunctionEventInvokeConfigsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFunctionEventInvokeConfigsRequest") + } + var r0 *request.Request var r1 *lambda.ListFunctionEventInvokeConfigsOutput if rf, ok := ret.Get(0).(func(*lambda.ListFunctionEventInvokeConfigsInput) (*request.Request, *lambda.ListFunctionEventInvokeConfigsOutput)); ok { @@ -7574,6 +8082,10 @@ func (_m *MockLambdaAPI) ListFunctionEventInvokeConfigsWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFunctionEventInvokeConfigsWithContext") + } + var r0 *lambda.ListFunctionEventInvokeConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionEventInvokeConfigsInput, ...request.Option) (*lambda.ListFunctionEventInvokeConfigsOutput, error)); ok { @@ -7637,6 +8149,10 @@ func (_c *MockLambdaAPI_ListFunctionEventInvokeConfigsWithContext_Call) RunAndRe func (_m *MockLambdaAPI) ListFunctionUrlConfigs(_a0 *lambda.ListFunctionUrlConfigsInput) (*lambda.ListFunctionUrlConfigsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFunctionUrlConfigs") + } + var r0 *lambda.ListFunctionUrlConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput) (*lambda.ListFunctionUrlConfigsOutput, error)); ok { @@ -7691,6 +8207,10 @@ func (_c *MockLambdaAPI_ListFunctionUrlConfigs_Call) RunAndReturn(run func(*lamb func (_m *MockLambdaAPI) ListFunctionUrlConfigsPages(_a0 *lambda.ListFunctionUrlConfigsInput, _a1 func(*lambda.ListFunctionUrlConfigsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListFunctionUrlConfigsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput, func(*lambda.ListFunctionUrlConfigsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -7741,6 +8261,10 @@ func (_m *MockLambdaAPI) ListFunctionUrlConfigsPagesWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFunctionUrlConfigsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionUrlConfigsInput, func(*lambda.ListFunctionUrlConfigsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -7793,6 +8317,10 @@ func (_c *MockLambdaAPI_ListFunctionUrlConfigsPagesWithContext_Call) RunAndRetur func (_m *MockLambdaAPI) ListFunctionUrlConfigsRequest(_a0 *lambda.ListFunctionUrlConfigsInput) (*request.Request, *lambda.ListFunctionUrlConfigsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFunctionUrlConfigsRequest") + } + var r0 *request.Request var r1 *lambda.ListFunctionUrlConfigsOutput if rf, ok := ret.Get(0).(func(*lambda.ListFunctionUrlConfigsInput) (*request.Request, *lambda.ListFunctionUrlConfigsOutput)); ok { @@ -7856,6 +8384,10 @@ func (_m *MockLambdaAPI) ListFunctionUrlConfigsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFunctionUrlConfigsWithContext") + } + var r0 *lambda.ListFunctionUrlConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionUrlConfigsInput, ...request.Option) (*lambda.ListFunctionUrlConfigsOutput, error)); ok { @@ -7919,6 +8451,10 @@ func (_c *MockLambdaAPI_ListFunctionUrlConfigsWithContext_Call) RunAndReturn(run func (_m *MockLambdaAPI) ListFunctions(_a0 *lambda.ListFunctionsInput) (*lambda.ListFunctionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFunctions") + } + var r0 *lambda.ListFunctionsOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsInput) (*lambda.ListFunctionsOutput, error)); ok { @@ -7973,6 +8509,10 @@ func (_c *MockLambdaAPI_ListFunctions_Call) RunAndReturn(run func(*lambda.ListFu func (_m *MockLambdaAPI) ListFunctionsByCodeSigningConfig(_a0 *lambda.ListFunctionsByCodeSigningConfigInput) (*lambda.ListFunctionsByCodeSigningConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFunctionsByCodeSigningConfig") + } + var r0 *lambda.ListFunctionsByCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsByCodeSigningConfigInput) (*lambda.ListFunctionsByCodeSigningConfigOutput, error)); ok { @@ -8027,6 +8567,10 @@ func (_c *MockLambdaAPI_ListFunctionsByCodeSigningConfig_Call) RunAndReturn(run func (_m *MockLambdaAPI) ListFunctionsByCodeSigningConfigPages(_a0 *lambda.ListFunctionsByCodeSigningConfigInput, _a1 func(*lambda.ListFunctionsByCodeSigningConfigOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListFunctionsByCodeSigningConfigPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsByCodeSigningConfigInput, func(*lambda.ListFunctionsByCodeSigningConfigOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -8077,6 +8621,10 @@ func (_m *MockLambdaAPI) ListFunctionsByCodeSigningConfigPagesWithContext(_a0 co _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFunctionsByCodeSigningConfigPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionsByCodeSigningConfigInput, func(*lambda.ListFunctionsByCodeSigningConfigOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -8129,6 +8677,10 @@ func (_c *MockLambdaAPI_ListFunctionsByCodeSigningConfigPagesWithContext_Call) R func (_m *MockLambdaAPI) ListFunctionsByCodeSigningConfigRequest(_a0 *lambda.ListFunctionsByCodeSigningConfigInput) (*request.Request, *lambda.ListFunctionsByCodeSigningConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFunctionsByCodeSigningConfigRequest") + } + var r0 *request.Request var r1 *lambda.ListFunctionsByCodeSigningConfigOutput if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsByCodeSigningConfigInput) (*request.Request, *lambda.ListFunctionsByCodeSigningConfigOutput)); ok { @@ -8192,6 +8744,10 @@ func (_m *MockLambdaAPI) ListFunctionsByCodeSigningConfigWithContext(_a0 context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFunctionsByCodeSigningConfigWithContext") + } + var r0 *lambda.ListFunctionsByCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionsByCodeSigningConfigInput, ...request.Option) (*lambda.ListFunctionsByCodeSigningConfigOutput, error)); ok { @@ -8255,6 +8811,10 @@ func (_c *MockLambdaAPI_ListFunctionsByCodeSigningConfigWithContext_Call) RunAnd func (_m *MockLambdaAPI) ListFunctionsPages(_a0 *lambda.ListFunctionsInput, _a1 func(*lambda.ListFunctionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListFunctionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsInput, func(*lambda.ListFunctionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -8305,6 +8865,10 @@ func (_m *MockLambdaAPI) ListFunctionsPagesWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFunctionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionsInput, func(*lambda.ListFunctionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -8357,6 +8921,10 @@ func (_c *MockLambdaAPI_ListFunctionsPagesWithContext_Call) RunAndReturn(run fun func (_m *MockLambdaAPI) ListFunctionsRequest(_a0 *lambda.ListFunctionsInput) (*request.Request, *lambda.ListFunctionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFunctionsRequest") + } + var r0 *request.Request var r1 *lambda.ListFunctionsOutput if rf, ok := ret.Get(0).(func(*lambda.ListFunctionsInput) (*request.Request, *lambda.ListFunctionsOutput)); ok { @@ -8420,6 +8988,10 @@ func (_m *MockLambdaAPI) ListFunctionsWithContext(_a0 context.Context, _a1 *lamb _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFunctionsWithContext") + } + var r0 *lambda.ListFunctionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListFunctionsInput, ...request.Option) (*lambda.ListFunctionsOutput, error)); ok { @@ -8483,6 +9055,10 @@ func (_c *MockLambdaAPI_ListFunctionsWithContext_Call) RunAndReturn(run func(con func (_m *MockLambdaAPI) ListLayerVersions(_a0 *lambda.ListLayerVersionsInput) (*lambda.ListLayerVersionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListLayerVersions") + } + var r0 *lambda.ListLayerVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListLayerVersionsInput) (*lambda.ListLayerVersionsOutput, error)); ok { @@ -8537,6 +9113,10 @@ func (_c *MockLambdaAPI_ListLayerVersions_Call) RunAndReturn(run func(*lambda.Li func (_m *MockLambdaAPI) ListLayerVersionsPages(_a0 *lambda.ListLayerVersionsInput, _a1 func(*lambda.ListLayerVersionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListLayerVersionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListLayerVersionsInput, func(*lambda.ListLayerVersionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -8587,6 +9167,10 @@ func (_m *MockLambdaAPI) ListLayerVersionsPagesWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLayerVersionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListLayerVersionsInput, func(*lambda.ListLayerVersionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -8639,6 +9223,10 @@ func (_c *MockLambdaAPI_ListLayerVersionsPagesWithContext_Call) RunAndReturn(run func (_m *MockLambdaAPI) ListLayerVersionsRequest(_a0 *lambda.ListLayerVersionsInput) (*request.Request, *lambda.ListLayerVersionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListLayerVersionsRequest") + } + var r0 *request.Request var r1 *lambda.ListLayerVersionsOutput if rf, ok := ret.Get(0).(func(*lambda.ListLayerVersionsInput) (*request.Request, *lambda.ListLayerVersionsOutput)); ok { @@ -8702,6 +9290,10 @@ func (_m *MockLambdaAPI) ListLayerVersionsWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLayerVersionsWithContext") + } + var r0 *lambda.ListLayerVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListLayerVersionsInput, ...request.Option) (*lambda.ListLayerVersionsOutput, error)); ok { @@ -8765,6 +9357,10 @@ func (_c *MockLambdaAPI_ListLayerVersionsWithContext_Call) RunAndReturn(run func func (_m *MockLambdaAPI) ListLayers(_a0 *lambda.ListLayersInput) (*lambda.ListLayersOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListLayers") + } + var r0 *lambda.ListLayersOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListLayersInput) (*lambda.ListLayersOutput, error)); ok { @@ -8819,6 +9415,10 @@ func (_c *MockLambdaAPI_ListLayers_Call) RunAndReturn(run func(*lambda.ListLayer func (_m *MockLambdaAPI) ListLayersPages(_a0 *lambda.ListLayersInput, _a1 func(*lambda.ListLayersOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListLayersPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListLayersInput, func(*lambda.ListLayersOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -8869,6 +9469,10 @@ func (_m *MockLambdaAPI) ListLayersPagesWithContext(_a0 context.Context, _a1 *la _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLayersPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListLayersInput, func(*lambda.ListLayersOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -8921,6 +9525,10 @@ func (_c *MockLambdaAPI_ListLayersPagesWithContext_Call) RunAndReturn(run func(c func (_m *MockLambdaAPI) ListLayersRequest(_a0 *lambda.ListLayersInput) (*request.Request, *lambda.ListLayersOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListLayersRequest") + } + var r0 *request.Request var r1 *lambda.ListLayersOutput if rf, ok := ret.Get(0).(func(*lambda.ListLayersInput) (*request.Request, *lambda.ListLayersOutput)); ok { @@ -8984,6 +9592,10 @@ func (_m *MockLambdaAPI) ListLayersWithContext(_a0 context.Context, _a1 *lambda. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLayersWithContext") + } + var r0 *lambda.ListLayersOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListLayersInput, ...request.Option) (*lambda.ListLayersOutput, error)); ok { @@ -9047,6 +9659,10 @@ func (_c *MockLambdaAPI_ListLayersWithContext_Call) RunAndReturn(run func(contex func (_m *MockLambdaAPI) ListProvisionedConcurrencyConfigs(_a0 *lambda.ListProvisionedConcurrencyConfigsInput) (*lambda.ListProvisionedConcurrencyConfigsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListProvisionedConcurrencyConfigs") + } + var r0 *lambda.ListProvisionedConcurrencyConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListProvisionedConcurrencyConfigsInput) (*lambda.ListProvisionedConcurrencyConfigsOutput, error)); ok { @@ -9101,6 +9717,10 @@ func (_c *MockLambdaAPI_ListProvisionedConcurrencyConfigs_Call) RunAndReturn(run func (_m *MockLambdaAPI) ListProvisionedConcurrencyConfigsPages(_a0 *lambda.ListProvisionedConcurrencyConfigsInput, _a1 func(*lambda.ListProvisionedConcurrencyConfigsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListProvisionedConcurrencyConfigsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListProvisionedConcurrencyConfigsInput, func(*lambda.ListProvisionedConcurrencyConfigsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -9151,6 +9771,10 @@ func (_m *MockLambdaAPI) ListProvisionedConcurrencyConfigsPagesWithContext(_a0 c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListProvisionedConcurrencyConfigsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListProvisionedConcurrencyConfigsInput, func(*lambda.ListProvisionedConcurrencyConfigsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -9203,6 +9827,10 @@ func (_c *MockLambdaAPI_ListProvisionedConcurrencyConfigsPagesWithContext_Call) func (_m *MockLambdaAPI) ListProvisionedConcurrencyConfigsRequest(_a0 *lambda.ListProvisionedConcurrencyConfigsInput) (*request.Request, *lambda.ListProvisionedConcurrencyConfigsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListProvisionedConcurrencyConfigsRequest") + } + var r0 *request.Request var r1 *lambda.ListProvisionedConcurrencyConfigsOutput if rf, ok := ret.Get(0).(func(*lambda.ListProvisionedConcurrencyConfigsInput) (*request.Request, *lambda.ListProvisionedConcurrencyConfigsOutput)); ok { @@ -9266,6 +9894,10 @@ func (_m *MockLambdaAPI) ListProvisionedConcurrencyConfigsWithContext(_a0 contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListProvisionedConcurrencyConfigsWithContext") + } + var r0 *lambda.ListProvisionedConcurrencyConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListProvisionedConcurrencyConfigsInput, ...request.Option) (*lambda.ListProvisionedConcurrencyConfigsOutput, error)); ok { @@ -9329,6 +9961,10 @@ func (_c *MockLambdaAPI_ListProvisionedConcurrencyConfigsWithContext_Call) RunAn func (_m *MockLambdaAPI) ListTags(_a0 *lambda.ListTagsInput) (*lambda.ListTagsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTags") + } + var r0 *lambda.ListTagsOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListTagsInput) (*lambda.ListTagsOutput, error)); ok { @@ -9383,6 +10019,10 @@ func (_c *MockLambdaAPI_ListTags_Call) RunAndReturn(run func(*lambda.ListTagsInp func (_m *MockLambdaAPI) ListTagsRequest(_a0 *lambda.ListTagsInput) (*request.Request, *lambda.ListTagsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTagsRequest") + } + var r0 *request.Request var r1 *lambda.ListTagsOutput if rf, ok := ret.Get(0).(func(*lambda.ListTagsInput) (*request.Request, *lambda.ListTagsOutput)); ok { @@ -9446,6 +10086,10 @@ func (_m *MockLambdaAPI) ListTagsWithContext(_a0 context.Context, _a1 *lambda.Li _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTagsWithContext") + } + var r0 *lambda.ListTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListTagsInput, ...request.Option) (*lambda.ListTagsOutput, error)); ok { @@ -9509,6 +10153,10 @@ func (_c *MockLambdaAPI_ListTagsWithContext_Call) RunAndReturn(run func(context. func (_m *MockLambdaAPI) ListVersionsByFunction(_a0 *lambda.ListVersionsByFunctionInput) (*lambda.ListVersionsByFunctionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListVersionsByFunction") + } + var r0 *lambda.ListVersionsByFunctionOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.ListVersionsByFunctionInput) (*lambda.ListVersionsByFunctionOutput, error)); ok { @@ -9563,6 +10211,10 @@ func (_c *MockLambdaAPI_ListVersionsByFunction_Call) RunAndReturn(run func(*lamb func (_m *MockLambdaAPI) ListVersionsByFunctionPages(_a0 *lambda.ListVersionsByFunctionInput, _a1 func(*lambda.ListVersionsByFunctionOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListVersionsByFunctionPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.ListVersionsByFunctionInput, func(*lambda.ListVersionsByFunctionOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -9613,6 +10265,10 @@ func (_m *MockLambdaAPI) ListVersionsByFunctionPagesWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListVersionsByFunctionPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListVersionsByFunctionInput, func(*lambda.ListVersionsByFunctionOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -9665,6 +10321,10 @@ func (_c *MockLambdaAPI_ListVersionsByFunctionPagesWithContext_Call) RunAndRetur func (_m *MockLambdaAPI) ListVersionsByFunctionRequest(_a0 *lambda.ListVersionsByFunctionInput) (*request.Request, *lambda.ListVersionsByFunctionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListVersionsByFunctionRequest") + } + var r0 *request.Request var r1 *lambda.ListVersionsByFunctionOutput if rf, ok := ret.Get(0).(func(*lambda.ListVersionsByFunctionInput) (*request.Request, *lambda.ListVersionsByFunctionOutput)); ok { @@ -9728,6 +10388,10 @@ func (_m *MockLambdaAPI) ListVersionsByFunctionWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListVersionsByFunctionWithContext") + } + var r0 *lambda.ListVersionsByFunctionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.ListVersionsByFunctionInput, ...request.Option) (*lambda.ListVersionsByFunctionOutput, error)); ok { @@ -9791,6 +10455,10 @@ func (_c *MockLambdaAPI_ListVersionsByFunctionWithContext_Call) RunAndReturn(run func (_m *MockLambdaAPI) PublishLayerVersion(_a0 *lambda.PublishLayerVersionInput) (*lambda.PublishLayerVersionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PublishLayerVersion") + } + var r0 *lambda.PublishLayerVersionOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.PublishLayerVersionInput) (*lambda.PublishLayerVersionOutput, error)); ok { @@ -9845,6 +10513,10 @@ func (_c *MockLambdaAPI_PublishLayerVersion_Call) RunAndReturn(run func(*lambda. func (_m *MockLambdaAPI) PublishLayerVersionRequest(_a0 *lambda.PublishLayerVersionInput) (*request.Request, *lambda.PublishLayerVersionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PublishLayerVersionRequest") + } + var r0 *request.Request var r1 *lambda.PublishLayerVersionOutput if rf, ok := ret.Get(0).(func(*lambda.PublishLayerVersionInput) (*request.Request, *lambda.PublishLayerVersionOutput)); ok { @@ -9908,6 +10580,10 @@ func (_m *MockLambdaAPI) PublishLayerVersionWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PublishLayerVersionWithContext") + } + var r0 *lambda.PublishLayerVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.PublishLayerVersionInput, ...request.Option) (*lambda.PublishLayerVersionOutput, error)); ok { @@ -9971,6 +10647,10 @@ func (_c *MockLambdaAPI_PublishLayerVersionWithContext_Call) RunAndReturn(run fu func (_m *MockLambdaAPI) PublishVersion(_a0 *lambda.PublishVersionInput) (*lambda.FunctionConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PublishVersion") + } + var r0 *lambda.FunctionConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.PublishVersionInput) (*lambda.FunctionConfiguration, error)); ok { @@ -10025,6 +10705,10 @@ func (_c *MockLambdaAPI_PublishVersion_Call) RunAndReturn(run func(*lambda.Publi func (_m *MockLambdaAPI) PublishVersionRequest(_a0 *lambda.PublishVersionInput) (*request.Request, *lambda.FunctionConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PublishVersionRequest") + } + var r0 *request.Request var r1 *lambda.FunctionConfiguration if rf, ok := ret.Get(0).(func(*lambda.PublishVersionInput) (*request.Request, *lambda.FunctionConfiguration)); ok { @@ -10088,6 +10772,10 @@ func (_m *MockLambdaAPI) PublishVersionWithContext(_a0 context.Context, _a1 *lam _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PublishVersionWithContext") + } + var r0 *lambda.FunctionConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.PublishVersionInput, ...request.Option) (*lambda.FunctionConfiguration, error)); ok { @@ -10151,6 +10839,10 @@ func (_c *MockLambdaAPI_PublishVersionWithContext_Call) RunAndReturn(run func(co func (_m *MockLambdaAPI) PutFunctionCodeSigningConfig(_a0 *lambda.PutFunctionCodeSigningConfigInput) (*lambda.PutFunctionCodeSigningConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutFunctionCodeSigningConfig") + } + var r0 *lambda.PutFunctionCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.PutFunctionCodeSigningConfigInput) (*lambda.PutFunctionCodeSigningConfigOutput, error)); ok { @@ -10205,6 +10897,10 @@ func (_c *MockLambdaAPI_PutFunctionCodeSigningConfig_Call) RunAndReturn(run func func (_m *MockLambdaAPI) PutFunctionCodeSigningConfigRequest(_a0 *lambda.PutFunctionCodeSigningConfigInput) (*request.Request, *lambda.PutFunctionCodeSigningConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutFunctionCodeSigningConfigRequest") + } + var r0 *request.Request var r1 *lambda.PutFunctionCodeSigningConfigOutput if rf, ok := ret.Get(0).(func(*lambda.PutFunctionCodeSigningConfigInput) (*request.Request, *lambda.PutFunctionCodeSigningConfigOutput)); ok { @@ -10268,6 +10964,10 @@ func (_m *MockLambdaAPI) PutFunctionCodeSigningConfigWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutFunctionCodeSigningConfigWithContext") + } + var r0 *lambda.PutFunctionCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutFunctionCodeSigningConfigInput, ...request.Option) (*lambda.PutFunctionCodeSigningConfigOutput, error)); ok { @@ -10331,6 +11031,10 @@ func (_c *MockLambdaAPI_PutFunctionCodeSigningConfigWithContext_Call) RunAndRetu func (_m *MockLambdaAPI) PutFunctionConcurrency(_a0 *lambda.PutFunctionConcurrencyInput) (*lambda.PutFunctionConcurrencyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutFunctionConcurrency") + } + var r0 *lambda.PutFunctionConcurrencyOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.PutFunctionConcurrencyInput) (*lambda.PutFunctionConcurrencyOutput, error)); ok { @@ -10385,6 +11089,10 @@ func (_c *MockLambdaAPI_PutFunctionConcurrency_Call) RunAndReturn(run func(*lamb func (_m *MockLambdaAPI) PutFunctionConcurrencyRequest(_a0 *lambda.PutFunctionConcurrencyInput) (*request.Request, *lambda.PutFunctionConcurrencyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutFunctionConcurrencyRequest") + } + var r0 *request.Request var r1 *lambda.PutFunctionConcurrencyOutput if rf, ok := ret.Get(0).(func(*lambda.PutFunctionConcurrencyInput) (*request.Request, *lambda.PutFunctionConcurrencyOutput)); ok { @@ -10448,6 +11156,10 @@ func (_m *MockLambdaAPI) PutFunctionConcurrencyWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutFunctionConcurrencyWithContext") + } + var r0 *lambda.PutFunctionConcurrencyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutFunctionConcurrencyInput, ...request.Option) (*lambda.PutFunctionConcurrencyOutput, error)); ok { @@ -10511,6 +11223,10 @@ func (_c *MockLambdaAPI_PutFunctionConcurrencyWithContext_Call) RunAndReturn(run func (_m *MockLambdaAPI) PutFunctionEventInvokeConfig(_a0 *lambda.PutFunctionEventInvokeConfigInput) (*lambda.PutFunctionEventInvokeConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutFunctionEventInvokeConfig") + } + var r0 *lambda.PutFunctionEventInvokeConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.PutFunctionEventInvokeConfigInput) (*lambda.PutFunctionEventInvokeConfigOutput, error)); ok { @@ -10565,6 +11281,10 @@ func (_c *MockLambdaAPI_PutFunctionEventInvokeConfig_Call) RunAndReturn(run func func (_m *MockLambdaAPI) PutFunctionEventInvokeConfigRequest(_a0 *lambda.PutFunctionEventInvokeConfigInput) (*request.Request, *lambda.PutFunctionEventInvokeConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutFunctionEventInvokeConfigRequest") + } + var r0 *request.Request var r1 *lambda.PutFunctionEventInvokeConfigOutput if rf, ok := ret.Get(0).(func(*lambda.PutFunctionEventInvokeConfigInput) (*request.Request, *lambda.PutFunctionEventInvokeConfigOutput)); ok { @@ -10628,6 +11348,10 @@ func (_m *MockLambdaAPI) PutFunctionEventInvokeConfigWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutFunctionEventInvokeConfigWithContext") + } + var r0 *lambda.PutFunctionEventInvokeConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutFunctionEventInvokeConfigInput, ...request.Option) (*lambda.PutFunctionEventInvokeConfigOutput, error)); ok { @@ -10691,6 +11415,10 @@ func (_c *MockLambdaAPI_PutFunctionEventInvokeConfigWithContext_Call) RunAndRetu func (_m *MockLambdaAPI) PutProvisionedConcurrencyConfig(_a0 *lambda.PutProvisionedConcurrencyConfigInput) (*lambda.PutProvisionedConcurrencyConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutProvisionedConcurrencyConfig") + } + var r0 *lambda.PutProvisionedConcurrencyConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.PutProvisionedConcurrencyConfigInput) (*lambda.PutProvisionedConcurrencyConfigOutput, error)); ok { @@ -10745,6 +11473,10 @@ func (_c *MockLambdaAPI_PutProvisionedConcurrencyConfig_Call) RunAndReturn(run f func (_m *MockLambdaAPI) PutProvisionedConcurrencyConfigRequest(_a0 *lambda.PutProvisionedConcurrencyConfigInput) (*request.Request, *lambda.PutProvisionedConcurrencyConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutProvisionedConcurrencyConfigRequest") + } + var r0 *request.Request var r1 *lambda.PutProvisionedConcurrencyConfigOutput if rf, ok := ret.Get(0).(func(*lambda.PutProvisionedConcurrencyConfigInput) (*request.Request, *lambda.PutProvisionedConcurrencyConfigOutput)); ok { @@ -10808,6 +11540,10 @@ func (_m *MockLambdaAPI) PutProvisionedConcurrencyConfigWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutProvisionedConcurrencyConfigWithContext") + } + var r0 *lambda.PutProvisionedConcurrencyConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutProvisionedConcurrencyConfigInput, ...request.Option) (*lambda.PutProvisionedConcurrencyConfigOutput, error)); ok { @@ -10871,6 +11607,10 @@ func (_c *MockLambdaAPI_PutProvisionedConcurrencyConfigWithContext_Call) RunAndR func (_m *MockLambdaAPI) PutRuntimeManagementConfig(_a0 *lambda.PutRuntimeManagementConfigInput) (*lambda.PutRuntimeManagementConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutRuntimeManagementConfig") + } + var r0 *lambda.PutRuntimeManagementConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.PutRuntimeManagementConfigInput) (*lambda.PutRuntimeManagementConfigOutput, error)); ok { @@ -10925,6 +11665,10 @@ func (_c *MockLambdaAPI_PutRuntimeManagementConfig_Call) RunAndReturn(run func(* func (_m *MockLambdaAPI) PutRuntimeManagementConfigRequest(_a0 *lambda.PutRuntimeManagementConfigInput) (*request.Request, *lambda.PutRuntimeManagementConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutRuntimeManagementConfigRequest") + } + var r0 *request.Request var r1 *lambda.PutRuntimeManagementConfigOutput if rf, ok := ret.Get(0).(func(*lambda.PutRuntimeManagementConfigInput) (*request.Request, *lambda.PutRuntimeManagementConfigOutput)); ok { @@ -10988,6 +11732,10 @@ func (_m *MockLambdaAPI) PutRuntimeManagementConfigWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutRuntimeManagementConfigWithContext") + } + var r0 *lambda.PutRuntimeManagementConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.PutRuntimeManagementConfigInput, ...request.Option) (*lambda.PutRuntimeManagementConfigOutput, error)); ok { @@ -11051,6 +11799,10 @@ func (_c *MockLambdaAPI_PutRuntimeManagementConfigWithContext_Call) RunAndReturn func (_m *MockLambdaAPI) RemoveLayerVersionPermission(_a0 *lambda.RemoveLayerVersionPermissionInput) (*lambda.RemoveLayerVersionPermissionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RemoveLayerVersionPermission") + } + var r0 *lambda.RemoveLayerVersionPermissionOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.RemoveLayerVersionPermissionInput) (*lambda.RemoveLayerVersionPermissionOutput, error)); ok { @@ -11105,6 +11857,10 @@ func (_c *MockLambdaAPI_RemoveLayerVersionPermission_Call) RunAndReturn(run func func (_m *MockLambdaAPI) RemoveLayerVersionPermissionRequest(_a0 *lambda.RemoveLayerVersionPermissionInput) (*request.Request, *lambda.RemoveLayerVersionPermissionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RemoveLayerVersionPermissionRequest") + } + var r0 *request.Request var r1 *lambda.RemoveLayerVersionPermissionOutput if rf, ok := ret.Get(0).(func(*lambda.RemoveLayerVersionPermissionInput) (*request.Request, *lambda.RemoveLayerVersionPermissionOutput)); ok { @@ -11168,6 +11924,10 @@ func (_m *MockLambdaAPI) RemoveLayerVersionPermissionWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemoveLayerVersionPermissionWithContext") + } + var r0 *lambda.RemoveLayerVersionPermissionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.RemoveLayerVersionPermissionInput, ...request.Option) (*lambda.RemoveLayerVersionPermissionOutput, error)); ok { @@ -11231,6 +11991,10 @@ func (_c *MockLambdaAPI_RemoveLayerVersionPermissionWithContext_Call) RunAndRetu func (_m *MockLambdaAPI) RemovePermission(_a0 *lambda.RemovePermissionInput) (*lambda.RemovePermissionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RemovePermission") + } + var r0 *lambda.RemovePermissionOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.RemovePermissionInput) (*lambda.RemovePermissionOutput, error)); ok { @@ -11285,6 +12049,10 @@ func (_c *MockLambdaAPI_RemovePermission_Call) RunAndReturn(run func(*lambda.Rem func (_m *MockLambdaAPI) RemovePermissionRequest(_a0 *lambda.RemovePermissionInput) (*request.Request, *lambda.RemovePermissionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RemovePermissionRequest") + } + var r0 *request.Request var r1 *lambda.RemovePermissionOutput if rf, ok := ret.Get(0).(func(*lambda.RemovePermissionInput) (*request.Request, *lambda.RemovePermissionOutput)); ok { @@ -11348,6 +12116,10 @@ func (_m *MockLambdaAPI) RemovePermissionWithContext(_a0 context.Context, _a1 *l _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RemovePermissionWithContext") + } + var r0 *lambda.RemovePermissionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.RemovePermissionInput, ...request.Option) (*lambda.RemovePermissionOutput, error)); ok { @@ -11411,6 +12183,10 @@ func (_c *MockLambdaAPI_RemovePermissionWithContext_Call) RunAndReturn(run func( func (_m *MockLambdaAPI) TagResource(_a0 *lambda.TagResourceInput) (*lambda.TagResourceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for TagResource") + } + var r0 *lambda.TagResourceOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.TagResourceInput) (*lambda.TagResourceOutput, error)); ok { @@ -11465,6 +12241,10 @@ func (_c *MockLambdaAPI_TagResource_Call) RunAndReturn(run func(*lambda.TagResou func (_m *MockLambdaAPI) TagResourceRequest(_a0 *lambda.TagResourceInput) (*request.Request, *lambda.TagResourceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for TagResourceRequest") + } + var r0 *request.Request var r1 *lambda.TagResourceOutput if rf, ok := ret.Get(0).(func(*lambda.TagResourceInput) (*request.Request, *lambda.TagResourceOutput)); ok { @@ -11528,6 +12308,10 @@ func (_m *MockLambdaAPI) TagResourceWithContext(_a0 context.Context, _a1 *lambda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for TagResourceWithContext") + } + var r0 *lambda.TagResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.TagResourceInput, ...request.Option) (*lambda.TagResourceOutput, error)); ok { @@ -11591,6 +12375,10 @@ func (_c *MockLambdaAPI_TagResourceWithContext_Call) RunAndReturn(run func(conte func (_m *MockLambdaAPI) UntagResource(_a0 *lambda.UntagResourceInput) (*lambda.UntagResourceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UntagResource") + } + var r0 *lambda.UntagResourceOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.UntagResourceInput) (*lambda.UntagResourceOutput, error)); ok { @@ -11645,6 +12433,10 @@ func (_c *MockLambdaAPI_UntagResource_Call) RunAndReturn(run func(*lambda.UntagR func (_m *MockLambdaAPI) UntagResourceRequest(_a0 *lambda.UntagResourceInput) (*request.Request, *lambda.UntagResourceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UntagResourceRequest") + } + var r0 *request.Request var r1 *lambda.UntagResourceOutput if rf, ok := ret.Get(0).(func(*lambda.UntagResourceInput) (*request.Request, *lambda.UntagResourceOutput)); ok { @@ -11708,6 +12500,10 @@ func (_m *MockLambdaAPI) UntagResourceWithContext(_a0 context.Context, _a1 *lamb _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UntagResourceWithContext") + } + var r0 *lambda.UntagResourceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.UntagResourceInput, ...request.Option) (*lambda.UntagResourceOutput, error)); ok { @@ -11771,6 +12567,10 @@ func (_c *MockLambdaAPI_UntagResourceWithContext_Call) RunAndReturn(run func(con func (_m *MockLambdaAPI) UpdateAlias(_a0 *lambda.UpdateAliasInput) (*lambda.AliasConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateAlias") + } + var r0 *lambda.AliasConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.UpdateAliasInput) (*lambda.AliasConfiguration, error)); ok { @@ -11825,6 +12625,10 @@ func (_c *MockLambdaAPI_UpdateAlias_Call) RunAndReturn(run func(*lambda.UpdateAl func (_m *MockLambdaAPI) UpdateAliasRequest(_a0 *lambda.UpdateAliasInput) (*request.Request, *lambda.AliasConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateAliasRequest") + } + var r0 *request.Request var r1 *lambda.AliasConfiguration if rf, ok := ret.Get(0).(func(*lambda.UpdateAliasInput) (*request.Request, *lambda.AliasConfiguration)); ok { @@ -11888,6 +12692,10 @@ func (_m *MockLambdaAPI) UpdateAliasWithContext(_a0 context.Context, _a1 *lambda _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateAliasWithContext") + } + var r0 *lambda.AliasConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateAliasInput, ...request.Option) (*lambda.AliasConfiguration, error)); ok { @@ -11951,6 +12759,10 @@ func (_c *MockLambdaAPI_UpdateAliasWithContext_Call) RunAndReturn(run func(conte func (_m *MockLambdaAPI) UpdateCodeSigningConfig(_a0 *lambda.UpdateCodeSigningConfigInput) (*lambda.UpdateCodeSigningConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateCodeSigningConfig") + } + var r0 *lambda.UpdateCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.UpdateCodeSigningConfigInput) (*lambda.UpdateCodeSigningConfigOutput, error)); ok { @@ -12005,6 +12817,10 @@ func (_c *MockLambdaAPI_UpdateCodeSigningConfig_Call) RunAndReturn(run func(*lam func (_m *MockLambdaAPI) UpdateCodeSigningConfigRequest(_a0 *lambda.UpdateCodeSigningConfigInput) (*request.Request, *lambda.UpdateCodeSigningConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateCodeSigningConfigRequest") + } + var r0 *request.Request var r1 *lambda.UpdateCodeSigningConfigOutput if rf, ok := ret.Get(0).(func(*lambda.UpdateCodeSigningConfigInput) (*request.Request, *lambda.UpdateCodeSigningConfigOutput)); ok { @@ -12068,6 +12884,10 @@ func (_m *MockLambdaAPI) UpdateCodeSigningConfigWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateCodeSigningConfigWithContext") + } + var r0 *lambda.UpdateCodeSigningConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateCodeSigningConfigInput, ...request.Option) (*lambda.UpdateCodeSigningConfigOutput, error)); ok { @@ -12131,6 +12951,10 @@ func (_c *MockLambdaAPI_UpdateCodeSigningConfigWithContext_Call) RunAndReturn(ru func (_m *MockLambdaAPI) UpdateEventSourceMapping(_a0 *lambda.UpdateEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateEventSourceMapping") + } + var r0 *lambda.EventSourceMappingConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.UpdateEventSourceMappingInput) (*lambda.EventSourceMappingConfiguration, error)); ok { @@ -12185,6 +13009,10 @@ func (_c *MockLambdaAPI_UpdateEventSourceMapping_Call) RunAndReturn(run func(*la func (_m *MockLambdaAPI) UpdateEventSourceMappingRequest(_a0 *lambda.UpdateEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateEventSourceMappingRequest") + } + var r0 *request.Request var r1 *lambda.EventSourceMappingConfiguration if rf, ok := ret.Get(0).(func(*lambda.UpdateEventSourceMappingInput) (*request.Request, *lambda.EventSourceMappingConfiguration)); ok { @@ -12248,6 +13076,10 @@ func (_m *MockLambdaAPI) UpdateEventSourceMappingWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateEventSourceMappingWithContext") + } + var r0 *lambda.EventSourceMappingConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateEventSourceMappingInput, ...request.Option) (*lambda.EventSourceMappingConfiguration, error)); ok { @@ -12311,6 +13143,10 @@ func (_c *MockLambdaAPI_UpdateEventSourceMappingWithContext_Call) RunAndReturn(r func (_m *MockLambdaAPI) UpdateFunctionCode(_a0 *lambda.UpdateFunctionCodeInput) (*lambda.FunctionConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionCode") + } + var r0 *lambda.FunctionConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionCodeInput) (*lambda.FunctionConfiguration, error)); ok { @@ -12365,6 +13201,10 @@ func (_c *MockLambdaAPI_UpdateFunctionCode_Call) RunAndReturn(run func(*lambda.U func (_m *MockLambdaAPI) UpdateFunctionCodeRequest(_a0 *lambda.UpdateFunctionCodeInput) (*request.Request, *lambda.FunctionConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionCodeRequest") + } + var r0 *request.Request var r1 *lambda.FunctionConfiguration if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionCodeInput) (*request.Request, *lambda.FunctionConfiguration)); ok { @@ -12428,6 +13268,10 @@ func (_m *MockLambdaAPI) UpdateFunctionCodeWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionCodeWithContext") + } + var r0 *lambda.FunctionConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionCodeInput, ...request.Option) (*lambda.FunctionConfiguration, error)); ok { @@ -12491,6 +13335,10 @@ func (_c *MockLambdaAPI_UpdateFunctionCodeWithContext_Call) RunAndReturn(run fun func (_m *MockLambdaAPI) UpdateFunctionConfiguration(_a0 *lambda.UpdateFunctionConfigurationInput) (*lambda.FunctionConfiguration, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionConfiguration") + } + var r0 *lambda.FunctionConfiguration var r1 error if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionConfigurationInput) (*lambda.FunctionConfiguration, error)); ok { @@ -12545,6 +13393,10 @@ func (_c *MockLambdaAPI_UpdateFunctionConfiguration_Call) RunAndReturn(run func( func (_m *MockLambdaAPI) UpdateFunctionConfigurationRequest(_a0 *lambda.UpdateFunctionConfigurationInput) (*request.Request, *lambda.FunctionConfiguration) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionConfigurationRequest") + } + var r0 *request.Request var r1 *lambda.FunctionConfiguration if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionConfigurationInput) (*request.Request, *lambda.FunctionConfiguration)); ok { @@ -12608,6 +13460,10 @@ func (_m *MockLambdaAPI) UpdateFunctionConfigurationWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionConfigurationWithContext") + } + var r0 *lambda.FunctionConfiguration var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionConfigurationInput, ...request.Option) (*lambda.FunctionConfiguration, error)); ok { @@ -12671,6 +13527,10 @@ func (_c *MockLambdaAPI_UpdateFunctionConfigurationWithContext_Call) RunAndRetur func (_m *MockLambdaAPI) UpdateFunctionEventInvokeConfig(_a0 *lambda.UpdateFunctionEventInvokeConfigInput) (*lambda.UpdateFunctionEventInvokeConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionEventInvokeConfig") + } + var r0 *lambda.UpdateFunctionEventInvokeConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionEventInvokeConfigInput) (*lambda.UpdateFunctionEventInvokeConfigOutput, error)); ok { @@ -12725,6 +13585,10 @@ func (_c *MockLambdaAPI_UpdateFunctionEventInvokeConfig_Call) RunAndReturn(run f func (_m *MockLambdaAPI) UpdateFunctionEventInvokeConfigRequest(_a0 *lambda.UpdateFunctionEventInvokeConfigInput) (*request.Request, *lambda.UpdateFunctionEventInvokeConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionEventInvokeConfigRequest") + } + var r0 *request.Request var r1 *lambda.UpdateFunctionEventInvokeConfigOutput if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionEventInvokeConfigInput) (*request.Request, *lambda.UpdateFunctionEventInvokeConfigOutput)); ok { @@ -12788,6 +13652,10 @@ func (_m *MockLambdaAPI) UpdateFunctionEventInvokeConfigWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionEventInvokeConfigWithContext") + } + var r0 *lambda.UpdateFunctionEventInvokeConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionEventInvokeConfigInput, ...request.Option) (*lambda.UpdateFunctionEventInvokeConfigOutput, error)); ok { @@ -12851,6 +13719,10 @@ func (_c *MockLambdaAPI_UpdateFunctionEventInvokeConfigWithContext_Call) RunAndR func (_m *MockLambdaAPI) UpdateFunctionUrlConfig(_a0 *lambda.UpdateFunctionUrlConfigInput) (*lambda.UpdateFunctionUrlConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionUrlConfig") + } + var r0 *lambda.UpdateFunctionUrlConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionUrlConfigInput) (*lambda.UpdateFunctionUrlConfigOutput, error)); ok { @@ -12905,6 +13777,10 @@ func (_c *MockLambdaAPI_UpdateFunctionUrlConfig_Call) RunAndReturn(run func(*lam func (_m *MockLambdaAPI) UpdateFunctionUrlConfigRequest(_a0 *lambda.UpdateFunctionUrlConfigInput) (*request.Request, *lambda.UpdateFunctionUrlConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionUrlConfigRequest") + } + var r0 *request.Request var r1 *lambda.UpdateFunctionUrlConfigOutput if rf, ok := ret.Get(0).(func(*lambda.UpdateFunctionUrlConfigInput) (*request.Request, *lambda.UpdateFunctionUrlConfigOutput)); ok { @@ -12968,6 +13844,10 @@ func (_m *MockLambdaAPI) UpdateFunctionUrlConfigWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateFunctionUrlConfigWithContext") + } + var r0 *lambda.UpdateFunctionUrlConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.UpdateFunctionUrlConfigInput, ...request.Option) (*lambda.UpdateFunctionUrlConfigOutput, error)); ok { @@ -13031,6 +13911,10 @@ func (_c *MockLambdaAPI_UpdateFunctionUrlConfigWithContext_Call) RunAndReturn(ru func (_m *MockLambdaAPI) WaitUntilFunctionActive(_a0 *lambda.GetFunctionConfigurationInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilFunctionActive") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConfigurationInput) error); ok { r0 = rf(_a0) @@ -13073,6 +13957,10 @@ func (_c *MockLambdaAPI_WaitUntilFunctionActive_Call) RunAndReturn(run func(*lam func (_m *MockLambdaAPI) WaitUntilFunctionActiveV2(_a0 *lambda.GetFunctionInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilFunctionActiveV2") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) error); ok { r0 = rf(_a0) @@ -13122,6 +14010,10 @@ func (_m *MockLambdaAPI) WaitUntilFunctionActiveV2WithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilFunctionActiveV2WithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -13180,6 +14072,10 @@ func (_m *MockLambdaAPI) WaitUntilFunctionActiveWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilFunctionActiveWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionConfigurationInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -13231,6 +14127,10 @@ func (_c *MockLambdaAPI_WaitUntilFunctionActiveWithContext_Call) RunAndReturn(ru func (_m *MockLambdaAPI) WaitUntilFunctionExists(_a0 *lambda.GetFunctionInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilFunctionExists") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) error); ok { r0 = rf(_a0) @@ -13280,6 +14180,10 @@ func (_m *MockLambdaAPI) WaitUntilFunctionExistsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilFunctionExistsWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -13331,6 +14235,10 @@ func (_c *MockLambdaAPI_WaitUntilFunctionExistsWithContext_Call) RunAndReturn(ru func (_m *MockLambdaAPI) WaitUntilFunctionUpdated(_a0 *lambda.GetFunctionConfigurationInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilFunctionUpdated") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConfigurationInput) error); ok { r0 = rf(_a0) @@ -13373,6 +14281,10 @@ func (_c *MockLambdaAPI_WaitUntilFunctionUpdated_Call) RunAndReturn(run func(*la func (_m *MockLambdaAPI) WaitUntilFunctionUpdatedV2(_a0 *lambda.GetFunctionInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilFunctionUpdatedV2") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionInput) error); ok { r0 = rf(_a0) @@ -13422,6 +14334,10 @@ func (_m *MockLambdaAPI) WaitUntilFunctionUpdatedV2WithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilFunctionUpdatedV2WithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -13480,6 +14396,10 @@ func (_m *MockLambdaAPI) WaitUntilFunctionUpdatedWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilFunctionUpdatedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionConfigurationInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -13531,6 +14451,10 @@ func (_c *MockLambdaAPI_WaitUntilFunctionUpdatedWithContext_Call) RunAndReturn(r func (_m *MockLambdaAPI) WaitUntilPublishedVersionActive(_a0 *lambda.GetFunctionConfigurationInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilPublishedVersionActive") + } + var r0 error if rf, ok := ret.Get(0).(func(*lambda.GetFunctionConfigurationInput) error); ok { r0 = rf(_a0) @@ -13580,6 +14504,10 @@ func (_m *MockLambdaAPI) WaitUntilPublishedVersionActiveWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilPublishedVersionActiveWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *lambda.GetFunctionConfigurationInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...)