From d0d9647e91e5b5522ce041687f8ba708e4a0706e Mon Sep 17 00:00:00 2001 From: ryansteakley <37981995+ryansteakley@users.noreply.github.com> Date: Fri, 19 Jan 2024 15:45:11 -0800 Subject: [PATCH] Regenerate the controller and pin runtime to v0.28.0 (#252) Issue #, if available: Description of changes: Updates ackruntime to v0.28.0 for sagemaker controller By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. --- apis/v1alpha1/ack-generate-metadata.yaml | 8 +- config/controller/kustomization.yaml | 2 +- go.mod | 14 +- go.sum | 37 +- helm/Chart.yaml | 4 +- .../services.k8s.aws_adoptedresources.yaml | 4 +- helm/templates/NOTES.txt | 2 +- helm/templates/deployment.yaml | 6 +- helm/templates/role-writer.yaml | 22 - helm/values.yaml | 2 +- .../data_quality_job_definition/delta.go | 34 +- pkg/resource/domain/delta.go | 36 +- pkg/resource/endpoint/delta.go | 6 +- pkg/resource/endpoint_config/delta.go | 24 +- pkg/resource/feature_group/delta.go | 6 +- .../hyper_parameter_tuning_job/delta.go | 82 +- pkg/resource/model/delta.go | 22 +- .../model_bias_job_definition/delta.go | 22 +- .../delta.go | 22 +- pkg/resource/model_package/delta.go | 52 +- .../model_quality_job_definition/delta.go | 34 +- pkg/resource/monitoring_schedule/delta.go | 40 +- pkg/resource/notebook_instance/delta.go | 18 +- pkg/resource/pipeline_execution/delta.go | 6 +- pkg/resource/processing_job/delta.go | 40 +- pkg/resource/training_job/delta.go | 58 +- pkg/resource/transform_job/delta.go | 4 +- pkg/resource/user_profile/delta.go | 24 +- .../aws-sdk-go/sagemaker/SageMakerAPI.go | 6518 ++++++++++++++++- 29 files changed, 6774 insertions(+), 375 deletions(-) diff --git a/apis/v1alpha1/ack-generate-metadata.yaml b/apis/v1alpha1/ack-generate-metadata.yaml index 6f67fad9..a98260cd 100755 --- a/apis/v1alpha1/ack-generate-metadata.yaml +++ b/apis/v1alpha1/ack-generate-metadata.yaml @@ -1,8 +1,8 @@ ack_generate_info: - build_date: "2023-09-15T00:01:42Z" - build_hash: 892f29d00a4c4ad21a2fa32919921de18190979d - go_version: go1.21.0 - version: v0.27.1 + build_date: "2024-01-19T22:36:58Z" + build_hash: a5ca31ac1df4b155edf848cf14af44f9f602065d + go_version: go1.21.6 + version: v0.28.0-19-ga5ca31a api_directory_checksum: 62a1b01c505efd55545d306c2353b9673ce344fb api_version: v1alpha1 aws_sdk_go_version: v1.44.218 diff --git a/config/controller/kustomization.yaml b/config/controller/kustomization.yaml index 86c63894..6cb2f91f 100644 --- a/config/controller/kustomization.yaml +++ b/config/controller/kustomization.yaml @@ -6,4 +6,4 @@ kind: Kustomization images: - name: controller newName: public.ecr.aws/aws-controllers-k8s/sagemaker-controller - newTag: 1.2.4 + newTag: 1.2.5 diff --git a/go.mod b/go.mod index e4e696f4..7a612aa9 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ module github.com/aws-controllers-k8s/sagemaker-controller -go 1.19 +go 1.21 require ( - github.com/aws-controllers-k8s/runtime v0.27.1 - github.com/aws/aws-sdk-go v1.44.218 + github.com/aws-controllers-k8s/runtime v0.28.0 + github.com/aws/aws-sdk-go v1.49.0 github.com/ghodss/yaml v1.0.0 github.com/go-logr/logr v1.2.3 github.com/google/go-cmp v0.5.9 @@ -58,11 +58,11 @@ require ( go.uber.org/atomic v1.7.0 // indirect go.uber.org/multierr v1.6.0 // indirect golang.org/x/exp v0.0.0-20220303212507-bbda1eaf7a17 // indirect - golang.org/x/net v0.8.0 // indirect + golang.org/x/net v0.17.0 // indirect golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect - golang.org/x/sys v0.6.0 // indirect - golang.org/x/term v0.6.0 // indirect - golang.org/x/text v0.8.0 // indirect + golang.org/x/sys v0.13.0 // indirect + golang.org/x/term v0.13.0 // indirect + golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.3.0 // indirect gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect google.golang.org/appengine v1.6.7 // indirect diff --git a/go.sum b/go.sum index cfe91e92..0e61052d 100644 --- a/go.sum +++ b/go.sum @@ -38,10 +38,10 @@ github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuy github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/aws-controllers-k8s/runtime v0.27.1 h1:tvJRQDioBFkob0kF4DwgS7MsoXZKwkG5QCHWxFEh+2o= -github.com/aws-controllers-k8s/runtime v0.27.1/go.mod h1:oSCqCzbzJLUrzv+cx4TIxCuSUvL75ABJmhxBc87IRqc= -github.com/aws/aws-sdk-go v1.44.218 h1:p707+xOCazWhkSpZOeyhtTcg7Z+asxxvueGgYPSitn4= -github.com/aws/aws-sdk-go v1.44.218/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI= +github.com/aws-controllers-k8s/runtime v0.28.0 h1:QhtZDwF4TId5rBW924FMMKWFb0PGTtclVj+Cyj3bRaI= +github.com/aws-controllers-k8s/runtime v0.28.0/go.mod h1:OYbm782YcAQDN1M5k3lttI16FcLoiRqrIQL0DvU3+Lg= +github.com/aws/aws-sdk-go v1.49.0 h1:g9BkW1fo9GqKfwg2+zCD+TW/D36Ux+vtfJ8guF4AYmY= +github.com/aws/aws-sdk-go v1.49.0/go.mod h1:LF8svs817+Nz+DmiMQKTO3ubZ/6IaTpq3TjupRn3Eqk= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= @@ -290,7 +290,6 @@ github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de 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= @@ -311,7 +310,6 @@ golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8U 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-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= 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= @@ -344,7 +342,6 @@ golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzB 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.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-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -374,14 +371,11 @@ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81R 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-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -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.8.0 h1:Zrh2ngAOFYneWTAIAPethzeaQLuHwhuBkuV6ZiRnUaQ= -golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc= +golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= +golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= 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= @@ -400,7 +394,6 @@ golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJ 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/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -442,17 +435,13 @@ golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/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= 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 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ= -golang.org/x/sys v0.6.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/term v0.6.0 h1:clScbb1cHjoCkyRbWwBEUZ5H/tIFu5TAXIqaZD0Gcjw= -golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U= +golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek= +golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U= 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= @@ -460,9 +449,8 @@ 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.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.8.0 h1:57P1ETyNKtuIjB4SRd15iJxuhj8Gc416Y78H3qgMh68= -golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +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= @@ -511,7 +499,6 @@ golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc 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-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -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= diff --git a/helm/Chart.yaml b/helm/Chart.yaml index cab5316e..0142c255 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 name: sagemaker-chart description: A Helm chart for the ACK service controller for Amazon SageMaker (SageMaker) -version: 1.2.4 -appVersion: 1.2.4 +version: 1.2.5 +appVersion: 1.2.5 home: https://github.com/aws-controllers-k8s/sagemaker-controller icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png sources: diff --git a/helm/crds/services.k8s.aws_adoptedresources.yaml b/helm/crds/services.k8s.aws_adoptedresources.yaml index d8d51261..9a12ef7e 100644 --- a/helm/crds/services.k8s.aws_adoptedresources.yaml +++ b/helm/crds/services.k8s.aws_adoptedresources.yaml @@ -161,10 +161,10 @@ spec: description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' type: string name: - description: 'Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names' + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names' type: string uid: - description: 'UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids' + description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#uids' type: string required: - apiVersion diff --git a/helm/templates/NOTES.txt b/helm/templates/NOTES.txt index acf2dc1a..50f7d907 100644 --- a/helm/templates/NOTES.txt +++ b/helm/templates/NOTES.txt @@ -1,5 +1,5 @@ {{ .Chart.Name }} has been installed. -This chart deploys "public.ecr.aws/aws-controllers-k8s/sagemaker-controller:1.2.4". +This chart deploys "public.ecr.aws/aws-controllers-k8s/sagemaker-controller:1.2.5". Check its status by running: kubectl --namespace {{ .Release.Namespace }} get pods -l "app.kubernetes.io/instance={{ .Release.Name }}" diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index f40b5f22..cea38ec9 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -123,7 +123,7 @@ spec: readOnly: true {{- end }} {{- if .Values.deployment.extraVolumeMounts -}} - {{ toYaml .Values.deployment.extraVolumeMounts | nindent 12 }} + {{ toYaml .Values.deployment.extraVolumeMounts | nindent 10 }} {{- end }} securityContext: allowPrivilegeEscalation: false @@ -151,11 +151,11 @@ spec: hostNetwork: {{ .Values.deployment.hostNetwork }} dnsPolicy: {{ .Values.deployment.dnsPolicy }} volumes: - {{- if .Values.aws.credentials.secretName -}} + {{- if .Values.aws.credentials.secretName }} - name: {{ .Values.aws.credentials.secretName }} secret: secretName: {{ .Values.aws.credentials.secretName }} - {{ end -}} + {{- end }} {{- if .Values.deployment.extraVolumes }} {{ toYaml .Values.deployment.extraVolumes | indent 8}} {{- end }} diff --git a/helm/templates/role-writer.yaml b/helm/templates/role-writer.yaml index 795e02de..5c0ed697 100644 --- a/helm/templates/role-writer.yaml +++ b/helm/templates/role-writer.yaml @@ -10,49 +10,27 @@ rules: - sagemaker.services.k8s.aws resources: - apps - - dataqualityjobdefinitions - - domains - - endpoints - - endpointconfigs - - featuregroups - - hyperparametertuningjobs - - models - - modelbiasjobdefinitions - - modelexplainabilityjobdefinitions - - modelpackages - - modelpackagegroups - - modelqualityjobdefinitions - - monitoringschedules - - notebookinstances - - notebookinstancelifecycleconfigs - - pipelines - - pipelineexecutions - - processingjobs - - trainingjobs - - transformjobs - - userprofiles - verbs: - create - delete diff --git a/helm/values.yaml b/helm/values.yaml index ee9be077..df8a1d23 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -4,7 +4,7 @@ image: repository: public.ecr.aws/aws-controllers-k8s/sagemaker-controller - tag: 1.2.4 + tag: 1.2.5 pullPolicy: IfNotPresent pullSecrets: [] diff --git a/pkg/resource/data_quality_job_definition/delta.go b/pkg/resource/data_quality_job_definition/delta.go index 6984c661..bcb8fa2f 100644 --- a/pkg/resource/data_quality_job_definition/delta.go +++ b/pkg/resource/data_quality_job_definition/delta.go @@ -46,15 +46,23 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.DataQualityAppSpecification, b.ko.Spec.DataQualityAppSpecification) { delta.Add("Spec.DataQualityAppSpecification", a.ko.Spec.DataQualityAppSpecification, b.ko.Spec.DataQualityAppSpecification) } else if a.ko.Spec.DataQualityAppSpecification != nil && b.ko.Spec.DataQualityAppSpecification != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.DataQualityAppSpecification.ContainerArguments, b.ko.Spec.DataQualityAppSpecification.ContainerArguments) { + if len(a.ko.Spec.DataQualityAppSpecification.ContainerArguments) != len(b.ko.Spec.DataQualityAppSpecification.ContainerArguments) { delta.Add("Spec.DataQualityAppSpecification.ContainerArguments", a.ko.Spec.DataQualityAppSpecification.ContainerArguments, b.ko.Spec.DataQualityAppSpecification.ContainerArguments) + } else if len(a.ko.Spec.DataQualityAppSpecification.ContainerArguments) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.DataQualityAppSpecification.ContainerArguments, b.ko.Spec.DataQualityAppSpecification.ContainerArguments) { + delta.Add("Spec.DataQualityAppSpecification.ContainerArguments", a.ko.Spec.DataQualityAppSpecification.ContainerArguments, b.ko.Spec.DataQualityAppSpecification.ContainerArguments) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint, b.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint) { + if len(a.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint) != len(b.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint) { delta.Add("Spec.DataQualityAppSpecification.ContainerEntrypoint", a.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint, b.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint) + } else if len(a.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint, b.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint) { + delta.Add("Spec.DataQualityAppSpecification.ContainerEntrypoint", a.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint, b.ko.Spec.DataQualityAppSpecification.ContainerEntrypoint) + } } - if ackcompare.HasNilDifference(a.ko.Spec.DataQualityAppSpecification.Environment, b.ko.Spec.DataQualityAppSpecification.Environment) { + if len(a.ko.Spec.DataQualityAppSpecification.Environment) != len(b.ko.Spec.DataQualityAppSpecification.Environment) { delta.Add("Spec.DataQualityAppSpecification.Environment", a.ko.Spec.DataQualityAppSpecification.Environment, b.ko.Spec.DataQualityAppSpecification.Environment) - } else if a.ko.Spec.DataQualityAppSpecification.Environment != nil && b.ko.Spec.DataQualityAppSpecification.Environment != nil { + } else if len(a.ko.Spec.DataQualityAppSpecification.Environment) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.DataQualityAppSpecification.Environment, b.ko.Spec.DataQualityAppSpecification.Environment) { delta.Add("Spec.DataQualityAppSpecification.Environment", a.ko.Spec.DataQualityAppSpecification.Environment, b.ko.Spec.DataQualityAppSpecification.Environment) } @@ -202,8 +210,12 @@ func newResourceDelta( delta.Add("Spec.DataQualityJobOutputConfig.KMSKeyID", a.ko.Spec.DataQualityJobOutputConfig.KMSKeyID, b.ko.Spec.DataQualityJobOutputConfig.KMSKeyID) } } - if !reflect.DeepEqual(a.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs, b.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs) { + if len(a.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs) != len(b.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs) { delta.Add("Spec.DataQualityJobOutputConfig.MonitoringOutputs", a.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs, b.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs) + } else if len(a.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs) > 0 { + if !reflect.DeepEqual(a.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs, b.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs) { + delta.Add("Spec.DataQualityJobOutputConfig.MonitoringOutputs", a.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs, b.ko.Spec.DataQualityJobOutputConfig.MonitoringOutputs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.JobDefinitionName, b.ko.Spec.JobDefinitionName) { @@ -269,11 +281,19 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.NetworkConfig.VPCConfig, b.ko.Spec.NetworkConfig.VPCConfig) { delta.Add("Spec.NetworkConfig.VPCConfig", a.ko.Spec.NetworkConfig.VPCConfig, b.ko.Spec.NetworkConfig.VPCConfig) } else if a.ko.Spec.NetworkConfig.VPCConfig != nil && b.ko.Spec.NetworkConfig.VPCConfig != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { + if len(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) != len(b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { delta.Add("Spec.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) + } else if len(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { + delta.Add("Spec.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { + if len(a.ko.Spec.NetworkConfig.VPCConfig.Subnets) != len(b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { delta.Add("Spec.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) + } else if len(a.ko.Spec.NetworkConfig.VPCConfig.Subnets) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { + delta.Add("Spec.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) + } } } } diff --git a/pkg/resource/domain/delta.go b/pkg/resource/domain/delta.go index becd5feb..223fab14 100644 --- a/pkg/resource/domain/delta.go +++ b/pkg/resource/domain/delta.go @@ -109,15 +109,23 @@ func newResourceDelta( } } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs, b.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs) { + if len(a.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs) != len(b.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs) { delta.Add("Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs", a.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs, b.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs) + } else if len(a.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs, b.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs) { + delta.Add("Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs", a.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs, b.ko.Spec.DefaultUserSettings.JupyterServerAppSettings.LifecycleConfigARNs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings) { delta.Add("Spec.DefaultUserSettings.KernelGatewayAppSettings", a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings) } else if a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings != nil && b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings != nil { - if !reflect.DeepEqual(a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages) { + if len(a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages) != len(b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages) { delta.Add("Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages", a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages) + } else if len(a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages) > 0 { + if !reflect.DeepEqual(a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages) { + delta.Add("Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages", a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.CustomImages) + } } if ackcompare.HasNilDifference(a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec) { delta.Add("Spec.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec", a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.DefaultResourceSpec) @@ -151,8 +159,12 @@ func newResourceDelta( } } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) { + if len(a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) != len(b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) { delta.Add("Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs", a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) + } else if len(a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) { + delta.Add("Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs", a.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs, b.ko.Spec.DefaultUserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.DefaultUserSettings.RStudioServerProAppSettings, b.ko.Spec.DefaultUserSettings.RStudioServerProAppSettings) { @@ -173,8 +185,12 @@ func newResourceDelta( } } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.DefaultUserSettings.SecurityGroups, b.ko.Spec.DefaultUserSettings.SecurityGroups) { + if len(a.ko.Spec.DefaultUserSettings.SecurityGroups) != len(b.ko.Spec.DefaultUserSettings.SecurityGroups) { delta.Add("Spec.DefaultUserSettings.SecurityGroups", a.ko.Spec.DefaultUserSettings.SecurityGroups, b.ko.Spec.DefaultUserSettings.SecurityGroups) + } else if len(a.ko.Spec.DefaultUserSettings.SecurityGroups) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.DefaultUserSettings.SecurityGroups, b.ko.Spec.DefaultUserSettings.SecurityGroups) { + delta.Add("Spec.DefaultUserSettings.SecurityGroups", a.ko.Spec.DefaultUserSettings.SecurityGroups, b.ko.Spec.DefaultUserSettings.SecurityGroups) + } } if ackcompare.HasNilDifference(a.ko.Spec.DefaultUserSettings.SharingSettings, b.ko.Spec.DefaultUserSettings.SharingSettings) { delta.Add("Spec.DefaultUserSettings.SharingSettings", a.ko.Spec.DefaultUserSettings.SharingSettings, b.ko.Spec.DefaultUserSettings.SharingSettings) @@ -305,8 +321,12 @@ func newResourceDelta( } } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.DomainSettings.SecurityGroupIDs, b.ko.Spec.DomainSettings.SecurityGroupIDs) { + if len(a.ko.Spec.DomainSettings.SecurityGroupIDs) != len(b.ko.Spec.DomainSettings.SecurityGroupIDs) { delta.Add("Spec.DomainSettings.SecurityGroupIDs", a.ko.Spec.DomainSettings.SecurityGroupIDs, b.ko.Spec.DomainSettings.SecurityGroupIDs) + } else if len(a.ko.Spec.DomainSettings.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.DomainSettings.SecurityGroupIDs, b.ko.Spec.DomainSettings.SecurityGroupIDs) { + delta.Add("Spec.DomainSettings.SecurityGroupIDs", a.ko.Spec.DomainSettings.SecurityGroupIDs, b.ko.Spec.DomainSettings.SecurityGroupIDs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.HomeEFSFileSystemKMSKeyID, b.ko.Spec.HomeEFSFileSystemKMSKeyID) { @@ -323,8 +343,12 @@ func newResourceDelta( delta.Add("Spec.KMSKeyID", a.ko.Spec.KMSKeyID, b.ko.Spec.KMSKeyID) } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.SubnetIDs, b.ko.Spec.SubnetIDs) { + if len(a.ko.Spec.SubnetIDs) != len(b.ko.Spec.SubnetIDs) { delta.Add("Spec.SubnetIDs", a.ko.Spec.SubnetIDs, b.ko.Spec.SubnetIDs) + } else if len(a.ko.Spec.SubnetIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.SubnetIDs, b.ko.Spec.SubnetIDs) { + delta.Add("Spec.SubnetIDs", a.ko.Spec.SubnetIDs, b.ko.Spec.SubnetIDs) + } } if ackcompare.HasNilDifference(a.ko.Spec.VPCID, b.ko.Spec.VPCID) { delta.Add("Spec.VPCID", a.ko.Spec.VPCID, b.ko.Spec.VPCID) diff --git a/pkg/resource/endpoint/delta.go b/pkg/resource/endpoint/delta.go index ee6cf13e..d04ff023 100644 --- a/pkg/resource/endpoint/delta.go +++ b/pkg/resource/endpoint/delta.go @@ -49,8 +49,12 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.DeploymentConfig.AutoRollbackConfiguration, b.ko.Spec.DeploymentConfig.AutoRollbackConfiguration) { delta.Add("Spec.DeploymentConfig.AutoRollbackConfiguration", a.ko.Spec.DeploymentConfig.AutoRollbackConfiguration, b.ko.Spec.DeploymentConfig.AutoRollbackConfiguration) } else if a.ko.Spec.DeploymentConfig.AutoRollbackConfiguration != nil && b.ko.Spec.DeploymentConfig.AutoRollbackConfiguration != nil { - if !reflect.DeepEqual(a.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms, b.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms) { + if len(a.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms) != len(b.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms) { delta.Add("Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms", a.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms, b.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms) + } else if len(a.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms) > 0 { + if !reflect.DeepEqual(a.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms, b.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms) { + delta.Add("Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms", a.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms, b.ko.Spec.DeploymentConfig.AutoRollbackConfiguration.Alarms) + } } } if ackcompare.HasNilDifference(a.ko.Spec.DeploymentConfig.BlueGreenUpdatePolicy, b.ko.Spec.DeploymentConfig.BlueGreenUpdatePolicy) { diff --git a/pkg/resource/endpoint_config/delta.go b/pkg/resource/endpoint_config/delta.go index 29345c24..41dd3be5 100644 --- a/pkg/resource/endpoint_config/delta.go +++ b/pkg/resource/endpoint_config/delta.go @@ -101,15 +101,27 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader, b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader) { delta.Add("Spec.DataCaptureConfig.CaptureContentTypeHeader", a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader, b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader) } else if a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader != nil && b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes, b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes) { + if len(a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes) != len(b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes) { delta.Add("Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes", a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes, b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes) + } else if len(a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes, b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes) { + delta.Add("Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes", a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes, b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.CsvContentTypes) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes, b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes) { + if len(a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes) != len(b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes) { delta.Add("Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes", a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes, b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes) + } else if len(a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes, b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes) { + delta.Add("Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes", a.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes, b.ko.Spec.DataCaptureConfig.CaptureContentTypeHeader.JSONContentTypes) + } } } - if !reflect.DeepEqual(a.ko.Spec.DataCaptureConfig.CaptureOptions, b.ko.Spec.DataCaptureConfig.CaptureOptions) { + if len(a.ko.Spec.DataCaptureConfig.CaptureOptions) != len(b.ko.Spec.DataCaptureConfig.CaptureOptions) { delta.Add("Spec.DataCaptureConfig.CaptureOptions", a.ko.Spec.DataCaptureConfig.CaptureOptions, b.ko.Spec.DataCaptureConfig.CaptureOptions) + } else if len(a.ko.Spec.DataCaptureConfig.CaptureOptions) > 0 { + if !reflect.DeepEqual(a.ko.Spec.DataCaptureConfig.CaptureOptions, b.ko.Spec.DataCaptureConfig.CaptureOptions) { + delta.Add("Spec.DataCaptureConfig.CaptureOptions", a.ko.Spec.DataCaptureConfig.CaptureOptions, b.ko.Spec.DataCaptureConfig.CaptureOptions) + } } if ackcompare.HasNilDifference(a.ko.Spec.DataCaptureConfig.DestinationS3URI, b.ko.Spec.DataCaptureConfig.DestinationS3URI) { delta.Add("Spec.DataCaptureConfig.DestinationS3URI", a.ko.Spec.DataCaptureConfig.DestinationS3URI, b.ko.Spec.DataCaptureConfig.DestinationS3URI) @@ -154,8 +166,12 @@ func newResourceDelta( delta.Add("Spec.KMSKeyID", a.ko.Spec.KMSKeyID, b.ko.Spec.KMSKeyID) } } - if !reflect.DeepEqual(a.ko.Spec.ProductionVariants, b.ko.Spec.ProductionVariants) { + if len(a.ko.Spec.ProductionVariants) != len(b.ko.Spec.ProductionVariants) { delta.Add("Spec.ProductionVariants", a.ko.Spec.ProductionVariants, b.ko.Spec.ProductionVariants) + } else if len(a.ko.Spec.ProductionVariants) > 0 { + if !reflect.DeepEqual(a.ko.Spec.ProductionVariants, b.ko.Spec.ProductionVariants) { + delta.Add("Spec.ProductionVariants", a.ko.Spec.ProductionVariants, b.ko.Spec.ProductionVariants) + } } return delta diff --git a/pkg/resource/feature_group/delta.go b/pkg/resource/feature_group/delta.go index f08b8cb3..7eb473d4 100644 --- a/pkg/resource/feature_group/delta.go +++ b/pkg/resource/feature_group/delta.go @@ -58,8 +58,12 @@ func newResourceDelta( delta.Add("Spec.EventTimeFeatureName", a.ko.Spec.EventTimeFeatureName, b.ko.Spec.EventTimeFeatureName) } } - if !reflect.DeepEqual(a.ko.Spec.FeatureDefinitions, b.ko.Spec.FeatureDefinitions) { + if len(a.ko.Spec.FeatureDefinitions) != len(b.ko.Spec.FeatureDefinitions) { delta.Add("Spec.FeatureDefinitions", a.ko.Spec.FeatureDefinitions, b.ko.Spec.FeatureDefinitions) + } else if len(a.ko.Spec.FeatureDefinitions) > 0 { + if !reflect.DeepEqual(a.ko.Spec.FeatureDefinitions, b.ko.Spec.FeatureDefinitions) { + delta.Add("Spec.FeatureDefinitions", a.ko.Spec.FeatureDefinitions, b.ko.Spec.FeatureDefinitions) + } } if ackcompare.HasNilDifference(a.ko.Spec.FeatureGroupName, b.ko.Spec.FeatureGroupName) { delta.Add("Spec.FeatureGroupName", a.ko.Spec.FeatureGroupName, b.ko.Spec.FeatureGroupName) diff --git a/pkg/resource/hyper_parameter_tuning_job/delta.go b/pkg/resource/hyper_parameter_tuning_job/delta.go index 76027474..9ecebf34 100644 --- a/pkg/resource/hyper_parameter_tuning_job/delta.go +++ b/pkg/resource/hyper_parameter_tuning_job/delta.go @@ -68,14 +68,26 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges) { delta.Add("Spec.HyperParameterTuningJobConfig.ParameterRanges", a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges) } else if a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges != nil && b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges != nil { - if !reflect.DeepEqual(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges) { + if len(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges) != len(b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges) { delta.Add("Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges", a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges) + } else if len(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges) > 0 { + if !reflect.DeepEqual(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges) { + delta.Add("Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges", a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.CategoricalParameterRanges) + } } - if !reflect.DeepEqual(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges) { + if len(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges) != len(b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges) { delta.Add("Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges", a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges) + } else if len(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges) > 0 { + if !reflect.DeepEqual(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges) { + delta.Add("Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges", a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.ContinuousParameterRanges) + } } - if !reflect.DeepEqual(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges) { + if len(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges) != len(b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges) { delta.Add("Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges", a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges) + } else if len(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges) > 0 { + if !reflect.DeepEqual(a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges) { + delta.Add("Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges", a.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges, b.ko.Spec.HyperParameterTuningJobConfig.ParameterRanges.IntegerParameterRanges) + } } } if ackcompare.HasNilDifference(a.ko.Spec.HyperParameterTuningJobConfig.ResourceLimits, b.ko.Spec.HyperParameterTuningJobConfig.ResourceLimits) { @@ -142,8 +154,12 @@ func newResourceDelta( delta.Add("Spec.TrainingJobDefinition.AlgorithmSpecification.AlgorithmName", a.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.AlgorithmName, b.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.AlgorithmName) } } - if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions, b.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions) { + if len(a.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions) != len(b.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions) { delta.Add("Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions", a.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions, b.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions) + } else if len(a.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions) > 0 { + if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions, b.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions) { + delta.Add("Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions", a.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions, b.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.MetricDefinitions) + } } if ackcompare.HasNilDifference(a.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.TrainingImage, b.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.TrainingImage) { delta.Add("Spec.TrainingJobDefinition.AlgorithmSpecification.TrainingImage", a.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.TrainingImage, b.ko.Spec.TrainingJobDefinition.AlgorithmSpecification.TrainingImage) @@ -209,18 +225,34 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges) { delta.Add("Spec.TrainingJobDefinition.HyperParameterRanges", a.ko.Spec.TrainingJobDefinition.HyperParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges) } else if a.ko.Spec.TrainingJobDefinition.HyperParameterRanges != nil && b.ko.Spec.TrainingJobDefinition.HyperParameterRanges != nil { - if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges) { + if len(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges) != len(b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges) { delta.Add("Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges", a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges) + } else if len(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges) > 0 { + if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges) { + delta.Add("Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges", a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.CategoricalParameterRanges) + } } - if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges) { + if len(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges) != len(b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges) { delta.Add("Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges", a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges) + } else if len(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges) > 0 { + if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges) { + delta.Add("Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges", a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.ContinuousParameterRanges) + } } - if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges) { + if len(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges) != len(b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges) { delta.Add("Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges", a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges) + } else if len(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges) > 0 { + if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges) { + delta.Add("Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges", a.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges, b.ko.Spec.TrainingJobDefinition.HyperParameterRanges.IntegerParameterRanges) + } } } - if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.InputDataConfig, b.ko.Spec.TrainingJobDefinition.InputDataConfig) { + if len(a.ko.Spec.TrainingJobDefinition.InputDataConfig) != len(b.ko.Spec.TrainingJobDefinition.InputDataConfig) { delta.Add("Spec.TrainingJobDefinition.InputDataConfig", a.ko.Spec.TrainingJobDefinition.InputDataConfig, b.ko.Spec.TrainingJobDefinition.InputDataConfig) + } else if len(a.ko.Spec.TrainingJobDefinition.InputDataConfig) > 0 { + if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.InputDataConfig, b.ko.Spec.TrainingJobDefinition.InputDataConfig) { + delta.Add("Spec.TrainingJobDefinition.InputDataConfig", a.ko.Spec.TrainingJobDefinition.InputDataConfig, b.ko.Spec.TrainingJobDefinition.InputDataConfig) + } } if ackcompare.HasNilDifference(a.ko.Spec.TrainingJobDefinition.OutputDataConfig, b.ko.Spec.TrainingJobDefinition.OutputDataConfig) { delta.Add("Spec.TrainingJobDefinition.OutputDataConfig", a.ko.Spec.TrainingJobDefinition.OutputDataConfig, b.ko.Spec.TrainingJobDefinition.OutputDataConfig) @@ -250,8 +282,12 @@ func newResourceDelta( delta.Add("Spec.TrainingJobDefinition.ResourceConfig.InstanceCount", a.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceCount, b.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceCount) } } - if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups, b.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups) { + if len(a.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups) != len(b.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups) { delta.Add("Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups", a.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups, b.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups) + } else if len(a.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups) > 0 { + if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups, b.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups) { + delta.Add("Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups", a.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups, b.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceGroups) + } } if ackcompare.HasNilDifference(a.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceType, b.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceType) { delta.Add("Spec.TrainingJobDefinition.ResourceConfig.InstanceType", a.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceType, b.ko.Spec.TrainingJobDefinition.ResourceConfig.InstanceType) @@ -300,9 +336,9 @@ func newResourceDelta( delta.Add("Spec.TrainingJobDefinition.RoleARN", a.ko.Spec.TrainingJobDefinition.RoleARN, b.ko.Spec.TrainingJobDefinition.RoleARN) } } - if ackcompare.HasNilDifference(a.ko.Spec.TrainingJobDefinition.StaticHyperParameters, b.ko.Spec.TrainingJobDefinition.StaticHyperParameters) { + if len(a.ko.Spec.TrainingJobDefinition.StaticHyperParameters) != len(b.ko.Spec.TrainingJobDefinition.StaticHyperParameters) { delta.Add("Spec.TrainingJobDefinition.StaticHyperParameters", a.ko.Spec.TrainingJobDefinition.StaticHyperParameters, b.ko.Spec.TrainingJobDefinition.StaticHyperParameters) - } else if a.ko.Spec.TrainingJobDefinition.StaticHyperParameters != nil && b.ko.Spec.TrainingJobDefinition.StaticHyperParameters != nil { + } else if len(a.ko.Spec.TrainingJobDefinition.StaticHyperParameters) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.TrainingJobDefinition.StaticHyperParameters, b.ko.Spec.TrainingJobDefinition.StaticHyperParameters) { delta.Add("Spec.TrainingJobDefinition.StaticHyperParameters", a.ko.Spec.TrainingJobDefinition.StaticHyperParameters, b.ko.Spec.TrainingJobDefinition.StaticHyperParameters) } @@ -346,22 +382,38 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.TrainingJobDefinition.VPCConfig, b.ko.Spec.TrainingJobDefinition.VPCConfig) { delta.Add("Spec.TrainingJobDefinition.VPCConfig", a.ko.Spec.TrainingJobDefinition.VPCConfig, b.ko.Spec.TrainingJobDefinition.VPCConfig) } else if a.ko.Spec.TrainingJobDefinition.VPCConfig != nil && b.ko.Spec.TrainingJobDefinition.VPCConfig != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs, b.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs) { + if len(a.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs) != len(b.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs) { delta.Add("Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs", a.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs, b.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs) + } else if len(a.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs, b.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs) { + delta.Add("Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs", a.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs, b.ko.Spec.TrainingJobDefinition.VPCConfig.SecurityGroupIDs) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets, b.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets) { + if len(a.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets) != len(b.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets) { delta.Add("Spec.TrainingJobDefinition.VPCConfig.Subnets", a.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets, b.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets) + } else if len(a.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets, b.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets) { + delta.Add("Spec.TrainingJobDefinition.VPCConfig.Subnets", a.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets, b.ko.Spec.TrainingJobDefinition.VPCConfig.Subnets) + } } } } - if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinitions, b.ko.Spec.TrainingJobDefinitions) { + if len(a.ko.Spec.TrainingJobDefinitions) != len(b.ko.Spec.TrainingJobDefinitions) { delta.Add("Spec.TrainingJobDefinitions", a.ko.Spec.TrainingJobDefinitions, b.ko.Spec.TrainingJobDefinitions) + } else if len(a.ko.Spec.TrainingJobDefinitions) > 0 { + if !reflect.DeepEqual(a.ko.Spec.TrainingJobDefinitions, b.ko.Spec.TrainingJobDefinitions) { + delta.Add("Spec.TrainingJobDefinitions", a.ko.Spec.TrainingJobDefinitions, b.ko.Spec.TrainingJobDefinitions) + } } if ackcompare.HasNilDifference(a.ko.Spec.WarmStartConfig, b.ko.Spec.WarmStartConfig) { delta.Add("Spec.WarmStartConfig", a.ko.Spec.WarmStartConfig, b.ko.Spec.WarmStartConfig) } else if a.ko.Spec.WarmStartConfig != nil && b.ko.Spec.WarmStartConfig != nil { - if !reflect.DeepEqual(a.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs, b.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs) { + if len(a.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs) != len(b.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs) { delta.Add("Spec.WarmStartConfig.ParentHyperParameterTuningJobs", a.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs, b.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs) + } else if len(a.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs) > 0 { + if !reflect.DeepEqual(a.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs, b.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs) { + delta.Add("Spec.WarmStartConfig.ParentHyperParameterTuningJobs", a.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs, b.ko.Spec.WarmStartConfig.ParentHyperParameterTuningJobs) + } } if ackcompare.HasNilDifference(a.ko.Spec.WarmStartConfig.WarmStartType, b.ko.Spec.WarmStartConfig.WarmStartType) { delta.Add("Spec.WarmStartConfig.WarmStartType", a.ko.Spec.WarmStartConfig.WarmStartType, b.ko.Spec.WarmStartConfig.WarmStartType) diff --git a/pkg/resource/model/delta.go b/pkg/resource/model/delta.go index 6298f41f..037f3991 100644 --- a/pkg/resource/model/delta.go +++ b/pkg/resource/model/delta.go @@ -44,8 +44,12 @@ func newResourceDelta( } customSetDefaults(a, b) - if !reflect.DeepEqual(a.ko.Spec.Containers, b.ko.Spec.Containers) { + if len(a.ko.Spec.Containers) != len(b.ko.Spec.Containers) { delta.Add("Spec.Containers", a.ko.Spec.Containers, b.ko.Spec.Containers) + } else if len(a.ko.Spec.Containers) > 0 { + if !reflect.DeepEqual(a.ko.Spec.Containers, b.ko.Spec.Containers) { + delta.Add("Spec.Containers", a.ko.Spec.Containers, b.ko.Spec.Containers) + } } if ackcompare.HasNilDifference(a.ko.Spec.EnableNetworkIsolation, b.ko.Spec.EnableNetworkIsolation) { delta.Add("Spec.EnableNetworkIsolation", a.ko.Spec.EnableNetworkIsolation, b.ko.Spec.EnableNetworkIsolation) @@ -89,9 +93,9 @@ func newResourceDelta( delta.Add("Spec.PrimaryContainer.ContainerHostname", a.ko.Spec.PrimaryContainer.ContainerHostname, b.ko.Spec.PrimaryContainer.ContainerHostname) } } - if ackcompare.HasNilDifference(a.ko.Spec.PrimaryContainer.Environment, b.ko.Spec.PrimaryContainer.Environment) { + if len(a.ko.Spec.PrimaryContainer.Environment) != len(b.ko.Spec.PrimaryContainer.Environment) { delta.Add("Spec.PrimaryContainer.Environment", a.ko.Spec.PrimaryContainer.Environment, b.ko.Spec.PrimaryContainer.Environment) - } else if a.ko.Spec.PrimaryContainer.Environment != nil && b.ko.Spec.PrimaryContainer.Environment != nil { + } else if len(a.ko.Spec.PrimaryContainer.Environment) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.PrimaryContainer.Environment, b.ko.Spec.PrimaryContainer.Environment) { delta.Add("Spec.PrimaryContainer.Environment", a.ko.Spec.PrimaryContainer.Environment, b.ko.Spec.PrimaryContainer.Environment) } @@ -168,11 +172,19 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.VPCConfig, b.ko.Spec.VPCConfig) { delta.Add("Spec.VPCConfig", a.ko.Spec.VPCConfig, b.ko.Spec.VPCConfig) } else if a.ko.Spec.VPCConfig != nil && b.ko.Spec.VPCConfig != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.VPCConfig.SecurityGroupIDs, b.ko.Spec.VPCConfig.SecurityGroupIDs) { + if len(a.ko.Spec.VPCConfig.SecurityGroupIDs) != len(b.ko.Spec.VPCConfig.SecurityGroupIDs) { delta.Add("Spec.VPCConfig.SecurityGroupIDs", a.ko.Spec.VPCConfig.SecurityGroupIDs, b.ko.Spec.VPCConfig.SecurityGroupIDs) + } else if len(a.ko.Spec.VPCConfig.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.VPCConfig.SecurityGroupIDs, b.ko.Spec.VPCConfig.SecurityGroupIDs) { + delta.Add("Spec.VPCConfig.SecurityGroupIDs", a.ko.Spec.VPCConfig.SecurityGroupIDs, b.ko.Spec.VPCConfig.SecurityGroupIDs) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.VPCConfig.Subnets, b.ko.Spec.VPCConfig.Subnets) { + if len(a.ko.Spec.VPCConfig.Subnets) != len(b.ko.Spec.VPCConfig.Subnets) { delta.Add("Spec.VPCConfig.Subnets", a.ko.Spec.VPCConfig.Subnets, b.ko.Spec.VPCConfig.Subnets) + } else if len(a.ko.Spec.VPCConfig.Subnets) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.VPCConfig.Subnets, b.ko.Spec.VPCConfig.Subnets) { + delta.Add("Spec.VPCConfig.Subnets", a.ko.Spec.VPCConfig.Subnets, b.ko.Spec.VPCConfig.Subnets) + } } } diff --git a/pkg/resource/model_bias_job_definition/delta.go b/pkg/resource/model_bias_job_definition/delta.go index 397b35d4..a129d139 100644 --- a/pkg/resource/model_bias_job_definition/delta.go +++ b/pkg/resource/model_bias_job_definition/delta.go @@ -96,9 +96,9 @@ func newResourceDelta( delta.Add("Spec.ModelBiasAppSpecification.ConfigURI", a.ko.Spec.ModelBiasAppSpecification.ConfigURI, b.ko.Spec.ModelBiasAppSpecification.ConfigURI) } } - if ackcompare.HasNilDifference(a.ko.Spec.ModelBiasAppSpecification.Environment, b.ko.Spec.ModelBiasAppSpecification.Environment) { + if len(a.ko.Spec.ModelBiasAppSpecification.Environment) != len(b.ko.Spec.ModelBiasAppSpecification.Environment) { delta.Add("Spec.ModelBiasAppSpecification.Environment", a.ko.Spec.ModelBiasAppSpecification.Environment, b.ko.Spec.ModelBiasAppSpecification.Environment) - } else if a.ko.Spec.ModelBiasAppSpecification.Environment != nil && b.ko.Spec.ModelBiasAppSpecification.Environment != nil { + } else if len(a.ko.Spec.ModelBiasAppSpecification.Environment) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.ModelBiasAppSpecification.Environment, b.ko.Spec.ModelBiasAppSpecification.Environment) { delta.Add("Spec.ModelBiasAppSpecification.Environment", a.ko.Spec.ModelBiasAppSpecification.Environment, b.ko.Spec.ModelBiasAppSpecification.Environment) } @@ -232,8 +232,12 @@ func newResourceDelta( delta.Add("Spec.ModelBiasJobOutputConfig.KMSKeyID", a.ko.Spec.ModelBiasJobOutputConfig.KMSKeyID, b.ko.Spec.ModelBiasJobOutputConfig.KMSKeyID) } } - if !reflect.DeepEqual(a.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs) { + if len(a.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs) != len(b.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs) { delta.Add("Spec.ModelBiasJobOutputConfig.MonitoringOutputs", a.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs) + } else if len(a.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs) > 0 { + if !reflect.DeepEqual(a.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs) { + delta.Add("Spec.ModelBiasJobOutputConfig.MonitoringOutputs", a.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelBiasJobOutputConfig.MonitoringOutputs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.NetworkConfig, b.ko.Spec.NetworkConfig) { @@ -256,11 +260,19 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.NetworkConfig.VPCConfig, b.ko.Spec.NetworkConfig.VPCConfig) { delta.Add("Spec.NetworkConfig.VPCConfig", a.ko.Spec.NetworkConfig.VPCConfig, b.ko.Spec.NetworkConfig.VPCConfig) } else if a.ko.Spec.NetworkConfig.VPCConfig != nil && b.ko.Spec.NetworkConfig.VPCConfig != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { + if len(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) != len(b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { delta.Add("Spec.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) + } else if len(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { + delta.Add("Spec.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { + if len(a.ko.Spec.NetworkConfig.VPCConfig.Subnets) != len(b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { delta.Add("Spec.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) + } else if len(a.ko.Spec.NetworkConfig.VPCConfig.Subnets) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { + delta.Add("Spec.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) + } } } } diff --git a/pkg/resource/model_explainability_job_definition/delta.go b/pkg/resource/model_explainability_job_definition/delta.go index ae2e1b64..e68471d1 100644 --- a/pkg/resource/model_explainability_job_definition/delta.go +++ b/pkg/resource/model_explainability_job_definition/delta.go @@ -96,9 +96,9 @@ func newResourceDelta( delta.Add("Spec.ModelExplainabilityAppSpecification.ConfigURI", a.ko.Spec.ModelExplainabilityAppSpecification.ConfigURI, b.ko.Spec.ModelExplainabilityAppSpecification.ConfigURI) } } - if ackcompare.HasNilDifference(a.ko.Spec.ModelExplainabilityAppSpecification.Environment, b.ko.Spec.ModelExplainabilityAppSpecification.Environment) { + if len(a.ko.Spec.ModelExplainabilityAppSpecification.Environment) != len(b.ko.Spec.ModelExplainabilityAppSpecification.Environment) { delta.Add("Spec.ModelExplainabilityAppSpecification.Environment", a.ko.Spec.ModelExplainabilityAppSpecification.Environment, b.ko.Spec.ModelExplainabilityAppSpecification.Environment) - } else if a.ko.Spec.ModelExplainabilityAppSpecification.Environment != nil && b.ko.Spec.ModelExplainabilityAppSpecification.Environment != nil { + } else if len(a.ko.Spec.ModelExplainabilityAppSpecification.Environment) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.ModelExplainabilityAppSpecification.Environment, b.ko.Spec.ModelExplainabilityAppSpecification.Environment) { delta.Add("Spec.ModelExplainabilityAppSpecification.Environment", a.ko.Spec.ModelExplainabilityAppSpecification.Environment, b.ko.Spec.ModelExplainabilityAppSpecification.Environment) } @@ -221,8 +221,12 @@ func newResourceDelta( delta.Add("Spec.ModelExplainabilityJobOutputConfig.KMSKeyID", a.ko.Spec.ModelExplainabilityJobOutputConfig.KMSKeyID, b.ko.Spec.ModelExplainabilityJobOutputConfig.KMSKeyID) } } - if !reflect.DeepEqual(a.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs) { + if len(a.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs) != len(b.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs) { delta.Add("Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs", a.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs) + } else if len(a.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs) > 0 { + if !reflect.DeepEqual(a.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs) { + delta.Add("Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs", a.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelExplainabilityJobOutputConfig.MonitoringOutputs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.NetworkConfig, b.ko.Spec.NetworkConfig) { @@ -245,11 +249,19 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.NetworkConfig.VPCConfig, b.ko.Spec.NetworkConfig.VPCConfig) { delta.Add("Spec.NetworkConfig.VPCConfig", a.ko.Spec.NetworkConfig.VPCConfig, b.ko.Spec.NetworkConfig.VPCConfig) } else if a.ko.Spec.NetworkConfig.VPCConfig != nil && b.ko.Spec.NetworkConfig.VPCConfig != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { + if len(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) != len(b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { delta.Add("Spec.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) + } else if len(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { + delta.Add("Spec.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { + if len(a.ko.Spec.NetworkConfig.VPCConfig.Subnets) != len(b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { delta.Add("Spec.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) + } else if len(a.ko.Spec.NetworkConfig.VPCConfig.Subnets) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { + delta.Add("Spec.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) + } } } } diff --git a/pkg/resource/model_package/delta.go b/pkg/resource/model_package/delta.go index 54f8412c..e761e7a6 100644 --- a/pkg/resource/model_package/delta.go +++ b/pkg/resource/model_package/delta.go @@ -44,8 +44,12 @@ func newResourceDelta( } customSetDefaults(a, b) - if !reflect.DeepEqual(a.ko.Spec.AdditionalInferenceSpecifications, b.ko.Spec.AdditionalInferenceSpecifications) { + if len(a.ko.Spec.AdditionalInferenceSpecifications) != len(b.ko.Spec.AdditionalInferenceSpecifications) { delta.Add("Spec.AdditionalInferenceSpecifications", a.ko.Spec.AdditionalInferenceSpecifications, b.ko.Spec.AdditionalInferenceSpecifications) + } else if len(a.ko.Spec.AdditionalInferenceSpecifications) > 0 { + if !reflect.DeepEqual(a.ko.Spec.AdditionalInferenceSpecifications, b.ko.Spec.AdditionalInferenceSpecifications) { + delta.Add("Spec.AdditionalInferenceSpecifications", a.ko.Spec.AdditionalInferenceSpecifications, b.ko.Spec.AdditionalInferenceSpecifications) + } } if ackcompare.HasNilDifference(a.ko.Spec.ApprovalDescription, b.ko.Spec.ApprovalDescription) { delta.Add("Spec.ApprovalDescription", a.ko.Spec.ApprovalDescription, b.ko.Spec.ApprovalDescription) @@ -68,9 +72,9 @@ func newResourceDelta( delta.Add("Spec.ClientToken", a.ko.Spec.ClientToken, b.ko.Spec.ClientToken) } } - if ackcompare.HasNilDifference(a.ko.Spec.CustomerMetadataProperties, b.ko.Spec.CustomerMetadataProperties) { + if len(a.ko.Spec.CustomerMetadataProperties) != len(b.ko.Spec.CustomerMetadataProperties) { delta.Add("Spec.CustomerMetadataProperties", a.ko.Spec.CustomerMetadataProperties, b.ko.Spec.CustomerMetadataProperties) - } else if a.ko.Spec.CustomerMetadataProperties != nil && b.ko.Spec.CustomerMetadataProperties != nil { + } else if len(a.ko.Spec.CustomerMetadataProperties) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.CustomerMetadataProperties, b.ko.Spec.CustomerMetadataProperties) { delta.Add("Spec.CustomerMetadataProperties", a.ko.Spec.CustomerMetadataProperties, b.ko.Spec.CustomerMetadataProperties) } @@ -330,20 +334,40 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.InferenceSpecification, b.ko.Spec.InferenceSpecification) { delta.Add("Spec.InferenceSpecification", a.ko.Spec.InferenceSpecification, b.ko.Spec.InferenceSpecification) } else if a.ko.Spec.InferenceSpecification != nil && b.ko.Spec.InferenceSpecification != nil { - if !reflect.DeepEqual(a.ko.Spec.InferenceSpecification.Containers, b.ko.Spec.InferenceSpecification.Containers) { + if len(a.ko.Spec.InferenceSpecification.Containers) != len(b.ko.Spec.InferenceSpecification.Containers) { delta.Add("Spec.InferenceSpecification.Containers", a.ko.Spec.InferenceSpecification.Containers, b.ko.Spec.InferenceSpecification.Containers) + } else if len(a.ko.Spec.InferenceSpecification.Containers) > 0 { + if !reflect.DeepEqual(a.ko.Spec.InferenceSpecification.Containers, b.ko.Spec.InferenceSpecification.Containers) { + delta.Add("Spec.InferenceSpecification.Containers", a.ko.Spec.InferenceSpecification.Containers, b.ko.Spec.InferenceSpecification.Containers) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.InferenceSpecification.SupportedContentTypes, b.ko.Spec.InferenceSpecification.SupportedContentTypes) { + if len(a.ko.Spec.InferenceSpecification.SupportedContentTypes) != len(b.ko.Spec.InferenceSpecification.SupportedContentTypes) { delta.Add("Spec.InferenceSpecification.SupportedContentTypes", a.ko.Spec.InferenceSpecification.SupportedContentTypes, b.ko.Spec.InferenceSpecification.SupportedContentTypes) + } else if len(a.ko.Spec.InferenceSpecification.SupportedContentTypes) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.InferenceSpecification.SupportedContentTypes, b.ko.Spec.InferenceSpecification.SupportedContentTypes) { + delta.Add("Spec.InferenceSpecification.SupportedContentTypes", a.ko.Spec.InferenceSpecification.SupportedContentTypes, b.ko.Spec.InferenceSpecification.SupportedContentTypes) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes, b.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes) { + if len(a.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes) != len(b.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes) { delta.Add("Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes", a.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes, b.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes) + } else if len(a.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes, b.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes) { + delta.Add("Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes", a.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes, b.ko.Spec.InferenceSpecification.SupportedRealtimeInferenceInstanceTypes) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes, b.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes) { + if len(a.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes) != len(b.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes) { delta.Add("Spec.InferenceSpecification.SupportedResponseMIMETypes", a.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes, b.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes) + } else if len(a.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes, b.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes) { + delta.Add("Spec.InferenceSpecification.SupportedResponseMIMETypes", a.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes, b.ko.Spec.InferenceSpecification.SupportedResponseMIMETypes) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes, b.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes) { + if len(a.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes) != len(b.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes) { delta.Add("Spec.InferenceSpecification.SupportedTransformInstanceTypes", a.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes, b.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes) + } else if len(a.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes, b.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes) { + delta.Add("Spec.InferenceSpecification.SupportedTransformInstanceTypes", a.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes, b.ko.Spec.InferenceSpecification.SupportedTransformInstanceTypes) + } } } if ackcompare.HasNilDifference(a.ko.Spec.MetadataProperties, b.ko.Spec.MetadataProperties) { @@ -636,8 +660,12 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.SourceAlgorithmSpecification, b.ko.Spec.SourceAlgorithmSpecification) { delta.Add("Spec.SourceAlgorithmSpecification", a.ko.Spec.SourceAlgorithmSpecification, b.ko.Spec.SourceAlgorithmSpecification) } else if a.ko.Spec.SourceAlgorithmSpecification != nil && b.ko.Spec.SourceAlgorithmSpecification != nil { - if !reflect.DeepEqual(a.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms, b.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms) { + if len(a.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms) != len(b.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms) { delta.Add("Spec.SourceAlgorithmSpecification.SourceAlgorithms", a.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms, b.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms) + } else if len(a.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms) > 0 { + if !reflect.DeepEqual(a.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms, b.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms) { + delta.Add("Spec.SourceAlgorithmSpecification.SourceAlgorithms", a.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms, b.ko.Spec.SourceAlgorithmSpecification.SourceAlgorithms) + } } } if ackcompare.HasNilDifference(a.ko.Spec.Task, b.ko.Spec.Task) { @@ -650,8 +678,12 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.ValidationSpecification, b.ko.Spec.ValidationSpecification) { delta.Add("Spec.ValidationSpecification", a.ko.Spec.ValidationSpecification, b.ko.Spec.ValidationSpecification) } else if a.ko.Spec.ValidationSpecification != nil && b.ko.Spec.ValidationSpecification != nil { - if !reflect.DeepEqual(a.ko.Spec.ValidationSpecification.ValidationProfiles, b.ko.Spec.ValidationSpecification.ValidationProfiles) { + if len(a.ko.Spec.ValidationSpecification.ValidationProfiles) != len(b.ko.Spec.ValidationSpecification.ValidationProfiles) { delta.Add("Spec.ValidationSpecification.ValidationProfiles", a.ko.Spec.ValidationSpecification.ValidationProfiles, b.ko.Spec.ValidationSpecification.ValidationProfiles) + } else if len(a.ko.Spec.ValidationSpecification.ValidationProfiles) > 0 { + if !reflect.DeepEqual(a.ko.Spec.ValidationSpecification.ValidationProfiles, b.ko.Spec.ValidationSpecification.ValidationProfiles) { + delta.Add("Spec.ValidationSpecification.ValidationProfiles", a.ko.Spec.ValidationSpecification.ValidationProfiles, b.ko.Spec.ValidationSpecification.ValidationProfiles) + } } if ackcompare.HasNilDifference(a.ko.Spec.ValidationSpecification.ValidationRole, b.ko.Spec.ValidationSpecification.ValidationRole) { delta.Add("Spec.ValidationSpecification.ValidationRole", a.ko.Spec.ValidationSpecification.ValidationRole, b.ko.Spec.ValidationSpecification.ValidationRole) diff --git a/pkg/resource/model_quality_job_definition/delta.go b/pkg/resource/model_quality_job_definition/delta.go index bb955dc9..adf22a13 100644 --- a/pkg/resource/model_quality_job_definition/delta.go +++ b/pkg/resource/model_quality_job_definition/delta.go @@ -89,15 +89,23 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.ModelQualityAppSpecification, b.ko.Spec.ModelQualityAppSpecification) { delta.Add("Spec.ModelQualityAppSpecification", a.ko.Spec.ModelQualityAppSpecification, b.ko.Spec.ModelQualityAppSpecification) } else if a.ko.Spec.ModelQualityAppSpecification != nil && b.ko.Spec.ModelQualityAppSpecification != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.ModelQualityAppSpecification.ContainerArguments, b.ko.Spec.ModelQualityAppSpecification.ContainerArguments) { + if len(a.ko.Spec.ModelQualityAppSpecification.ContainerArguments) != len(b.ko.Spec.ModelQualityAppSpecification.ContainerArguments) { delta.Add("Spec.ModelQualityAppSpecification.ContainerArguments", a.ko.Spec.ModelQualityAppSpecification.ContainerArguments, b.ko.Spec.ModelQualityAppSpecification.ContainerArguments) + } else if len(a.ko.Spec.ModelQualityAppSpecification.ContainerArguments) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.ModelQualityAppSpecification.ContainerArguments, b.ko.Spec.ModelQualityAppSpecification.ContainerArguments) { + delta.Add("Spec.ModelQualityAppSpecification.ContainerArguments", a.ko.Spec.ModelQualityAppSpecification.ContainerArguments, b.ko.Spec.ModelQualityAppSpecification.ContainerArguments) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint, b.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint) { + if len(a.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint) != len(b.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint) { delta.Add("Spec.ModelQualityAppSpecification.ContainerEntrypoint", a.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint, b.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint) + } else if len(a.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint, b.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint) { + delta.Add("Spec.ModelQualityAppSpecification.ContainerEntrypoint", a.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint, b.ko.Spec.ModelQualityAppSpecification.ContainerEntrypoint) + } } - if ackcompare.HasNilDifference(a.ko.Spec.ModelQualityAppSpecification.Environment, b.ko.Spec.ModelQualityAppSpecification.Environment) { + if len(a.ko.Spec.ModelQualityAppSpecification.Environment) != len(b.ko.Spec.ModelQualityAppSpecification.Environment) { delta.Add("Spec.ModelQualityAppSpecification.Environment", a.ko.Spec.ModelQualityAppSpecification.Environment, b.ko.Spec.ModelQualityAppSpecification.Environment) - } else if a.ko.Spec.ModelQualityAppSpecification.Environment != nil && b.ko.Spec.ModelQualityAppSpecification.Environment != nil { + } else if len(a.ko.Spec.ModelQualityAppSpecification.Environment) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.ModelQualityAppSpecification.Environment, b.ko.Spec.ModelQualityAppSpecification.Environment) { delta.Add("Spec.ModelQualityAppSpecification.Environment", a.ko.Spec.ModelQualityAppSpecification.Environment, b.ko.Spec.ModelQualityAppSpecification.Environment) } @@ -252,8 +260,12 @@ func newResourceDelta( delta.Add("Spec.ModelQualityJobOutputConfig.KMSKeyID", a.ko.Spec.ModelQualityJobOutputConfig.KMSKeyID, b.ko.Spec.ModelQualityJobOutputConfig.KMSKeyID) } } - if !reflect.DeepEqual(a.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs) { + if len(a.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs) != len(b.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs) { delta.Add("Spec.ModelQualityJobOutputConfig.MonitoringOutputs", a.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs) + } else if len(a.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs) > 0 { + if !reflect.DeepEqual(a.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs) { + delta.Add("Spec.ModelQualityJobOutputConfig.MonitoringOutputs", a.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs, b.ko.Spec.ModelQualityJobOutputConfig.MonitoringOutputs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.NetworkConfig, b.ko.Spec.NetworkConfig) { @@ -276,11 +288,19 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.NetworkConfig.VPCConfig, b.ko.Spec.NetworkConfig.VPCConfig) { delta.Add("Spec.NetworkConfig.VPCConfig", a.ko.Spec.NetworkConfig.VPCConfig, b.ko.Spec.NetworkConfig.VPCConfig) } else if a.ko.Spec.NetworkConfig.VPCConfig != nil && b.ko.Spec.NetworkConfig.VPCConfig != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { + if len(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) != len(b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { delta.Add("Spec.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) + } else if len(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { + delta.Add("Spec.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { + if len(a.ko.Spec.NetworkConfig.VPCConfig.Subnets) != len(b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { delta.Add("Spec.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) + } else if len(a.ko.Spec.NetworkConfig.VPCConfig.Subnets) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { + delta.Add("Spec.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) + } } } } diff --git a/pkg/resource/monitoring_schedule/delta.go b/pkg/resource/monitoring_schedule/delta.go index e195357b..c44cf0c2 100644 --- a/pkg/resource/monitoring_schedule/delta.go +++ b/pkg/resource/monitoring_schedule/delta.go @@ -82,9 +82,9 @@ func newResourceDelta( } } } - if ackcompare.HasNilDifference(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment) { + if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment) != len(b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment) - } else if a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment != nil && b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment != nil { + } else if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.Environment) } @@ -92,11 +92,19 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification) } else if a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification != nil && b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments) { + if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments) != len(b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments) + } else if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments) { + delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerArguments) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint) { + if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint) != len(b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint) + } else if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint) { + delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ContainerEntrypoint) + } } if ackcompare.HasNilDifference(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ImageURI, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ImageURI) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ImageURI", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ImageURI, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringAppSpecification.ImageURI) @@ -120,8 +128,12 @@ func newResourceDelta( } } } - if !reflect.DeepEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs) { + if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs) != len(b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs) + } else if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs) > 0 { + if !reflect.DeepEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs) { + delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringInputs) + } } if ackcompare.HasNilDifference(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig) @@ -133,8 +145,12 @@ func newResourceDelta( delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.KMSKeyID", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.KMSKeyID, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.KMSKeyID) } } - if !reflect.DeepEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs) { + if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs) != len(b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs) + } else if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs) > 0 { + if !reflect.DeepEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs) { + delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringOutputConfig.MonitoringOutputs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringResources, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.MonitoringResources) { @@ -193,11 +209,19 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig) } else if a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig != nil && b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs) { + if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs) != len(b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs) + } else if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs) { + delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.SecurityGroupIDs) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets) { + if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets) != len(b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets) { delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets) + } else if len(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets) { + delta.Add("Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.MonitoringScheduleConfig.MonitoringJobDefinition.NetworkConfig.VPCConfig.Subnets) + } } } } diff --git a/pkg/resource/notebook_instance/delta.go b/pkg/resource/notebook_instance/delta.go index 54afe72e..d61a7069 100644 --- a/pkg/resource/notebook_instance/delta.go +++ b/pkg/resource/notebook_instance/delta.go @@ -44,11 +44,19 @@ func newResourceDelta( } customSetDefaults(a, b) - if !ackcompare.SliceStringPEqual(a.ko.Spec.AcceleratorTypes, b.ko.Spec.AcceleratorTypes) { + if len(a.ko.Spec.AcceleratorTypes) != len(b.ko.Spec.AcceleratorTypes) { delta.Add("Spec.AcceleratorTypes", a.ko.Spec.AcceleratorTypes, b.ko.Spec.AcceleratorTypes) + } else if len(a.ko.Spec.AcceleratorTypes) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.AcceleratorTypes, b.ko.Spec.AcceleratorTypes) { + delta.Add("Spec.AcceleratorTypes", a.ko.Spec.AcceleratorTypes, b.ko.Spec.AcceleratorTypes) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.AdditionalCodeRepositories, b.ko.Spec.AdditionalCodeRepositories) { + if len(a.ko.Spec.AdditionalCodeRepositories) != len(b.ko.Spec.AdditionalCodeRepositories) { delta.Add("Spec.AdditionalCodeRepositories", a.ko.Spec.AdditionalCodeRepositories, b.ko.Spec.AdditionalCodeRepositories) + } else if len(a.ko.Spec.AdditionalCodeRepositories) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.AdditionalCodeRepositories, b.ko.Spec.AdditionalCodeRepositories) { + delta.Add("Spec.AdditionalCodeRepositories", a.ko.Spec.AdditionalCodeRepositories, b.ko.Spec.AdditionalCodeRepositories) + } } if ackcompare.HasNilDifference(a.ko.Spec.DefaultCodeRepository, b.ko.Spec.DefaultCodeRepository) { delta.Add("Spec.DefaultCodeRepository", a.ko.Spec.DefaultCodeRepository, b.ko.Spec.DefaultCodeRepository) @@ -113,8 +121,12 @@ func newResourceDelta( delta.Add("Spec.RootAccess", a.ko.Spec.RootAccess, b.ko.Spec.RootAccess) } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.SecurityGroupIDs, b.ko.Spec.SecurityGroupIDs) { + if len(a.ko.Spec.SecurityGroupIDs) != len(b.ko.Spec.SecurityGroupIDs) { delta.Add("Spec.SecurityGroupIDs", a.ko.Spec.SecurityGroupIDs, b.ko.Spec.SecurityGroupIDs) + } else if len(a.ko.Spec.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.SecurityGroupIDs, b.ko.Spec.SecurityGroupIDs) { + delta.Add("Spec.SecurityGroupIDs", a.ko.Spec.SecurityGroupIDs, b.ko.Spec.SecurityGroupIDs) + } } if ackcompare.HasNilDifference(a.ko.Spec.SubnetID, b.ko.Spec.SubnetID) { delta.Add("Spec.SubnetID", a.ko.Spec.SubnetID, b.ko.Spec.SubnetID) diff --git a/pkg/resource/pipeline_execution/delta.go b/pkg/resource/pipeline_execution/delta.go index a4ef8c8e..217dba41 100644 --- a/pkg/resource/pipeline_execution/delta.go +++ b/pkg/resource/pipeline_execution/delta.go @@ -75,8 +75,12 @@ func newResourceDelta( delta.Add("Spec.PipelineName", a.ko.Spec.PipelineName, b.ko.Spec.PipelineName) } } - if !reflect.DeepEqual(a.ko.Spec.PipelineParameters, b.ko.Spec.PipelineParameters) { + if len(a.ko.Spec.PipelineParameters) != len(b.ko.Spec.PipelineParameters) { delta.Add("Spec.PipelineParameters", a.ko.Spec.PipelineParameters, b.ko.Spec.PipelineParameters) + } else if len(a.ko.Spec.PipelineParameters) > 0 { + if !reflect.DeepEqual(a.ko.Spec.PipelineParameters, b.ko.Spec.PipelineParameters) { + delta.Add("Spec.PipelineParameters", a.ko.Spec.PipelineParameters, b.ko.Spec.PipelineParameters) + } } return delta diff --git a/pkg/resource/processing_job/delta.go b/pkg/resource/processing_job/delta.go index 0a2cad64..d65b4291 100644 --- a/pkg/resource/processing_job/delta.go +++ b/pkg/resource/processing_job/delta.go @@ -47,11 +47,19 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.AppSpecification, b.ko.Spec.AppSpecification) { delta.Add("Spec.AppSpecification", a.ko.Spec.AppSpecification, b.ko.Spec.AppSpecification) } else if a.ko.Spec.AppSpecification != nil && b.ko.Spec.AppSpecification != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.AppSpecification.ContainerArguments, b.ko.Spec.AppSpecification.ContainerArguments) { + if len(a.ko.Spec.AppSpecification.ContainerArguments) != len(b.ko.Spec.AppSpecification.ContainerArguments) { delta.Add("Spec.AppSpecification.ContainerArguments", a.ko.Spec.AppSpecification.ContainerArguments, b.ko.Spec.AppSpecification.ContainerArguments) + } else if len(a.ko.Spec.AppSpecification.ContainerArguments) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.AppSpecification.ContainerArguments, b.ko.Spec.AppSpecification.ContainerArguments) { + delta.Add("Spec.AppSpecification.ContainerArguments", a.ko.Spec.AppSpecification.ContainerArguments, b.ko.Spec.AppSpecification.ContainerArguments) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.AppSpecification.ContainerEntrypoint, b.ko.Spec.AppSpecification.ContainerEntrypoint) { + if len(a.ko.Spec.AppSpecification.ContainerEntrypoint) != len(b.ko.Spec.AppSpecification.ContainerEntrypoint) { delta.Add("Spec.AppSpecification.ContainerEntrypoint", a.ko.Spec.AppSpecification.ContainerEntrypoint, b.ko.Spec.AppSpecification.ContainerEntrypoint) + } else if len(a.ko.Spec.AppSpecification.ContainerEntrypoint) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.AppSpecification.ContainerEntrypoint, b.ko.Spec.AppSpecification.ContainerEntrypoint) { + delta.Add("Spec.AppSpecification.ContainerEntrypoint", a.ko.Spec.AppSpecification.ContainerEntrypoint, b.ko.Spec.AppSpecification.ContainerEntrypoint) + } } if ackcompare.HasNilDifference(a.ko.Spec.AppSpecification.ImageURI, b.ko.Spec.AppSpecification.ImageURI) { delta.Add("Spec.AppSpecification.ImageURI", a.ko.Spec.AppSpecification.ImageURI, b.ko.Spec.AppSpecification.ImageURI) @@ -61,9 +69,9 @@ func newResourceDelta( } } } - if ackcompare.HasNilDifference(a.ko.Spec.Environment, b.ko.Spec.Environment) { + if len(a.ko.Spec.Environment) != len(b.ko.Spec.Environment) { delta.Add("Spec.Environment", a.ko.Spec.Environment, b.ko.Spec.Environment) - } else if a.ko.Spec.Environment != nil && b.ko.Spec.Environment != nil { + } else if len(a.ko.Spec.Environment) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.Environment, b.ko.Spec.Environment) { delta.Add("Spec.Environment", a.ko.Spec.Environment, b.ko.Spec.Environment) } @@ -113,16 +121,28 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.NetworkConfig.VPCConfig, b.ko.Spec.NetworkConfig.VPCConfig) { delta.Add("Spec.NetworkConfig.VPCConfig", a.ko.Spec.NetworkConfig.VPCConfig, b.ko.Spec.NetworkConfig.VPCConfig) } else if a.ko.Spec.NetworkConfig.VPCConfig != nil && b.ko.Spec.NetworkConfig.VPCConfig != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { + if len(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) != len(b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { delta.Add("Spec.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) + } else if len(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) { + delta.Add("Spec.NetworkConfig.VPCConfig.SecurityGroupIDs", a.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs, b.ko.Spec.NetworkConfig.VPCConfig.SecurityGroupIDs) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { + if len(a.ko.Spec.NetworkConfig.VPCConfig.Subnets) != len(b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { delta.Add("Spec.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) + } else if len(a.ko.Spec.NetworkConfig.VPCConfig.Subnets) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) { + delta.Add("Spec.NetworkConfig.VPCConfig.Subnets", a.ko.Spec.NetworkConfig.VPCConfig.Subnets, b.ko.Spec.NetworkConfig.VPCConfig.Subnets) + } } } } - if !reflect.DeepEqual(a.ko.Spec.ProcessingInputs, b.ko.Spec.ProcessingInputs) { + if len(a.ko.Spec.ProcessingInputs) != len(b.ko.Spec.ProcessingInputs) { delta.Add("Spec.ProcessingInputs", a.ko.Spec.ProcessingInputs, b.ko.Spec.ProcessingInputs) + } else if len(a.ko.Spec.ProcessingInputs) > 0 { + if !reflect.DeepEqual(a.ko.Spec.ProcessingInputs, b.ko.Spec.ProcessingInputs) { + delta.Add("Spec.ProcessingInputs", a.ko.Spec.ProcessingInputs, b.ko.Spec.ProcessingInputs) + } } if ackcompare.HasNilDifference(a.ko.Spec.ProcessingJobName, b.ko.Spec.ProcessingJobName) { delta.Add("Spec.ProcessingJobName", a.ko.Spec.ProcessingJobName, b.ko.Spec.ProcessingJobName) @@ -141,8 +161,12 @@ func newResourceDelta( delta.Add("Spec.ProcessingOutputConfig.KMSKeyID", a.ko.Spec.ProcessingOutputConfig.KMSKeyID, b.ko.Spec.ProcessingOutputConfig.KMSKeyID) } } - if !reflect.DeepEqual(a.ko.Spec.ProcessingOutputConfig.Outputs, b.ko.Spec.ProcessingOutputConfig.Outputs) { + if len(a.ko.Spec.ProcessingOutputConfig.Outputs) != len(b.ko.Spec.ProcessingOutputConfig.Outputs) { delta.Add("Spec.ProcessingOutputConfig.Outputs", a.ko.Spec.ProcessingOutputConfig.Outputs, b.ko.Spec.ProcessingOutputConfig.Outputs) + } else if len(a.ko.Spec.ProcessingOutputConfig.Outputs) > 0 { + if !reflect.DeepEqual(a.ko.Spec.ProcessingOutputConfig.Outputs, b.ko.Spec.ProcessingOutputConfig.Outputs) { + delta.Add("Spec.ProcessingOutputConfig.Outputs", a.ko.Spec.ProcessingOutputConfig.Outputs, b.ko.Spec.ProcessingOutputConfig.Outputs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.ProcessingResources, b.ko.Spec.ProcessingResources) { diff --git a/pkg/resource/training_job/delta.go b/pkg/resource/training_job/delta.go index fb6dbf74..363dd106 100644 --- a/pkg/resource/training_job/delta.go +++ b/pkg/resource/training_job/delta.go @@ -97,12 +97,16 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.DebugHookConfig, b.ko.Spec.DebugHookConfig) { delta.Add("Spec.DebugHookConfig", a.ko.Spec.DebugHookConfig, b.ko.Spec.DebugHookConfig) } else if a.ko.Spec.DebugHookConfig != nil && b.ko.Spec.DebugHookConfig != nil { - if !reflect.DeepEqual(a.ko.Spec.DebugHookConfig.CollectionConfigurations, b.ko.Spec.DebugHookConfig.CollectionConfigurations) { + if len(a.ko.Spec.DebugHookConfig.CollectionConfigurations) != len(b.ko.Spec.DebugHookConfig.CollectionConfigurations) { delta.Add("Spec.DebugHookConfig.CollectionConfigurations", a.ko.Spec.DebugHookConfig.CollectionConfigurations, b.ko.Spec.DebugHookConfig.CollectionConfigurations) + } else if len(a.ko.Spec.DebugHookConfig.CollectionConfigurations) > 0 { + if !reflect.DeepEqual(a.ko.Spec.DebugHookConfig.CollectionConfigurations, b.ko.Spec.DebugHookConfig.CollectionConfigurations) { + delta.Add("Spec.DebugHookConfig.CollectionConfigurations", a.ko.Spec.DebugHookConfig.CollectionConfigurations, b.ko.Spec.DebugHookConfig.CollectionConfigurations) + } } - if ackcompare.HasNilDifference(a.ko.Spec.DebugHookConfig.HookParameters, b.ko.Spec.DebugHookConfig.HookParameters) { + if len(a.ko.Spec.DebugHookConfig.HookParameters) != len(b.ko.Spec.DebugHookConfig.HookParameters) { delta.Add("Spec.DebugHookConfig.HookParameters", a.ko.Spec.DebugHookConfig.HookParameters, b.ko.Spec.DebugHookConfig.HookParameters) - } else if a.ko.Spec.DebugHookConfig.HookParameters != nil && b.ko.Spec.DebugHookConfig.HookParameters != nil { + } else if len(a.ko.Spec.DebugHookConfig.HookParameters) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.DebugHookConfig.HookParameters, b.ko.Spec.DebugHookConfig.HookParameters) { delta.Add("Spec.DebugHookConfig.HookParameters", a.ko.Spec.DebugHookConfig.HookParameters, b.ko.Spec.DebugHookConfig.HookParameters) } @@ -122,8 +126,12 @@ func newResourceDelta( } } } - if !reflect.DeepEqual(a.ko.Spec.DebugRuleConfigurations, b.ko.Spec.DebugRuleConfigurations) { + if len(a.ko.Spec.DebugRuleConfigurations) != len(b.ko.Spec.DebugRuleConfigurations) { delta.Add("Spec.DebugRuleConfigurations", a.ko.Spec.DebugRuleConfigurations, b.ko.Spec.DebugRuleConfigurations) + } else if len(a.ko.Spec.DebugRuleConfigurations) > 0 { + if !reflect.DeepEqual(a.ko.Spec.DebugRuleConfigurations, b.ko.Spec.DebugRuleConfigurations) { + delta.Add("Spec.DebugRuleConfigurations", a.ko.Spec.DebugRuleConfigurations, b.ko.Spec.DebugRuleConfigurations) + } } if ackcompare.HasNilDifference(a.ko.Spec.EnableInterContainerTrafficEncryption, b.ko.Spec.EnableInterContainerTrafficEncryption) { delta.Add("Spec.EnableInterContainerTrafficEncryption", a.ko.Spec.EnableInterContainerTrafficEncryption, b.ko.Spec.EnableInterContainerTrafficEncryption) @@ -146,9 +154,9 @@ func newResourceDelta( delta.Add("Spec.EnableNetworkIsolation", a.ko.Spec.EnableNetworkIsolation, b.ko.Spec.EnableNetworkIsolation) } } - if ackcompare.HasNilDifference(a.ko.Spec.Environment, b.ko.Spec.Environment) { + if len(a.ko.Spec.Environment) != len(b.ko.Spec.Environment) { delta.Add("Spec.Environment", a.ko.Spec.Environment, b.ko.Spec.Environment) - } else if a.ko.Spec.Environment != nil && b.ko.Spec.Environment != nil { + } else if len(a.ko.Spec.Environment) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.Environment, b.ko.Spec.Environment) { delta.Add("Spec.Environment", a.ko.Spec.Environment, b.ko.Spec.Environment) } @@ -178,15 +186,19 @@ func newResourceDelta( } } } - if ackcompare.HasNilDifference(a.ko.Spec.HyperParameters, b.ko.Spec.HyperParameters) { + if len(a.ko.Spec.HyperParameters) != len(b.ko.Spec.HyperParameters) { delta.Add("Spec.HyperParameters", a.ko.Spec.HyperParameters, b.ko.Spec.HyperParameters) - } else if a.ko.Spec.HyperParameters != nil && b.ko.Spec.HyperParameters != nil { + } else if len(a.ko.Spec.HyperParameters) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.HyperParameters, b.ko.Spec.HyperParameters) { delta.Add("Spec.HyperParameters", a.ko.Spec.HyperParameters, b.ko.Spec.HyperParameters) } } - if !reflect.DeepEqual(a.ko.Spec.InputDataConfig, b.ko.Spec.InputDataConfig) { + if len(a.ko.Spec.InputDataConfig) != len(b.ko.Spec.InputDataConfig) { delta.Add("Spec.InputDataConfig", a.ko.Spec.InputDataConfig, b.ko.Spec.InputDataConfig) + } else if len(a.ko.Spec.InputDataConfig) > 0 { + if !reflect.DeepEqual(a.ko.Spec.InputDataConfig, b.ko.Spec.InputDataConfig) { + delta.Add("Spec.InputDataConfig", a.ko.Spec.InputDataConfig, b.ko.Spec.InputDataConfig) + } } if ackcompare.HasNilDifference(a.ko.Spec.OutputDataConfig, b.ko.Spec.OutputDataConfig) { delta.Add("Spec.OutputDataConfig", a.ko.Spec.OutputDataConfig, b.ko.Spec.OutputDataConfig) @@ -216,9 +228,9 @@ func newResourceDelta( delta.Add("Spec.ProfilerConfig.ProfilingIntervalInMilliseconds", a.ko.Spec.ProfilerConfig.ProfilingIntervalInMilliseconds, b.ko.Spec.ProfilerConfig.ProfilingIntervalInMilliseconds) } } - if ackcompare.HasNilDifference(a.ko.Spec.ProfilerConfig.ProfilingParameters, b.ko.Spec.ProfilerConfig.ProfilingParameters) { + if len(a.ko.Spec.ProfilerConfig.ProfilingParameters) != len(b.ko.Spec.ProfilerConfig.ProfilingParameters) { delta.Add("Spec.ProfilerConfig.ProfilingParameters", a.ko.Spec.ProfilerConfig.ProfilingParameters, b.ko.Spec.ProfilerConfig.ProfilingParameters) - } else if a.ko.Spec.ProfilerConfig.ProfilingParameters != nil && b.ko.Spec.ProfilerConfig.ProfilingParameters != nil { + } else if len(a.ko.Spec.ProfilerConfig.ProfilingParameters) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.ProfilerConfig.ProfilingParameters, b.ko.Spec.ProfilerConfig.ProfilingParameters) { delta.Add("Spec.ProfilerConfig.ProfilingParameters", a.ko.Spec.ProfilerConfig.ProfilingParameters, b.ko.Spec.ProfilerConfig.ProfilingParameters) } @@ -231,8 +243,12 @@ func newResourceDelta( } } } - if !reflect.DeepEqual(a.ko.Spec.ProfilerRuleConfigurations, b.ko.Spec.ProfilerRuleConfigurations) { + if len(a.ko.Spec.ProfilerRuleConfigurations) != len(b.ko.Spec.ProfilerRuleConfigurations) { delta.Add("Spec.ProfilerRuleConfigurations", a.ko.Spec.ProfilerRuleConfigurations, b.ko.Spec.ProfilerRuleConfigurations) + } else if len(a.ko.Spec.ProfilerRuleConfigurations) > 0 { + if !reflect.DeepEqual(a.ko.Spec.ProfilerRuleConfigurations, b.ko.Spec.ProfilerRuleConfigurations) { + delta.Add("Spec.ProfilerRuleConfigurations", a.ko.Spec.ProfilerRuleConfigurations, b.ko.Spec.ProfilerRuleConfigurations) + } } if ackcompare.HasNilDifference(a.ko.Spec.ResourceConfig, b.ko.Spec.ResourceConfig) { delta.Add("Spec.ResourceConfig", a.ko.Spec.ResourceConfig, b.ko.Spec.ResourceConfig) @@ -244,8 +260,12 @@ func newResourceDelta( delta.Add("Spec.ResourceConfig.InstanceCount", a.ko.Spec.ResourceConfig.InstanceCount, b.ko.Spec.ResourceConfig.InstanceCount) } } - if !reflect.DeepEqual(a.ko.Spec.ResourceConfig.InstanceGroups, b.ko.Spec.ResourceConfig.InstanceGroups) { + if len(a.ko.Spec.ResourceConfig.InstanceGroups) != len(b.ko.Spec.ResourceConfig.InstanceGroups) { delta.Add("Spec.ResourceConfig.InstanceGroups", a.ko.Spec.ResourceConfig.InstanceGroups, b.ko.Spec.ResourceConfig.InstanceGroups) + } else if len(a.ko.Spec.ResourceConfig.InstanceGroups) > 0 { + if !reflect.DeepEqual(a.ko.Spec.ResourceConfig.InstanceGroups, b.ko.Spec.ResourceConfig.InstanceGroups) { + delta.Add("Spec.ResourceConfig.InstanceGroups", a.ko.Spec.ResourceConfig.InstanceGroups, b.ko.Spec.ResourceConfig.InstanceGroups) + } } if ackcompare.HasNilDifference(a.ko.Spec.ResourceConfig.InstanceType, b.ko.Spec.ResourceConfig.InstanceType) { delta.Add("Spec.ResourceConfig.InstanceType", a.ko.Spec.ResourceConfig.InstanceType, b.ko.Spec.ResourceConfig.InstanceType) @@ -340,11 +360,19 @@ func newResourceDelta( if ackcompare.HasNilDifference(a.ko.Spec.VPCConfig, b.ko.Spec.VPCConfig) { delta.Add("Spec.VPCConfig", a.ko.Spec.VPCConfig, b.ko.Spec.VPCConfig) } else if a.ko.Spec.VPCConfig != nil && b.ko.Spec.VPCConfig != nil { - if !ackcompare.SliceStringPEqual(a.ko.Spec.VPCConfig.SecurityGroupIDs, b.ko.Spec.VPCConfig.SecurityGroupIDs) { + if len(a.ko.Spec.VPCConfig.SecurityGroupIDs) != len(b.ko.Spec.VPCConfig.SecurityGroupIDs) { delta.Add("Spec.VPCConfig.SecurityGroupIDs", a.ko.Spec.VPCConfig.SecurityGroupIDs, b.ko.Spec.VPCConfig.SecurityGroupIDs) + } else if len(a.ko.Spec.VPCConfig.SecurityGroupIDs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.VPCConfig.SecurityGroupIDs, b.ko.Spec.VPCConfig.SecurityGroupIDs) { + delta.Add("Spec.VPCConfig.SecurityGroupIDs", a.ko.Spec.VPCConfig.SecurityGroupIDs, b.ko.Spec.VPCConfig.SecurityGroupIDs) + } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.VPCConfig.Subnets, b.ko.Spec.VPCConfig.Subnets) { + if len(a.ko.Spec.VPCConfig.Subnets) != len(b.ko.Spec.VPCConfig.Subnets) { delta.Add("Spec.VPCConfig.Subnets", a.ko.Spec.VPCConfig.Subnets, b.ko.Spec.VPCConfig.Subnets) + } else if len(a.ko.Spec.VPCConfig.Subnets) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.VPCConfig.Subnets, b.ko.Spec.VPCConfig.Subnets) { + delta.Add("Spec.VPCConfig.Subnets", a.ko.Spec.VPCConfig.Subnets, b.ko.Spec.VPCConfig.Subnets) + } } } diff --git a/pkg/resource/transform_job/delta.go b/pkg/resource/transform_job/delta.go index c2a082dc..ca240745 100644 --- a/pkg/resource/transform_job/delta.go +++ b/pkg/resource/transform_job/delta.go @@ -76,9 +76,9 @@ func newResourceDelta( } } } - if ackcompare.HasNilDifference(a.ko.Spec.Environment, b.ko.Spec.Environment) { + if len(a.ko.Spec.Environment) != len(b.ko.Spec.Environment) { delta.Add("Spec.Environment", a.ko.Spec.Environment, b.ko.Spec.Environment) - } else if a.ko.Spec.Environment != nil && b.ko.Spec.Environment != nil { + } else if len(a.ko.Spec.Environment) > 0 { if !ackcompare.MapStringStringPEqual(a.ko.Spec.Environment, b.ko.Spec.Environment) { delta.Add("Spec.Environment", a.ko.Spec.Environment, b.ko.Spec.Environment) } diff --git a/pkg/resource/user_profile/delta.go b/pkg/resource/user_profile/delta.go index d4f1061a..1d725c87 100644 --- a/pkg/resource/user_profile/delta.go +++ b/pkg/resource/user_profile/delta.go @@ -116,15 +116,23 @@ func newResourceDelta( } } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs, b.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs) { + if len(a.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs) != len(b.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs) { delta.Add("Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs", a.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs, b.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs) + } else if len(a.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs, b.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs) { + delta.Add("Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs", a.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs, b.ko.Spec.UserSettings.JupyterServerAppSettings.LifecycleConfigARNs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.UserSettings.KernelGatewayAppSettings, b.ko.Spec.UserSettings.KernelGatewayAppSettings) { delta.Add("Spec.UserSettings.KernelGatewayAppSettings", a.ko.Spec.UserSettings.KernelGatewayAppSettings, b.ko.Spec.UserSettings.KernelGatewayAppSettings) } else if a.ko.Spec.UserSettings.KernelGatewayAppSettings != nil && b.ko.Spec.UserSettings.KernelGatewayAppSettings != nil { - if !reflect.DeepEqual(a.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages, b.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages) { + if len(a.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages) != len(b.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages) { delta.Add("Spec.UserSettings.KernelGatewayAppSettings.CustomImages", a.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages, b.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages) + } else if len(a.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages) > 0 { + if !reflect.DeepEqual(a.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages, b.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages) { + delta.Add("Spec.UserSettings.KernelGatewayAppSettings.CustomImages", a.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages, b.ko.Spec.UserSettings.KernelGatewayAppSettings.CustomImages) + } } if ackcompare.HasNilDifference(a.ko.Spec.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec, b.ko.Spec.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec) { delta.Add("Spec.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec", a.ko.Spec.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec, b.ko.Spec.UserSettings.KernelGatewayAppSettings.DefaultResourceSpec) @@ -158,8 +166,12 @@ func newResourceDelta( } } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs, b.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) { + if len(a.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) != len(b.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) { delta.Add("Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs", a.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs, b.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) + } else if len(a.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs, b.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) { + delta.Add("Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs", a.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs, b.ko.Spec.UserSettings.KernelGatewayAppSettings.LifecycleConfigARNs) + } } } if ackcompare.HasNilDifference(a.ko.Spec.UserSettings.RStudioServerProAppSettings, b.ko.Spec.UserSettings.RStudioServerProAppSettings) { @@ -180,8 +192,12 @@ func newResourceDelta( } } } - if !ackcompare.SliceStringPEqual(a.ko.Spec.UserSettings.SecurityGroups, b.ko.Spec.UserSettings.SecurityGroups) { + if len(a.ko.Spec.UserSettings.SecurityGroups) != len(b.ko.Spec.UserSettings.SecurityGroups) { delta.Add("Spec.UserSettings.SecurityGroups", a.ko.Spec.UserSettings.SecurityGroups, b.ko.Spec.UserSettings.SecurityGroups) + } else if len(a.ko.Spec.UserSettings.SecurityGroups) > 0 { + if !ackcompare.SliceStringPEqual(a.ko.Spec.UserSettings.SecurityGroups, b.ko.Spec.UserSettings.SecurityGroups) { + delta.Add("Spec.UserSettings.SecurityGroups", a.ko.Spec.UserSettings.SecurityGroups, b.ko.Spec.UserSettings.SecurityGroups) + } } if ackcompare.HasNilDifference(a.ko.Spec.UserSettings.SharingSettings, b.ko.Spec.UserSettings.SharingSettings) { delta.Add("Spec.UserSettings.SharingSettings", a.ko.Spec.UserSettings.SharingSettings, b.ko.Spec.UserSettings.SharingSettings) diff --git a/test/mocks/aws-sdk-go/sagemaker/SageMakerAPI.go b/test/mocks/aws-sdk-go/sagemaker/SageMakerAPI.go index 357e1ad0..d98c85dc 100644 --- a/test/mocks/aws-sdk-go/sagemaker/SageMakerAPI.go +++ b/test/mocks/aws-sdk-go/sagemaker/SageMakerAPI.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.22.1. DO NOT EDIT. +// Code generated by mockery v2.40.1. DO NOT EDIT. package mocks @@ -20,6 +20,10 @@ type SageMakerAPI struct { func (_m *SageMakerAPI) AddAssociation(_a0 *sagemaker.AddAssociationInput) (*sagemaker.AddAssociationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AddAssociation") + } + var r0 *sagemaker.AddAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.AddAssociationInput) (*sagemaker.AddAssociationOutput, error)); ok { @@ -46,6 +50,10 @@ func (_m *SageMakerAPI) AddAssociation(_a0 *sagemaker.AddAssociationInput) (*sag func (_m *SageMakerAPI) AddAssociationRequest(_a0 *sagemaker.AddAssociationInput) (*request.Request, *sagemaker.AddAssociationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AddAssociationRequest") + } + var r0 *request.Request var r1 *sagemaker.AddAssociationOutput if rf, ok := ret.Get(0).(func(*sagemaker.AddAssociationInput) (*request.Request, *sagemaker.AddAssociationOutput)); ok { @@ -81,6 +89,10 @@ func (_m *SageMakerAPI) AddAssociationWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddAssociationWithContext") + } + var r0 *sagemaker.AddAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.AddAssociationInput, ...request.Option) (*sagemaker.AddAssociationOutput, error)); ok { @@ -107,6 +119,10 @@ func (_m *SageMakerAPI) AddAssociationWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) AddTags(_a0 *sagemaker.AddTagsInput) (*sagemaker.AddTagsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AddTags") + } + var r0 *sagemaker.AddTagsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.AddTagsInput) (*sagemaker.AddTagsOutput, error)); ok { @@ -133,6 +149,10 @@ func (_m *SageMakerAPI) AddTags(_a0 *sagemaker.AddTagsInput) (*sagemaker.AddTags func (_m *SageMakerAPI) AddTagsRequest(_a0 *sagemaker.AddTagsInput) (*request.Request, *sagemaker.AddTagsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AddTagsRequest") + } + var r0 *request.Request var r1 *sagemaker.AddTagsOutput if rf, ok := ret.Get(0).(func(*sagemaker.AddTagsInput) (*request.Request, *sagemaker.AddTagsOutput)); ok { @@ -168,6 +188,10 @@ func (_m *SageMakerAPI) AddTagsWithContext(_a0 context.Context, _a1 *sagemaker.A _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AddTagsWithContext") + } + var r0 *sagemaker.AddTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.AddTagsInput, ...request.Option) (*sagemaker.AddTagsOutput, error)); ok { @@ -194,6 +218,10 @@ func (_m *SageMakerAPI) AddTagsWithContext(_a0 context.Context, _a1 *sagemaker.A func (_m *SageMakerAPI) AssociateTrialComponent(_a0 *sagemaker.AssociateTrialComponentInput) (*sagemaker.AssociateTrialComponentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AssociateTrialComponent") + } + var r0 *sagemaker.AssociateTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.AssociateTrialComponentInput) (*sagemaker.AssociateTrialComponentOutput, error)); ok { @@ -220,6 +248,10 @@ func (_m *SageMakerAPI) AssociateTrialComponent(_a0 *sagemaker.AssociateTrialCom func (_m *SageMakerAPI) AssociateTrialComponentRequest(_a0 *sagemaker.AssociateTrialComponentInput) (*request.Request, *sagemaker.AssociateTrialComponentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for AssociateTrialComponentRequest") + } + var r0 *request.Request var r1 *sagemaker.AssociateTrialComponentOutput if rf, ok := ret.Get(0).(func(*sagemaker.AssociateTrialComponentInput) (*request.Request, *sagemaker.AssociateTrialComponentOutput)); ok { @@ -255,6 +287,10 @@ func (_m *SageMakerAPI) AssociateTrialComponentWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for AssociateTrialComponentWithContext") + } + var r0 *sagemaker.AssociateTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.AssociateTrialComponentInput, ...request.Option) (*sagemaker.AssociateTrialComponentOutput, error)); ok { @@ -281,6 +317,10 @@ func (_m *SageMakerAPI) AssociateTrialComponentWithContext(_a0 context.Context, func (_m *SageMakerAPI) BatchDescribeModelPackage(_a0 *sagemaker.BatchDescribeModelPackageInput) (*sagemaker.BatchDescribeModelPackageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for BatchDescribeModelPackage") + } + var r0 *sagemaker.BatchDescribeModelPackageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.BatchDescribeModelPackageInput) (*sagemaker.BatchDescribeModelPackageOutput, error)); ok { @@ -307,6 +347,10 @@ func (_m *SageMakerAPI) BatchDescribeModelPackage(_a0 *sagemaker.BatchDescribeMo func (_m *SageMakerAPI) BatchDescribeModelPackageRequest(_a0 *sagemaker.BatchDescribeModelPackageInput) (*request.Request, *sagemaker.BatchDescribeModelPackageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for BatchDescribeModelPackageRequest") + } + var r0 *request.Request var r1 *sagemaker.BatchDescribeModelPackageOutput if rf, ok := ret.Get(0).(func(*sagemaker.BatchDescribeModelPackageInput) (*request.Request, *sagemaker.BatchDescribeModelPackageOutput)); ok { @@ -342,6 +386,10 @@ func (_m *SageMakerAPI) BatchDescribeModelPackageWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for BatchDescribeModelPackageWithContext") + } + var r0 *sagemaker.BatchDescribeModelPackageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.BatchDescribeModelPackageInput, ...request.Option) (*sagemaker.BatchDescribeModelPackageOutput, error)); ok { @@ -368,6 +416,10 @@ func (_m *SageMakerAPI) BatchDescribeModelPackageWithContext(_a0 context.Context func (_m *SageMakerAPI) CreateAction(_a0 *sagemaker.CreateActionInput) (*sagemaker.CreateActionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateAction") + } + var r0 *sagemaker.CreateActionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateActionInput) (*sagemaker.CreateActionOutput, error)); ok { @@ -394,6 +446,10 @@ func (_m *SageMakerAPI) CreateAction(_a0 *sagemaker.CreateActionInput) (*sagemak func (_m *SageMakerAPI) CreateActionRequest(_a0 *sagemaker.CreateActionInput) (*request.Request, *sagemaker.CreateActionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateActionRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateActionOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateActionInput) (*request.Request, *sagemaker.CreateActionOutput)); ok { @@ -429,6 +485,10 @@ func (_m *SageMakerAPI) CreateActionWithContext(_a0 context.Context, _a1 *sagema _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateActionWithContext") + } + var r0 *sagemaker.CreateActionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateActionInput, ...request.Option) (*sagemaker.CreateActionOutput, error)); ok { @@ -455,6 +515,10 @@ func (_m *SageMakerAPI) CreateActionWithContext(_a0 context.Context, _a1 *sagema func (_m *SageMakerAPI) CreateAlgorithm(_a0 *sagemaker.CreateAlgorithmInput) (*sagemaker.CreateAlgorithmOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateAlgorithm") + } + var r0 *sagemaker.CreateAlgorithmOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateAlgorithmInput) (*sagemaker.CreateAlgorithmOutput, error)); ok { @@ -481,6 +545,10 @@ func (_m *SageMakerAPI) CreateAlgorithm(_a0 *sagemaker.CreateAlgorithmInput) (*s func (_m *SageMakerAPI) CreateAlgorithmRequest(_a0 *sagemaker.CreateAlgorithmInput) (*request.Request, *sagemaker.CreateAlgorithmOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateAlgorithmRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateAlgorithmOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateAlgorithmInput) (*request.Request, *sagemaker.CreateAlgorithmOutput)); ok { @@ -516,6 +584,10 @@ func (_m *SageMakerAPI) CreateAlgorithmWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAlgorithmWithContext") + } + var r0 *sagemaker.CreateAlgorithmOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateAlgorithmInput, ...request.Option) (*sagemaker.CreateAlgorithmOutput, error)); ok { @@ -542,6 +614,10 @@ func (_m *SageMakerAPI) CreateAlgorithmWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) CreateApp(_a0 *sagemaker.CreateAppInput) (*sagemaker.CreateAppOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateApp") + } + var r0 *sagemaker.CreateAppOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateAppInput) (*sagemaker.CreateAppOutput, error)); ok { @@ -568,6 +644,10 @@ func (_m *SageMakerAPI) CreateApp(_a0 *sagemaker.CreateAppInput) (*sagemaker.Cre func (_m *SageMakerAPI) CreateAppImageConfig(_a0 *sagemaker.CreateAppImageConfigInput) (*sagemaker.CreateAppImageConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateAppImageConfig") + } + var r0 *sagemaker.CreateAppImageConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateAppImageConfigInput) (*sagemaker.CreateAppImageConfigOutput, error)); ok { @@ -594,6 +674,10 @@ func (_m *SageMakerAPI) CreateAppImageConfig(_a0 *sagemaker.CreateAppImageConfig func (_m *SageMakerAPI) CreateAppImageConfigRequest(_a0 *sagemaker.CreateAppImageConfigInput) (*request.Request, *sagemaker.CreateAppImageConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateAppImageConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateAppImageConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateAppImageConfigInput) (*request.Request, *sagemaker.CreateAppImageConfigOutput)); ok { @@ -629,6 +713,10 @@ func (_m *SageMakerAPI) CreateAppImageConfigWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAppImageConfigWithContext") + } + var r0 *sagemaker.CreateAppImageConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateAppImageConfigInput, ...request.Option) (*sagemaker.CreateAppImageConfigOutput, error)); ok { @@ -655,6 +743,10 @@ func (_m *SageMakerAPI) CreateAppImageConfigWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) CreateAppRequest(_a0 *sagemaker.CreateAppInput) (*request.Request, *sagemaker.CreateAppOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateAppRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateAppOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateAppInput) (*request.Request, *sagemaker.CreateAppOutput)); ok { @@ -690,6 +782,10 @@ func (_m *SageMakerAPI) CreateAppWithContext(_a0 context.Context, _a1 *sagemaker _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAppWithContext") + } + var r0 *sagemaker.CreateAppOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateAppInput, ...request.Option) (*sagemaker.CreateAppOutput, error)); ok { @@ -716,6 +812,10 @@ func (_m *SageMakerAPI) CreateAppWithContext(_a0 context.Context, _a1 *sagemaker func (_m *SageMakerAPI) CreateArtifact(_a0 *sagemaker.CreateArtifactInput) (*sagemaker.CreateArtifactOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateArtifact") + } + var r0 *sagemaker.CreateArtifactOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateArtifactInput) (*sagemaker.CreateArtifactOutput, error)); ok { @@ -742,6 +842,10 @@ func (_m *SageMakerAPI) CreateArtifact(_a0 *sagemaker.CreateArtifactInput) (*sag func (_m *SageMakerAPI) CreateArtifactRequest(_a0 *sagemaker.CreateArtifactInput) (*request.Request, *sagemaker.CreateArtifactOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateArtifactRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateArtifactOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateArtifactInput) (*request.Request, *sagemaker.CreateArtifactOutput)); ok { @@ -777,6 +881,10 @@ func (_m *SageMakerAPI) CreateArtifactWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateArtifactWithContext") + } + var r0 *sagemaker.CreateArtifactOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateArtifactInput, ...request.Option) (*sagemaker.CreateArtifactOutput, error)); ok { @@ -803,6 +911,10 @@ func (_m *SageMakerAPI) CreateArtifactWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) CreateAutoMLJob(_a0 *sagemaker.CreateAutoMLJobInput) (*sagemaker.CreateAutoMLJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateAutoMLJob") + } + var r0 *sagemaker.CreateAutoMLJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateAutoMLJobInput) (*sagemaker.CreateAutoMLJobOutput, error)); ok { @@ -829,6 +941,10 @@ func (_m *SageMakerAPI) CreateAutoMLJob(_a0 *sagemaker.CreateAutoMLJobInput) (*s func (_m *SageMakerAPI) CreateAutoMLJobRequest(_a0 *sagemaker.CreateAutoMLJobInput) (*request.Request, *sagemaker.CreateAutoMLJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateAutoMLJobRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateAutoMLJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateAutoMLJobInput) (*request.Request, *sagemaker.CreateAutoMLJobOutput)); ok { @@ -853,6 +969,105 @@ func (_m *SageMakerAPI) CreateAutoMLJobRequest(_a0 *sagemaker.CreateAutoMLJobInp return r0, r1 } +// CreateAutoMLJobV2 provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) CreateAutoMLJobV2(_a0 *sagemaker.CreateAutoMLJobV2Input) (*sagemaker.CreateAutoMLJobV2Output, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for CreateAutoMLJobV2") + } + + var r0 *sagemaker.CreateAutoMLJobV2Output + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.CreateAutoMLJobV2Input) (*sagemaker.CreateAutoMLJobV2Output, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.CreateAutoMLJobV2Input) *sagemaker.CreateAutoMLJobV2Output); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.CreateAutoMLJobV2Output) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.CreateAutoMLJobV2Input) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateAutoMLJobV2Request provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) CreateAutoMLJobV2Request(_a0 *sagemaker.CreateAutoMLJobV2Input) (*request.Request, *sagemaker.CreateAutoMLJobV2Output) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for CreateAutoMLJobV2Request") + } + + var r0 *request.Request + var r1 *sagemaker.CreateAutoMLJobV2Output + if rf, ok := ret.Get(0).(func(*sagemaker.CreateAutoMLJobV2Input) (*request.Request, *sagemaker.CreateAutoMLJobV2Output)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.CreateAutoMLJobV2Input) *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(*sagemaker.CreateAutoMLJobV2Input) *sagemaker.CreateAutoMLJobV2Output); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.CreateAutoMLJobV2Output) + } + } + + return r0, r1 +} + +// CreateAutoMLJobV2WithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) CreateAutoMLJobV2WithContext(_a0 context.Context, _a1 *sagemaker.CreateAutoMLJobV2Input, _a2 ...request.Option) (*sagemaker.CreateAutoMLJobV2Output, 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 CreateAutoMLJobV2WithContext") + } + + var r0 *sagemaker.CreateAutoMLJobV2Output + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateAutoMLJobV2Input, ...request.Option) (*sagemaker.CreateAutoMLJobV2Output, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateAutoMLJobV2Input, ...request.Option) *sagemaker.CreateAutoMLJobV2Output); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.CreateAutoMLJobV2Output) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.CreateAutoMLJobV2Input, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateAutoMLJobWithContext provides a mock function with given fields: _a0, _a1, _a2 func (_m *SageMakerAPI) CreateAutoMLJobWithContext(_a0 context.Context, _a1 *sagemaker.CreateAutoMLJobInput, _a2 ...request.Option) (*sagemaker.CreateAutoMLJobOutput, error) { _va := make([]interface{}, len(_a2)) @@ -864,6 +1079,10 @@ func (_m *SageMakerAPI) CreateAutoMLJobWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateAutoMLJobWithContext") + } + var r0 *sagemaker.CreateAutoMLJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateAutoMLJobInput, ...request.Option) (*sagemaker.CreateAutoMLJobOutput, error)); ok { @@ -886,10 +1105,113 @@ func (_m *SageMakerAPI) CreateAutoMLJobWithContext(_a0 context.Context, _a1 *sag return r0, r1 } +// CreateCluster provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) CreateCluster(_a0 *sagemaker.CreateClusterInput) (*sagemaker.CreateClusterOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for CreateCluster") + } + + var r0 *sagemaker.CreateClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.CreateClusterInput) (*sagemaker.CreateClusterOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.CreateClusterInput) *sagemaker.CreateClusterOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.CreateClusterOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.CreateClusterInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateClusterRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) CreateClusterRequest(_a0 *sagemaker.CreateClusterInput) (*request.Request, *sagemaker.CreateClusterOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for CreateClusterRequest") + } + + var r0 *request.Request + var r1 *sagemaker.CreateClusterOutput + if rf, ok := ret.Get(0).(func(*sagemaker.CreateClusterInput) (*request.Request, *sagemaker.CreateClusterOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.CreateClusterInput) *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(*sagemaker.CreateClusterInput) *sagemaker.CreateClusterOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.CreateClusterOutput) + } + } + + return r0, r1 +} + +// CreateClusterWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) CreateClusterWithContext(_a0 context.Context, _a1 *sagemaker.CreateClusterInput, _a2 ...request.Option) (*sagemaker.CreateClusterOutput, 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 CreateClusterWithContext") + } + + var r0 *sagemaker.CreateClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateClusterInput, ...request.Option) (*sagemaker.CreateClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateClusterInput, ...request.Option) *sagemaker.CreateClusterOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.CreateClusterOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.CreateClusterInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateCodeRepository provides a mock function with given fields: _a0 func (_m *SageMakerAPI) CreateCodeRepository(_a0 *sagemaker.CreateCodeRepositoryInput) (*sagemaker.CreateCodeRepositoryOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateCodeRepository") + } + var r0 *sagemaker.CreateCodeRepositoryOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateCodeRepositoryInput) (*sagemaker.CreateCodeRepositoryOutput, error)); ok { @@ -916,6 +1238,10 @@ func (_m *SageMakerAPI) CreateCodeRepository(_a0 *sagemaker.CreateCodeRepository func (_m *SageMakerAPI) CreateCodeRepositoryRequest(_a0 *sagemaker.CreateCodeRepositoryInput) (*request.Request, *sagemaker.CreateCodeRepositoryOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateCodeRepositoryRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateCodeRepositoryOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateCodeRepositoryInput) (*request.Request, *sagemaker.CreateCodeRepositoryOutput)); ok { @@ -951,6 +1277,10 @@ func (_m *SageMakerAPI) CreateCodeRepositoryWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateCodeRepositoryWithContext") + } + var r0 *sagemaker.CreateCodeRepositoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateCodeRepositoryInput, ...request.Option) (*sagemaker.CreateCodeRepositoryOutput, error)); ok { @@ -977,6 +1307,10 @@ func (_m *SageMakerAPI) CreateCodeRepositoryWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) CreateCompilationJob(_a0 *sagemaker.CreateCompilationJobInput) (*sagemaker.CreateCompilationJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateCompilationJob") + } + var r0 *sagemaker.CreateCompilationJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateCompilationJobInput) (*sagemaker.CreateCompilationJobOutput, error)); ok { @@ -1003,6 +1337,10 @@ func (_m *SageMakerAPI) CreateCompilationJob(_a0 *sagemaker.CreateCompilationJob func (_m *SageMakerAPI) CreateCompilationJobRequest(_a0 *sagemaker.CreateCompilationJobInput) (*request.Request, *sagemaker.CreateCompilationJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateCompilationJobRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateCompilationJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateCompilationJobInput) (*request.Request, *sagemaker.CreateCompilationJobOutput)); ok { @@ -1038,6 +1376,10 @@ func (_m *SageMakerAPI) CreateCompilationJobWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateCompilationJobWithContext") + } + var r0 *sagemaker.CreateCompilationJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateCompilationJobInput, ...request.Option) (*sagemaker.CreateCompilationJobOutput, error)); ok { @@ -1064,6 +1406,10 @@ func (_m *SageMakerAPI) CreateCompilationJobWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) CreateContext(_a0 *sagemaker.CreateContextInput) (*sagemaker.CreateContextOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateContext") + } + var r0 *sagemaker.CreateContextOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateContextInput) (*sagemaker.CreateContextOutput, error)); ok { @@ -1090,6 +1436,10 @@ func (_m *SageMakerAPI) CreateContext(_a0 *sagemaker.CreateContextInput) (*sagem func (_m *SageMakerAPI) CreateContextRequest(_a0 *sagemaker.CreateContextInput) (*request.Request, *sagemaker.CreateContextOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateContextRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateContextOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateContextInput) (*request.Request, *sagemaker.CreateContextOutput)); ok { @@ -1125,6 +1475,10 @@ func (_m *SageMakerAPI) CreateContextWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateContextWithContext") + } + var r0 *sagemaker.CreateContextOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateContextInput, ...request.Option) (*sagemaker.CreateContextOutput, error)); ok { @@ -1151,6 +1505,10 @@ func (_m *SageMakerAPI) CreateContextWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) CreateDataQualityJobDefinition(_a0 *sagemaker.CreateDataQualityJobDefinitionInput) (*sagemaker.CreateDataQualityJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateDataQualityJobDefinition") + } + var r0 *sagemaker.CreateDataQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateDataQualityJobDefinitionInput) (*sagemaker.CreateDataQualityJobDefinitionOutput, error)); ok { @@ -1177,6 +1535,10 @@ func (_m *SageMakerAPI) CreateDataQualityJobDefinition(_a0 *sagemaker.CreateData func (_m *SageMakerAPI) CreateDataQualityJobDefinitionRequest(_a0 *sagemaker.CreateDataQualityJobDefinitionInput) (*request.Request, *sagemaker.CreateDataQualityJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateDataQualityJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateDataQualityJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateDataQualityJobDefinitionInput) (*request.Request, *sagemaker.CreateDataQualityJobDefinitionOutput)); ok { @@ -1212,6 +1574,10 @@ func (_m *SageMakerAPI) CreateDataQualityJobDefinitionWithContext(_a0 context.Co _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateDataQualityJobDefinitionWithContext") + } + var r0 *sagemaker.CreateDataQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateDataQualityJobDefinitionInput, ...request.Option) (*sagemaker.CreateDataQualityJobDefinitionOutput, error)); ok { @@ -1238,6 +1604,10 @@ func (_m *SageMakerAPI) CreateDataQualityJobDefinitionWithContext(_a0 context.Co func (_m *SageMakerAPI) CreateDeviceFleet(_a0 *sagemaker.CreateDeviceFleetInput) (*sagemaker.CreateDeviceFleetOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateDeviceFleet") + } + var r0 *sagemaker.CreateDeviceFleetOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateDeviceFleetInput) (*sagemaker.CreateDeviceFleetOutput, error)); ok { @@ -1264,6 +1634,10 @@ func (_m *SageMakerAPI) CreateDeviceFleet(_a0 *sagemaker.CreateDeviceFleetInput) func (_m *SageMakerAPI) CreateDeviceFleetRequest(_a0 *sagemaker.CreateDeviceFleetInput) (*request.Request, *sagemaker.CreateDeviceFleetOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateDeviceFleetRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateDeviceFleetOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateDeviceFleetInput) (*request.Request, *sagemaker.CreateDeviceFleetOutput)); ok { @@ -1299,6 +1673,10 @@ func (_m *SageMakerAPI) CreateDeviceFleetWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateDeviceFleetWithContext") + } + var r0 *sagemaker.CreateDeviceFleetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateDeviceFleetInput, ...request.Option) (*sagemaker.CreateDeviceFleetOutput, error)); ok { @@ -1325,6 +1703,10 @@ func (_m *SageMakerAPI) CreateDeviceFleetWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) CreateDomain(_a0 *sagemaker.CreateDomainInput) (*sagemaker.CreateDomainOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateDomain") + } + var r0 *sagemaker.CreateDomainOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateDomainInput) (*sagemaker.CreateDomainOutput, error)); ok { @@ -1351,6 +1733,10 @@ func (_m *SageMakerAPI) CreateDomain(_a0 *sagemaker.CreateDomainInput) (*sagemak func (_m *SageMakerAPI) CreateDomainRequest(_a0 *sagemaker.CreateDomainInput) (*request.Request, *sagemaker.CreateDomainOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateDomainRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateDomainOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateDomainInput) (*request.Request, *sagemaker.CreateDomainOutput)); ok { @@ -1386,6 +1772,10 @@ func (_m *SageMakerAPI) CreateDomainWithContext(_a0 context.Context, _a1 *sagema _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateDomainWithContext") + } + var r0 *sagemaker.CreateDomainOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateDomainInput, ...request.Option) (*sagemaker.CreateDomainOutput, error)); ok { @@ -1412,6 +1802,10 @@ func (_m *SageMakerAPI) CreateDomainWithContext(_a0 context.Context, _a1 *sagema func (_m *SageMakerAPI) CreateEdgeDeploymentPlan(_a0 *sagemaker.CreateEdgeDeploymentPlanInput) (*sagemaker.CreateEdgeDeploymentPlanOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEdgeDeploymentPlan") + } + var r0 *sagemaker.CreateEdgeDeploymentPlanOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateEdgeDeploymentPlanInput) (*sagemaker.CreateEdgeDeploymentPlanOutput, error)); ok { @@ -1438,6 +1832,10 @@ func (_m *SageMakerAPI) CreateEdgeDeploymentPlan(_a0 *sagemaker.CreateEdgeDeploy func (_m *SageMakerAPI) CreateEdgeDeploymentPlanRequest(_a0 *sagemaker.CreateEdgeDeploymentPlanInput) (*request.Request, *sagemaker.CreateEdgeDeploymentPlanOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEdgeDeploymentPlanRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateEdgeDeploymentPlanOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateEdgeDeploymentPlanInput) (*request.Request, *sagemaker.CreateEdgeDeploymentPlanOutput)); ok { @@ -1473,6 +1871,10 @@ func (_m *SageMakerAPI) CreateEdgeDeploymentPlanWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateEdgeDeploymentPlanWithContext") + } + var r0 *sagemaker.CreateEdgeDeploymentPlanOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateEdgeDeploymentPlanInput, ...request.Option) (*sagemaker.CreateEdgeDeploymentPlanOutput, error)); ok { @@ -1499,6 +1901,10 @@ func (_m *SageMakerAPI) CreateEdgeDeploymentPlanWithContext(_a0 context.Context, func (_m *SageMakerAPI) CreateEdgeDeploymentStage(_a0 *sagemaker.CreateEdgeDeploymentStageInput) (*sagemaker.CreateEdgeDeploymentStageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEdgeDeploymentStage") + } + var r0 *sagemaker.CreateEdgeDeploymentStageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateEdgeDeploymentStageInput) (*sagemaker.CreateEdgeDeploymentStageOutput, error)); ok { @@ -1525,6 +1931,10 @@ func (_m *SageMakerAPI) CreateEdgeDeploymentStage(_a0 *sagemaker.CreateEdgeDeplo func (_m *SageMakerAPI) CreateEdgeDeploymentStageRequest(_a0 *sagemaker.CreateEdgeDeploymentStageInput) (*request.Request, *sagemaker.CreateEdgeDeploymentStageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEdgeDeploymentStageRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateEdgeDeploymentStageOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateEdgeDeploymentStageInput) (*request.Request, *sagemaker.CreateEdgeDeploymentStageOutput)); ok { @@ -1560,6 +1970,10 @@ func (_m *SageMakerAPI) CreateEdgeDeploymentStageWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateEdgeDeploymentStageWithContext") + } + var r0 *sagemaker.CreateEdgeDeploymentStageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateEdgeDeploymentStageInput, ...request.Option) (*sagemaker.CreateEdgeDeploymentStageOutput, error)); ok { @@ -1586,6 +2000,10 @@ func (_m *SageMakerAPI) CreateEdgeDeploymentStageWithContext(_a0 context.Context func (_m *SageMakerAPI) CreateEdgePackagingJob(_a0 *sagemaker.CreateEdgePackagingJobInput) (*sagemaker.CreateEdgePackagingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEdgePackagingJob") + } + var r0 *sagemaker.CreateEdgePackagingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateEdgePackagingJobInput) (*sagemaker.CreateEdgePackagingJobOutput, error)); ok { @@ -1612,6 +2030,10 @@ func (_m *SageMakerAPI) CreateEdgePackagingJob(_a0 *sagemaker.CreateEdgePackagin func (_m *SageMakerAPI) CreateEdgePackagingJobRequest(_a0 *sagemaker.CreateEdgePackagingJobInput) (*request.Request, *sagemaker.CreateEdgePackagingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEdgePackagingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateEdgePackagingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateEdgePackagingJobInput) (*request.Request, *sagemaker.CreateEdgePackagingJobOutput)); ok { @@ -1647,6 +2069,10 @@ func (_m *SageMakerAPI) CreateEdgePackagingJobWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateEdgePackagingJobWithContext") + } + var r0 *sagemaker.CreateEdgePackagingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateEdgePackagingJobInput, ...request.Option) (*sagemaker.CreateEdgePackagingJobOutput, error)); ok { @@ -1673,6 +2099,10 @@ func (_m *SageMakerAPI) CreateEdgePackagingJobWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) CreateEndpoint(_a0 *sagemaker.CreateEndpointInput) (*sagemaker.CreateEndpointOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEndpoint") + } + var r0 *sagemaker.CreateEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateEndpointInput) (*sagemaker.CreateEndpointOutput, error)); ok { @@ -1699,6 +2129,10 @@ func (_m *SageMakerAPI) CreateEndpoint(_a0 *sagemaker.CreateEndpointInput) (*sag func (_m *SageMakerAPI) CreateEndpointConfig(_a0 *sagemaker.CreateEndpointConfigInput) (*sagemaker.CreateEndpointConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEndpointConfig") + } + var r0 *sagemaker.CreateEndpointConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateEndpointConfigInput) (*sagemaker.CreateEndpointConfigOutput, error)); ok { @@ -1725,6 +2159,10 @@ func (_m *SageMakerAPI) CreateEndpointConfig(_a0 *sagemaker.CreateEndpointConfig func (_m *SageMakerAPI) CreateEndpointConfigRequest(_a0 *sagemaker.CreateEndpointConfigInput) (*request.Request, *sagemaker.CreateEndpointConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEndpointConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateEndpointConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateEndpointConfigInput) (*request.Request, *sagemaker.CreateEndpointConfigOutput)); ok { @@ -1760,6 +2198,10 @@ func (_m *SageMakerAPI) CreateEndpointConfigWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateEndpointConfigWithContext") + } + var r0 *sagemaker.CreateEndpointConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateEndpointConfigInput, ...request.Option) (*sagemaker.CreateEndpointConfigOutput, error)); ok { @@ -1786,6 +2228,10 @@ func (_m *SageMakerAPI) CreateEndpointConfigWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) CreateEndpointRequest(_a0 *sagemaker.CreateEndpointInput) (*request.Request, *sagemaker.CreateEndpointOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateEndpointRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateEndpointOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateEndpointInput) (*request.Request, *sagemaker.CreateEndpointOutput)); ok { @@ -1821,6 +2267,10 @@ func (_m *SageMakerAPI) CreateEndpointWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateEndpointWithContext") + } + var r0 *sagemaker.CreateEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateEndpointInput, ...request.Option) (*sagemaker.CreateEndpointOutput, error)); ok { @@ -1847,6 +2297,10 @@ func (_m *SageMakerAPI) CreateEndpointWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) CreateExperiment(_a0 *sagemaker.CreateExperimentInput) (*sagemaker.CreateExperimentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateExperiment") + } + var r0 *sagemaker.CreateExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateExperimentInput) (*sagemaker.CreateExperimentOutput, error)); ok { @@ -1873,6 +2327,10 @@ func (_m *SageMakerAPI) CreateExperiment(_a0 *sagemaker.CreateExperimentInput) ( func (_m *SageMakerAPI) CreateExperimentRequest(_a0 *sagemaker.CreateExperimentInput) (*request.Request, *sagemaker.CreateExperimentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateExperimentRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateExperimentOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateExperimentInput) (*request.Request, *sagemaker.CreateExperimentOutput)); ok { @@ -1908,6 +2366,10 @@ func (_m *SageMakerAPI) CreateExperimentWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateExperimentWithContext") + } + var r0 *sagemaker.CreateExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateExperimentInput, ...request.Option) (*sagemaker.CreateExperimentOutput, error)); ok { @@ -1934,6 +2396,10 @@ func (_m *SageMakerAPI) CreateExperimentWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) CreateFeatureGroup(_a0 *sagemaker.CreateFeatureGroupInput) (*sagemaker.CreateFeatureGroupOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateFeatureGroup") + } + var r0 *sagemaker.CreateFeatureGroupOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateFeatureGroupInput) (*sagemaker.CreateFeatureGroupOutput, error)); ok { @@ -1960,6 +2426,10 @@ func (_m *SageMakerAPI) CreateFeatureGroup(_a0 *sagemaker.CreateFeatureGroupInpu func (_m *SageMakerAPI) CreateFeatureGroupRequest(_a0 *sagemaker.CreateFeatureGroupInput) (*request.Request, *sagemaker.CreateFeatureGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateFeatureGroupRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateFeatureGroupOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateFeatureGroupInput) (*request.Request, *sagemaker.CreateFeatureGroupOutput)); ok { @@ -1995,6 +2465,10 @@ func (_m *SageMakerAPI) CreateFeatureGroupWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateFeatureGroupWithContext") + } + var r0 *sagemaker.CreateFeatureGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateFeatureGroupInput, ...request.Option) (*sagemaker.CreateFeatureGroupOutput, error)); ok { @@ -2021,6 +2495,10 @@ func (_m *SageMakerAPI) CreateFeatureGroupWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) CreateFlowDefinition(_a0 *sagemaker.CreateFlowDefinitionInput) (*sagemaker.CreateFlowDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateFlowDefinition") + } + var r0 *sagemaker.CreateFlowDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateFlowDefinitionInput) (*sagemaker.CreateFlowDefinitionOutput, error)); ok { @@ -2047,6 +2525,10 @@ func (_m *SageMakerAPI) CreateFlowDefinition(_a0 *sagemaker.CreateFlowDefinition func (_m *SageMakerAPI) CreateFlowDefinitionRequest(_a0 *sagemaker.CreateFlowDefinitionInput) (*request.Request, *sagemaker.CreateFlowDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateFlowDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateFlowDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateFlowDefinitionInput) (*request.Request, *sagemaker.CreateFlowDefinitionOutput)); ok { @@ -2082,6 +2564,10 @@ func (_m *SageMakerAPI) CreateFlowDefinitionWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateFlowDefinitionWithContext") + } + var r0 *sagemaker.CreateFlowDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateFlowDefinitionInput, ...request.Option) (*sagemaker.CreateFlowDefinitionOutput, error)); ok { @@ -2108,6 +2594,10 @@ func (_m *SageMakerAPI) CreateFlowDefinitionWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) CreateHub(_a0 *sagemaker.CreateHubInput) (*sagemaker.CreateHubOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateHub") + } + var r0 *sagemaker.CreateHubOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateHubInput) (*sagemaker.CreateHubOutput, error)); ok { @@ -2134,6 +2624,10 @@ func (_m *SageMakerAPI) CreateHub(_a0 *sagemaker.CreateHubInput) (*sagemaker.Cre func (_m *SageMakerAPI) CreateHubRequest(_a0 *sagemaker.CreateHubInput) (*request.Request, *sagemaker.CreateHubOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateHubRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateHubOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateHubInput) (*request.Request, *sagemaker.CreateHubOutput)); ok { @@ -2169,6 +2663,10 @@ func (_m *SageMakerAPI) CreateHubWithContext(_a0 context.Context, _a1 *sagemaker _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateHubWithContext") + } + var r0 *sagemaker.CreateHubOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateHubInput, ...request.Option) (*sagemaker.CreateHubOutput, error)); ok { @@ -2195,6 +2693,10 @@ func (_m *SageMakerAPI) CreateHubWithContext(_a0 context.Context, _a1 *sagemaker func (_m *SageMakerAPI) CreateHumanTaskUi(_a0 *sagemaker.CreateHumanTaskUiInput) (*sagemaker.CreateHumanTaskUiOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateHumanTaskUi") + } + var r0 *sagemaker.CreateHumanTaskUiOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateHumanTaskUiInput) (*sagemaker.CreateHumanTaskUiOutput, error)); ok { @@ -2221,6 +2723,10 @@ func (_m *SageMakerAPI) CreateHumanTaskUi(_a0 *sagemaker.CreateHumanTaskUiInput) func (_m *SageMakerAPI) CreateHumanTaskUiRequest(_a0 *sagemaker.CreateHumanTaskUiInput) (*request.Request, *sagemaker.CreateHumanTaskUiOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateHumanTaskUiRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateHumanTaskUiOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateHumanTaskUiInput) (*request.Request, *sagemaker.CreateHumanTaskUiOutput)); ok { @@ -2256,6 +2762,10 @@ func (_m *SageMakerAPI) CreateHumanTaskUiWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateHumanTaskUiWithContext") + } + var r0 *sagemaker.CreateHumanTaskUiOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateHumanTaskUiInput, ...request.Option) (*sagemaker.CreateHumanTaskUiOutput, error)); ok { @@ -2282,6 +2792,10 @@ func (_m *SageMakerAPI) CreateHumanTaskUiWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) CreateHyperParameterTuningJob(_a0 *sagemaker.CreateHyperParameterTuningJobInput) (*sagemaker.CreateHyperParameterTuningJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateHyperParameterTuningJob") + } + var r0 *sagemaker.CreateHyperParameterTuningJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateHyperParameterTuningJobInput) (*sagemaker.CreateHyperParameterTuningJobOutput, error)); ok { @@ -2308,6 +2822,10 @@ func (_m *SageMakerAPI) CreateHyperParameterTuningJob(_a0 *sagemaker.CreateHyper func (_m *SageMakerAPI) CreateHyperParameterTuningJobRequest(_a0 *sagemaker.CreateHyperParameterTuningJobInput) (*request.Request, *sagemaker.CreateHyperParameterTuningJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateHyperParameterTuningJobRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateHyperParameterTuningJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateHyperParameterTuningJobInput) (*request.Request, *sagemaker.CreateHyperParameterTuningJobOutput)); ok { @@ -2343,6 +2861,10 @@ func (_m *SageMakerAPI) CreateHyperParameterTuningJobWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateHyperParameterTuningJobWithContext") + } + var r0 *sagemaker.CreateHyperParameterTuningJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateHyperParameterTuningJobInput, ...request.Option) (*sagemaker.CreateHyperParameterTuningJobOutput, error)); ok { @@ -2369,6 +2891,10 @@ func (_m *SageMakerAPI) CreateHyperParameterTuningJobWithContext(_a0 context.Con func (_m *SageMakerAPI) CreateImage(_a0 *sagemaker.CreateImageInput) (*sagemaker.CreateImageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateImage") + } + var r0 *sagemaker.CreateImageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateImageInput) (*sagemaker.CreateImageOutput, error)); ok { @@ -2395,6 +2921,10 @@ func (_m *SageMakerAPI) CreateImage(_a0 *sagemaker.CreateImageInput) (*sagemaker func (_m *SageMakerAPI) CreateImageRequest(_a0 *sagemaker.CreateImageInput) (*request.Request, *sagemaker.CreateImageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateImageRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateImageOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateImageInput) (*request.Request, *sagemaker.CreateImageOutput)); ok { @@ -2423,6 +2953,10 @@ func (_m *SageMakerAPI) CreateImageRequest(_a0 *sagemaker.CreateImageInput) (*re func (_m *SageMakerAPI) CreateImageVersion(_a0 *sagemaker.CreateImageVersionInput) (*sagemaker.CreateImageVersionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateImageVersion") + } + var r0 *sagemaker.CreateImageVersionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateImageVersionInput) (*sagemaker.CreateImageVersionOutput, error)); ok { @@ -2449,6 +2983,10 @@ func (_m *SageMakerAPI) CreateImageVersion(_a0 *sagemaker.CreateImageVersionInpu func (_m *SageMakerAPI) CreateImageVersionRequest(_a0 *sagemaker.CreateImageVersionInput) (*request.Request, *sagemaker.CreateImageVersionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateImageVersionRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateImageVersionOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateImageVersionInput) (*request.Request, *sagemaker.CreateImageVersionOutput)); ok { @@ -2484,6 +3022,10 @@ func (_m *SageMakerAPI) CreateImageVersionWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateImageVersionWithContext") + } + var r0 *sagemaker.CreateImageVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateImageVersionInput, ...request.Option) (*sagemaker.CreateImageVersionOutput, error)); ok { @@ -2517,6 +3059,10 @@ func (_m *SageMakerAPI) CreateImageWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateImageWithContext") + } + var r0 *sagemaker.CreateImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateImageInput, ...request.Option) (*sagemaker.CreateImageOutput, error)); ok { @@ -2539,10 +3085,113 @@ func (_m *SageMakerAPI) CreateImageWithContext(_a0 context.Context, _a1 *sagemak return r0, r1 } +// CreateInferenceComponent provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) CreateInferenceComponent(_a0 *sagemaker.CreateInferenceComponentInput) (*sagemaker.CreateInferenceComponentOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for CreateInferenceComponent") + } + + var r0 *sagemaker.CreateInferenceComponentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.CreateInferenceComponentInput) (*sagemaker.CreateInferenceComponentOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.CreateInferenceComponentInput) *sagemaker.CreateInferenceComponentOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.CreateInferenceComponentOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.CreateInferenceComponentInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// CreateInferenceComponentRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) CreateInferenceComponentRequest(_a0 *sagemaker.CreateInferenceComponentInput) (*request.Request, *sagemaker.CreateInferenceComponentOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for CreateInferenceComponentRequest") + } + + var r0 *request.Request + var r1 *sagemaker.CreateInferenceComponentOutput + if rf, ok := ret.Get(0).(func(*sagemaker.CreateInferenceComponentInput) (*request.Request, *sagemaker.CreateInferenceComponentOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.CreateInferenceComponentInput) *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(*sagemaker.CreateInferenceComponentInput) *sagemaker.CreateInferenceComponentOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.CreateInferenceComponentOutput) + } + } + + return r0, r1 +} + +// CreateInferenceComponentWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) CreateInferenceComponentWithContext(_a0 context.Context, _a1 *sagemaker.CreateInferenceComponentInput, _a2 ...request.Option) (*sagemaker.CreateInferenceComponentOutput, 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 CreateInferenceComponentWithContext") + } + + var r0 *sagemaker.CreateInferenceComponentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateInferenceComponentInput, ...request.Option) (*sagemaker.CreateInferenceComponentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateInferenceComponentInput, ...request.Option) *sagemaker.CreateInferenceComponentOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.CreateInferenceComponentOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.CreateInferenceComponentInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // CreateInferenceExperiment provides a mock function with given fields: _a0 func (_m *SageMakerAPI) CreateInferenceExperiment(_a0 *sagemaker.CreateInferenceExperimentInput) (*sagemaker.CreateInferenceExperimentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateInferenceExperiment") + } + var r0 *sagemaker.CreateInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateInferenceExperimentInput) (*sagemaker.CreateInferenceExperimentOutput, error)); ok { @@ -2569,6 +3218,10 @@ func (_m *SageMakerAPI) CreateInferenceExperiment(_a0 *sagemaker.CreateInference func (_m *SageMakerAPI) CreateInferenceExperimentRequest(_a0 *sagemaker.CreateInferenceExperimentInput) (*request.Request, *sagemaker.CreateInferenceExperimentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateInferenceExperimentRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateInferenceExperimentOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateInferenceExperimentInput) (*request.Request, *sagemaker.CreateInferenceExperimentOutput)); ok { @@ -2604,6 +3257,10 @@ func (_m *SageMakerAPI) CreateInferenceExperimentWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateInferenceExperimentWithContext") + } + var r0 *sagemaker.CreateInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateInferenceExperimentInput, ...request.Option) (*sagemaker.CreateInferenceExperimentOutput, error)); ok { @@ -2630,6 +3287,10 @@ func (_m *SageMakerAPI) CreateInferenceExperimentWithContext(_a0 context.Context func (_m *SageMakerAPI) CreateInferenceRecommendationsJob(_a0 *sagemaker.CreateInferenceRecommendationsJobInput) (*sagemaker.CreateInferenceRecommendationsJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateInferenceRecommendationsJob") + } + var r0 *sagemaker.CreateInferenceRecommendationsJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateInferenceRecommendationsJobInput) (*sagemaker.CreateInferenceRecommendationsJobOutput, error)); ok { @@ -2656,6 +3317,10 @@ func (_m *SageMakerAPI) CreateInferenceRecommendationsJob(_a0 *sagemaker.CreateI func (_m *SageMakerAPI) CreateInferenceRecommendationsJobRequest(_a0 *sagemaker.CreateInferenceRecommendationsJobInput) (*request.Request, *sagemaker.CreateInferenceRecommendationsJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateInferenceRecommendationsJobRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateInferenceRecommendationsJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateInferenceRecommendationsJobInput) (*request.Request, *sagemaker.CreateInferenceRecommendationsJobOutput)); ok { @@ -2691,6 +3356,10 @@ func (_m *SageMakerAPI) CreateInferenceRecommendationsJobWithContext(_a0 context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateInferenceRecommendationsJobWithContext") + } + var r0 *sagemaker.CreateInferenceRecommendationsJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateInferenceRecommendationsJobInput, ...request.Option) (*sagemaker.CreateInferenceRecommendationsJobOutput, error)); ok { @@ -2717,6 +3386,10 @@ func (_m *SageMakerAPI) CreateInferenceRecommendationsJobWithContext(_a0 context func (_m *SageMakerAPI) CreateLabelingJob(_a0 *sagemaker.CreateLabelingJobInput) (*sagemaker.CreateLabelingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateLabelingJob") + } + var r0 *sagemaker.CreateLabelingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateLabelingJobInput) (*sagemaker.CreateLabelingJobOutput, error)); ok { @@ -2743,6 +3416,10 @@ func (_m *SageMakerAPI) CreateLabelingJob(_a0 *sagemaker.CreateLabelingJobInput) func (_m *SageMakerAPI) CreateLabelingJobRequest(_a0 *sagemaker.CreateLabelingJobInput) (*request.Request, *sagemaker.CreateLabelingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateLabelingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateLabelingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateLabelingJobInput) (*request.Request, *sagemaker.CreateLabelingJobOutput)); ok { @@ -2778,6 +3455,10 @@ func (_m *SageMakerAPI) CreateLabelingJobWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateLabelingJobWithContext") + } + var r0 *sagemaker.CreateLabelingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateLabelingJobInput, ...request.Option) (*sagemaker.CreateLabelingJobOutput, error)); ok { @@ -2804,6 +3485,10 @@ func (_m *SageMakerAPI) CreateLabelingJobWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) CreateModel(_a0 *sagemaker.CreateModelInput) (*sagemaker.CreateModelOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModel") + } + var r0 *sagemaker.CreateModelOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelInput) (*sagemaker.CreateModelOutput, error)); ok { @@ -2830,6 +3515,10 @@ func (_m *SageMakerAPI) CreateModel(_a0 *sagemaker.CreateModelInput) (*sagemaker func (_m *SageMakerAPI) CreateModelBiasJobDefinition(_a0 *sagemaker.CreateModelBiasJobDefinitionInput) (*sagemaker.CreateModelBiasJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelBiasJobDefinition") + } + var r0 *sagemaker.CreateModelBiasJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelBiasJobDefinitionInput) (*sagemaker.CreateModelBiasJobDefinitionOutput, error)); ok { @@ -2856,6 +3545,10 @@ func (_m *SageMakerAPI) CreateModelBiasJobDefinition(_a0 *sagemaker.CreateModelB func (_m *SageMakerAPI) CreateModelBiasJobDefinitionRequest(_a0 *sagemaker.CreateModelBiasJobDefinitionInput) (*request.Request, *sagemaker.CreateModelBiasJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelBiasJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateModelBiasJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelBiasJobDefinitionInput) (*request.Request, *sagemaker.CreateModelBiasJobDefinitionOutput)); ok { @@ -2891,6 +3584,10 @@ func (_m *SageMakerAPI) CreateModelBiasJobDefinitionWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateModelBiasJobDefinitionWithContext") + } + var r0 *sagemaker.CreateModelBiasJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateModelBiasJobDefinitionInput, ...request.Option) (*sagemaker.CreateModelBiasJobDefinitionOutput, error)); ok { @@ -2917,6 +3614,10 @@ func (_m *SageMakerAPI) CreateModelBiasJobDefinitionWithContext(_a0 context.Cont func (_m *SageMakerAPI) CreateModelCard(_a0 *sagemaker.CreateModelCardInput) (*sagemaker.CreateModelCardOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelCard") + } + var r0 *sagemaker.CreateModelCardOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelCardInput) (*sagemaker.CreateModelCardOutput, error)); ok { @@ -2943,6 +3644,10 @@ func (_m *SageMakerAPI) CreateModelCard(_a0 *sagemaker.CreateModelCardInput) (*s func (_m *SageMakerAPI) CreateModelCardExportJob(_a0 *sagemaker.CreateModelCardExportJobInput) (*sagemaker.CreateModelCardExportJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelCardExportJob") + } + var r0 *sagemaker.CreateModelCardExportJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelCardExportJobInput) (*sagemaker.CreateModelCardExportJobOutput, error)); ok { @@ -2969,6 +3674,10 @@ func (_m *SageMakerAPI) CreateModelCardExportJob(_a0 *sagemaker.CreateModelCardE func (_m *SageMakerAPI) CreateModelCardExportJobRequest(_a0 *sagemaker.CreateModelCardExportJobInput) (*request.Request, *sagemaker.CreateModelCardExportJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelCardExportJobRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateModelCardExportJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelCardExportJobInput) (*request.Request, *sagemaker.CreateModelCardExportJobOutput)); ok { @@ -3004,6 +3713,10 @@ func (_m *SageMakerAPI) CreateModelCardExportJobWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateModelCardExportJobWithContext") + } + var r0 *sagemaker.CreateModelCardExportJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateModelCardExportJobInput, ...request.Option) (*sagemaker.CreateModelCardExportJobOutput, error)); ok { @@ -3030,6 +3743,10 @@ func (_m *SageMakerAPI) CreateModelCardExportJobWithContext(_a0 context.Context, func (_m *SageMakerAPI) CreateModelCardRequest(_a0 *sagemaker.CreateModelCardInput) (*request.Request, *sagemaker.CreateModelCardOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelCardRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateModelCardOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelCardInput) (*request.Request, *sagemaker.CreateModelCardOutput)); ok { @@ -3065,6 +3782,10 @@ func (_m *SageMakerAPI) CreateModelCardWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateModelCardWithContext") + } + var r0 *sagemaker.CreateModelCardOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateModelCardInput, ...request.Option) (*sagemaker.CreateModelCardOutput, error)); ok { @@ -3091,6 +3812,10 @@ func (_m *SageMakerAPI) CreateModelCardWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) CreateModelExplainabilityJobDefinition(_a0 *sagemaker.CreateModelExplainabilityJobDefinitionInput) (*sagemaker.CreateModelExplainabilityJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelExplainabilityJobDefinition") + } + var r0 *sagemaker.CreateModelExplainabilityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelExplainabilityJobDefinitionInput) (*sagemaker.CreateModelExplainabilityJobDefinitionOutput, error)); ok { @@ -3117,6 +3842,10 @@ func (_m *SageMakerAPI) CreateModelExplainabilityJobDefinition(_a0 *sagemaker.Cr func (_m *SageMakerAPI) CreateModelExplainabilityJobDefinitionRequest(_a0 *sagemaker.CreateModelExplainabilityJobDefinitionInput) (*request.Request, *sagemaker.CreateModelExplainabilityJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelExplainabilityJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateModelExplainabilityJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelExplainabilityJobDefinitionInput) (*request.Request, *sagemaker.CreateModelExplainabilityJobDefinitionOutput)); ok { @@ -3152,6 +3881,10 @@ func (_m *SageMakerAPI) CreateModelExplainabilityJobDefinitionWithContext(_a0 co _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateModelExplainabilityJobDefinitionWithContext") + } + var r0 *sagemaker.CreateModelExplainabilityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateModelExplainabilityJobDefinitionInput, ...request.Option) (*sagemaker.CreateModelExplainabilityJobDefinitionOutput, error)); ok { @@ -3178,6 +3911,10 @@ func (_m *SageMakerAPI) CreateModelExplainabilityJobDefinitionWithContext(_a0 co func (_m *SageMakerAPI) CreateModelPackage(_a0 *sagemaker.CreateModelPackageInput) (*sagemaker.CreateModelPackageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelPackage") + } + var r0 *sagemaker.CreateModelPackageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelPackageInput) (*sagemaker.CreateModelPackageOutput, error)); ok { @@ -3204,6 +3941,10 @@ func (_m *SageMakerAPI) CreateModelPackage(_a0 *sagemaker.CreateModelPackageInpu func (_m *SageMakerAPI) CreateModelPackageGroup(_a0 *sagemaker.CreateModelPackageGroupInput) (*sagemaker.CreateModelPackageGroupOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelPackageGroup") + } + var r0 *sagemaker.CreateModelPackageGroupOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelPackageGroupInput) (*sagemaker.CreateModelPackageGroupOutput, error)); ok { @@ -3230,6 +3971,10 @@ func (_m *SageMakerAPI) CreateModelPackageGroup(_a0 *sagemaker.CreateModelPackag func (_m *SageMakerAPI) CreateModelPackageGroupRequest(_a0 *sagemaker.CreateModelPackageGroupInput) (*request.Request, *sagemaker.CreateModelPackageGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelPackageGroupRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateModelPackageGroupOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelPackageGroupInput) (*request.Request, *sagemaker.CreateModelPackageGroupOutput)); ok { @@ -3265,6 +4010,10 @@ func (_m *SageMakerAPI) CreateModelPackageGroupWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateModelPackageGroupWithContext") + } + var r0 *sagemaker.CreateModelPackageGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateModelPackageGroupInput, ...request.Option) (*sagemaker.CreateModelPackageGroupOutput, error)); ok { @@ -3291,6 +4040,10 @@ func (_m *SageMakerAPI) CreateModelPackageGroupWithContext(_a0 context.Context, func (_m *SageMakerAPI) CreateModelPackageRequest(_a0 *sagemaker.CreateModelPackageInput) (*request.Request, *sagemaker.CreateModelPackageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelPackageRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateModelPackageOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelPackageInput) (*request.Request, *sagemaker.CreateModelPackageOutput)); ok { @@ -3326,6 +4079,10 @@ func (_m *SageMakerAPI) CreateModelPackageWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateModelPackageWithContext") + } + var r0 *sagemaker.CreateModelPackageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateModelPackageInput, ...request.Option) (*sagemaker.CreateModelPackageOutput, error)); ok { @@ -3352,6 +4109,10 @@ func (_m *SageMakerAPI) CreateModelPackageWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) CreateModelQualityJobDefinition(_a0 *sagemaker.CreateModelQualityJobDefinitionInput) (*sagemaker.CreateModelQualityJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelQualityJobDefinition") + } + var r0 *sagemaker.CreateModelQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelQualityJobDefinitionInput) (*sagemaker.CreateModelQualityJobDefinitionOutput, error)); ok { @@ -3378,6 +4139,10 @@ func (_m *SageMakerAPI) CreateModelQualityJobDefinition(_a0 *sagemaker.CreateMod func (_m *SageMakerAPI) CreateModelQualityJobDefinitionRequest(_a0 *sagemaker.CreateModelQualityJobDefinitionInput) (*request.Request, *sagemaker.CreateModelQualityJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelQualityJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateModelQualityJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelQualityJobDefinitionInput) (*request.Request, *sagemaker.CreateModelQualityJobDefinitionOutput)); ok { @@ -3413,6 +4178,10 @@ func (_m *SageMakerAPI) CreateModelQualityJobDefinitionWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateModelQualityJobDefinitionWithContext") + } + var r0 *sagemaker.CreateModelQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateModelQualityJobDefinitionInput, ...request.Option) (*sagemaker.CreateModelQualityJobDefinitionOutput, error)); ok { @@ -3439,6 +4208,10 @@ func (_m *SageMakerAPI) CreateModelQualityJobDefinitionWithContext(_a0 context.C func (_m *SageMakerAPI) CreateModelRequest(_a0 *sagemaker.CreateModelInput) (*request.Request, *sagemaker.CreateModelOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateModelRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateModelOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateModelInput) (*request.Request, *sagemaker.CreateModelOutput)); ok { @@ -3474,6 +4247,10 @@ func (_m *SageMakerAPI) CreateModelWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateModelWithContext") + } + var r0 *sagemaker.CreateModelOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateModelInput, ...request.Option) (*sagemaker.CreateModelOutput, error)); ok { @@ -3500,6 +4277,10 @@ func (_m *SageMakerAPI) CreateModelWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) CreateMonitoringSchedule(_a0 *sagemaker.CreateMonitoringScheduleInput) (*sagemaker.CreateMonitoringScheduleOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateMonitoringSchedule") + } + var r0 *sagemaker.CreateMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateMonitoringScheduleInput) (*sagemaker.CreateMonitoringScheduleOutput, error)); ok { @@ -3526,6 +4307,10 @@ func (_m *SageMakerAPI) CreateMonitoringSchedule(_a0 *sagemaker.CreateMonitoring func (_m *SageMakerAPI) CreateMonitoringScheduleRequest(_a0 *sagemaker.CreateMonitoringScheduleInput) (*request.Request, *sagemaker.CreateMonitoringScheduleOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateMonitoringScheduleRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateMonitoringScheduleOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateMonitoringScheduleInput) (*request.Request, *sagemaker.CreateMonitoringScheduleOutput)); ok { @@ -3561,6 +4346,10 @@ func (_m *SageMakerAPI) CreateMonitoringScheduleWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateMonitoringScheduleWithContext") + } + var r0 *sagemaker.CreateMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateMonitoringScheduleInput, ...request.Option) (*sagemaker.CreateMonitoringScheduleOutput, error)); ok { @@ -3587,6 +4376,10 @@ func (_m *SageMakerAPI) CreateMonitoringScheduleWithContext(_a0 context.Context, func (_m *SageMakerAPI) CreateNotebookInstance(_a0 *sagemaker.CreateNotebookInstanceInput) (*sagemaker.CreateNotebookInstanceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateNotebookInstance") + } + var r0 *sagemaker.CreateNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateNotebookInstanceInput) (*sagemaker.CreateNotebookInstanceOutput, error)); ok { @@ -3613,6 +4406,10 @@ func (_m *SageMakerAPI) CreateNotebookInstance(_a0 *sagemaker.CreateNotebookInst func (_m *SageMakerAPI) CreateNotebookInstanceLifecycleConfig(_a0 *sagemaker.CreateNotebookInstanceLifecycleConfigInput) (*sagemaker.CreateNotebookInstanceLifecycleConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateNotebookInstanceLifecycleConfig") + } + var r0 *sagemaker.CreateNotebookInstanceLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateNotebookInstanceLifecycleConfigInput) (*sagemaker.CreateNotebookInstanceLifecycleConfigOutput, error)); ok { @@ -3639,6 +4436,10 @@ func (_m *SageMakerAPI) CreateNotebookInstanceLifecycleConfig(_a0 *sagemaker.Cre func (_m *SageMakerAPI) CreateNotebookInstanceLifecycleConfigRequest(_a0 *sagemaker.CreateNotebookInstanceLifecycleConfigInput) (*request.Request, *sagemaker.CreateNotebookInstanceLifecycleConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateNotebookInstanceLifecycleConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateNotebookInstanceLifecycleConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateNotebookInstanceLifecycleConfigInput) (*request.Request, *sagemaker.CreateNotebookInstanceLifecycleConfigOutput)); ok { @@ -3674,6 +4475,10 @@ func (_m *SageMakerAPI) CreateNotebookInstanceLifecycleConfigWithContext(_a0 con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateNotebookInstanceLifecycleConfigWithContext") + } + var r0 *sagemaker.CreateNotebookInstanceLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateNotebookInstanceLifecycleConfigInput, ...request.Option) (*sagemaker.CreateNotebookInstanceLifecycleConfigOutput, error)); ok { @@ -3700,6 +4505,10 @@ func (_m *SageMakerAPI) CreateNotebookInstanceLifecycleConfigWithContext(_a0 con func (_m *SageMakerAPI) CreateNotebookInstanceRequest(_a0 *sagemaker.CreateNotebookInstanceInput) (*request.Request, *sagemaker.CreateNotebookInstanceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateNotebookInstanceRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateNotebookInstanceOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateNotebookInstanceInput) (*request.Request, *sagemaker.CreateNotebookInstanceOutput)); ok { @@ -3735,6 +4544,10 @@ func (_m *SageMakerAPI) CreateNotebookInstanceWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateNotebookInstanceWithContext") + } + var r0 *sagemaker.CreateNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateNotebookInstanceInput, ...request.Option) (*sagemaker.CreateNotebookInstanceOutput, error)); ok { @@ -3761,6 +4574,10 @@ func (_m *SageMakerAPI) CreateNotebookInstanceWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) CreatePipeline(_a0 *sagemaker.CreatePipelineInput) (*sagemaker.CreatePipelineOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreatePipeline") + } + var r0 *sagemaker.CreatePipelineOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreatePipelineInput) (*sagemaker.CreatePipelineOutput, error)); ok { @@ -3787,6 +4604,10 @@ func (_m *SageMakerAPI) CreatePipeline(_a0 *sagemaker.CreatePipelineInput) (*sag func (_m *SageMakerAPI) CreatePipelineRequest(_a0 *sagemaker.CreatePipelineInput) (*request.Request, *sagemaker.CreatePipelineOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreatePipelineRequest") + } + var r0 *request.Request var r1 *sagemaker.CreatePipelineOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreatePipelineInput) (*request.Request, *sagemaker.CreatePipelineOutput)); ok { @@ -3822,6 +4643,10 @@ func (_m *SageMakerAPI) CreatePipelineWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreatePipelineWithContext") + } + var r0 *sagemaker.CreatePipelineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreatePipelineInput, ...request.Option) (*sagemaker.CreatePipelineOutput, error)); ok { @@ -3848,6 +4673,10 @@ func (_m *SageMakerAPI) CreatePipelineWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) CreatePresignedDomainUrl(_a0 *sagemaker.CreatePresignedDomainUrlInput) (*sagemaker.CreatePresignedDomainUrlOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreatePresignedDomainUrl") + } + var r0 *sagemaker.CreatePresignedDomainUrlOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreatePresignedDomainUrlInput) (*sagemaker.CreatePresignedDomainUrlOutput, error)); ok { @@ -3874,6 +4703,10 @@ func (_m *SageMakerAPI) CreatePresignedDomainUrl(_a0 *sagemaker.CreatePresignedD func (_m *SageMakerAPI) CreatePresignedDomainUrlRequest(_a0 *sagemaker.CreatePresignedDomainUrlInput) (*request.Request, *sagemaker.CreatePresignedDomainUrlOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreatePresignedDomainUrlRequest") + } + var r0 *request.Request var r1 *sagemaker.CreatePresignedDomainUrlOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreatePresignedDomainUrlInput) (*request.Request, *sagemaker.CreatePresignedDomainUrlOutput)); ok { @@ -3909,6 +4742,10 @@ func (_m *SageMakerAPI) CreatePresignedDomainUrlWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreatePresignedDomainUrlWithContext") + } + var r0 *sagemaker.CreatePresignedDomainUrlOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreatePresignedDomainUrlInput, ...request.Option) (*sagemaker.CreatePresignedDomainUrlOutput, error)); ok { @@ -3935,6 +4772,10 @@ func (_m *SageMakerAPI) CreatePresignedDomainUrlWithContext(_a0 context.Context, func (_m *SageMakerAPI) CreatePresignedNotebookInstanceUrl(_a0 *sagemaker.CreatePresignedNotebookInstanceUrlInput) (*sagemaker.CreatePresignedNotebookInstanceUrlOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreatePresignedNotebookInstanceUrl") + } + var r0 *sagemaker.CreatePresignedNotebookInstanceUrlOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreatePresignedNotebookInstanceUrlInput) (*sagemaker.CreatePresignedNotebookInstanceUrlOutput, error)); ok { @@ -3961,6 +4802,10 @@ func (_m *SageMakerAPI) CreatePresignedNotebookInstanceUrl(_a0 *sagemaker.Create func (_m *SageMakerAPI) CreatePresignedNotebookInstanceUrlRequest(_a0 *sagemaker.CreatePresignedNotebookInstanceUrlInput) (*request.Request, *sagemaker.CreatePresignedNotebookInstanceUrlOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreatePresignedNotebookInstanceUrlRequest") + } + var r0 *request.Request var r1 *sagemaker.CreatePresignedNotebookInstanceUrlOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreatePresignedNotebookInstanceUrlInput) (*request.Request, *sagemaker.CreatePresignedNotebookInstanceUrlOutput)); ok { @@ -3996,6 +4841,10 @@ func (_m *SageMakerAPI) CreatePresignedNotebookInstanceUrlWithContext(_a0 contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreatePresignedNotebookInstanceUrlWithContext") + } + var r0 *sagemaker.CreatePresignedNotebookInstanceUrlOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreatePresignedNotebookInstanceUrlInput, ...request.Option) (*sagemaker.CreatePresignedNotebookInstanceUrlOutput, error)); ok { @@ -4022,6 +4871,10 @@ func (_m *SageMakerAPI) CreatePresignedNotebookInstanceUrlWithContext(_a0 contex func (_m *SageMakerAPI) CreateProcessingJob(_a0 *sagemaker.CreateProcessingJobInput) (*sagemaker.CreateProcessingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateProcessingJob") + } + var r0 *sagemaker.CreateProcessingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateProcessingJobInput) (*sagemaker.CreateProcessingJobOutput, error)); ok { @@ -4048,6 +4901,10 @@ func (_m *SageMakerAPI) CreateProcessingJob(_a0 *sagemaker.CreateProcessingJobIn func (_m *SageMakerAPI) CreateProcessingJobRequest(_a0 *sagemaker.CreateProcessingJobInput) (*request.Request, *sagemaker.CreateProcessingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateProcessingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateProcessingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateProcessingJobInput) (*request.Request, *sagemaker.CreateProcessingJobOutput)); ok { @@ -4083,6 +4940,10 @@ func (_m *SageMakerAPI) CreateProcessingJobWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateProcessingJobWithContext") + } + var r0 *sagemaker.CreateProcessingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateProcessingJobInput, ...request.Option) (*sagemaker.CreateProcessingJobOutput, error)); ok { @@ -4109,6 +4970,10 @@ func (_m *SageMakerAPI) CreateProcessingJobWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) CreateProject(_a0 *sagemaker.CreateProjectInput) (*sagemaker.CreateProjectOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateProject") + } + var r0 *sagemaker.CreateProjectOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateProjectInput) (*sagemaker.CreateProjectOutput, error)); ok { @@ -4135,6 +5000,10 @@ func (_m *SageMakerAPI) CreateProject(_a0 *sagemaker.CreateProjectInput) (*sagem func (_m *SageMakerAPI) CreateProjectRequest(_a0 *sagemaker.CreateProjectInput) (*request.Request, *sagemaker.CreateProjectOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateProjectRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateProjectOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateProjectInput) (*request.Request, *sagemaker.CreateProjectOutput)); ok { @@ -4170,6 +5039,10 @@ func (_m *SageMakerAPI) CreateProjectWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateProjectWithContext") + } + var r0 *sagemaker.CreateProjectOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateProjectInput, ...request.Option) (*sagemaker.CreateProjectOutput, error)); ok { @@ -4196,6 +5069,10 @@ func (_m *SageMakerAPI) CreateProjectWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) CreateSpace(_a0 *sagemaker.CreateSpaceInput) (*sagemaker.CreateSpaceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateSpace") + } + var r0 *sagemaker.CreateSpaceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateSpaceInput) (*sagemaker.CreateSpaceOutput, error)); ok { @@ -4222,6 +5099,10 @@ func (_m *SageMakerAPI) CreateSpace(_a0 *sagemaker.CreateSpaceInput) (*sagemaker func (_m *SageMakerAPI) CreateSpaceRequest(_a0 *sagemaker.CreateSpaceInput) (*request.Request, *sagemaker.CreateSpaceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateSpaceRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateSpaceOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateSpaceInput) (*request.Request, *sagemaker.CreateSpaceOutput)); ok { @@ -4257,6 +5138,10 @@ func (_m *SageMakerAPI) CreateSpaceWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateSpaceWithContext") + } + var r0 *sagemaker.CreateSpaceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateSpaceInput, ...request.Option) (*sagemaker.CreateSpaceOutput, error)); ok { @@ -4283,6 +5168,10 @@ func (_m *SageMakerAPI) CreateSpaceWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) CreateStudioLifecycleConfig(_a0 *sagemaker.CreateStudioLifecycleConfigInput) (*sagemaker.CreateStudioLifecycleConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateStudioLifecycleConfig") + } + var r0 *sagemaker.CreateStudioLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateStudioLifecycleConfigInput) (*sagemaker.CreateStudioLifecycleConfigOutput, error)); ok { @@ -4309,6 +5198,10 @@ func (_m *SageMakerAPI) CreateStudioLifecycleConfig(_a0 *sagemaker.CreateStudioL func (_m *SageMakerAPI) CreateStudioLifecycleConfigRequest(_a0 *sagemaker.CreateStudioLifecycleConfigInput) (*request.Request, *sagemaker.CreateStudioLifecycleConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateStudioLifecycleConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateStudioLifecycleConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateStudioLifecycleConfigInput) (*request.Request, *sagemaker.CreateStudioLifecycleConfigOutput)); ok { @@ -4344,6 +5237,10 @@ func (_m *SageMakerAPI) CreateStudioLifecycleConfigWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateStudioLifecycleConfigWithContext") + } + var r0 *sagemaker.CreateStudioLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateStudioLifecycleConfigInput, ...request.Option) (*sagemaker.CreateStudioLifecycleConfigOutput, error)); ok { @@ -4370,6 +5267,10 @@ func (_m *SageMakerAPI) CreateStudioLifecycleConfigWithContext(_a0 context.Conte func (_m *SageMakerAPI) CreateTrainingJob(_a0 *sagemaker.CreateTrainingJobInput) (*sagemaker.CreateTrainingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateTrainingJob") + } + var r0 *sagemaker.CreateTrainingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateTrainingJobInput) (*sagemaker.CreateTrainingJobOutput, error)); ok { @@ -4396,6 +5297,10 @@ func (_m *SageMakerAPI) CreateTrainingJob(_a0 *sagemaker.CreateTrainingJobInput) func (_m *SageMakerAPI) CreateTrainingJobRequest(_a0 *sagemaker.CreateTrainingJobInput) (*request.Request, *sagemaker.CreateTrainingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateTrainingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateTrainingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateTrainingJobInput) (*request.Request, *sagemaker.CreateTrainingJobOutput)); ok { @@ -4431,6 +5336,10 @@ func (_m *SageMakerAPI) CreateTrainingJobWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTrainingJobWithContext") + } + var r0 *sagemaker.CreateTrainingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateTrainingJobInput, ...request.Option) (*sagemaker.CreateTrainingJobOutput, error)); ok { @@ -4457,6 +5366,10 @@ func (_m *SageMakerAPI) CreateTrainingJobWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) CreateTransformJob(_a0 *sagemaker.CreateTransformJobInput) (*sagemaker.CreateTransformJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateTransformJob") + } + var r0 *sagemaker.CreateTransformJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateTransformJobInput) (*sagemaker.CreateTransformJobOutput, error)); ok { @@ -4483,6 +5396,10 @@ func (_m *SageMakerAPI) CreateTransformJob(_a0 *sagemaker.CreateTransformJobInpu func (_m *SageMakerAPI) CreateTransformJobRequest(_a0 *sagemaker.CreateTransformJobInput) (*request.Request, *sagemaker.CreateTransformJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateTransformJobRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateTransformJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateTransformJobInput) (*request.Request, *sagemaker.CreateTransformJobOutput)); ok { @@ -4518,6 +5435,10 @@ func (_m *SageMakerAPI) CreateTransformJobWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTransformJobWithContext") + } + var r0 *sagemaker.CreateTransformJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateTransformJobInput, ...request.Option) (*sagemaker.CreateTransformJobOutput, error)); ok { @@ -4544,6 +5465,10 @@ func (_m *SageMakerAPI) CreateTransformJobWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) CreateTrial(_a0 *sagemaker.CreateTrialInput) (*sagemaker.CreateTrialOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateTrial") + } + var r0 *sagemaker.CreateTrialOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateTrialInput) (*sagemaker.CreateTrialOutput, error)); ok { @@ -4570,6 +5495,10 @@ func (_m *SageMakerAPI) CreateTrial(_a0 *sagemaker.CreateTrialInput) (*sagemaker func (_m *SageMakerAPI) CreateTrialComponent(_a0 *sagemaker.CreateTrialComponentInput) (*sagemaker.CreateTrialComponentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateTrialComponent") + } + var r0 *sagemaker.CreateTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateTrialComponentInput) (*sagemaker.CreateTrialComponentOutput, error)); ok { @@ -4596,6 +5525,10 @@ func (_m *SageMakerAPI) CreateTrialComponent(_a0 *sagemaker.CreateTrialComponent func (_m *SageMakerAPI) CreateTrialComponentRequest(_a0 *sagemaker.CreateTrialComponentInput) (*request.Request, *sagemaker.CreateTrialComponentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateTrialComponentRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateTrialComponentOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateTrialComponentInput) (*request.Request, *sagemaker.CreateTrialComponentOutput)); ok { @@ -4631,6 +5564,10 @@ func (_m *SageMakerAPI) CreateTrialComponentWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTrialComponentWithContext") + } + var r0 *sagemaker.CreateTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateTrialComponentInput, ...request.Option) (*sagemaker.CreateTrialComponentOutput, error)); ok { @@ -4657,6 +5594,10 @@ func (_m *SageMakerAPI) CreateTrialComponentWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) CreateTrialRequest(_a0 *sagemaker.CreateTrialInput) (*request.Request, *sagemaker.CreateTrialOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateTrialRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateTrialOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateTrialInput) (*request.Request, *sagemaker.CreateTrialOutput)); ok { @@ -4692,6 +5633,10 @@ func (_m *SageMakerAPI) CreateTrialWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateTrialWithContext") + } + var r0 *sagemaker.CreateTrialOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateTrialInput, ...request.Option) (*sagemaker.CreateTrialOutput, error)); ok { @@ -4718,6 +5663,10 @@ func (_m *SageMakerAPI) CreateTrialWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) CreateUserProfile(_a0 *sagemaker.CreateUserProfileInput) (*sagemaker.CreateUserProfileOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateUserProfile") + } + var r0 *sagemaker.CreateUserProfileOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateUserProfileInput) (*sagemaker.CreateUserProfileOutput, error)); ok { @@ -4744,6 +5693,10 @@ func (_m *SageMakerAPI) CreateUserProfile(_a0 *sagemaker.CreateUserProfileInput) func (_m *SageMakerAPI) CreateUserProfileRequest(_a0 *sagemaker.CreateUserProfileInput) (*request.Request, *sagemaker.CreateUserProfileOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateUserProfileRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateUserProfileOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateUserProfileInput) (*request.Request, *sagemaker.CreateUserProfileOutput)); ok { @@ -4779,6 +5732,10 @@ func (_m *SageMakerAPI) CreateUserProfileWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateUserProfileWithContext") + } + var r0 *sagemaker.CreateUserProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateUserProfileInput, ...request.Option) (*sagemaker.CreateUserProfileOutput, error)); ok { @@ -4805,6 +5762,10 @@ func (_m *SageMakerAPI) CreateUserProfileWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) CreateWorkforce(_a0 *sagemaker.CreateWorkforceInput) (*sagemaker.CreateWorkforceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateWorkforce") + } + var r0 *sagemaker.CreateWorkforceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateWorkforceInput) (*sagemaker.CreateWorkforceOutput, error)); ok { @@ -4831,6 +5792,10 @@ func (_m *SageMakerAPI) CreateWorkforce(_a0 *sagemaker.CreateWorkforceInput) (*s func (_m *SageMakerAPI) CreateWorkforceRequest(_a0 *sagemaker.CreateWorkforceInput) (*request.Request, *sagemaker.CreateWorkforceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateWorkforceRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateWorkforceOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateWorkforceInput) (*request.Request, *sagemaker.CreateWorkforceOutput)); ok { @@ -4866,6 +5831,10 @@ func (_m *SageMakerAPI) CreateWorkforceWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateWorkforceWithContext") + } + var r0 *sagemaker.CreateWorkforceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateWorkforceInput, ...request.Option) (*sagemaker.CreateWorkforceOutput, error)); ok { @@ -4892,6 +5861,10 @@ func (_m *SageMakerAPI) CreateWorkforceWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) CreateWorkteam(_a0 *sagemaker.CreateWorkteamInput) (*sagemaker.CreateWorkteamOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateWorkteam") + } + var r0 *sagemaker.CreateWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.CreateWorkteamInput) (*sagemaker.CreateWorkteamOutput, error)); ok { @@ -4918,6 +5891,10 @@ func (_m *SageMakerAPI) CreateWorkteam(_a0 *sagemaker.CreateWorkteamInput) (*sag func (_m *SageMakerAPI) CreateWorkteamRequest(_a0 *sagemaker.CreateWorkteamInput) (*request.Request, *sagemaker.CreateWorkteamOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for CreateWorkteamRequest") + } + var r0 *request.Request var r1 *sagemaker.CreateWorkteamOutput if rf, ok := ret.Get(0).(func(*sagemaker.CreateWorkteamInput) (*request.Request, *sagemaker.CreateWorkteamOutput)); ok { @@ -4953,6 +5930,10 @@ func (_m *SageMakerAPI) CreateWorkteamWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for CreateWorkteamWithContext") + } + var r0 *sagemaker.CreateWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.CreateWorkteamInput, ...request.Option) (*sagemaker.CreateWorkteamOutput, error)); ok { @@ -4979,6 +5960,10 @@ func (_m *SageMakerAPI) CreateWorkteamWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) DeleteAction(_a0 *sagemaker.DeleteActionInput) (*sagemaker.DeleteActionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAction") + } + var r0 *sagemaker.DeleteActionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteActionInput) (*sagemaker.DeleteActionOutput, error)); ok { @@ -5005,6 +5990,10 @@ func (_m *SageMakerAPI) DeleteAction(_a0 *sagemaker.DeleteActionInput) (*sagemak func (_m *SageMakerAPI) DeleteActionRequest(_a0 *sagemaker.DeleteActionInput) (*request.Request, *sagemaker.DeleteActionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteActionRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteActionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteActionInput) (*request.Request, *sagemaker.DeleteActionOutput)); ok { @@ -5040,6 +6029,10 @@ func (_m *SageMakerAPI) DeleteActionWithContext(_a0 context.Context, _a1 *sagema _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteActionWithContext") + } + var r0 *sagemaker.DeleteActionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteActionInput, ...request.Option) (*sagemaker.DeleteActionOutput, error)); ok { @@ -5066,6 +6059,10 @@ func (_m *SageMakerAPI) DeleteActionWithContext(_a0 context.Context, _a1 *sagema func (_m *SageMakerAPI) DeleteAlgorithm(_a0 *sagemaker.DeleteAlgorithmInput) (*sagemaker.DeleteAlgorithmOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAlgorithm") + } + var r0 *sagemaker.DeleteAlgorithmOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteAlgorithmInput) (*sagemaker.DeleteAlgorithmOutput, error)); ok { @@ -5092,6 +6089,10 @@ func (_m *SageMakerAPI) DeleteAlgorithm(_a0 *sagemaker.DeleteAlgorithmInput) (*s func (_m *SageMakerAPI) DeleteAlgorithmRequest(_a0 *sagemaker.DeleteAlgorithmInput) (*request.Request, *sagemaker.DeleteAlgorithmOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAlgorithmRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteAlgorithmOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteAlgorithmInput) (*request.Request, *sagemaker.DeleteAlgorithmOutput)); ok { @@ -5127,6 +6128,10 @@ func (_m *SageMakerAPI) DeleteAlgorithmWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAlgorithmWithContext") + } + var r0 *sagemaker.DeleteAlgorithmOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteAlgorithmInput, ...request.Option) (*sagemaker.DeleteAlgorithmOutput, error)); ok { @@ -5153,6 +6158,10 @@ func (_m *SageMakerAPI) DeleteAlgorithmWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) DeleteApp(_a0 *sagemaker.DeleteAppInput) (*sagemaker.DeleteAppOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteApp") + } + var r0 *sagemaker.DeleteAppOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteAppInput) (*sagemaker.DeleteAppOutput, error)); ok { @@ -5179,6 +6188,10 @@ func (_m *SageMakerAPI) DeleteApp(_a0 *sagemaker.DeleteAppInput) (*sagemaker.Del func (_m *SageMakerAPI) DeleteAppImageConfig(_a0 *sagemaker.DeleteAppImageConfigInput) (*sagemaker.DeleteAppImageConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAppImageConfig") + } + var r0 *sagemaker.DeleteAppImageConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteAppImageConfigInput) (*sagemaker.DeleteAppImageConfigOutput, error)); ok { @@ -5205,6 +6218,10 @@ func (_m *SageMakerAPI) DeleteAppImageConfig(_a0 *sagemaker.DeleteAppImageConfig func (_m *SageMakerAPI) DeleteAppImageConfigRequest(_a0 *sagemaker.DeleteAppImageConfigInput) (*request.Request, *sagemaker.DeleteAppImageConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAppImageConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteAppImageConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteAppImageConfigInput) (*request.Request, *sagemaker.DeleteAppImageConfigOutput)); ok { @@ -5240,6 +6257,10 @@ func (_m *SageMakerAPI) DeleteAppImageConfigWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAppImageConfigWithContext") + } + var r0 *sagemaker.DeleteAppImageConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteAppImageConfigInput, ...request.Option) (*sagemaker.DeleteAppImageConfigOutput, error)); ok { @@ -5266,6 +6287,10 @@ func (_m *SageMakerAPI) DeleteAppImageConfigWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DeleteAppRequest(_a0 *sagemaker.DeleteAppInput) (*request.Request, *sagemaker.DeleteAppOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAppRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteAppOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteAppInput) (*request.Request, *sagemaker.DeleteAppOutput)); ok { @@ -5301,6 +6326,10 @@ func (_m *SageMakerAPI) DeleteAppWithContext(_a0 context.Context, _a1 *sagemaker _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAppWithContext") + } + var r0 *sagemaker.DeleteAppOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteAppInput, ...request.Option) (*sagemaker.DeleteAppOutput, error)); ok { @@ -5327,6 +6356,10 @@ func (_m *SageMakerAPI) DeleteAppWithContext(_a0 context.Context, _a1 *sagemaker func (_m *SageMakerAPI) DeleteArtifact(_a0 *sagemaker.DeleteArtifactInput) (*sagemaker.DeleteArtifactOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteArtifact") + } + var r0 *sagemaker.DeleteArtifactOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteArtifactInput) (*sagemaker.DeleteArtifactOutput, error)); ok { @@ -5353,6 +6386,10 @@ func (_m *SageMakerAPI) DeleteArtifact(_a0 *sagemaker.DeleteArtifactInput) (*sag func (_m *SageMakerAPI) DeleteArtifactRequest(_a0 *sagemaker.DeleteArtifactInput) (*request.Request, *sagemaker.DeleteArtifactOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteArtifactRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteArtifactOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteArtifactInput) (*request.Request, *sagemaker.DeleteArtifactOutput)); ok { @@ -5388,6 +6425,10 @@ func (_m *SageMakerAPI) DeleteArtifactWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteArtifactWithContext") + } + var r0 *sagemaker.DeleteArtifactOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteArtifactInput, ...request.Option) (*sagemaker.DeleteArtifactOutput, error)); ok { @@ -5414,6 +6455,10 @@ func (_m *SageMakerAPI) DeleteArtifactWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) DeleteAssociation(_a0 *sagemaker.DeleteAssociationInput) (*sagemaker.DeleteAssociationOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAssociation") + } + var r0 *sagemaker.DeleteAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteAssociationInput) (*sagemaker.DeleteAssociationOutput, error)); ok { @@ -5440,6 +6485,10 @@ func (_m *SageMakerAPI) DeleteAssociation(_a0 *sagemaker.DeleteAssociationInput) func (_m *SageMakerAPI) DeleteAssociationRequest(_a0 *sagemaker.DeleteAssociationInput) (*request.Request, *sagemaker.DeleteAssociationOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteAssociationRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteAssociationOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteAssociationInput) (*request.Request, *sagemaker.DeleteAssociationOutput)); ok { @@ -5475,6 +6524,10 @@ func (_m *SageMakerAPI) DeleteAssociationWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteAssociationWithContext") + } + var r0 *sagemaker.DeleteAssociationOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteAssociationInput, ...request.Option) (*sagemaker.DeleteAssociationOutput, error)); ok { @@ -5497,10 +6550,113 @@ func (_m *SageMakerAPI) DeleteAssociationWithContext(_a0 context.Context, _a1 *s return r0, r1 } +// DeleteCluster provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DeleteCluster(_a0 *sagemaker.DeleteClusterInput) (*sagemaker.DeleteClusterOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteCluster") + } + + var r0 *sagemaker.DeleteClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.DeleteClusterInput) (*sagemaker.DeleteClusterOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DeleteClusterInput) *sagemaker.DeleteClusterOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DeleteClusterOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.DeleteClusterInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteClusterRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DeleteClusterRequest(_a0 *sagemaker.DeleteClusterInput) (*request.Request, *sagemaker.DeleteClusterOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteClusterRequest") + } + + var r0 *request.Request + var r1 *sagemaker.DeleteClusterOutput + if rf, ok := ret.Get(0).(func(*sagemaker.DeleteClusterInput) (*request.Request, *sagemaker.DeleteClusterOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DeleteClusterInput) *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(*sagemaker.DeleteClusterInput) *sagemaker.DeleteClusterOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.DeleteClusterOutput) + } + } + + return r0, r1 +} + +// DeleteClusterWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) DeleteClusterWithContext(_a0 context.Context, _a1 *sagemaker.DeleteClusterInput, _a2 ...request.Option) (*sagemaker.DeleteClusterOutput, 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 DeleteClusterWithContext") + } + + var r0 *sagemaker.DeleteClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteClusterInput, ...request.Option) (*sagemaker.DeleteClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteClusterInput, ...request.Option) *sagemaker.DeleteClusterOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DeleteClusterOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.DeleteClusterInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteCodeRepository provides a mock function with given fields: _a0 func (_m *SageMakerAPI) DeleteCodeRepository(_a0 *sagemaker.DeleteCodeRepositoryInput) (*sagemaker.DeleteCodeRepositoryOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteCodeRepository") + } + var r0 *sagemaker.DeleteCodeRepositoryOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteCodeRepositoryInput) (*sagemaker.DeleteCodeRepositoryOutput, error)); ok { @@ -5527,6 +6683,10 @@ func (_m *SageMakerAPI) DeleteCodeRepository(_a0 *sagemaker.DeleteCodeRepository func (_m *SageMakerAPI) DeleteCodeRepositoryRequest(_a0 *sagemaker.DeleteCodeRepositoryInput) (*request.Request, *sagemaker.DeleteCodeRepositoryOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteCodeRepositoryRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteCodeRepositoryOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteCodeRepositoryInput) (*request.Request, *sagemaker.DeleteCodeRepositoryOutput)); ok { @@ -5562,6 +6722,10 @@ func (_m *SageMakerAPI) DeleteCodeRepositoryWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteCodeRepositoryWithContext") + } + var r0 *sagemaker.DeleteCodeRepositoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteCodeRepositoryInput, ...request.Option) (*sagemaker.DeleteCodeRepositoryOutput, error)); ok { @@ -5588,6 +6752,10 @@ func (_m *SageMakerAPI) DeleteCodeRepositoryWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DeleteContext(_a0 *sagemaker.DeleteContextInput) (*sagemaker.DeleteContextOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteContext") + } + var r0 *sagemaker.DeleteContextOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteContextInput) (*sagemaker.DeleteContextOutput, error)); ok { @@ -5614,6 +6782,10 @@ func (_m *SageMakerAPI) DeleteContext(_a0 *sagemaker.DeleteContextInput) (*sagem func (_m *SageMakerAPI) DeleteContextRequest(_a0 *sagemaker.DeleteContextInput) (*request.Request, *sagemaker.DeleteContextOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteContextRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteContextOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteContextInput) (*request.Request, *sagemaker.DeleteContextOutput)); ok { @@ -5649,6 +6821,10 @@ func (_m *SageMakerAPI) DeleteContextWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteContextWithContext") + } + var r0 *sagemaker.DeleteContextOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteContextInput, ...request.Option) (*sagemaker.DeleteContextOutput, error)); ok { @@ -5675,6 +6851,10 @@ func (_m *SageMakerAPI) DeleteContextWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) DeleteDataQualityJobDefinition(_a0 *sagemaker.DeleteDataQualityJobDefinitionInput) (*sagemaker.DeleteDataQualityJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteDataQualityJobDefinition") + } + var r0 *sagemaker.DeleteDataQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteDataQualityJobDefinitionInput) (*sagemaker.DeleteDataQualityJobDefinitionOutput, error)); ok { @@ -5701,6 +6881,10 @@ func (_m *SageMakerAPI) DeleteDataQualityJobDefinition(_a0 *sagemaker.DeleteData func (_m *SageMakerAPI) DeleteDataQualityJobDefinitionRequest(_a0 *sagemaker.DeleteDataQualityJobDefinitionInput) (*request.Request, *sagemaker.DeleteDataQualityJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteDataQualityJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteDataQualityJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteDataQualityJobDefinitionInput) (*request.Request, *sagemaker.DeleteDataQualityJobDefinitionOutput)); ok { @@ -5736,6 +6920,10 @@ func (_m *SageMakerAPI) DeleteDataQualityJobDefinitionWithContext(_a0 context.Co _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDataQualityJobDefinitionWithContext") + } + var r0 *sagemaker.DeleteDataQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteDataQualityJobDefinitionInput, ...request.Option) (*sagemaker.DeleteDataQualityJobDefinitionOutput, error)); ok { @@ -5762,6 +6950,10 @@ func (_m *SageMakerAPI) DeleteDataQualityJobDefinitionWithContext(_a0 context.Co func (_m *SageMakerAPI) DeleteDeviceFleet(_a0 *sagemaker.DeleteDeviceFleetInput) (*sagemaker.DeleteDeviceFleetOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteDeviceFleet") + } + var r0 *sagemaker.DeleteDeviceFleetOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteDeviceFleetInput) (*sagemaker.DeleteDeviceFleetOutput, error)); ok { @@ -5788,6 +6980,10 @@ func (_m *SageMakerAPI) DeleteDeviceFleet(_a0 *sagemaker.DeleteDeviceFleetInput) func (_m *SageMakerAPI) DeleteDeviceFleetRequest(_a0 *sagemaker.DeleteDeviceFleetInput) (*request.Request, *sagemaker.DeleteDeviceFleetOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteDeviceFleetRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteDeviceFleetOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteDeviceFleetInput) (*request.Request, *sagemaker.DeleteDeviceFleetOutput)); ok { @@ -5823,6 +7019,10 @@ func (_m *SageMakerAPI) DeleteDeviceFleetWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDeviceFleetWithContext") + } + var r0 *sagemaker.DeleteDeviceFleetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteDeviceFleetInput, ...request.Option) (*sagemaker.DeleteDeviceFleetOutput, error)); ok { @@ -5849,6 +7049,10 @@ func (_m *SageMakerAPI) DeleteDeviceFleetWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) DeleteDomain(_a0 *sagemaker.DeleteDomainInput) (*sagemaker.DeleteDomainOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteDomain") + } + var r0 *sagemaker.DeleteDomainOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteDomainInput) (*sagemaker.DeleteDomainOutput, error)); ok { @@ -5875,6 +7079,10 @@ func (_m *SageMakerAPI) DeleteDomain(_a0 *sagemaker.DeleteDomainInput) (*sagemak func (_m *SageMakerAPI) DeleteDomainRequest(_a0 *sagemaker.DeleteDomainInput) (*request.Request, *sagemaker.DeleteDomainOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteDomainRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteDomainOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteDomainInput) (*request.Request, *sagemaker.DeleteDomainOutput)); ok { @@ -5910,6 +7118,10 @@ func (_m *SageMakerAPI) DeleteDomainWithContext(_a0 context.Context, _a1 *sagema _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteDomainWithContext") + } + var r0 *sagemaker.DeleteDomainOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteDomainInput, ...request.Option) (*sagemaker.DeleteDomainOutput, error)); ok { @@ -5936,6 +7148,10 @@ func (_m *SageMakerAPI) DeleteDomainWithContext(_a0 context.Context, _a1 *sagema func (_m *SageMakerAPI) DeleteEdgeDeploymentPlan(_a0 *sagemaker.DeleteEdgeDeploymentPlanInput) (*sagemaker.DeleteEdgeDeploymentPlanOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteEdgeDeploymentPlan") + } + var r0 *sagemaker.DeleteEdgeDeploymentPlanOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteEdgeDeploymentPlanInput) (*sagemaker.DeleteEdgeDeploymentPlanOutput, error)); ok { @@ -5962,6 +7178,10 @@ func (_m *SageMakerAPI) DeleteEdgeDeploymentPlan(_a0 *sagemaker.DeleteEdgeDeploy func (_m *SageMakerAPI) DeleteEdgeDeploymentPlanRequest(_a0 *sagemaker.DeleteEdgeDeploymentPlanInput) (*request.Request, *sagemaker.DeleteEdgeDeploymentPlanOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteEdgeDeploymentPlanRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteEdgeDeploymentPlanOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteEdgeDeploymentPlanInput) (*request.Request, *sagemaker.DeleteEdgeDeploymentPlanOutput)); ok { @@ -5997,6 +7217,10 @@ func (_m *SageMakerAPI) DeleteEdgeDeploymentPlanWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteEdgeDeploymentPlanWithContext") + } + var r0 *sagemaker.DeleteEdgeDeploymentPlanOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteEdgeDeploymentPlanInput, ...request.Option) (*sagemaker.DeleteEdgeDeploymentPlanOutput, error)); ok { @@ -6023,6 +7247,10 @@ func (_m *SageMakerAPI) DeleteEdgeDeploymentPlanWithContext(_a0 context.Context, func (_m *SageMakerAPI) DeleteEdgeDeploymentStage(_a0 *sagemaker.DeleteEdgeDeploymentStageInput) (*sagemaker.DeleteEdgeDeploymentStageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteEdgeDeploymentStage") + } + var r0 *sagemaker.DeleteEdgeDeploymentStageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteEdgeDeploymentStageInput) (*sagemaker.DeleteEdgeDeploymentStageOutput, error)); ok { @@ -6049,6 +7277,10 @@ func (_m *SageMakerAPI) DeleteEdgeDeploymentStage(_a0 *sagemaker.DeleteEdgeDeplo func (_m *SageMakerAPI) DeleteEdgeDeploymentStageRequest(_a0 *sagemaker.DeleteEdgeDeploymentStageInput) (*request.Request, *sagemaker.DeleteEdgeDeploymentStageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteEdgeDeploymentStageRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteEdgeDeploymentStageOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteEdgeDeploymentStageInput) (*request.Request, *sagemaker.DeleteEdgeDeploymentStageOutput)); ok { @@ -6084,6 +7316,10 @@ func (_m *SageMakerAPI) DeleteEdgeDeploymentStageWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteEdgeDeploymentStageWithContext") + } + var r0 *sagemaker.DeleteEdgeDeploymentStageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteEdgeDeploymentStageInput, ...request.Option) (*sagemaker.DeleteEdgeDeploymentStageOutput, error)); ok { @@ -6110,6 +7346,10 @@ func (_m *SageMakerAPI) DeleteEdgeDeploymentStageWithContext(_a0 context.Context func (_m *SageMakerAPI) DeleteEndpoint(_a0 *sagemaker.DeleteEndpointInput) (*sagemaker.DeleteEndpointOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteEndpoint") + } + var r0 *sagemaker.DeleteEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteEndpointInput) (*sagemaker.DeleteEndpointOutput, error)); ok { @@ -6136,6 +7376,10 @@ func (_m *SageMakerAPI) DeleteEndpoint(_a0 *sagemaker.DeleteEndpointInput) (*sag func (_m *SageMakerAPI) DeleteEndpointConfig(_a0 *sagemaker.DeleteEndpointConfigInput) (*sagemaker.DeleteEndpointConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteEndpointConfig") + } + var r0 *sagemaker.DeleteEndpointConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteEndpointConfigInput) (*sagemaker.DeleteEndpointConfigOutput, error)); ok { @@ -6162,6 +7406,10 @@ func (_m *SageMakerAPI) DeleteEndpointConfig(_a0 *sagemaker.DeleteEndpointConfig func (_m *SageMakerAPI) DeleteEndpointConfigRequest(_a0 *sagemaker.DeleteEndpointConfigInput) (*request.Request, *sagemaker.DeleteEndpointConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteEndpointConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteEndpointConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteEndpointConfigInput) (*request.Request, *sagemaker.DeleteEndpointConfigOutput)); ok { @@ -6197,6 +7445,10 @@ func (_m *SageMakerAPI) DeleteEndpointConfigWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteEndpointConfigWithContext") + } + var r0 *sagemaker.DeleteEndpointConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteEndpointConfigInput, ...request.Option) (*sagemaker.DeleteEndpointConfigOutput, error)); ok { @@ -6223,6 +7475,10 @@ func (_m *SageMakerAPI) DeleteEndpointConfigWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DeleteEndpointRequest(_a0 *sagemaker.DeleteEndpointInput) (*request.Request, *sagemaker.DeleteEndpointOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteEndpointRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteEndpointOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteEndpointInput) (*request.Request, *sagemaker.DeleteEndpointOutput)); ok { @@ -6258,6 +7514,10 @@ func (_m *SageMakerAPI) DeleteEndpointWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteEndpointWithContext") + } + var r0 *sagemaker.DeleteEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteEndpointInput, ...request.Option) (*sagemaker.DeleteEndpointOutput, error)); ok { @@ -6284,6 +7544,10 @@ func (_m *SageMakerAPI) DeleteEndpointWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) DeleteExperiment(_a0 *sagemaker.DeleteExperimentInput) (*sagemaker.DeleteExperimentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteExperiment") + } + var r0 *sagemaker.DeleteExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteExperimentInput) (*sagemaker.DeleteExperimentOutput, error)); ok { @@ -6310,6 +7574,10 @@ func (_m *SageMakerAPI) DeleteExperiment(_a0 *sagemaker.DeleteExperimentInput) ( func (_m *SageMakerAPI) DeleteExperimentRequest(_a0 *sagemaker.DeleteExperimentInput) (*request.Request, *sagemaker.DeleteExperimentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteExperimentRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteExperimentOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteExperimentInput) (*request.Request, *sagemaker.DeleteExperimentOutput)); ok { @@ -6345,6 +7613,10 @@ func (_m *SageMakerAPI) DeleteExperimentWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteExperimentWithContext") + } + var r0 *sagemaker.DeleteExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteExperimentInput, ...request.Option) (*sagemaker.DeleteExperimentOutput, error)); ok { @@ -6371,6 +7643,10 @@ func (_m *SageMakerAPI) DeleteExperimentWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) DeleteFeatureGroup(_a0 *sagemaker.DeleteFeatureGroupInput) (*sagemaker.DeleteFeatureGroupOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFeatureGroup") + } + var r0 *sagemaker.DeleteFeatureGroupOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteFeatureGroupInput) (*sagemaker.DeleteFeatureGroupOutput, error)); ok { @@ -6397,6 +7673,10 @@ func (_m *SageMakerAPI) DeleteFeatureGroup(_a0 *sagemaker.DeleteFeatureGroupInpu func (_m *SageMakerAPI) DeleteFeatureGroupRequest(_a0 *sagemaker.DeleteFeatureGroupInput) (*request.Request, *sagemaker.DeleteFeatureGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFeatureGroupRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteFeatureGroupOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteFeatureGroupInput) (*request.Request, *sagemaker.DeleteFeatureGroupOutput)); ok { @@ -6432,6 +7712,10 @@ func (_m *SageMakerAPI) DeleteFeatureGroupWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFeatureGroupWithContext") + } + var r0 *sagemaker.DeleteFeatureGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteFeatureGroupInput, ...request.Option) (*sagemaker.DeleteFeatureGroupOutput, error)); ok { @@ -6458,6 +7742,10 @@ func (_m *SageMakerAPI) DeleteFeatureGroupWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) DeleteFlowDefinition(_a0 *sagemaker.DeleteFlowDefinitionInput) (*sagemaker.DeleteFlowDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFlowDefinition") + } + var r0 *sagemaker.DeleteFlowDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteFlowDefinitionInput) (*sagemaker.DeleteFlowDefinitionOutput, error)); ok { @@ -6484,6 +7772,10 @@ func (_m *SageMakerAPI) DeleteFlowDefinition(_a0 *sagemaker.DeleteFlowDefinition func (_m *SageMakerAPI) DeleteFlowDefinitionRequest(_a0 *sagemaker.DeleteFlowDefinitionInput) (*request.Request, *sagemaker.DeleteFlowDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteFlowDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteFlowDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteFlowDefinitionInput) (*request.Request, *sagemaker.DeleteFlowDefinitionOutput)); ok { @@ -6519,6 +7811,10 @@ func (_m *SageMakerAPI) DeleteFlowDefinitionWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteFlowDefinitionWithContext") + } + var r0 *sagemaker.DeleteFlowDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteFlowDefinitionInput, ...request.Option) (*sagemaker.DeleteFlowDefinitionOutput, error)); ok { @@ -6545,6 +7841,10 @@ func (_m *SageMakerAPI) DeleteFlowDefinitionWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DeleteHub(_a0 *sagemaker.DeleteHubInput) (*sagemaker.DeleteHubOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteHub") + } + var r0 *sagemaker.DeleteHubOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteHubInput) (*sagemaker.DeleteHubOutput, error)); ok { @@ -6571,6 +7871,10 @@ func (_m *SageMakerAPI) DeleteHub(_a0 *sagemaker.DeleteHubInput) (*sagemaker.Del func (_m *SageMakerAPI) DeleteHubContent(_a0 *sagemaker.DeleteHubContentInput) (*sagemaker.DeleteHubContentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteHubContent") + } + var r0 *sagemaker.DeleteHubContentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteHubContentInput) (*sagemaker.DeleteHubContentOutput, error)); ok { @@ -6597,6 +7901,10 @@ func (_m *SageMakerAPI) DeleteHubContent(_a0 *sagemaker.DeleteHubContentInput) ( func (_m *SageMakerAPI) DeleteHubContentRequest(_a0 *sagemaker.DeleteHubContentInput) (*request.Request, *sagemaker.DeleteHubContentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteHubContentRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteHubContentOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteHubContentInput) (*request.Request, *sagemaker.DeleteHubContentOutput)); ok { @@ -6632,6 +7940,10 @@ func (_m *SageMakerAPI) DeleteHubContentWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteHubContentWithContext") + } + var r0 *sagemaker.DeleteHubContentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteHubContentInput, ...request.Option) (*sagemaker.DeleteHubContentOutput, error)); ok { @@ -6658,6 +7970,10 @@ func (_m *SageMakerAPI) DeleteHubContentWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) DeleteHubRequest(_a0 *sagemaker.DeleteHubInput) (*request.Request, *sagemaker.DeleteHubOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteHubRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteHubOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteHubInput) (*request.Request, *sagemaker.DeleteHubOutput)); ok { @@ -6693,6 +8009,10 @@ func (_m *SageMakerAPI) DeleteHubWithContext(_a0 context.Context, _a1 *sagemaker _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteHubWithContext") + } + var r0 *sagemaker.DeleteHubOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteHubInput, ...request.Option) (*sagemaker.DeleteHubOutput, error)); ok { @@ -6719,6 +8039,10 @@ func (_m *SageMakerAPI) DeleteHubWithContext(_a0 context.Context, _a1 *sagemaker func (_m *SageMakerAPI) DeleteHumanTaskUi(_a0 *sagemaker.DeleteHumanTaskUiInput) (*sagemaker.DeleteHumanTaskUiOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteHumanTaskUi") + } + var r0 *sagemaker.DeleteHumanTaskUiOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteHumanTaskUiInput) (*sagemaker.DeleteHumanTaskUiOutput, error)); ok { @@ -6745,6 +8069,10 @@ func (_m *SageMakerAPI) DeleteHumanTaskUi(_a0 *sagemaker.DeleteHumanTaskUiInput) func (_m *SageMakerAPI) DeleteHumanTaskUiRequest(_a0 *sagemaker.DeleteHumanTaskUiInput) (*request.Request, *sagemaker.DeleteHumanTaskUiOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteHumanTaskUiRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteHumanTaskUiOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteHumanTaskUiInput) (*request.Request, *sagemaker.DeleteHumanTaskUiOutput)); ok { @@ -6780,6 +8108,10 @@ func (_m *SageMakerAPI) DeleteHumanTaskUiWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteHumanTaskUiWithContext") + } + var r0 *sagemaker.DeleteHumanTaskUiOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteHumanTaskUiInput, ...request.Option) (*sagemaker.DeleteHumanTaskUiOutput, error)); ok { @@ -6806,6 +8138,10 @@ func (_m *SageMakerAPI) DeleteHumanTaskUiWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) DeleteImage(_a0 *sagemaker.DeleteImageInput) (*sagemaker.DeleteImageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteImage") + } + var r0 *sagemaker.DeleteImageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteImageInput) (*sagemaker.DeleteImageOutput, error)); ok { @@ -6832,6 +8168,10 @@ func (_m *SageMakerAPI) DeleteImage(_a0 *sagemaker.DeleteImageInput) (*sagemaker func (_m *SageMakerAPI) DeleteImageRequest(_a0 *sagemaker.DeleteImageInput) (*request.Request, *sagemaker.DeleteImageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteImageRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteImageOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteImageInput) (*request.Request, *sagemaker.DeleteImageOutput)); ok { @@ -6860,6 +8200,10 @@ func (_m *SageMakerAPI) DeleteImageRequest(_a0 *sagemaker.DeleteImageInput) (*re func (_m *SageMakerAPI) DeleteImageVersion(_a0 *sagemaker.DeleteImageVersionInput) (*sagemaker.DeleteImageVersionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteImageVersion") + } + var r0 *sagemaker.DeleteImageVersionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteImageVersionInput) (*sagemaker.DeleteImageVersionOutput, error)); ok { @@ -6886,6 +8230,10 @@ func (_m *SageMakerAPI) DeleteImageVersion(_a0 *sagemaker.DeleteImageVersionInpu func (_m *SageMakerAPI) DeleteImageVersionRequest(_a0 *sagemaker.DeleteImageVersionInput) (*request.Request, *sagemaker.DeleteImageVersionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteImageVersionRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteImageVersionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteImageVersionInput) (*request.Request, *sagemaker.DeleteImageVersionOutput)); ok { @@ -6921,6 +8269,10 @@ func (_m *SageMakerAPI) DeleteImageVersionWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteImageVersionWithContext") + } + var r0 *sagemaker.DeleteImageVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteImageVersionInput, ...request.Option) (*sagemaker.DeleteImageVersionOutput, error)); ok { @@ -6954,6 +8306,10 @@ func (_m *SageMakerAPI) DeleteImageWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteImageWithContext") + } + var r0 *sagemaker.DeleteImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteImageInput, ...request.Option) (*sagemaker.DeleteImageOutput, error)); ok { @@ -6976,10 +8332,113 @@ func (_m *SageMakerAPI) DeleteImageWithContext(_a0 context.Context, _a1 *sagemak return r0, r1 } +// DeleteInferenceComponent provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DeleteInferenceComponent(_a0 *sagemaker.DeleteInferenceComponentInput) (*sagemaker.DeleteInferenceComponentOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteInferenceComponent") + } + + var r0 *sagemaker.DeleteInferenceComponentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.DeleteInferenceComponentInput) (*sagemaker.DeleteInferenceComponentOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DeleteInferenceComponentInput) *sagemaker.DeleteInferenceComponentOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DeleteInferenceComponentOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.DeleteInferenceComponentInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DeleteInferenceComponentRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DeleteInferenceComponentRequest(_a0 *sagemaker.DeleteInferenceComponentInput) (*request.Request, *sagemaker.DeleteInferenceComponentOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DeleteInferenceComponentRequest") + } + + var r0 *request.Request + var r1 *sagemaker.DeleteInferenceComponentOutput + if rf, ok := ret.Get(0).(func(*sagemaker.DeleteInferenceComponentInput) (*request.Request, *sagemaker.DeleteInferenceComponentOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DeleteInferenceComponentInput) *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(*sagemaker.DeleteInferenceComponentInput) *sagemaker.DeleteInferenceComponentOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.DeleteInferenceComponentOutput) + } + } + + return r0, r1 +} + +// DeleteInferenceComponentWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) DeleteInferenceComponentWithContext(_a0 context.Context, _a1 *sagemaker.DeleteInferenceComponentInput, _a2 ...request.Option) (*sagemaker.DeleteInferenceComponentOutput, 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 DeleteInferenceComponentWithContext") + } + + var r0 *sagemaker.DeleteInferenceComponentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteInferenceComponentInput, ...request.Option) (*sagemaker.DeleteInferenceComponentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteInferenceComponentInput, ...request.Option) *sagemaker.DeleteInferenceComponentOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DeleteInferenceComponentOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.DeleteInferenceComponentInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DeleteInferenceExperiment provides a mock function with given fields: _a0 func (_m *SageMakerAPI) DeleteInferenceExperiment(_a0 *sagemaker.DeleteInferenceExperimentInput) (*sagemaker.DeleteInferenceExperimentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteInferenceExperiment") + } + var r0 *sagemaker.DeleteInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteInferenceExperimentInput) (*sagemaker.DeleteInferenceExperimentOutput, error)); ok { @@ -7006,6 +8465,10 @@ func (_m *SageMakerAPI) DeleteInferenceExperiment(_a0 *sagemaker.DeleteInference func (_m *SageMakerAPI) DeleteInferenceExperimentRequest(_a0 *sagemaker.DeleteInferenceExperimentInput) (*request.Request, *sagemaker.DeleteInferenceExperimentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteInferenceExperimentRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteInferenceExperimentOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteInferenceExperimentInput) (*request.Request, *sagemaker.DeleteInferenceExperimentOutput)); ok { @@ -7041,6 +8504,10 @@ func (_m *SageMakerAPI) DeleteInferenceExperimentWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteInferenceExperimentWithContext") + } + var r0 *sagemaker.DeleteInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteInferenceExperimentInput, ...request.Option) (*sagemaker.DeleteInferenceExperimentOutput, error)); ok { @@ -7067,6 +8534,10 @@ func (_m *SageMakerAPI) DeleteInferenceExperimentWithContext(_a0 context.Context func (_m *SageMakerAPI) DeleteModel(_a0 *sagemaker.DeleteModelInput) (*sagemaker.DeleteModelOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModel") + } + var r0 *sagemaker.DeleteModelOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelInput) (*sagemaker.DeleteModelOutput, error)); ok { @@ -7093,6 +8564,10 @@ func (_m *SageMakerAPI) DeleteModel(_a0 *sagemaker.DeleteModelInput) (*sagemaker func (_m *SageMakerAPI) DeleteModelBiasJobDefinition(_a0 *sagemaker.DeleteModelBiasJobDefinitionInput) (*sagemaker.DeleteModelBiasJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelBiasJobDefinition") + } + var r0 *sagemaker.DeleteModelBiasJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelBiasJobDefinitionInput) (*sagemaker.DeleteModelBiasJobDefinitionOutput, error)); ok { @@ -7119,6 +8594,10 @@ func (_m *SageMakerAPI) DeleteModelBiasJobDefinition(_a0 *sagemaker.DeleteModelB func (_m *SageMakerAPI) DeleteModelBiasJobDefinitionRequest(_a0 *sagemaker.DeleteModelBiasJobDefinitionInput) (*request.Request, *sagemaker.DeleteModelBiasJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelBiasJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteModelBiasJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelBiasJobDefinitionInput) (*request.Request, *sagemaker.DeleteModelBiasJobDefinitionOutput)); ok { @@ -7154,6 +8633,10 @@ func (_m *SageMakerAPI) DeleteModelBiasJobDefinitionWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteModelBiasJobDefinitionWithContext") + } + var r0 *sagemaker.DeleteModelBiasJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteModelBiasJobDefinitionInput, ...request.Option) (*sagemaker.DeleteModelBiasJobDefinitionOutput, error)); ok { @@ -7180,6 +8663,10 @@ func (_m *SageMakerAPI) DeleteModelBiasJobDefinitionWithContext(_a0 context.Cont func (_m *SageMakerAPI) DeleteModelCard(_a0 *sagemaker.DeleteModelCardInput) (*sagemaker.DeleteModelCardOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelCard") + } + var r0 *sagemaker.DeleteModelCardOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelCardInput) (*sagemaker.DeleteModelCardOutput, error)); ok { @@ -7206,6 +8693,10 @@ func (_m *SageMakerAPI) DeleteModelCard(_a0 *sagemaker.DeleteModelCardInput) (*s func (_m *SageMakerAPI) DeleteModelCardRequest(_a0 *sagemaker.DeleteModelCardInput) (*request.Request, *sagemaker.DeleteModelCardOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelCardRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteModelCardOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelCardInput) (*request.Request, *sagemaker.DeleteModelCardOutput)); ok { @@ -7241,6 +8732,10 @@ func (_m *SageMakerAPI) DeleteModelCardWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteModelCardWithContext") + } + var r0 *sagemaker.DeleteModelCardOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteModelCardInput, ...request.Option) (*sagemaker.DeleteModelCardOutput, error)); ok { @@ -7267,6 +8762,10 @@ func (_m *SageMakerAPI) DeleteModelCardWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) DeleteModelExplainabilityJobDefinition(_a0 *sagemaker.DeleteModelExplainabilityJobDefinitionInput) (*sagemaker.DeleteModelExplainabilityJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelExplainabilityJobDefinition") + } + var r0 *sagemaker.DeleteModelExplainabilityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelExplainabilityJobDefinitionInput) (*sagemaker.DeleteModelExplainabilityJobDefinitionOutput, error)); ok { @@ -7293,6 +8792,10 @@ func (_m *SageMakerAPI) DeleteModelExplainabilityJobDefinition(_a0 *sagemaker.De func (_m *SageMakerAPI) DeleteModelExplainabilityJobDefinitionRequest(_a0 *sagemaker.DeleteModelExplainabilityJobDefinitionInput) (*request.Request, *sagemaker.DeleteModelExplainabilityJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelExplainabilityJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteModelExplainabilityJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelExplainabilityJobDefinitionInput) (*request.Request, *sagemaker.DeleteModelExplainabilityJobDefinitionOutput)); ok { @@ -7328,6 +8831,10 @@ func (_m *SageMakerAPI) DeleteModelExplainabilityJobDefinitionWithContext(_a0 co _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteModelExplainabilityJobDefinitionWithContext") + } + var r0 *sagemaker.DeleteModelExplainabilityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteModelExplainabilityJobDefinitionInput, ...request.Option) (*sagemaker.DeleteModelExplainabilityJobDefinitionOutput, error)); ok { @@ -7354,6 +8861,10 @@ func (_m *SageMakerAPI) DeleteModelExplainabilityJobDefinitionWithContext(_a0 co func (_m *SageMakerAPI) DeleteModelPackage(_a0 *sagemaker.DeleteModelPackageInput) (*sagemaker.DeleteModelPackageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelPackage") + } + var r0 *sagemaker.DeleteModelPackageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelPackageInput) (*sagemaker.DeleteModelPackageOutput, error)); ok { @@ -7380,6 +8891,10 @@ func (_m *SageMakerAPI) DeleteModelPackage(_a0 *sagemaker.DeleteModelPackageInpu func (_m *SageMakerAPI) DeleteModelPackageGroup(_a0 *sagemaker.DeleteModelPackageGroupInput) (*sagemaker.DeleteModelPackageGroupOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelPackageGroup") + } + var r0 *sagemaker.DeleteModelPackageGroupOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelPackageGroupInput) (*sagemaker.DeleteModelPackageGroupOutput, error)); ok { @@ -7406,6 +8921,10 @@ func (_m *SageMakerAPI) DeleteModelPackageGroup(_a0 *sagemaker.DeleteModelPackag func (_m *SageMakerAPI) DeleteModelPackageGroupPolicy(_a0 *sagemaker.DeleteModelPackageGroupPolicyInput) (*sagemaker.DeleteModelPackageGroupPolicyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelPackageGroupPolicy") + } + var r0 *sagemaker.DeleteModelPackageGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelPackageGroupPolicyInput) (*sagemaker.DeleteModelPackageGroupPolicyOutput, error)); ok { @@ -7432,6 +8951,10 @@ func (_m *SageMakerAPI) DeleteModelPackageGroupPolicy(_a0 *sagemaker.DeleteModel func (_m *SageMakerAPI) DeleteModelPackageGroupPolicyRequest(_a0 *sagemaker.DeleteModelPackageGroupPolicyInput) (*request.Request, *sagemaker.DeleteModelPackageGroupPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelPackageGroupPolicyRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteModelPackageGroupPolicyOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelPackageGroupPolicyInput) (*request.Request, *sagemaker.DeleteModelPackageGroupPolicyOutput)); ok { @@ -7467,6 +8990,10 @@ func (_m *SageMakerAPI) DeleteModelPackageGroupPolicyWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteModelPackageGroupPolicyWithContext") + } + var r0 *sagemaker.DeleteModelPackageGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteModelPackageGroupPolicyInput, ...request.Option) (*sagemaker.DeleteModelPackageGroupPolicyOutput, error)); ok { @@ -7493,6 +9020,10 @@ func (_m *SageMakerAPI) DeleteModelPackageGroupPolicyWithContext(_a0 context.Con func (_m *SageMakerAPI) DeleteModelPackageGroupRequest(_a0 *sagemaker.DeleteModelPackageGroupInput) (*request.Request, *sagemaker.DeleteModelPackageGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelPackageGroupRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteModelPackageGroupOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelPackageGroupInput) (*request.Request, *sagemaker.DeleteModelPackageGroupOutput)); ok { @@ -7528,6 +9059,10 @@ func (_m *SageMakerAPI) DeleteModelPackageGroupWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteModelPackageGroupWithContext") + } + var r0 *sagemaker.DeleteModelPackageGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteModelPackageGroupInput, ...request.Option) (*sagemaker.DeleteModelPackageGroupOutput, error)); ok { @@ -7554,6 +9089,10 @@ func (_m *SageMakerAPI) DeleteModelPackageGroupWithContext(_a0 context.Context, func (_m *SageMakerAPI) DeleteModelPackageRequest(_a0 *sagemaker.DeleteModelPackageInput) (*request.Request, *sagemaker.DeleteModelPackageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelPackageRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteModelPackageOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelPackageInput) (*request.Request, *sagemaker.DeleteModelPackageOutput)); ok { @@ -7589,6 +9128,10 @@ func (_m *SageMakerAPI) DeleteModelPackageWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteModelPackageWithContext") + } + var r0 *sagemaker.DeleteModelPackageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteModelPackageInput, ...request.Option) (*sagemaker.DeleteModelPackageOutput, error)); ok { @@ -7615,6 +9158,10 @@ func (_m *SageMakerAPI) DeleteModelPackageWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) DeleteModelQualityJobDefinition(_a0 *sagemaker.DeleteModelQualityJobDefinitionInput) (*sagemaker.DeleteModelQualityJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelQualityJobDefinition") + } + var r0 *sagemaker.DeleteModelQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelQualityJobDefinitionInput) (*sagemaker.DeleteModelQualityJobDefinitionOutput, error)); ok { @@ -7641,6 +9188,10 @@ func (_m *SageMakerAPI) DeleteModelQualityJobDefinition(_a0 *sagemaker.DeleteMod func (_m *SageMakerAPI) DeleteModelQualityJobDefinitionRequest(_a0 *sagemaker.DeleteModelQualityJobDefinitionInput) (*request.Request, *sagemaker.DeleteModelQualityJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelQualityJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteModelQualityJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelQualityJobDefinitionInput) (*request.Request, *sagemaker.DeleteModelQualityJobDefinitionOutput)); ok { @@ -7676,6 +9227,10 @@ func (_m *SageMakerAPI) DeleteModelQualityJobDefinitionWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteModelQualityJobDefinitionWithContext") + } + var r0 *sagemaker.DeleteModelQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteModelQualityJobDefinitionInput, ...request.Option) (*sagemaker.DeleteModelQualityJobDefinitionOutput, error)); ok { @@ -7702,6 +9257,10 @@ func (_m *SageMakerAPI) DeleteModelQualityJobDefinitionWithContext(_a0 context.C func (_m *SageMakerAPI) DeleteModelRequest(_a0 *sagemaker.DeleteModelInput) (*request.Request, *sagemaker.DeleteModelOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteModelRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteModelOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteModelInput) (*request.Request, *sagemaker.DeleteModelOutput)); ok { @@ -7737,6 +9296,10 @@ func (_m *SageMakerAPI) DeleteModelWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteModelWithContext") + } + var r0 *sagemaker.DeleteModelOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteModelInput, ...request.Option) (*sagemaker.DeleteModelOutput, error)); ok { @@ -7763,6 +9326,10 @@ func (_m *SageMakerAPI) DeleteModelWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) DeleteMonitoringSchedule(_a0 *sagemaker.DeleteMonitoringScheduleInput) (*sagemaker.DeleteMonitoringScheduleOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteMonitoringSchedule") + } + var r0 *sagemaker.DeleteMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteMonitoringScheduleInput) (*sagemaker.DeleteMonitoringScheduleOutput, error)); ok { @@ -7789,6 +9356,10 @@ func (_m *SageMakerAPI) DeleteMonitoringSchedule(_a0 *sagemaker.DeleteMonitoring func (_m *SageMakerAPI) DeleteMonitoringScheduleRequest(_a0 *sagemaker.DeleteMonitoringScheduleInput) (*request.Request, *sagemaker.DeleteMonitoringScheduleOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteMonitoringScheduleRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteMonitoringScheduleOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteMonitoringScheduleInput) (*request.Request, *sagemaker.DeleteMonitoringScheduleOutput)); ok { @@ -7824,6 +9395,10 @@ func (_m *SageMakerAPI) DeleteMonitoringScheduleWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteMonitoringScheduleWithContext") + } + var r0 *sagemaker.DeleteMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteMonitoringScheduleInput, ...request.Option) (*sagemaker.DeleteMonitoringScheduleOutput, error)); ok { @@ -7850,6 +9425,10 @@ func (_m *SageMakerAPI) DeleteMonitoringScheduleWithContext(_a0 context.Context, func (_m *SageMakerAPI) DeleteNotebookInstance(_a0 *sagemaker.DeleteNotebookInstanceInput) (*sagemaker.DeleteNotebookInstanceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteNotebookInstance") + } + var r0 *sagemaker.DeleteNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteNotebookInstanceInput) (*sagemaker.DeleteNotebookInstanceOutput, error)); ok { @@ -7876,6 +9455,10 @@ func (_m *SageMakerAPI) DeleteNotebookInstance(_a0 *sagemaker.DeleteNotebookInst func (_m *SageMakerAPI) DeleteNotebookInstanceLifecycleConfig(_a0 *sagemaker.DeleteNotebookInstanceLifecycleConfigInput) (*sagemaker.DeleteNotebookInstanceLifecycleConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteNotebookInstanceLifecycleConfig") + } + var r0 *sagemaker.DeleteNotebookInstanceLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteNotebookInstanceLifecycleConfigInput) (*sagemaker.DeleteNotebookInstanceLifecycleConfigOutput, error)); ok { @@ -7902,6 +9485,10 @@ func (_m *SageMakerAPI) DeleteNotebookInstanceLifecycleConfig(_a0 *sagemaker.Del func (_m *SageMakerAPI) DeleteNotebookInstanceLifecycleConfigRequest(_a0 *sagemaker.DeleteNotebookInstanceLifecycleConfigInput) (*request.Request, *sagemaker.DeleteNotebookInstanceLifecycleConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteNotebookInstanceLifecycleConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteNotebookInstanceLifecycleConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteNotebookInstanceLifecycleConfigInput) (*request.Request, *sagemaker.DeleteNotebookInstanceLifecycleConfigOutput)); ok { @@ -7937,6 +9524,10 @@ func (_m *SageMakerAPI) DeleteNotebookInstanceLifecycleConfigWithContext(_a0 con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNotebookInstanceLifecycleConfigWithContext") + } + var r0 *sagemaker.DeleteNotebookInstanceLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteNotebookInstanceLifecycleConfigInput, ...request.Option) (*sagemaker.DeleteNotebookInstanceLifecycleConfigOutput, error)); ok { @@ -7963,6 +9554,10 @@ func (_m *SageMakerAPI) DeleteNotebookInstanceLifecycleConfigWithContext(_a0 con func (_m *SageMakerAPI) DeleteNotebookInstanceRequest(_a0 *sagemaker.DeleteNotebookInstanceInput) (*request.Request, *sagemaker.DeleteNotebookInstanceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteNotebookInstanceRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteNotebookInstanceOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteNotebookInstanceInput) (*request.Request, *sagemaker.DeleteNotebookInstanceOutput)); ok { @@ -7998,6 +9593,10 @@ func (_m *SageMakerAPI) DeleteNotebookInstanceWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteNotebookInstanceWithContext") + } + var r0 *sagemaker.DeleteNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteNotebookInstanceInput, ...request.Option) (*sagemaker.DeleteNotebookInstanceOutput, error)); ok { @@ -8024,6 +9623,10 @@ func (_m *SageMakerAPI) DeleteNotebookInstanceWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) DeletePipeline(_a0 *sagemaker.DeletePipelineInput) (*sagemaker.DeletePipelineOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeletePipeline") + } + var r0 *sagemaker.DeletePipelineOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeletePipelineInput) (*sagemaker.DeletePipelineOutput, error)); ok { @@ -8050,6 +9653,10 @@ func (_m *SageMakerAPI) DeletePipeline(_a0 *sagemaker.DeletePipelineInput) (*sag func (_m *SageMakerAPI) DeletePipelineRequest(_a0 *sagemaker.DeletePipelineInput) (*request.Request, *sagemaker.DeletePipelineOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeletePipelineRequest") + } + var r0 *request.Request var r1 *sagemaker.DeletePipelineOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeletePipelineInput) (*request.Request, *sagemaker.DeletePipelineOutput)); ok { @@ -8085,6 +9692,10 @@ func (_m *SageMakerAPI) DeletePipelineWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeletePipelineWithContext") + } + var r0 *sagemaker.DeletePipelineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeletePipelineInput, ...request.Option) (*sagemaker.DeletePipelineOutput, error)); ok { @@ -8111,6 +9722,10 @@ func (_m *SageMakerAPI) DeletePipelineWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) DeleteProject(_a0 *sagemaker.DeleteProjectInput) (*sagemaker.DeleteProjectOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteProject") + } + var r0 *sagemaker.DeleteProjectOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteProjectInput) (*sagemaker.DeleteProjectOutput, error)); ok { @@ -8137,6 +9752,10 @@ func (_m *SageMakerAPI) DeleteProject(_a0 *sagemaker.DeleteProjectInput) (*sagem func (_m *SageMakerAPI) DeleteProjectRequest(_a0 *sagemaker.DeleteProjectInput) (*request.Request, *sagemaker.DeleteProjectOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteProjectRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteProjectOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteProjectInput) (*request.Request, *sagemaker.DeleteProjectOutput)); ok { @@ -8172,6 +9791,10 @@ func (_m *SageMakerAPI) DeleteProjectWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteProjectWithContext") + } + var r0 *sagemaker.DeleteProjectOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteProjectInput, ...request.Option) (*sagemaker.DeleteProjectOutput, error)); ok { @@ -8198,6 +9821,10 @@ func (_m *SageMakerAPI) DeleteProjectWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) DeleteSpace(_a0 *sagemaker.DeleteSpaceInput) (*sagemaker.DeleteSpaceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteSpace") + } + var r0 *sagemaker.DeleteSpaceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteSpaceInput) (*sagemaker.DeleteSpaceOutput, error)); ok { @@ -8224,6 +9851,10 @@ func (_m *SageMakerAPI) DeleteSpace(_a0 *sagemaker.DeleteSpaceInput) (*sagemaker func (_m *SageMakerAPI) DeleteSpaceRequest(_a0 *sagemaker.DeleteSpaceInput) (*request.Request, *sagemaker.DeleteSpaceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteSpaceRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteSpaceOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteSpaceInput) (*request.Request, *sagemaker.DeleteSpaceOutput)); ok { @@ -8259,6 +9890,10 @@ func (_m *SageMakerAPI) DeleteSpaceWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteSpaceWithContext") + } + var r0 *sagemaker.DeleteSpaceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteSpaceInput, ...request.Option) (*sagemaker.DeleteSpaceOutput, error)); ok { @@ -8285,6 +9920,10 @@ func (_m *SageMakerAPI) DeleteSpaceWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) DeleteStudioLifecycleConfig(_a0 *sagemaker.DeleteStudioLifecycleConfigInput) (*sagemaker.DeleteStudioLifecycleConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteStudioLifecycleConfig") + } + var r0 *sagemaker.DeleteStudioLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteStudioLifecycleConfigInput) (*sagemaker.DeleteStudioLifecycleConfigOutput, error)); ok { @@ -8311,6 +9950,10 @@ func (_m *SageMakerAPI) DeleteStudioLifecycleConfig(_a0 *sagemaker.DeleteStudioL func (_m *SageMakerAPI) DeleteStudioLifecycleConfigRequest(_a0 *sagemaker.DeleteStudioLifecycleConfigInput) (*request.Request, *sagemaker.DeleteStudioLifecycleConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteStudioLifecycleConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteStudioLifecycleConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteStudioLifecycleConfigInput) (*request.Request, *sagemaker.DeleteStudioLifecycleConfigOutput)); ok { @@ -8346,6 +9989,10 @@ func (_m *SageMakerAPI) DeleteStudioLifecycleConfigWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteStudioLifecycleConfigWithContext") + } + var r0 *sagemaker.DeleteStudioLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteStudioLifecycleConfigInput, ...request.Option) (*sagemaker.DeleteStudioLifecycleConfigOutput, error)); ok { @@ -8372,6 +10019,10 @@ func (_m *SageMakerAPI) DeleteStudioLifecycleConfigWithContext(_a0 context.Conte func (_m *SageMakerAPI) DeleteTags(_a0 *sagemaker.DeleteTagsInput) (*sagemaker.DeleteTagsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteTags") + } + var r0 *sagemaker.DeleteTagsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteTagsInput) (*sagemaker.DeleteTagsOutput, error)); ok { @@ -8398,6 +10049,10 @@ func (_m *SageMakerAPI) DeleteTags(_a0 *sagemaker.DeleteTagsInput) (*sagemaker.D func (_m *SageMakerAPI) DeleteTagsRequest(_a0 *sagemaker.DeleteTagsInput) (*request.Request, *sagemaker.DeleteTagsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteTagsRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteTagsOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteTagsInput) (*request.Request, *sagemaker.DeleteTagsOutput)); ok { @@ -8433,6 +10088,10 @@ func (_m *SageMakerAPI) DeleteTagsWithContext(_a0 context.Context, _a1 *sagemake _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTagsWithContext") + } + var r0 *sagemaker.DeleteTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteTagsInput, ...request.Option) (*sagemaker.DeleteTagsOutput, error)); ok { @@ -8459,6 +10118,10 @@ func (_m *SageMakerAPI) DeleteTagsWithContext(_a0 context.Context, _a1 *sagemake func (_m *SageMakerAPI) DeleteTrial(_a0 *sagemaker.DeleteTrialInput) (*sagemaker.DeleteTrialOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteTrial") + } + var r0 *sagemaker.DeleteTrialOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteTrialInput) (*sagemaker.DeleteTrialOutput, error)); ok { @@ -8485,6 +10148,10 @@ func (_m *SageMakerAPI) DeleteTrial(_a0 *sagemaker.DeleteTrialInput) (*sagemaker func (_m *SageMakerAPI) DeleteTrialComponent(_a0 *sagemaker.DeleteTrialComponentInput) (*sagemaker.DeleteTrialComponentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteTrialComponent") + } + var r0 *sagemaker.DeleteTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteTrialComponentInput) (*sagemaker.DeleteTrialComponentOutput, error)); ok { @@ -8511,6 +10178,10 @@ func (_m *SageMakerAPI) DeleteTrialComponent(_a0 *sagemaker.DeleteTrialComponent func (_m *SageMakerAPI) DeleteTrialComponentRequest(_a0 *sagemaker.DeleteTrialComponentInput) (*request.Request, *sagemaker.DeleteTrialComponentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteTrialComponentRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteTrialComponentOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteTrialComponentInput) (*request.Request, *sagemaker.DeleteTrialComponentOutput)); ok { @@ -8546,6 +10217,10 @@ func (_m *SageMakerAPI) DeleteTrialComponentWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTrialComponentWithContext") + } + var r0 *sagemaker.DeleteTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteTrialComponentInput, ...request.Option) (*sagemaker.DeleteTrialComponentOutput, error)); ok { @@ -8572,6 +10247,10 @@ func (_m *SageMakerAPI) DeleteTrialComponentWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DeleteTrialRequest(_a0 *sagemaker.DeleteTrialInput) (*request.Request, *sagemaker.DeleteTrialOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteTrialRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteTrialOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteTrialInput) (*request.Request, *sagemaker.DeleteTrialOutput)); ok { @@ -8607,6 +10286,10 @@ func (_m *SageMakerAPI) DeleteTrialWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteTrialWithContext") + } + var r0 *sagemaker.DeleteTrialOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteTrialInput, ...request.Option) (*sagemaker.DeleteTrialOutput, error)); ok { @@ -8633,6 +10316,10 @@ func (_m *SageMakerAPI) DeleteTrialWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) DeleteUserProfile(_a0 *sagemaker.DeleteUserProfileInput) (*sagemaker.DeleteUserProfileOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteUserProfile") + } + var r0 *sagemaker.DeleteUserProfileOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteUserProfileInput) (*sagemaker.DeleteUserProfileOutput, error)); ok { @@ -8659,6 +10346,10 @@ func (_m *SageMakerAPI) DeleteUserProfile(_a0 *sagemaker.DeleteUserProfileInput) func (_m *SageMakerAPI) DeleteUserProfileRequest(_a0 *sagemaker.DeleteUserProfileInput) (*request.Request, *sagemaker.DeleteUserProfileOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteUserProfileRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteUserProfileOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteUserProfileInput) (*request.Request, *sagemaker.DeleteUserProfileOutput)); ok { @@ -8694,6 +10385,10 @@ func (_m *SageMakerAPI) DeleteUserProfileWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteUserProfileWithContext") + } + var r0 *sagemaker.DeleteUserProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteUserProfileInput, ...request.Option) (*sagemaker.DeleteUserProfileOutput, error)); ok { @@ -8720,6 +10415,10 @@ func (_m *SageMakerAPI) DeleteUserProfileWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) DeleteWorkforce(_a0 *sagemaker.DeleteWorkforceInput) (*sagemaker.DeleteWorkforceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteWorkforce") + } + var r0 *sagemaker.DeleteWorkforceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteWorkforceInput) (*sagemaker.DeleteWorkforceOutput, error)); ok { @@ -8746,6 +10445,10 @@ func (_m *SageMakerAPI) DeleteWorkforce(_a0 *sagemaker.DeleteWorkforceInput) (*s func (_m *SageMakerAPI) DeleteWorkforceRequest(_a0 *sagemaker.DeleteWorkforceInput) (*request.Request, *sagemaker.DeleteWorkforceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteWorkforceRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteWorkforceOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteWorkforceInput) (*request.Request, *sagemaker.DeleteWorkforceOutput)); ok { @@ -8781,6 +10484,10 @@ func (_m *SageMakerAPI) DeleteWorkforceWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteWorkforceWithContext") + } + var r0 *sagemaker.DeleteWorkforceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteWorkforceInput, ...request.Option) (*sagemaker.DeleteWorkforceOutput, error)); ok { @@ -8807,6 +10514,10 @@ func (_m *SageMakerAPI) DeleteWorkforceWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) DeleteWorkteam(_a0 *sagemaker.DeleteWorkteamInput) (*sagemaker.DeleteWorkteamOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteWorkteam") + } + var r0 *sagemaker.DeleteWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeleteWorkteamInput) (*sagemaker.DeleteWorkteamOutput, error)); ok { @@ -8833,6 +10544,10 @@ func (_m *SageMakerAPI) DeleteWorkteam(_a0 *sagemaker.DeleteWorkteamInput) (*sag func (_m *SageMakerAPI) DeleteWorkteamRequest(_a0 *sagemaker.DeleteWorkteamInput) (*request.Request, *sagemaker.DeleteWorkteamOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeleteWorkteamRequest") + } + var r0 *request.Request var r1 *sagemaker.DeleteWorkteamOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeleteWorkteamInput) (*request.Request, *sagemaker.DeleteWorkteamOutput)); ok { @@ -8868,6 +10583,10 @@ func (_m *SageMakerAPI) DeleteWorkteamWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeleteWorkteamWithContext") + } + var r0 *sagemaker.DeleteWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeleteWorkteamInput, ...request.Option) (*sagemaker.DeleteWorkteamOutput, error)); ok { @@ -8894,6 +10613,10 @@ func (_m *SageMakerAPI) DeleteWorkteamWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) DeregisterDevices(_a0 *sagemaker.DeregisterDevicesInput) (*sagemaker.DeregisterDevicesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeregisterDevices") + } + var r0 *sagemaker.DeregisterDevicesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DeregisterDevicesInput) (*sagemaker.DeregisterDevicesOutput, error)); ok { @@ -8920,6 +10643,10 @@ func (_m *SageMakerAPI) DeregisterDevices(_a0 *sagemaker.DeregisterDevicesInput) func (_m *SageMakerAPI) DeregisterDevicesRequest(_a0 *sagemaker.DeregisterDevicesInput) (*request.Request, *sagemaker.DeregisterDevicesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DeregisterDevicesRequest") + } + var r0 *request.Request var r1 *sagemaker.DeregisterDevicesOutput if rf, ok := ret.Get(0).(func(*sagemaker.DeregisterDevicesInput) (*request.Request, *sagemaker.DeregisterDevicesOutput)); ok { @@ -8955,6 +10682,10 @@ func (_m *SageMakerAPI) DeregisterDevicesWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DeregisterDevicesWithContext") + } + var r0 *sagemaker.DeregisterDevicesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DeregisterDevicesInput, ...request.Option) (*sagemaker.DeregisterDevicesOutput, error)); ok { @@ -8981,6 +10712,10 @@ func (_m *SageMakerAPI) DeregisterDevicesWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) DescribeAction(_a0 *sagemaker.DescribeActionInput) (*sagemaker.DescribeActionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeAction") + } + var r0 *sagemaker.DescribeActionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeActionInput) (*sagemaker.DescribeActionOutput, error)); ok { @@ -9007,6 +10742,10 @@ func (_m *SageMakerAPI) DescribeAction(_a0 *sagemaker.DescribeActionInput) (*sag func (_m *SageMakerAPI) DescribeActionRequest(_a0 *sagemaker.DescribeActionInput) (*request.Request, *sagemaker.DescribeActionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeActionRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeActionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeActionInput) (*request.Request, *sagemaker.DescribeActionOutput)); ok { @@ -9042,6 +10781,10 @@ func (_m *SageMakerAPI) DescribeActionWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeActionWithContext") + } + var r0 *sagemaker.DescribeActionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeActionInput, ...request.Option) (*sagemaker.DescribeActionOutput, error)); ok { @@ -9068,6 +10811,10 @@ func (_m *SageMakerAPI) DescribeActionWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) DescribeAlgorithm(_a0 *sagemaker.DescribeAlgorithmInput) (*sagemaker.DescribeAlgorithmOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeAlgorithm") + } + var r0 *sagemaker.DescribeAlgorithmOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAlgorithmInput) (*sagemaker.DescribeAlgorithmOutput, error)); ok { @@ -9094,6 +10841,10 @@ func (_m *SageMakerAPI) DescribeAlgorithm(_a0 *sagemaker.DescribeAlgorithmInput) func (_m *SageMakerAPI) DescribeAlgorithmRequest(_a0 *sagemaker.DescribeAlgorithmInput) (*request.Request, *sagemaker.DescribeAlgorithmOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeAlgorithmRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeAlgorithmOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAlgorithmInput) (*request.Request, *sagemaker.DescribeAlgorithmOutput)); ok { @@ -9129,6 +10880,10 @@ func (_m *SageMakerAPI) DescribeAlgorithmWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAlgorithmWithContext") + } + var r0 *sagemaker.DescribeAlgorithmOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeAlgorithmInput, ...request.Option) (*sagemaker.DescribeAlgorithmOutput, error)); ok { @@ -9155,6 +10910,10 @@ func (_m *SageMakerAPI) DescribeAlgorithmWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) DescribeApp(_a0 *sagemaker.DescribeAppInput) (*sagemaker.DescribeAppOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeApp") + } + var r0 *sagemaker.DescribeAppOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAppInput) (*sagemaker.DescribeAppOutput, error)); ok { @@ -9181,6 +10940,10 @@ func (_m *SageMakerAPI) DescribeApp(_a0 *sagemaker.DescribeAppInput) (*sagemaker func (_m *SageMakerAPI) DescribeAppImageConfig(_a0 *sagemaker.DescribeAppImageConfigInput) (*sagemaker.DescribeAppImageConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeAppImageConfig") + } + var r0 *sagemaker.DescribeAppImageConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAppImageConfigInput) (*sagemaker.DescribeAppImageConfigOutput, error)); ok { @@ -9207,6 +10970,10 @@ func (_m *SageMakerAPI) DescribeAppImageConfig(_a0 *sagemaker.DescribeAppImageCo func (_m *SageMakerAPI) DescribeAppImageConfigRequest(_a0 *sagemaker.DescribeAppImageConfigInput) (*request.Request, *sagemaker.DescribeAppImageConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeAppImageConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeAppImageConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAppImageConfigInput) (*request.Request, *sagemaker.DescribeAppImageConfigOutput)); ok { @@ -9242,6 +11009,10 @@ func (_m *SageMakerAPI) DescribeAppImageConfigWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAppImageConfigWithContext") + } + var r0 *sagemaker.DescribeAppImageConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeAppImageConfigInput, ...request.Option) (*sagemaker.DescribeAppImageConfigOutput, error)); ok { @@ -9268,6 +11039,10 @@ func (_m *SageMakerAPI) DescribeAppImageConfigWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) DescribeAppRequest(_a0 *sagemaker.DescribeAppInput) (*request.Request, *sagemaker.DescribeAppOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeAppRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeAppOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAppInput) (*request.Request, *sagemaker.DescribeAppOutput)); ok { @@ -9303,6 +11078,10 @@ func (_m *SageMakerAPI) DescribeAppWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeAppWithContext") + } + var r0 *sagemaker.DescribeAppOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeAppInput, ...request.Option) (*sagemaker.DescribeAppOutput, error)); ok { @@ -9329,6 +11108,10 @@ func (_m *SageMakerAPI) DescribeAppWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) DescribeArtifact(_a0 *sagemaker.DescribeArtifactInput) (*sagemaker.DescribeArtifactOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeArtifact") + } + var r0 *sagemaker.DescribeArtifactOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeArtifactInput) (*sagemaker.DescribeArtifactOutput, error)); ok { @@ -9355,6 +11138,10 @@ func (_m *SageMakerAPI) DescribeArtifact(_a0 *sagemaker.DescribeArtifactInput) ( func (_m *SageMakerAPI) DescribeArtifactRequest(_a0 *sagemaker.DescribeArtifactInput) (*request.Request, *sagemaker.DescribeArtifactOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeArtifactRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeArtifactOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeArtifactInput) (*request.Request, *sagemaker.DescribeArtifactOutput)); ok { @@ -9390,6 +11177,10 @@ func (_m *SageMakerAPI) DescribeArtifactWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeArtifactWithContext") + } + var r0 *sagemaker.DescribeArtifactOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeArtifactInput, ...request.Option) (*sagemaker.DescribeArtifactOutput, error)); ok { @@ -9416,6 +11207,10 @@ func (_m *SageMakerAPI) DescribeArtifactWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) DescribeAutoMLJob(_a0 *sagemaker.DescribeAutoMLJobInput) (*sagemaker.DescribeAutoMLJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeAutoMLJob") + } + var r0 *sagemaker.DescribeAutoMLJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAutoMLJobInput) (*sagemaker.DescribeAutoMLJobOutput, error)); ok { @@ -9442,6 +11237,10 @@ func (_m *SageMakerAPI) DescribeAutoMLJob(_a0 *sagemaker.DescribeAutoMLJobInput) func (_m *SageMakerAPI) DescribeAutoMLJobRequest(_a0 *sagemaker.DescribeAutoMLJobInput) (*request.Request, *sagemaker.DescribeAutoMLJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeAutoMLJobRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeAutoMLJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAutoMLJobInput) (*request.Request, *sagemaker.DescribeAutoMLJobOutput)); ok { @@ -9466,18 +11265,121 @@ func (_m *SageMakerAPI) DescribeAutoMLJobRequest(_a0 *sagemaker.DescribeAutoMLJo return r0, r1 } -// DescribeAutoMLJobWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SageMakerAPI) DescribeAutoMLJobWithContext(_a0 context.Context, _a1 *sagemaker.DescribeAutoMLJobInput, _a2 ...request.Option) (*sagemaker.DescribeAutoMLJobOutput, error) { - _va := make([]interface{}, len(_a2)) - for _i := range _a2 { - _va[_i] = _a2[_i] +// DescribeAutoMLJobV2 provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DescribeAutoMLJobV2(_a0 *sagemaker.DescribeAutoMLJobV2Input) (*sagemaker.DescribeAutoMLJobV2Output, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeAutoMLJobV2") } - var _ca []interface{} - _ca = append(_ca, _a0, _a1) - _ca = append(_ca, _va...) - ret := _m.Called(_ca...) - var r0 *sagemaker.DescribeAutoMLJobOutput + var r0 *sagemaker.DescribeAutoMLJobV2Output + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAutoMLJobV2Input) (*sagemaker.DescribeAutoMLJobV2Output, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAutoMLJobV2Input) *sagemaker.DescribeAutoMLJobV2Output); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DescribeAutoMLJobV2Output) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.DescribeAutoMLJobV2Input) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeAutoMLJobV2Request provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DescribeAutoMLJobV2Request(_a0 *sagemaker.DescribeAutoMLJobV2Input) (*request.Request, *sagemaker.DescribeAutoMLJobV2Output) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeAutoMLJobV2Request") + } + + var r0 *request.Request + var r1 *sagemaker.DescribeAutoMLJobV2Output + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAutoMLJobV2Input) (*request.Request, *sagemaker.DescribeAutoMLJobV2Output)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeAutoMLJobV2Input) *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(*sagemaker.DescribeAutoMLJobV2Input) *sagemaker.DescribeAutoMLJobV2Output); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.DescribeAutoMLJobV2Output) + } + } + + return r0, r1 +} + +// DescribeAutoMLJobV2WithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) DescribeAutoMLJobV2WithContext(_a0 context.Context, _a1 *sagemaker.DescribeAutoMLJobV2Input, _a2 ...request.Option) (*sagemaker.DescribeAutoMLJobV2Output, 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 DescribeAutoMLJobV2WithContext") + } + + var r0 *sagemaker.DescribeAutoMLJobV2Output + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeAutoMLJobV2Input, ...request.Option) (*sagemaker.DescribeAutoMLJobV2Output, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeAutoMLJobV2Input, ...request.Option) *sagemaker.DescribeAutoMLJobV2Output); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DescribeAutoMLJobV2Output) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.DescribeAutoMLJobV2Input, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeAutoMLJobWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) DescribeAutoMLJobWithContext(_a0 context.Context, _a1 *sagemaker.DescribeAutoMLJobInput, _a2 ...request.Option) (*sagemaker.DescribeAutoMLJobOutput, 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 DescribeAutoMLJobWithContext") + } + + var r0 *sagemaker.DescribeAutoMLJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeAutoMLJobInput, ...request.Option) (*sagemaker.DescribeAutoMLJobOutput, error)); ok { return rf(_a0, _a1, _a2...) @@ -9499,10 +11401,212 @@ func (_m *SageMakerAPI) DescribeAutoMLJobWithContext(_a0 context.Context, _a1 *s return r0, r1 } +// DescribeCluster provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DescribeCluster(_a0 *sagemaker.DescribeClusterInput) (*sagemaker.DescribeClusterOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeCluster") + } + + var r0 *sagemaker.DescribeClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeClusterInput) (*sagemaker.DescribeClusterOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeClusterInput) *sagemaker.DescribeClusterOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DescribeClusterOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.DescribeClusterInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeClusterNode provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DescribeClusterNode(_a0 *sagemaker.DescribeClusterNodeInput) (*sagemaker.DescribeClusterNodeOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeClusterNode") + } + + var r0 *sagemaker.DescribeClusterNodeOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeClusterNodeInput) (*sagemaker.DescribeClusterNodeOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeClusterNodeInput) *sagemaker.DescribeClusterNodeOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DescribeClusterNodeOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.DescribeClusterNodeInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeClusterNodeRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DescribeClusterNodeRequest(_a0 *sagemaker.DescribeClusterNodeInput) (*request.Request, *sagemaker.DescribeClusterNodeOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeClusterNodeRequest") + } + + var r0 *request.Request + var r1 *sagemaker.DescribeClusterNodeOutput + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeClusterNodeInput) (*request.Request, *sagemaker.DescribeClusterNodeOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeClusterNodeInput) *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(*sagemaker.DescribeClusterNodeInput) *sagemaker.DescribeClusterNodeOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.DescribeClusterNodeOutput) + } + } + + return r0, r1 +} + +// DescribeClusterNodeWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) DescribeClusterNodeWithContext(_a0 context.Context, _a1 *sagemaker.DescribeClusterNodeInput, _a2 ...request.Option) (*sagemaker.DescribeClusterNodeOutput, 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 DescribeClusterNodeWithContext") + } + + var r0 *sagemaker.DescribeClusterNodeOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeClusterNodeInput, ...request.Option) (*sagemaker.DescribeClusterNodeOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeClusterNodeInput, ...request.Option) *sagemaker.DescribeClusterNodeOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DescribeClusterNodeOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.DescribeClusterNodeInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeClusterRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DescribeClusterRequest(_a0 *sagemaker.DescribeClusterInput) (*request.Request, *sagemaker.DescribeClusterOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeClusterRequest") + } + + var r0 *request.Request + var r1 *sagemaker.DescribeClusterOutput + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeClusterInput) (*request.Request, *sagemaker.DescribeClusterOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeClusterInput) *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(*sagemaker.DescribeClusterInput) *sagemaker.DescribeClusterOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.DescribeClusterOutput) + } + } + + return r0, r1 +} + +// DescribeClusterWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) DescribeClusterWithContext(_a0 context.Context, _a1 *sagemaker.DescribeClusterInput, _a2 ...request.Option) (*sagemaker.DescribeClusterOutput, 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 DescribeClusterWithContext") + } + + var r0 *sagemaker.DescribeClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeClusterInput, ...request.Option) (*sagemaker.DescribeClusterOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeClusterInput, ...request.Option) *sagemaker.DescribeClusterOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DescribeClusterOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.DescribeClusterInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeCodeRepository provides a mock function with given fields: _a0 func (_m *SageMakerAPI) DescribeCodeRepository(_a0 *sagemaker.DescribeCodeRepositoryInput) (*sagemaker.DescribeCodeRepositoryOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeCodeRepository") + } + var r0 *sagemaker.DescribeCodeRepositoryOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeCodeRepositoryInput) (*sagemaker.DescribeCodeRepositoryOutput, error)); ok { @@ -9529,6 +11633,10 @@ func (_m *SageMakerAPI) DescribeCodeRepository(_a0 *sagemaker.DescribeCodeReposi func (_m *SageMakerAPI) DescribeCodeRepositoryRequest(_a0 *sagemaker.DescribeCodeRepositoryInput) (*request.Request, *sagemaker.DescribeCodeRepositoryOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeCodeRepositoryRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeCodeRepositoryOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeCodeRepositoryInput) (*request.Request, *sagemaker.DescribeCodeRepositoryOutput)); ok { @@ -9564,6 +11672,10 @@ func (_m *SageMakerAPI) DescribeCodeRepositoryWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeCodeRepositoryWithContext") + } + var r0 *sagemaker.DescribeCodeRepositoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeCodeRepositoryInput, ...request.Option) (*sagemaker.DescribeCodeRepositoryOutput, error)); ok { @@ -9590,6 +11702,10 @@ func (_m *SageMakerAPI) DescribeCodeRepositoryWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) DescribeCompilationJob(_a0 *sagemaker.DescribeCompilationJobInput) (*sagemaker.DescribeCompilationJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeCompilationJob") + } + var r0 *sagemaker.DescribeCompilationJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeCompilationJobInput) (*sagemaker.DescribeCompilationJobOutput, error)); ok { @@ -9616,6 +11732,10 @@ func (_m *SageMakerAPI) DescribeCompilationJob(_a0 *sagemaker.DescribeCompilatio func (_m *SageMakerAPI) DescribeCompilationJobRequest(_a0 *sagemaker.DescribeCompilationJobInput) (*request.Request, *sagemaker.DescribeCompilationJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeCompilationJobRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeCompilationJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeCompilationJobInput) (*request.Request, *sagemaker.DescribeCompilationJobOutput)); ok { @@ -9651,6 +11771,10 @@ func (_m *SageMakerAPI) DescribeCompilationJobWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeCompilationJobWithContext") + } + var r0 *sagemaker.DescribeCompilationJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeCompilationJobInput, ...request.Option) (*sagemaker.DescribeCompilationJobOutput, error)); ok { @@ -9677,6 +11801,10 @@ func (_m *SageMakerAPI) DescribeCompilationJobWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) DescribeContext(_a0 *sagemaker.DescribeContextInput) (*sagemaker.DescribeContextOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeContext") + } + var r0 *sagemaker.DescribeContextOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeContextInput) (*sagemaker.DescribeContextOutput, error)); ok { @@ -9703,6 +11831,10 @@ func (_m *SageMakerAPI) DescribeContext(_a0 *sagemaker.DescribeContextInput) (*s func (_m *SageMakerAPI) DescribeContextRequest(_a0 *sagemaker.DescribeContextInput) (*request.Request, *sagemaker.DescribeContextOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeContextRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeContextOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeContextInput) (*request.Request, *sagemaker.DescribeContextOutput)); ok { @@ -9738,6 +11870,10 @@ func (_m *SageMakerAPI) DescribeContextWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeContextWithContext") + } + var r0 *sagemaker.DescribeContextOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeContextInput, ...request.Option) (*sagemaker.DescribeContextOutput, error)); ok { @@ -9764,6 +11900,10 @@ func (_m *SageMakerAPI) DescribeContextWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) DescribeDataQualityJobDefinition(_a0 *sagemaker.DescribeDataQualityJobDefinitionInput) (*sagemaker.DescribeDataQualityJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeDataQualityJobDefinition") + } + var r0 *sagemaker.DescribeDataQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeDataQualityJobDefinitionInput) (*sagemaker.DescribeDataQualityJobDefinitionOutput, error)); ok { @@ -9790,6 +11930,10 @@ func (_m *SageMakerAPI) DescribeDataQualityJobDefinition(_a0 *sagemaker.Describe func (_m *SageMakerAPI) DescribeDataQualityJobDefinitionRequest(_a0 *sagemaker.DescribeDataQualityJobDefinitionInput) (*request.Request, *sagemaker.DescribeDataQualityJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeDataQualityJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeDataQualityJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeDataQualityJobDefinitionInput) (*request.Request, *sagemaker.DescribeDataQualityJobDefinitionOutput)); ok { @@ -9825,6 +11969,10 @@ func (_m *SageMakerAPI) DescribeDataQualityJobDefinitionWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDataQualityJobDefinitionWithContext") + } + var r0 *sagemaker.DescribeDataQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeDataQualityJobDefinitionInput, ...request.Option) (*sagemaker.DescribeDataQualityJobDefinitionOutput, error)); ok { @@ -9851,6 +11999,10 @@ func (_m *SageMakerAPI) DescribeDataQualityJobDefinitionWithContext(_a0 context. func (_m *SageMakerAPI) DescribeDevice(_a0 *sagemaker.DescribeDeviceInput) (*sagemaker.DescribeDeviceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeDevice") + } + var r0 *sagemaker.DescribeDeviceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeDeviceInput) (*sagemaker.DescribeDeviceOutput, error)); ok { @@ -9877,6 +12029,10 @@ func (_m *SageMakerAPI) DescribeDevice(_a0 *sagemaker.DescribeDeviceInput) (*sag func (_m *SageMakerAPI) DescribeDeviceFleet(_a0 *sagemaker.DescribeDeviceFleetInput) (*sagemaker.DescribeDeviceFleetOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeDeviceFleet") + } + var r0 *sagemaker.DescribeDeviceFleetOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeDeviceFleetInput) (*sagemaker.DescribeDeviceFleetOutput, error)); ok { @@ -9903,6 +12059,10 @@ func (_m *SageMakerAPI) DescribeDeviceFleet(_a0 *sagemaker.DescribeDeviceFleetIn func (_m *SageMakerAPI) DescribeDeviceFleetRequest(_a0 *sagemaker.DescribeDeviceFleetInput) (*request.Request, *sagemaker.DescribeDeviceFleetOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeDeviceFleetRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeDeviceFleetOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeDeviceFleetInput) (*request.Request, *sagemaker.DescribeDeviceFleetOutput)); ok { @@ -9938,6 +12098,10 @@ func (_m *SageMakerAPI) DescribeDeviceFleetWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDeviceFleetWithContext") + } + var r0 *sagemaker.DescribeDeviceFleetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeDeviceFleetInput, ...request.Option) (*sagemaker.DescribeDeviceFleetOutput, error)); ok { @@ -9964,6 +12128,10 @@ func (_m *SageMakerAPI) DescribeDeviceFleetWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DescribeDeviceRequest(_a0 *sagemaker.DescribeDeviceInput) (*request.Request, *sagemaker.DescribeDeviceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeDeviceRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeDeviceOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeDeviceInput) (*request.Request, *sagemaker.DescribeDeviceOutput)); ok { @@ -9999,6 +12167,10 @@ func (_m *SageMakerAPI) DescribeDeviceWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDeviceWithContext") + } + var r0 *sagemaker.DescribeDeviceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeDeviceInput, ...request.Option) (*sagemaker.DescribeDeviceOutput, error)); ok { @@ -10025,6 +12197,10 @@ func (_m *SageMakerAPI) DescribeDeviceWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) DescribeDomain(_a0 *sagemaker.DescribeDomainInput) (*sagemaker.DescribeDomainOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeDomain") + } + var r0 *sagemaker.DescribeDomainOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeDomainInput) (*sagemaker.DescribeDomainOutput, error)); ok { @@ -10051,6 +12227,10 @@ func (_m *SageMakerAPI) DescribeDomain(_a0 *sagemaker.DescribeDomainInput) (*sag func (_m *SageMakerAPI) DescribeDomainRequest(_a0 *sagemaker.DescribeDomainInput) (*request.Request, *sagemaker.DescribeDomainOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeDomainRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeDomainOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeDomainInput) (*request.Request, *sagemaker.DescribeDomainOutput)); ok { @@ -10086,6 +12266,10 @@ func (_m *SageMakerAPI) DescribeDomainWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeDomainWithContext") + } + var r0 *sagemaker.DescribeDomainOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeDomainInput, ...request.Option) (*sagemaker.DescribeDomainOutput, error)); ok { @@ -10112,6 +12296,10 @@ func (_m *SageMakerAPI) DescribeDomainWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) DescribeEdgeDeploymentPlan(_a0 *sagemaker.DescribeEdgeDeploymentPlanInput) (*sagemaker.DescribeEdgeDeploymentPlanOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeEdgeDeploymentPlan") + } + var r0 *sagemaker.DescribeEdgeDeploymentPlanOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeEdgeDeploymentPlanInput) (*sagemaker.DescribeEdgeDeploymentPlanOutput, error)); ok { @@ -10138,6 +12326,10 @@ func (_m *SageMakerAPI) DescribeEdgeDeploymentPlan(_a0 *sagemaker.DescribeEdgeDe func (_m *SageMakerAPI) DescribeEdgeDeploymentPlanRequest(_a0 *sagemaker.DescribeEdgeDeploymentPlanInput) (*request.Request, *sagemaker.DescribeEdgeDeploymentPlanOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeEdgeDeploymentPlanRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeEdgeDeploymentPlanOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeEdgeDeploymentPlanInput) (*request.Request, *sagemaker.DescribeEdgeDeploymentPlanOutput)); ok { @@ -10173,6 +12365,10 @@ func (_m *SageMakerAPI) DescribeEdgeDeploymentPlanWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeEdgeDeploymentPlanWithContext") + } + var r0 *sagemaker.DescribeEdgeDeploymentPlanOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeEdgeDeploymentPlanInput, ...request.Option) (*sagemaker.DescribeEdgeDeploymentPlanOutput, error)); ok { @@ -10199,6 +12395,10 @@ func (_m *SageMakerAPI) DescribeEdgeDeploymentPlanWithContext(_a0 context.Contex func (_m *SageMakerAPI) DescribeEdgePackagingJob(_a0 *sagemaker.DescribeEdgePackagingJobInput) (*sagemaker.DescribeEdgePackagingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeEdgePackagingJob") + } + var r0 *sagemaker.DescribeEdgePackagingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeEdgePackagingJobInput) (*sagemaker.DescribeEdgePackagingJobOutput, error)); ok { @@ -10225,6 +12425,10 @@ func (_m *SageMakerAPI) DescribeEdgePackagingJob(_a0 *sagemaker.DescribeEdgePack func (_m *SageMakerAPI) DescribeEdgePackagingJobRequest(_a0 *sagemaker.DescribeEdgePackagingJobInput) (*request.Request, *sagemaker.DescribeEdgePackagingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeEdgePackagingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeEdgePackagingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeEdgePackagingJobInput) (*request.Request, *sagemaker.DescribeEdgePackagingJobOutput)); ok { @@ -10260,6 +12464,10 @@ func (_m *SageMakerAPI) DescribeEdgePackagingJobWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeEdgePackagingJobWithContext") + } + var r0 *sagemaker.DescribeEdgePackagingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeEdgePackagingJobInput, ...request.Option) (*sagemaker.DescribeEdgePackagingJobOutput, error)); ok { @@ -10286,6 +12494,10 @@ func (_m *SageMakerAPI) DescribeEdgePackagingJobWithContext(_a0 context.Context, func (_m *SageMakerAPI) DescribeEndpoint(_a0 *sagemaker.DescribeEndpointInput) (*sagemaker.DescribeEndpointOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeEndpoint") + } + var r0 *sagemaker.DescribeEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeEndpointInput) (*sagemaker.DescribeEndpointOutput, error)); ok { @@ -10312,6 +12524,10 @@ func (_m *SageMakerAPI) DescribeEndpoint(_a0 *sagemaker.DescribeEndpointInput) ( func (_m *SageMakerAPI) DescribeEndpointConfig(_a0 *sagemaker.DescribeEndpointConfigInput) (*sagemaker.DescribeEndpointConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeEndpointConfig") + } + var r0 *sagemaker.DescribeEndpointConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeEndpointConfigInput) (*sagemaker.DescribeEndpointConfigOutput, error)); ok { @@ -10338,6 +12554,10 @@ func (_m *SageMakerAPI) DescribeEndpointConfig(_a0 *sagemaker.DescribeEndpointCo func (_m *SageMakerAPI) DescribeEndpointConfigRequest(_a0 *sagemaker.DescribeEndpointConfigInput) (*request.Request, *sagemaker.DescribeEndpointConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeEndpointConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeEndpointConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeEndpointConfigInput) (*request.Request, *sagemaker.DescribeEndpointConfigOutput)); ok { @@ -10373,6 +12593,10 @@ func (_m *SageMakerAPI) DescribeEndpointConfigWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeEndpointConfigWithContext") + } + var r0 *sagemaker.DescribeEndpointConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeEndpointConfigInput, ...request.Option) (*sagemaker.DescribeEndpointConfigOutput, error)); ok { @@ -10399,6 +12623,10 @@ func (_m *SageMakerAPI) DescribeEndpointConfigWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) DescribeEndpointRequest(_a0 *sagemaker.DescribeEndpointInput) (*request.Request, *sagemaker.DescribeEndpointOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeEndpointRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeEndpointOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeEndpointInput) (*request.Request, *sagemaker.DescribeEndpointOutput)); ok { @@ -10434,6 +12662,10 @@ func (_m *SageMakerAPI) DescribeEndpointWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeEndpointWithContext") + } + var r0 *sagemaker.DescribeEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeEndpointInput, ...request.Option) (*sagemaker.DescribeEndpointOutput, error)); ok { @@ -10460,6 +12692,10 @@ func (_m *SageMakerAPI) DescribeEndpointWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) DescribeExperiment(_a0 *sagemaker.DescribeExperimentInput) (*sagemaker.DescribeExperimentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeExperiment") + } + var r0 *sagemaker.DescribeExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeExperimentInput) (*sagemaker.DescribeExperimentOutput, error)); ok { @@ -10486,6 +12722,10 @@ func (_m *SageMakerAPI) DescribeExperiment(_a0 *sagemaker.DescribeExperimentInpu func (_m *SageMakerAPI) DescribeExperimentRequest(_a0 *sagemaker.DescribeExperimentInput) (*request.Request, *sagemaker.DescribeExperimentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeExperimentRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeExperimentOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeExperimentInput) (*request.Request, *sagemaker.DescribeExperimentOutput)); ok { @@ -10521,6 +12761,10 @@ func (_m *SageMakerAPI) DescribeExperimentWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeExperimentWithContext") + } + var r0 *sagemaker.DescribeExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeExperimentInput, ...request.Option) (*sagemaker.DescribeExperimentOutput, error)); ok { @@ -10547,6 +12791,10 @@ func (_m *SageMakerAPI) DescribeExperimentWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) DescribeFeatureGroup(_a0 *sagemaker.DescribeFeatureGroupInput) (*sagemaker.DescribeFeatureGroupOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeFeatureGroup") + } + var r0 *sagemaker.DescribeFeatureGroupOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeFeatureGroupInput) (*sagemaker.DescribeFeatureGroupOutput, error)); ok { @@ -10573,6 +12821,10 @@ func (_m *SageMakerAPI) DescribeFeatureGroup(_a0 *sagemaker.DescribeFeatureGroup func (_m *SageMakerAPI) DescribeFeatureGroupRequest(_a0 *sagemaker.DescribeFeatureGroupInput) (*request.Request, *sagemaker.DescribeFeatureGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeFeatureGroupRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeFeatureGroupOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeFeatureGroupInput) (*request.Request, *sagemaker.DescribeFeatureGroupOutput)); ok { @@ -10608,6 +12860,10 @@ func (_m *SageMakerAPI) DescribeFeatureGroupWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFeatureGroupWithContext") + } + var r0 *sagemaker.DescribeFeatureGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeFeatureGroupInput, ...request.Option) (*sagemaker.DescribeFeatureGroupOutput, error)); ok { @@ -10634,6 +12890,10 @@ func (_m *SageMakerAPI) DescribeFeatureGroupWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DescribeFeatureMetadata(_a0 *sagemaker.DescribeFeatureMetadataInput) (*sagemaker.DescribeFeatureMetadataOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeFeatureMetadata") + } + var r0 *sagemaker.DescribeFeatureMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeFeatureMetadataInput) (*sagemaker.DescribeFeatureMetadataOutput, error)); ok { @@ -10660,6 +12920,10 @@ func (_m *SageMakerAPI) DescribeFeatureMetadata(_a0 *sagemaker.DescribeFeatureMe func (_m *SageMakerAPI) DescribeFeatureMetadataRequest(_a0 *sagemaker.DescribeFeatureMetadataInput) (*request.Request, *sagemaker.DescribeFeatureMetadataOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeFeatureMetadataRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeFeatureMetadataOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeFeatureMetadataInput) (*request.Request, *sagemaker.DescribeFeatureMetadataOutput)); ok { @@ -10695,6 +12959,10 @@ func (_m *SageMakerAPI) DescribeFeatureMetadataWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFeatureMetadataWithContext") + } + var r0 *sagemaker.DescribeFeatureMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeFeatureMetadataInput, ...request.Option) (*sagemaker.DescribeFeatureMetadataOutput, error)); ok { @@ -10721,6 +12989,10 @@ func (_m *SageMakerAPI) DescribeFeatureMetadataWithContext(_a0 context.Context, func (_m *SageMakerAPI) DescribeFlowDefinition(_a0 *sagemaker.DescribeFlowDefinitionInput) (*sagemaker.DescribeFlowDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeFlowDefinition") + } + var r0 *sagemaker.DescribeFlowDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeFlowDefinitionInput) (*sagemaker.DescribeFlowDefinitionOutput, error)); ok { @@ -10747,6 +13019,10 @@ func (_m *SageMakerAPI) DescribeFlowDefinition(_a0 *sagemaker.DescribeFlowDefini func (_m *SageMakerAPI) DescribeFlowDefinitionRequest(_a0 *sagemaker.DescribeFlowDefinitionInput) (*request.Request, *sagemaker.DescribeFlowDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeFlowDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeFlowDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeFlowDefinitionInput) (*request.Request, *sagemaker.DescribeFlowDefinitionOutput)); ok { @@ -10782,6 +13058,10 @@ func (_m *SageMakerAPI) DescribeFlowDefinitionWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeFlowDefinitionWithContext") + } + var r0 *sagemaker.DescribeFlowDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeFlowDefinitionInput, ...request.Option) (*sagemaker.DescribeFlowDefinitionOutput, error)); ok { @@ -10808,6 +13088,10 @@ func (_m *SageMakerAPI) DescribeFlowDefinitionWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) DescribeHub(_a0 *sagemaker.DescribeHubInput) (*sagemaker.DescribeHubOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeHub") + } + var r0 *sagemaker.DescribeHubOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeHubInput) (*sagemaker.DescribeHubOutput, error)); ok { @@ -10834,6 +13118,10 @@ func (_m *SageMakerAPI) DescribeHub(_a0 *sagemaker.DescribeHubInput) (*sagemaker func (_m *SageMakerAPI) DescribeHubContent(_a0 *sagemaker.DescribeHubContentInput) (*sagemaker.DescribeHubContentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeHubContent") + } + var r0 *sagemaker.DescribeHubContentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeHubContentInput) (*sagemaker.DescribeHubContentOutput, error)); ok { @@ -10860,6 +13148,10 @@ func (_m *SageMakerAPI) DescribeHubContent(_a0 *sagemaker.DescribeHubContentInpu func (_m *SageMakerAPI) DescribeHubContentRequest(_a0 *sagemaker.DescribeHubContentInput) (*request.Request, *sagemaker.DescribeHubContentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeHubContentRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeHubContentOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeHubContentInput) (*request.Request, *sagemaker.DescribeHubContentOutput)); ok { @@ -10895,6 +13187,10 @@ func (_m *SageMakerAPI) DescribeHubContentWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeHubContentWithContext") + } + var r0 *sagemaker.DescribeHubContentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeHubContentInput, ...request.Option) (*sagemaker.DescribeHubContentOutput, error)); ok { @@ -10921,6 +13217,10 @@ func (_m *SageMakerAPI) DescribeHubContentWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) DescribeHubRequest(_a0 *sagemaker.DescribeHubInput) (*request.Request, *sagemaker.DescribeHubOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeHubRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeHubOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeHubInput) (*request.Request, *sagemaker.DescribeHubOutput)); ok { @@ -10956,6 +13256,10 @@ func (_m *SageMakerAPI) DescribeHubWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeHubWithContext") + } + var r0 *sagemaker.DescribeHubOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeHubInput, ...request.Option) (*sagemaker.DescribeHubOutput, error)); ok { @@ -10982,6 +13286,10 @@ func (_m *SageMakerAPI) DescribeHubWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) DescribeHumanTaskUi(_a0 *sagemaker.DescribeHumanTaskUiInput) (*sagemaker.DescribeHumanTaskUiOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeHumanTaskUi") + } + var r0 *sagemaker.DescribeHumanTaskUiOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeHumanTaskUiInput) (*sagemaker.DescribeHumanTaskUiOutput, error)); ok { @@ -11008,6 +13316,10 @@ func (_m *SageMakerAPI) DescribeHumanTaskUi(_a0 *sagemaker.DescribeHumanTaskUiIn func (_m *SageMakerAPI) DescribeHumanTaskUiRequest(_a0 *sagemaker.DescribeHumanTaskUiInput) (*request.Request, *sagemaker.DescribeHumanTaskUiOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeHumanTaskUiRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeHumanTaskUiOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeHumanTaskUiInput) (*request.Request, *sagemaker.DescribeHumanTaskUiOutput)); ok { @@ -11043,6 +13355,10 @@ func (_m *SageMakerAPI) DescribeHumanTaskUiWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeHumanTaskUiWithContext") + } + var r0 *sagemaker.DescribeHumanTaskUiOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeHumanTaskUiInput, ...request.Option) (*sagemaker.DescribeHumanTaskUiOutput, error)); ok { @@ -11069,6 +13385,10 @@ func (_m *SageMakerAPI) DescribeHumanTaskUiWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DescribeHyperParameterTuningJob(_a0 *sagemaker.DescribeHyperParameterTuningJobInput) (*sagemaker.DescribeHyperParameterTuningJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeHyperParameterTuningJob") + } + var r0 *sagemaker.DescribeHyperParameterTuningJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeHyperParameterTuningJobInput) (*sagemaker.DescribeHyperParameterTuningJobOutput, error)); ok { @@ -11095,6 +13415,10 @@ func (_m *SageMakerAPI) DescribeHyperParameterTuningJob(_a0 *sagemaker.DescribeH func (_m *SageMakerAPI) DescribeHyperParameterTuningJobRequest(_a0 *sagemaker.DescribeHyperParameterTuningJobInput) (*request.Request, *sagemaker.DescribeHyperParameterTuningJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeHyperParameterTuningJobRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeHyperParameterTuningJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeHyperParameterTuningJobInput) (*request.Request, *sagemaker.DescribeHyperParameterTuningJobOutput)); ok { @@ -11130,6 +13454,10 @@ func (_m *SageMakerAPI) DescribeHyperParameterTuningJobWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeHyperParameterTuningJobWithContext") + } + var r0 *sagemaker.DescribeHyperParameterTuningJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeHyperParameterTuningJobInput, ...request.Option) (*sagemaker.DescribeHyperParameterTuningJobOutput, error)); ok { @@ -11156,6 +13484,10 @@ func (_m *SageMakerAPI) DescribeHyperParameterTuningJobWithContext(_a0 context.C func (_m *SageMakerAPI) DescribeImage(_a0 *sagemaker.DescribeImageInput) (*sagemaker.DescribeImageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeImage") + } + var r0 *sagemaker.DescribeImageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeImageInput) (*sagemaker.DescribeImageOutput, error)); ok { @@ -11182,6 +13514,10 @@ func (_m *SageMakerAPI) DescribeImage(_a0 *sagemaker.DescribeImageInput) (*sagem func (_m *SageMakerAPI) DescribeImageRequest(_a0 *sagemaker.DescribeImageInput) (*request.Request, *sagemaker.DescribeImageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeImageRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeImageOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeImageInput) (*request.Request, *sagemaker.DescribeImageOutput)); ok { @@ -11210,6 +13546,10 @@ func (_m *SageMakerAPI) DescribeImageRequest(_a0 *sagemaker.DescribeImageInput) func (_m *SageMakerAPI) DescribeImageVersion(_a0 *sagemaker.DescribeImageVersionInput) (*sagemaker.DescribeImageVersionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeImageVersion") + } + var r0 *sagemaker.DescribeImageVersionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeImageVersionInput) (*sagemaker.DescribeImageVersionOutput, error)); ok { @@ -11236,6 +13576,10 @@ func (_m *SageMakerAPI) DescribeImageVersion(_a0 *sagemaker.DescribeImageVersion func (_m *SageMakerAPI) DescribeImageVersionRequest(_a0 *sagemaker.DescribeImageVersionInput) (*request.Request, *sagemaker.DescribeImageVersionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeImageVersionRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeImageVersionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeImageVersionInput) (*request.Request, *sagemaker.DescribeImageVersionOutput)); ok { @@ -11271,6 +13615,10 @@ func (_m *SageMakerAPI) DescribeImageVersionWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeImageVersionWithContext") + } + var r0 *sagemaker.DescribeImageVersionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeImageVersionInput, ...request.Option) (*sagemaker.DescribeImageVersionOutput, error)); ok { @@ -11304,6 +13652,10 @@ func (_m *SageMakerAPI) DescribeImageWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeImageWithContext") + } + var r0 *sagemaker.DescribeImageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeImageInput, ...request.Option) (*sagemaker.DescribeImageOutput, error)); ok { @@ -11326,10 +13678,113 @@ func (_m *SageMakerAPI) DescribeImageWithContext(_a0 context.Context, _a1 *sagem return r0, r1 } +// DescribeInferenceComponent provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DescribeInferenceComponent(_a0 *sagemaker.DescribeInferenceComponentInput) (*sagemaker.DescribeInferenceComponentOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeInferenceComponent") + } + + var r0 *sagemaker.DescribeInferenceComponentOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeInferenceComponentInput) (*sagemaker.DescribeInferenceComponentOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeInferenceComponentInput) *sagemaker.DescribeInferenceComponentOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DescribeInferenceComponentOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.DescribeInferenceComponentInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// DescribeInferenceComponentRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) DescribeInferenceComponentRequest(_a0 *sagemaker.DescribeInferenceComponentInput) (*request.Request, *sagemaker.DescribeInferenceComponentOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for DescribeInferenceComponentRequest") + } + + var r0 *request.Request + var r1 *sagemaker.DescribeInferenceComponentOutput + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeInferenceComponentInput) (*request.Request, *sagemaker.DescribeInferenceComponentOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.DescribeInferenceComponentInput) *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(*sagemaker.DescribeInferenceComponentInput) *sagemaker.DescribeInferenceComponentOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.DescribeInferenceComponentOutput) + } + } + + return r0, r1 +} + +// DescribeInferenceComponentWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) DescribeInferenceComponentWithContext(_a0 context.Context, _a1 *sagemaker.DescribeInferenceComponentInput, _a2 ...request.Option) (*sagemaker.DescribeInferenceComponentOutput, 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 DescribeInferenceComponentWithContext") + } + + var r0 *sagemaker.DescribeInferenceComponentOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeInferenceComponentInput, ...request.Option) (*sagemaker.DescribeInferenceComponentOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeInferenceComponentInput, ...request.Option) *sagemaker.DescribeInferenceComponentOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.DescribeInferenceComponentOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.DescribeInferenceComponentInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // DescribeInferenceExperiment provides a mock function with given fields: _a0 func (_m *SageMakerAPI) DescribeInferenceExperiment(_a0 *sagemaker.DescribeInferenceExperimentInput) (*sagemaker.DescribeInferenceExperimentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeInferenceExperiment") + } + var r0 *sagemaker.DescribeInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeInferenceExperimentInput) (*sagemaker.DescribeInferenceExperimentOutput, error)); ok { @@ -11356,6 +13811,10 @@ func (_m *SageMakerAPI) DescribeInferenceExperiment(_a0 *sagemaker.DescribeInfer func (_m *SageMakerAPI) DescribeInferenceExperimentRequest(_a0 *sagemaker.DescribeInferenceExperimentInput) (*request.Request, *sagemaker.DescribeInferenceExperimentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeInferenceExperimentRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeInferenceExperimentOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeInferenceExperimentInput) (*request.Request, *sagemaker.DescribeInferenceExperimentOutput)); ok { @@ -11391,6 +13850,10 @@ func (_m *SageMakerAPI) DescribeInferenceExperimentWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInferenceExperimentWithContext") + } + var r0 *sagemaker.DescribeInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeInferenceExperimentInput, ...request.Option) (*sagemaker.DescribeInferenceExperimentOutput, error)); ok { @@ -11417,6 +13880,10 @@ func (_m *SageMakerAPI) DescribeInferenceExperimentWithContext(_a0 context.Conte func (_m *SageMakerAPI) DescribeInferenceRecommendationsJob(_a0 *sagemaker.DescribeInferenceRecommendationsJobInput) (*sagemaker.DescribeInferenceRecommendationsJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeInferenceRecommendationsJob") + } + var r0 *sagemaker.DescribeInferenceRecommendationsJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeInferenceRecommendationsJobInput) (*sagemaker.DescribeInferenceRecommendationsJobOutput, error)); ok { @@ -11443,6 +13910,10 @@ func (_m *SageMakerAPI) DescribeInferenceRecommendationsJob(_a0 *sagemaker.Descr func (_m *SageMakerAPI) DescribeInferenceRecommendationsJobRequest(_a0 *sagemaker.DescribeInferenceRecommendationsJobInput) (*request.Request, *sagemaker.DescribeInferenceRecommendationsJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeInferenceRecommendationsJobRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeInferenceRecommendationsJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeInferenceRecommendationsJobInput) (*request.Request, *sagemaker.DescribeInferenceRecommendationsJobOutput)); ok { @@ -11478,6 +13949,10 @@ func (_m *SageMakerAPI) DescribeInferenceRecommendationsJobWithContext(_a0 conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeInferenceRecommendationsJobWithContext") + } + var r0 *sagemaker.DescribeInferenceRecommendationsJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeInferenceRecommendationsJobInput, ...request.Option) (*sagemaker.DescribeInferenceRecommendationsJobOutput, error)); ok { @@ -11504,6 +13979,10 @@ func (_m *SageMakerAPI) DescribeInferenceRecommendationsJobWithContext(_a0 conte func (_m *SageMakerAPI) DescribeLabelingJob(_a0 *sagemaker.DescribeLabelingJobInput) (*sagemaker.DescribeLabelingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeLabelingJob") + } + var r0 *sagemaker.DescribeLabelingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeLabelingJobInput) (*sagemaker.DescribeLabelingJobOutput, error)); ok { @@ -11530,6 +14009,10 @@ func (_m *SageMakerAPI) DescribeLabelingJob(_a0 *sagemaker.DescribeLabelingJobIn func (_m *SageMakerAPI) DescribeLabelingJobRequest(_a0 *sagemaker.DescribeLabelingJobInput) (*request.Request, *sagemaker.DescribeLabelingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeLabelingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeLabelingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeLabelingJobInput) (*request.Request, *sagemaker.DescribeLabelingJobOutput)); ok { @@ -11565,6 +14048,10 @@ func (_m *SageMakerAPI) DescribeLabelingJobWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLabelingJobWithContext") + } + var r0 *sagemaker.DescribeLabelingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeLabelingJobInput, ...request.Option) (*sagemaker.DescribeLabelingJobOutput, error)); ok { @@ -11591,6 +14078,10 @@ func (_m *SageMakerAPI) DescribeLabelingJobWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DescribeLineageGroup(_a0 *sagemaker.DescribeLineageGroupInput) (*sagemaker.DescribeLineageGroupOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeLineageGroup") + } + var r0 *sagemaker.DescribeLineageGroupOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeLineageGroupInput) (*sagemaker.DescribeLineageGroupOutput, error)); ok { @@ -11617,6 +14108,10 @@ func (_m *SageMakerAPI) DescribeLineageGroup(_a0 *sagemaker.DescribeLineageGroup func (_m *SageMakerAPI) DescribeLineageGroupRequest(_a0 *sagemaker.DescribeLineageGroupInput) (*request.Request, *sagemaker.DescribeLineageGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeLineageGroupRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeLineageGroupOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeLineageGroupInput) (*request.Request, *sagemaker.DescribeLineageGroupOutput)); ok { @@ -11652,6 +14147,10 @@ func (_m *SageMakerAPI) DescribeLineageGroupWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeLineageGroupWithContext") + } + var r0 *sagemaker.DescribeLineageGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeLineageGroupInput, ...request.Option) (*sagemaker.DescribeLineageGroupOutput, error)); ok { @@ -11678,6 +14177,10 @@ func (_m *SageMakerAPI) DescribeLineageGroupWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DescribeModel(_a0 *sagemaker.DescribeModelInput) (*sagemaker.DescribeModelOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModel") + } + var r0 *sagemaker.DescribeModelOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelInput) (*sagemaker.DescribeModelOutput, error)); ok { @@ -11704,6 +14207,10 @@ func (_m *SageMakerAPI) DescribeModel(_a0 *sagemaker.DescribeModelInput) (*sagem func (_m *SageMakerAPI) DescribeModelBiasJobDefinition(_a0 *sagemaker.DescribeModelBiasJobDefinitionInput) (*sagemaker.DescribeModelBiasJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelBiasJobDefinition") + } + var r0 *sagemaker.DescribeModelBiasJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelBiasJobDefinitionInput) (*sagemaker.DescribeModelBiasJobDefinitionOutput, error)); ok { @@ -11730,6 +14237,10 @@ func (_m *SageMakerAPI) DescribeModelBiasJobDefinition(_a0 *sagemaker.DescribeMo func (_m *SageMakerAPI) DescribeModelBiasJobDefinitionRequest(_a0 *sagemaker.DescribeModelBiasJobDefinitionInput) (*request.Request, *sagemaker.DescribeModelBiasJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelBiasJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeModelBiasJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelBiasJobDefinitionInput) (*request.Request, *sagemaker.DescribeModelBiasJobDefinitionOutput)); ok { @@ -11765,6 +14276,10 @@ func (_m *SageMakerAPI) DescribeModelBiasJobDefinitionWithContext(_a0 context.Co _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeModelBiasJobDefinitionWithContext") + } + var r0 *sagemaker.DescribeModelBiasJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeModelBiasJobDefinitionInput, ...request.Option) (*sagemaker.DescribeModelBiasJobDefinitionOutput, error)); ok { @@ -11791,6 +14306,10 @@ func (_m *SageMakerAPI) DescribeModelBiasJobDefinitionWithContext(_a0 context.Co func (_m *SageMakerAPI) DescribeModelCard(_a0 *sagemaker.DescribeModelCardInput) (*sagemaker.DescribeModelCardOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelCard") + } + var r0 *sagemaker.DescribeModelCardOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelCardInput) (*sagemaker.DescribeModelCardOutput, error)); ok { @@ -11817,6 +14336,10 @@ func (_m *SageMakerAPI) DescribeModelCard(_a0 *sagemaker.DescribeModelCardInput) func (_m *SageMakerAPI) DescribeModelCardExportJob(_a0 *sagemaker.DescribeModelCardExportJobInput) (*sagemaker.DescribeModelCardExportJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelCardExportJob") + } + var r0 *sagemaker.DescribeModelCardExportJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelCardExportJobInput) (*sagemaker.DescribeModelCardExportJobOutput, error)); ok { @@ -11843,6 +14366,10 @@ func (_m *SageMakerAPI) DescribeModelCardExportJob(_a0 *sagemaker.DescribeModelC func (_m *SageMakerAPI) DescribeModelCardExportJobRequest(_a0 *sagemaker.DescribeModelCardExportJobInput) (*request.Request, *sagemaker.DescribeModelCardExportJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelCardExportJobRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeModelCardExportJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelCardExportJobInput) (*request.Request, *sagemaker.DescribeModelCardExportJobOutput)); ok { @@ -11878,6 +14405,10 @@ func (_m *SageMakerAPI) DescribeModelCardExportJobWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeModelCardExportJobWithContext") + } + var r0 *sagemaker.DescribeModelCardExportJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeModelCardExportJobInput, ...request.Option) (*sagemaker.DescribeModelCardExportJobOutput, error)); ok { @@ -11904,6 +14435,10 @@ func (_m *SageMakerAPI) DescribeModelCardExportJobWithContext(_a0 context.Contex func (_m *SageMakerAPI) DescribeModelCardRequest(_a0 *sagemaker.DescribeModelCardInput) (*request.Request, *sagemaker.DescribeModelCardOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelCardRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeModelCardOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelCardInput) (*request.Request, *sagemaker.DescribeModelCardOutput)); ok { @@ -11939,6 +14474,10 @@ func (_m *SageMakerAPI) DescribeModelCardWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeModelCardWithContext") + } + var r0 *sagemaker.DescribeModelCardOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeModelCardInput, ...request.Option) (*sagemaker.DescribeModelCardOutput, error)); ok { @@ -11965,6 +14504,10 @@ func (_m *SageMakerAPI) DescribeModelCardWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) DescribeModelExplainabilityJobDefinition(_a0 *sagemaker.DescribeModelExplainabilityJobDefinitionInput) (*sagemaker.DescribeModelExplainabilityJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelExplainabilityJobDefinition") + } + var r0 *sagemaker.DescribeModelExplainabilityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelExplainabilityJobDefinitionInput) (*sagemaker.DescribeModelExplainabilityJobDefinitionOutput, error)); ok { @@ -11991,6 +14534,10 @@ func (_m *SageMakerAPI) DescribeModelExplainabilityJobDefinition(_a0 *sagemaker. func (_m *SageMakerAPI) DescribeModelExplainabilityJobDefinitionRequest(_a0 *sagemaker.DescribeModelExplainabilityJobDefinitionInput) (*request.Request, *sagemaker.DescribeModelExplainabilityJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelExplainabilityJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeModelExplainabilityJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelExplainabilityJobDefinitionInput) (*request.Request, *sagemaker.DescribeModelExplainabilityJobDefinitionOutput)); ok { @@ -12026,6 +14573,10 @@ func (_m *SageMakerAPI) DescribeModelExplainabilityJobDefinitionWithContext(_a0 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeModelExplainabilityJobDefinitionWithContext") + } + var r0 *sagemaker.DescribeModelExplainabilityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeModelExplainabilityJobDefinitionInput, ...request.Option) (*sagemaker.DescribeModelExplainabilityJobDefinitionOutput, error)); ok { @@ -12052,6 +14603,10 @@ func (_m *SageMakerAPI) DescribeModelExplainabilityJobDefinitionWithContext(_a0 func (_m *SageMakerAPI) DescribeModelPackage(_a0 *sagemaker.DescribeModelPackageInput) (*sagemaker.DescribeModelPackageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelPackage") + } + var r0 *sagemaker.DescribeModelPackageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelPackageInput) (*sagemaker.DescribeModelPackageOutput, error)); ok { @@ -12078,6 +14633,10 @@ func (_m *SageMakerAPI) DescribeModelPackage(_a0 *sagemaker.DescribeModelPackage func (_m *SageMakerAPI) DescribeModelPackageGroup(_a0 *sagemaker.DescribeModelPackageGroupInput) (*sagemaker.DescribeModelPackageGroupOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelPackageGroup") + } + var r0 *sagemaker.DescribeModelPackageGroupOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelPackageGroupInput) (*sagemaker.DescribeModelPackageGroupOutput, error)); ok { @@ -12104,6 +14663,10 @@ func (_m *SageMakerAPI) DescribeModelPackageGroup(_a0 *sagemaker.DescribeModelPa func (_m *SageMakerAPI) DescribeModelPackageGroupRequest(_a0 *sagemaker.DescribeModelPackageGroupInput) (*request.Request, *sagemaker.DescribeModelPackageGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelPackageGroupRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeModelPackageGroupOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelPackageGroupInput) (*request.Request, *sagemaker.DescribeModelPackageGroupOutput)); ok { @@ -12139,6 +14702,10 @@ func (_m *SageMakerAPI) DescribeModelPackageGroupWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeModelPackageGroupWithContext") + } + var r0 *sagemaker.DescribeModelPackageGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeModelPackageGroupInput, ...request.Option) (*sagemaker.DescribeModelPackageGroupOutput, error)); ok { @@ -12165,6 +14732,10 @@ func (_m *SageMakerAPI) DescribeModelPackageGroupWithContext(_a0 context.Context func (_m *SageMakerAPI) DescribeModelPackageRequest(_a0 *sagemaker.DescribeModelPackageInput) (*request.Request, *sagemaker.DescribeModelPackageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelPackageRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeModelPackageOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelPackageInput) (*request.Request, *sagemaker.DescribeModelPackageOutput)); ok { @@ -12200,6 +14771,10 @@ func (_m *SageMakerAPI) DescribeModelPackageWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeModelPackageWithContext") + } + var r0 *sagemaker.DescribeModelPackageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeModelPackageInput, ...request.Option) (*sagemaker.DescribeModelPackageOutput, error)); ok { @@ -12226,6 +14801,10 @@ func (_m *SageMakerAPI) DescribeModelPackageWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DescribeModelQualityJobDefinition(_a0 *sagemaker.DescribeModelQualityJobDefinitionInput) (*sagemaker.DescribeModelQualityJobDefinitionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelQualityJobDefinition") + } + var r0 *sagemaker.DescribeModelQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelQualityJobDefinitionInput) (*sagemaker.DescribeModelQualityJobDefinitionOutput, error)); ok { @@ -12252,6 +14831,10 @@ func (_m *SageMakerAPI) DescribeModelQualityJobDefinition(_a0 *sagemaker.Describ func (_m *SageMakerAPI) DescribeModelQualityJobDefinitionRequest(_a0 *sagemaker.DescribeModelQualityJobDefinitionInput) (*request.Request, *sagemaker.DescribeModelQualityJobDefinitionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelQualityJobDefinitionRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeModelQualityJobDefinitionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelQualityJobDefinitionInput) (*request.Request, *sagemaker.DescribeModelQualityJobDefinitionOutput)); ok { @@ -12287,6 +14870,10 @@ func (_m *SageMakerAPI) DescribeModelQualityJobDefinitionWithContext(_a0 context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeModelQualityJobDefinitionWithContext") + } + var r0 *sagemaker.DescribeModelQualityJobDefinitionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeModelQualityJobDefinitionInput, ...request.Option) (*sagemaker.DescribeModelQualityJobDefinitionOutput, error)); ok { @@ -12313,6 +14900,10 @@ func (_m *SageMakerAPI) DescribeModelQualityJobDefinitionWithContext(_a0 context func (_m *SageMakerAPI) DescribeModelRequest(_a0 *sagemaker.DescribeModelInput) (*request.Request, *sagemaker.DescribeModelOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeModelRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeModelOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeModelInput) (*request.Request, *sagemaker.DescribeModelOutput)); ok { @@ -12348,6 +14939,10 @@ func (_m *SageMakerAPI) DescribeModelWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeModelWithContext") + } + var r0 *sagemaker.DescribeModelOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeModelInput, ...request.Option) (*sagemaker.DescribeModelOutput, error)); ok { @@ -12374,6 +14969,10 @@ func (_m *SageMakerAPI) DescribeModelWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) DescribeMonitoringSchedule(_a0 *sagemaker.DescribeMonitoringScheduleInput) (*sagemaker.DescribeMonitoringScheduleOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeMonitoringSchedule") + } + var r0 *sagemaker.DescribeMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeMonitoringScheduleInput) (*sagemaker.DescribeMonitoringScheduleOutput, error)); ok { @@ -12400,6 +14999,10 @@ func (_m *SageMakerAPI) DescribeMonitoringSchedule(_a0 *sagemaker.DescribeMonito func (_m *SageMakerAPI) DescribeMonitoringScheduleRequest(_a0 *sagemaker.DescribeMonitoringScheduleInput) (*request.Request, *sagemaker.DescribeMonitoringScheduleOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeMonitoringScheduleRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeMonitoringScheduleOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeMonitoringScheduleInput) (*request.Request, *sagemaker.DescribeMonitoringScheduleOutput)); ok { @@ -12435,6 +15038,10 @@ func (_m *SageMakerAPI) DescribeMonitoringScheduleWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeMonitoringScheduleWithContext") + } + var r0 *sagemaker.DescribeMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeMonitoringScheduleInput, ...request.Option) (*sagemaker.DescribeMonitoringScheduleOutput, error)); ok { @@ -12461,6 +15068,10 @@ func (_m *SageMakerAPI) DescribeMonitoringScheduleWithContext(_a0 context.Contex func (_m *SageMakerAPI) DescribeNotebookInstance(_a0 *sagemaker.DescribeNotebookInstanceInput) (*sagemaker.DescribeNotebookInstanceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeNotebookInstance") + } + var r0 *sagemaker.DescribeNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeNotebookInstanceInput) (*sagemaker.DescribeNotebookInstanceOutput, error)); ok { @@ -12487,6 +15098,10 @@ func (_m *SageMakerAPI) DescribeNotebookInstance(_a0 *sagemaker.DescribeNotebook func (_m *SageMakerAPI) DescribeNotebookInstanceLifecycleConfig(_a0 *sagemaker.DescribeNotebookInstanceLifecycleConfigInput) (*sagemaker.DescribeNotebookInstanceLifecycleConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeNotebookInstanceLifecycleConfig") + } + var r0 *sagemaker.DescribeNotebookInstanceLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeNotebookInstanceLifecycleConfigInput) (*sagemaker.DescribeNotebookInstanceLifecycleConfigOutput, error)); ok { @@ -12513,6 +15128,10 @@ func (_m *SageMakerAPI) DescribeNotebookInstanceLifecycleConfig(_a0 *sagemaker.D func (_m *SageMakerAPI) DescribeNotebookInstanceLifecycleConfigRequest(_a0 *sagemaker.DescribeNotebookInstanceLifecycleConfigInput) (*request.Request, *sagemaker.DescribeNotebookInstanceLifecycleConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeNotebookInstanceLifecycleConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeNotebookInstanceLifecycleConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeNotebookInstanceLifecycleConfigInput) (*request.Request, *sagemaker.DescribeNotebookInstanceLifecycleConfigOutput)); ok { @@ -12548,6 +15167,10 @@ func (_m *SageMakerAPI) DescribeNotebookInstanceLifecycleConfigWithContext(_a0 c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNotebookInstanceLifecycleConfigWithContext") + } + var r0 *sagemaker.DescribeNotebookInstanceLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeNotebookInstanceLifecycleConfigInput, ...request.Option) (*sagemaker.DescribeNotebookInstanceLifecycleConfigOutput, error)); ok { @@ -12574,6 +15197,10 @@ func (_m *SageMakerAPI) DescribeNotebookInstanceLifecycleConfigWithContext(_a0 c func (_m *SageMakerAPI) DescribeNotebookInstanceRequest(_a0 *sagemaker.DescribeNotebookInstanceInput) (*request.Request, *sagemaker.DescribeNotebookInstanceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeNotebookInstanceRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeNotebookInstanceOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeNotebookInstanceInput) (*request.Request, *sagemaker.DescribeNotebookInstanceOutput)); ok { @@ -12609,6 +15236,10 @@ func (_m *SageMakerAPI) DescribeNotebookInstanceWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeNotebookInstanceWithContext") + } + var r0 *sagemaker.DescribeNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeNotebookInstanceInput, ...request.Option) (*sagemaker.DescribeNotebookInstanceOutput, error)); ok { @@ -12635,6 +15266,10 @@ func (_m *SageMakerAPI) DescribeNotebookInstanceWithContext(_a0 context.Context, func (_m *SageMakerAPI) DescribePipeline(_a0 *sagemaker.DescribePipelineInput) (*sagemaker.DescribePipelineOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribePipeline") + } + var r0 *sagemaker.DescribePipelineOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribePipelineInput) (*sagemaker.DescribePipelineOutput, error)); ok { @@ -12661,6 +15296,10 @@ func (_m *SageMakerAPI) DescribePipeline(_a0 *sagemaker.DescribePipelineInput) ( func (_m *SageMakerAPI) DescribePipelineDefinitionForExecution(_a0 *sagemaker.DescribePipelineDefinitionForExecutionInput) (*sagemaker.DescribePipelineDefinitionForExecutionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribePipelineDefinitionForExecution") + } + var r0 *sagemaker.DescribePipelineDefinitionForExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribePipelineDefinitionForExecutionInput) (*sagemaker.DescribePipelineDefinitionForExecutionOutput, error)); ok { @@ -12687,6 +15326,10 @@ func (_m *SageMakerAPI) DescribePipelineDefinitionForExecution(_a0 *sagemaker.De func (_m *SageMakerAPI) DescribePipelineDefinitionForExecutionRequest(_a0 *sagemaker.DescribePipelineDefinitionForExecutionInput) (*request.Request, *sagemaker.DescribePipelineDefinitionForExecutionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribePipelineDefinitionForExecutionRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribePipelineDefinitionForExecutionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribePipelineDefinitionForExecutionInput) (*request.Request, *sagemaker.DescribePipelineDefinitionForExecutionOutput)); ok { @@ -12722,6 +15365,10 @@ func (_m *SageMakerAPI) DescribePipelineDefinitionForExecutionWithContext(_a0 co _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePipelineDefinitionForExecutionWithContext") + } + var r0 *sagemaker.DescribePipelineDefinitionForExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribePipelineDefinitionForExecutionInput, ...request.Option) (*sagemaker.DescribePipelineDefinitionForExecutionOutput, error)); ok { @@ -12748,6 +15395,10 @@ func (_m *SageMakerAPI) DescribePipelineDefinitionForExecutionWithContext(_a0 co func (_m *SageMakerAPI) DescribePipelineExecution(_a0 *sagemaker.DescribePipelineExecutionInput) (*sagemaker.DescribePipelineExecutionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribePipelineExecution") + } + var r0 *sagemaker.DescribePipelineExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribePipelineExecutionInput) (*sagemaker.DescribePipelineExecutionOutput, error)); ok { @@ -12774,6 +15425,10 @@ func (_m *SageMakerAPI) DescribePipelineExecution(_a0 *sagemaker.DescribePipelin func (_m *SageMakerAPI) DescribePipelineExecutionRequest(_a0 *sagemaker.DescribePipelineExecutionInput) (*request.Request, *sagemaker.DescribePipelineExecutionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribePipelineExecutionRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribePipelineExecutionOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribePipelineExecutionInput) (*request.Request, *sagemaker.DescribePipelineExecutionOutput)); ok { @@ -12809,6 +15464,10 @@ func (_m *SageMakerAPI) DescribePipelineExecutionWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePipelineExecutionWithContext") + } + var r0 *sagemaker.DescribePipelineExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribePipelineExecutionInput, ...request.Option) (*sagemaker.DescribePipelineExecutionOutput, error)); ok { @@ -12835,6 +15494,10 @@ func (_m *SageMakerAPI) DescribePipelineExecutionWithContext(_a0 context.Context func (_m *SageMakerAPI) DescribePipelineRequest(_a0 *sagemaker.DescribePipelineInput) (*request.Request, *sagemaker.DescribePipelineOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribePipelineRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribePipelineOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribePipelineInput) (*request.Request, *sagemaker.DescribePipelineOutput)); ok { @@ -12870,6 +15533,10 @@ func (_m *SageMakerAPI) DescribePipelineWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribePipelineWithContext") + } + var r0 *sagemaker.DescribePipelineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribePipelineInput, ...request.Option) (*sagemaker.DescribePipelineOutput, error)); ok { @@ -12896,6 +15563,10 @@ func (_m *SageMakerAPI) DescribePipelineWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) DescribeProcessingJob(_a0 *sagemaker.DescribeProcessingJobInput) (*sagemaker.DescribeProcessingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeProcessingJob") + } + var r0 *sagemaker.DescribeProcessingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeProcessingJobInput) (*sagemaker.DescribeProcessingJobOutput, error)); ok { @@ -12922,6 +15593,10 @@ func (_m *SageMakerAPI) DescribeProcessingJob(_a0 *sagemaker.DescribeProcessingJ func (_m *SageMakerAPI) DescribeProcessingJobRequest(_a0 *sagemaker.DescribeProcessingJobInput) (*request.Request, *sagemaker.DescribeProcessingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeProcessingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeProcessingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeProcessingJobInput) (*request.Request, *sagemaker.DescribeProcessingJobOutput)); ok { @@ -12957,6 +15632,10 @@ func (_m *SageMakerAPI) DescribeProcessingJobWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeProcessingJobWithContext") + } + var r0 *sagemaker.DescribeProcessingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeProcessingJobInput, ...request.Option) (*sagemaker.DescribeProcessingJobOutput, error)); ok { @@ -12983,6 +15662,10 @@ func (_m *SageMakerAPI) DescribeProcessingJobWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) DescribeProject(_a0 *sagemaker.DescribeProjectInput) (*sagemaker.DescribeProjectOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeProject") + } + var r0 *sagemaker.DescribeProjectOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeProjectInput) (*sagemaker.DescribeProjectOutput, error)); ok { @@ -13009,6 +15692,10 @@ func (_m *SageMakerAPI) DescribeProject(_a0 *sagemaker.DescribeProjectInput) (*s func (_m *SageMakerAPI) DescribeProjectRequest(_a0 *sagemaker.DescribeProjectInput) (*request.Request, *sagemaker.DescribeProjectOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeProjectRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeProjectOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeProjectInput) (*request.Request, *sagemaker.DescribeProjectOutput)); ok { @@ -13044,6 +15731,10 @@ func (_m *SageMakerAPI) DescribeProjectWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeProjectWithContext") + } + var r0 *sagemaker.DescribeProjectOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeProjectInput, ...request.Option) (*sagemaker.DescribeProjectOutput, error)); ok { @@ -13070,6 +15761,10 @@ func (_m *SageMakerAPI) DescribeProjectWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) DescribeSpace(_a0 *sagemaker.DescribeSpaceInput) (*sagemaker.DescribeSpaceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeSpace") + } + var r0 *sagemaker.DescribeSpaceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeSpaceInput) (*sagemaker.DescribeSpaceOutput, error)); ok { @@ -13096,6 +15791,10 @@ func (_m *SageMakerAPI) DescribeSpace(_a0 *sagemaker.DescribeSpaceInput) (*sagem func (_m *SageMakerAPI) DescribeSpaceRequest(_a0 *sagemaker.DescribeSpaceInput) (*request.Request, *sagemaker.DescribeSpaceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeSpaceRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeSpaceOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeSpaceInput) (*request.Request, *sagemaker.DescribeSpaceOutput)); ok { @@ -13131,6 +15830,10 @@ func (_m *SageMakerAPI) DescribeSpaceWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSpaceWithContext") + } + var r0 *sagemaker.DescribeSpaceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeSpaceInput, ...request.Option) (*sagemaker.DescribeSpaceOutput, error)); ok { @@ -13157,6 +15860,10 @@ func (_m *SageMakerAPI) DescribeSpaceWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) DescribeStudioLifecycleConfig(_a0 *sagemaker.DescribeStudioLifecycleConfigInput) (*sagemaker.DescribeStudioLifecycleConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeStudioLifecycleConfig") + } + var r0 *sagemaker.DescribeStudioLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeStudioLifecycleConfigInput) (*sagemaker.DescribeStudioLifecycleConfigOutput, error)); ok { @@ -13183,6 +15890,10 @@ func (_m *SageMakerAPI) DescribeStudioLifecycleConfig(_a0 *sagemaker.DescribeStu func (_m *SageMakerAPI) DescribeStudioLifecycleConfigRequest(_a0 *sagemaker.DescribeStudioLifecycleConfigInput) (*request.Request, *sagemaker.DescribeStudioLifecycleConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeStudioLifecycleConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeStudioLifecycleConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeStudioLifecycleConfigInput) (*request.Request, *sagemaker.DescribeStudioLifecycleConfigOutput)); ok { @@ -13218,6 +15929,10 @@ func (_m *SageMakerAPI) DescribeStudioLifecycleConfigWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeStudioLifecycleConfigWithContext") + } + var r0 *sagemaker.DescribeStudioLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeStudioLifecycleConfigInput, ...request.Option) (*sagemaker.DescribeStudioLifecycleConfigOutput, error)); ok { @@ -13244,6 +15959,10 @@ func (_m *SageMakerAPI) DescribeStudioLifecycleConfigWithContext(_a0 context.Con func (_m *SageMakerAPI) DescribeSubscribedWorkteam(_a0 *sagemaker.DescribeSubscribedWorkteamInput) (*sagemaker.DescribeSubscribedWorkteamOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeSubscribedWorkteam") + } + var r0 *sagemaker.DescribeSubscribedWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeSubscribedWorkteamInput) (*sagemaker.DescribeSubscribedWorkteamOutput, error)); ok { @@ -13270,6 +15989,10 @@ func (_m *SageMakerAPI) DescribeSubscribedWorkteam(_a0 *sagemaker.DescribeSubscr func (_m *SageMakerAPI) DescribeSubscribedWorkteamRequest(_a0 *sagemaker.DescribeSubscribedWorkteamInput) (*request.Request, *sagemaker.DescribeSubscribedWorkteamOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeSubscribedWorkteamRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeSubscribedWorkteamOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeSubscribedWorkteamInput) (*request.Request, *sagemaker.DescribeSubscribedWorkteamOutput)); ok { @@ -13305,6 +16028,10 @@ func (_m *SageMakerAPI) DescribeSubscribedWorkteamWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeSubscribedWorkteamWithContext") + } + var r0 *sagemaker.DescribeSubscribedWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeSubscribedWorkteamInput, ...request.Option) (*sagemaker.DescribeSubscribedWorkteamOutput, error)); ok { @@ -13331,6 +16058,10 @@ func (_m *SageMakerAPI) DescribeSubscribedWorkteamWithContext(_a0 context.Contex func (_m *SageMakerAPI) DescribeTrainingJob(_a0 *sagemaker.DescribeTrainingJobInput) (*sagemaker.DescribeTrainingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeTrainingJob") + } + var r0 *sagemaker.DescribeTrainingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeTrainingJobInput) (*sagemaker.DescribeTrainingJobOutput, error)); ok { @@ -13357,6 +16088,10 @@ func (_m *SageMakerAPI) DescribeTrainingJob(_a0 *sagemaker.DescribeTrainingJobIn func (_m *SageMakerAPI) DescribeTrainingJobRequest(_a0 *sagemaker.DescribeTrainingJobInput) (*request.Request, *sagemaker.DescribeTrainingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeTrainingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeTrainingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeTrainingJobInput) (*request.Request, *sagemaker.DescribeTrainingJobOutput)); ok { @@ -13392,6 +16127,10 @@ func (_m *SageMakerAPI) DescribeTrainingJobWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrainingJobWithContext") + } + var r0 *sagemaker.DescribeTrainingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeTrainingJobInput, ...request.Option) (*sagemaker.DescribeTrainingJobOutput, error)); ok { @@ -13418,6 +16157,10 @@ func (_m *SageMakerAPI) DescribeTrainingJobWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DescribeTransformJob(_a0 *sagemaker.DescribeTransformJobInput) (*sagemaker.DescribeTransformJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeTransformJob") + } + var r0 *sagemaker.DescribeTransformJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeTransformJobInput) (*sagemaker.DescribeTransformJobOutput, error)); ok { @@ -13444,6 +16187,10 @@ func (_m *SageMakerAPI) DescribeTransformJob(_a0 *sagemaker.DescribeTransformJob func (_m *SageMakerAPI) DescribeTransformJobRequest(_a0 *sagemaker.DescribeTransformJobInput) (*request.Request, *sagemaker.DescribeTransformJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeTransformJobRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeTransformJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeTransformJobInput) (*request.Request, *sagemaker.DescribeTransformJobOutput)); ok { @@ -13479,6 +16226,10 @@ func (_m *SageMakerAPI) DescribeTransformJobWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTransformJobWithContext") + } + var r0 *sagemaker.DescribeTransformJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeTransformJobInput, ...request.Option) (*sagemaker.DescribeTransformJobOutput, error)); ok { @@ -13505,6 +16256,10 @@ func (_m *SageMakerAPI) DescribeTransformJobWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DescribeTrial(_a0 *sagemaker.DescribeTrialInput) (*sagemaker.DescribeTrialOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeTrial") + } + var r0 *sagemaker.DescribeTrialOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeTrialInput) (*sagemaker.DescribeTrialOutput, error)); ok { @@ -13531,6 +16286,10 @@ func (_m *SageMakerAPI) DescribeTrial(_a0 *sagemaker.DescribeTrialInput) (*sagem func (_m *SageMakerAPI) DescribeTrialComponent(_a0 *sagemaker.DescribeTrialComponentInput) (*sagemaker.DescribeTrialComponentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeTrialComponent") + } + var r0 *sagemaker.DescribeTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeTrialComponentInput) (*sagemaker.DescribeTrialComponentOutput, error)); ok { @@ -13557,6 +16316,10 @@ func (_m *SageMakerAPI) DescribeTrialComponent(_a0 *sagemaker.DescribeTrialCompo func (_m *SageMakerAPI) DescribeTrialComponentRequest(_a0 *sagemaker.DescribeTrialComponentInput) (*request.Request, *sagemaker.DescribeTrialComponentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeTrialComponentRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeTrialComponentOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeTrialComponentInput) (*request.Request, *sagemaker.DescribeTrialComponentOutput)); ok { @@ -13592,6 +16355,10 @@ func (_m *SageMakerAPI) DescribeTrialComponentWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrialComponentWithContext") + } + var r0 *sagemaker.DescribeTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeTrialComponentInput, ...request.Option) (*sagemaker.DescribeTrialComponentOutput, error)); ok { @@ -13618,6 +16385,10 @@ func (_m *SageMakerAPI) DescribeTrialComponentWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) DescribeTrialRequest(_a0 *sagemaker.DescribeTrialInput) (*request.Request, *sagemaker.DescribeTrialOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeTrialRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeTrialOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeTrialInput) (*request.Request, *sagemaker.DescribeTrialOutput)); ok { @@ -13653,6 +16424,10 @@ func (_m *SageMakerAPI) DescribeTrialWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeTrialWithContext") + } + var r0 *sagemaker.DescribeTrialOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeTrialInput, ...request.Option) (*sagemaker.DescribeTrialOutput, error)); ok { @@ -13679,6 +16454,10 @@ func (_m *SageMakerAPI) DescribeTrialWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) DescribeUserProfile(_a0 *sagemaker.DescribeUserProfileInput) (*sagemaker.DescribeUserProfileOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeUserProfile") + } + var r0 *sagemaker.DescribeUserProfileOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeUserProfileInput) (*sagemaker.DescribeUserProfileOutput, error)); ok { @@ -13705,6 +16484,10 @@ func (_m *SageMakerAPI) DescribeUserProfile(_a0 *sagemaker.DescribeUserProfileIn func (_m *SageMakerAPI) DescribeUserProfileRequest(_a0 *sagemaker.DescribeUserProfileInput) (*request.Request, *sagemaker.DescribeUserProfileOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeUserProfileRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeUserProfileOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeUserProfileInput) (*request.Request, *sagemaker.DescribeUserProfileOutput)); ok { @@ -13740,6 +16523,10 @@ func (_m *SageMakerAPI) DescribeUserProfileWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeUserProfileWithContext") + } + var r0 *sagemaker.DescribeUserProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeUserProfileInput, ...request.Option) (*sagemaker.DescribeUserProfileOutput, error)); ok { @@ -13766,6 +16553,10 @@ func (_m *SageMakerAPI) DescribeUserProfileWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) DescribeWorkforce(_a0 *sagemaker.DescribeWorkforceInput) (*sagemaker.DescribeWorkforceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeWorkforce") + } + var r0 *sagemaker.DescribeWorkforceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeWorkforceInput) (*sagemaker.DescribeWorkforceOutput, error)); ok { @@ -13792,6 +16583,10 @@ func (_m *SageMakerAPI) DescribeWorkforce(_a0 *sagemaker.DescribeWorkforceInput) func (_m *SageMakerAPI) DescribeWorkforceRequest(_a0 *sagemaker.DescribeWorkforceInput) (*request.Request, *sagemaker.DescribeWorkforceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeWorkforceRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeWorkforceOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeWorkforceInput) (*request.Request, *sagemaker.DescribeWorkforceOutput)); ok { @@ -13827,6 +16622,10 @@ func (_m *SageMakerAPI) DescribeWorkforceWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeWorkforceWithContext") + } + var r0 *sagemaker.DescribeWorkforceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeWorkforceInput, ...request.Option) (*sagemaker.DescribeWorkforceOutput, error)); ok { @@ -13853,6 +16652,10 @@ func (_m *SageMakerAPI) DescribeWorkforceWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) DescribeWorkteam(_a0 *sagemaker.DescribeWorkteamInput) (*sagemaker.DescribeWorkteamOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeWorkteam") + } + var r0 *sagemaker.DescribeWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeWorkteamInput) (*sagemaker.DescribeWorkteamOutput, error)); ok { @@ -13879,6 +16682,10 @@ func (_m *SageMakerAPI) DescribeWorkteam(_a0 *sagemaker.DescribeWorkteamInput) ( func (_m *SageMakerAPI) DescribeWorkteamRequest(_a0 *sagemaker.DescribeWorkteamInput) (*request.Request, *sagemaker.DescribeWorkteamOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DescribeWorkteamRequest") + } + var r0 *request.Request var r1 *sagemaker.DescribeWorkteamOutput if rf, ok := ret.Get(0).(func(*sagemaker.DescribeWorkteamInput) (*request.Request, *sagemaker.DescribeWorkteamOutput)); ok { @@ -13914,6 +16721,10 @@ func (_m *SageMakerAPI) DescribeWorkteamWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DescribeWorkteamWithContext") + } + var r0 *sagemaker.DescribeWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeWorkteamInput, ...request.Option) (*sagemaker.DescribeWorkteamOutput, error)); ok { @@ -13940,6 +16751,10 @@ func (_m *SageMakerAPI) DescribeWorkteamWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) DisableSagemakerServicecatalogPortfolio(_a0 *sagemaker.DisableSagemakerServicecatalogPortfolioInput) (*sagemaker.DisableSagemakerServicecatalogPortfolioOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DisableSagemakerServicecatalogPortfolio") + } + var r0 *sagemaker.DisableSagemakerServicecatalogPortfolioOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DisableSagemakerServicecatalogPortfolioInput) (*sagemaker.DisableSagemakerServicecatalogPortfolioOutput, error)); ok { @@ -13966,6 +16781,10 @@ func (_m *SageMakerAPI) DisableSagemakerServicecatalogPortfolio(_a0 *sagemaker.D func (_m *SageMakerAPI) DisableSagemakerServicecatalogPortfolioRequest(_a0 *sagemaker.DisableSagemakerServicecatalogPortfolioInput) (*request.Request, *sagemaker.DisableSagemakerServicecatalogPortfolioOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DisableSagemakerServicecatalogPortfolioRequest") + } + var r0 *request.Request var r1 *sagemaker.DisableSagemakerServicecatalogPortfolioOutput if rf, ok := ret.Get(0).(func(*sagemaker.DisableSagemakerServicecatalogPortfolioInput) (*request.Request, *sagemaker.DisableSagemakerServicecatalogPortfolioOutput)); ok { @@ -14001,6 +16820,10 @@ func (_m *SageMakerAPI) DisableSagemakerServicecatalogPortfolioWithContext(_a0 c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisableSagemakerServicecatalogPortfolioWithContext") + } + var r0 *sagemaker.DisableSagemakerServicecatalogPortfolioOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DisableSagemakerServicecatalogPortfolioInput, ...request.Option) (*sagemaker.DisableSagemakerServicecatalogPortfolioOutput, error)); ok { @@ -14027,6 +16850,10 @@ func (_m *SageMakerAPI) DisableSagemakerServicecatalogPortfolioWithContext(_a0 c func (_m *SageMakerAPI) DisassociateTrialComponent(_a0 *sagemaker.DisassociateTrialComponentInput) (*sagemaker.DisassociateTrialComponentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DisassociateTrialComponent") + } + var r0 *sagemaker.DisassociateTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.DisassociateTrialComponentInput) (*sagemaker.DisassociateTrialComponentOutput, error)); ok { @@ -14053,6 +16880,10 @@ func (_m *SageMakerAPI) DisassociateTrialComponent(_a0 *sagemaker.DisassociateTr func (_m *SageMakerAPI) DisassociateTrialComponentRequest(_a0 *sagemaker.DisassociateTrialComponentInput) (*request.Request, *sagemaker.DisassociateTrialComponentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for DisassociateTrialComponentRequest") + } + var r0 *request.Request var r1 *sagemaker.DisassociateTrialComponentOutput if rf, ok := ret.Get(0).(func(*sagemaker.DisassociateTrialComponentInput) (*request.Request, *sagemaker.DisassociateTrialComponentOutput)); ok { @@ -14088,6 +16919,10 @@ func (_m *SageMakerAPI) DisassociateTrialComponentWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for DisassociateTrialComponentWithContext") + } + var r0 *sagemaker.DisassociateTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DisassociateTrialComponentInput, ...request.Option) (*sagemaker.DisassociateTrialComponentOutput, error)); ok { @@ -14114,6 +16949,10 @@ func (_m *SageMakerAPI) DisassociateTrialComponentWithContext(_a0 context.Contex func (_m *SageMakerAPI) EnableSagemakerServicecatalogPortfolio(_a0 *sagemaker.EnableSagemakerServicecatalogPortfolioInput) (*sagemaker.EnableSagemakerServicecatalogPortfolioOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for EnableSagemakerServicecatalogPortfolio") + } + var r0 *sagemaker.EnableSagemakerServicecatalogPortfolioOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.EnableSagemakerServicecatalogPortfolioInput) (*sagemaker.EnableSagemakerServicecatalogPortfolioOutput, error)); ok { @@ -14140,6 +16979,10 @@ func (_m *SageMakerAPI) EnableSagemakerServicecatalogPortfolio(_a0 *sagemaker.En func (_m *SageMakerAPI) EnableSagemakerServicecatalogPortfolioRequest(_a0 *sagemaker.EnableSagemakerServicecatalogPortfolioInput) (*request.Request, *sagemaker.EnableSagemakerServicecatalogPortfolioOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for EnableSagemakerServicecatalogPortfolioRequest") + } + var r0 *request.Request var r1 *sagemaker.EnableSagemakerServicecatalogPortfolioOutput if rf, ok := ret.Get(0).(func(*sagemaker.EnableSagemakerServicecatalogPortfolioInput) (*request.Request, *sagemaker.EnableSagemakerServicecatalogPortfolioOutput)); ok { @@ -14175,6 +17018,10 @@ func (_m *SageMakerAPI) EnableSagemakerServicecatalogPortfolioWithContext(_a0 co _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for EnableSagemakerServicecatalogPortfolioWithContext") + } + var r0 *sagemaker.EnableSagemakerServicecatalogPortfolioOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.EnableSagemakerServicecatalogPortfolioInput, ...request.Option) (*sagemaker.EnableSagemakerServicecatalogPortfolioOutput, error)); ok { @@ -14201,6 +17048,10 @@ func (_m *SageMakerAPI) EnableSagemakerServicecatalogPortfolioWithContext(_a0 co func (_m *SageMakerAPI) GetDeviceFleetReport(_a0 *sagemaker.GetDeviceFleetReportInput) (*sagemaker.GetDeviceFleetReportOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetDeviceFleetReport") + } + var r0 *sagemaker.GetDeviceFleetReportOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.GetDeviceFleetReportInput) (*sagemaker.GetDeviceFleetReportOutput, error)); ok { @@ -14227,6 +17078,10 @@ func (_m *SageMakerAPI) GetDeviceFleetReport(_a0 *sagemaker.GetDeviceFleetReport func (_m *SageMakerAPI) GetDeviceFleetReportRequest(_a0 *sagemaker.GetDeviceFleetReportInput) (*request.Request, *sagemaker.GetDeviceFleetReportOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetDeviceFleetReportRequest") + } + var r0 *request.Request var r1 *sagemaker.GetDeviceFleetReportOutput if rf, ok := ret.Get(0).(func(*sagemaker.GetDeviceFleetReportInput) (*request.Request, *sagemaker.GetDeviceFleetReportOutput)); ok { @@ -14262,6 +17117,10 @@ func (_m *SageMakerAPI) GetDeviceFleetReportWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetDeviceFleetReportWithContext") + } + var r0 *sagemaker.GetDeviceFleetReportOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.GetDeviceFleetReportInput, ...request.Option) (*sagemaker.GetDeviceFleetReportOutput, error)); ok { @@ -14288,6 +17147,10 @@ func (_m *SageMakerAPI) GetDeviceFleetReportWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) GetLineageGroupPolicy(_a0 *sagemaker.GetLineageGroupPolicyInput) (*sagemaker.GetLineageGroupPolicyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLineageGroupPolicy") + } + var r0 *sagemaker.GetLineageGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.GetLineageGroupPolicyInput) (*sagemaker.GetLineageGroupPolicyOutput, error)); ok { @@ -14314,6 +17177,10 @@ func (_m *SageMakerAPI) GetLineageGroupPolicy(_a0 *sagemaker.GetLineageGroupPoli func (_m *SageMakerAPI) GetLineageGroupPolicyRequest(_a0 *sagemaker.GetLineageGroupPolicyInput) (*request.Request, *sagemaker.GetLineageGroupPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetLineageGroupPolicyRequest") + } + var r0 *request.Request var r1 *sagemaker.GetLineageGroupPolicyOutput if rf, ok := ret.Get(0).(func(*sagemaker.GetLineageGroupPolicyInput) (*request.Request, *sagemaker.GetLineageGroupPolicyOutput)); ok { @@ -14349,6 +17216,10 @@ func (_m *SageMakerAPI) GetLineageGroupPolicyWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetLineageGroupPolicyWithContext") + } + var r0 *sagemaker.GetLineageGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.GetLineageGroupPolicyInput, ...request.Option) (*sagemaker.GetLineageGroupPolicyOutput, error)); ok { @@ -14375,6 +17246,10 @@ func (_m *SageMakerAPI) GetLineageGroupPolicyWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) GetModelPackageGroupPolicy(_a0 *sagemaker.GetModelPackageGroupPolicyInput) (*sagemaker.GetModelPackageGroupPolicyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetModelPackageGroupPolicy") + } + var r0 *sagemaker.GetModelPackageGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.GetModelPackageGroupPolicyInput) (*sagemaker.GetModelPackageGroupPolicyOutput, error)); ok { @@ -14401,6 +17276,10 @@ func (_m *SageMakerAPI) GetModelPackageGroupPolicy(_a0 *sagemaker.GetModelPackag func (_m *SageMakerAPI) GetModelPackageGroupPolicyRequest(_a0 *sagemaker.GetModelPackageGroupPolicyInput) (*request.Request, *sagemaker.GetModelPackageGroupPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetModelPackageGroupPolicyRequest") + } + var r0 *request.Request var r1 *sagemaker.GetModelPackageGroupPolicyOutput if rf, ok := ret.Get(0).(func(*sagemaker.GetModelPackageGroupPolicyInput) (*request.Request, *sagemaker.GetModelPackageGroupPolicyOutput)); ok { @@ -14436,6 +17315,10 @@ func (_m *SageMakerAPI) GetModelPackageGroupPolicyWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetModelPackageGroupPolicyWithContext") + } + var r0 *sagemaker.GetModelPackageGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.GetModelPackageGroupPolicyInput, ...request.Option) (*sagemaker.GetModelPackageGroupPolicyOutput, error)); ok { @@ -14462,6 +17345,10 @@ func (_m *SageMakerAPI) GetModelPackageGroupPolicyWithContext(_a0 context.Contex func (_m *SageMakerAPI) GetSagemakerServicecatalogPortfolioStatus(_a0 *sagemaker.GetSagemakerServicecatalogPortfolioStatusInput) (*sagemaker.GetSagemakerServicecatalogPortfolioStatusOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetSagemakerServicecatalogPortfolioStatus") + } + var r0 *sagemaker.GetSagemakerServicecatalogPortfolioStatusOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.GetSagemakerServicecatalogPortfolioStatusInput) (*sagemaker.GetSagemakerServicecatalogPortfolioStatusOutput, error)); ok { @@ -14488,6 +17375,10 @@ func (_m *SageMakerAPI) GetSagemakerServicecatalogPortfolioStatus(_a0 *sagemaker func (_m *SageMakerAPI) GetSagemakerServicecatalogPortfolioStatusRequest(_a0 *sagemaker.GetSagemakerServicecatalogPortfolioStatusInput) (*request.Request, *sagemaker.GetSagemakerServicecatalogPortfolioStatusOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetSagemakerServicecatalogPortfolioStatusRequest") + } + var r0 *request.Request var r1 *sagemaker.GetSagemakerServicecatalogPortfolioStatusOutput if rf, ok := ret.Get(0).(func(*sagemaker.GetSagemakerServicecatalogPortfolioStatusInput) (*request.Request, *sagemaker.GetSagemakerServicecatalogPortfolioStatusOutput)); ok { @@ -14523,6 +17414,10 @@ func (_m *SageMakerAPI) GetSagemakerServicecatalogPortfolioStatusWithContext(_a0 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetSagemakerServicecatalogPortfolioStatusWithContext") + } + var r0 *sagemaker.GetSagemakerServicecatalogPortfolioStatusOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.GetSagemakerServicecatalogPortfolioStatusInput, ...request.Option) (*sagemaker.GetSagemakerServicecatalogPortfolioStatusOutput, error)); ok { @@ -14545,10 +17440,113 @@ func (_m *SageMakerAPI) GetSagemakerServicecatalogPortfolioStatusWithContext(_a0 return r0, r1 } +// GetScalingConfigurationRecommendation provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) GetScalingConfigurationRecommendation(_a0 *sagemaker.GetScalingConfigurationRecommendationInput) (*sagemaker.GetScalingConfigurationRecommendationOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for GetScalingConfigurationRecommendation") + } + + var r0 *sagemaker.GetScalingConfigurationRecommendationOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.GetScalingConfigurationRecommendationInput) (*sagemaker.GetScalingConfigurationRecommendationOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.GetScalingConfigurationRecommendationInput) *sagemaker.GetScalingConfigurationRecommendationOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.GetScalingConfigurationRecommendationOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.GetScalingConfigurationRecommendationInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// GetScalingConfigurationRecommendationRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) GetScalingConfigurationRecommendationRequest(_a0 *sagemaker.GetScalingConfigurationRecommendationInput) (*request.Request, *sagemaker.GetScalingConfigurationRecommendationOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for GetScalingConfigurationRecommendationRequest") + } + + var r0 *request.Request + var r1 *sagemaker.GetScalingConfigurationRecommendationOutput + if rf, ok := ret.Get(0).(func(*sagemaker.GetScalingConfigurationRecommendationInput) (*request.Request, *sagemaker.GetScalingConfigurationRecommendationOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.GetScalingConfigurationRecommendationInput) *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(*sagemaker.GetScalingConfigurationRecommendationInput) *sagemaker.GetScalingConfigurationRecommendationOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.GetScalingConfigurationRecommendationOutput) + } + } + + return r0, r1 +} + +// GetScalingConfigurationRecommendationWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) GetScalingConfigurationRecommendationWithContext(_a0 context.Context, _a1 *sagemaker.GetScalingConfigurationRecommendationInput, _a2 ...request.Option) (*sagemaker.GetScalingConfigurationRecommendationOutput, 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 GetScalingConfigurationRecommendationWithContext") + } + + var r0 *sagemaker.GetScalingConfigurationRecommendationOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.GetScalingConfigurationRecommendationInput, ...request.Option) (*sagemaker.GetScalingConfigurationRecommendationOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.GetScalingConfigurationRecommendationInput, ...request.Option) *sagemaker.GetScalingConfigurationRecommendationOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.GetScalingConfigurationRecommendationOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.GetScalingConfigurationRecommendationInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // GetSearchSuggestions provides a mock function with given fields: _a0 func (_m *SageMakerAPI) GetSearchSuggestions(_a0 *sagemaker.GetSearchSuggestionsInput) (*sagemaker.GetSearchSuggestionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetSearchSuggestions") + } + var r0 *sagemaker.GetSearchSuggestionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.GetSearchSuggestionsInput) (*sagemaker.GetSearchSuggestionsOutput, error)); ok { @@ -14575,6 +17573,10 @@ func (_m *SageMakerAPI) GetSearchSuggestions(_a0 *sagemaker.GetSearchSuggestions func (_m *SageMakerAPI) GetSearchSuggestionsRequest(_a0 *sagemaker.GetSearchSuggestionsInput) (*request.Request, *sagemaker.GetSearchSuggestionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for GetSearchSuggestionsRequest") + } + var r0 *request.Request var r1 *sagemaker.GetSearchSuggestionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.GetSearchSuggestionsInput) (*request.Request, *sagemaker.GetSearchSuggestionsOutput)); ok { @@ -14610,6 +17612,10 @@ func (_m *SageMakerAPI) GetSearchSuggestionsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for GetSearchSuggestionsWithContext") + } + var r0 *sagemaker.GetSearchSuggestionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.GetSearchSuggestionsInput, ...request.Option) (*sagemaker.GetSearchSuggestionsOutput, error)); ok { @@ -14636,6 +17642,10 @@ func (_m *SageMakerAPI) GetSearchSuggestionsWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ImportHubContent(_a0 *sagemaker.ImportHubContentInput) (*sagemaker.ImportHubContentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ImportHubContent") + } + var r0 *sagemaker.ImportHubContentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ImportHubContentInput) (*sagemaker.ImportHubContentOutput, error)); ok { @@ -14662,6 +17672,10 @@ func (_m *SageMakerAPI) ImportHubContent(_a0 *sagemaker.ImportHubContentInput) ( func (_m *SageMakerAPI) ImportHubContentRequest(_a0 *sagemaker.ImportHubContentInput) (*request.Request, *sagemaker.ImportHubContentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ImportHubContentRequest") + } + var r0 *request.Request var r1 *sagemaker.ImportHubContentOutput if rf, ok := ret.Get(0).(func(*sagemaker.ImportHubContentInput) (*request.Request, *sagemaker.ImportHubContentOutput)); ok { @@ -14697,6 +17711,10 @@ func (_m *SageMakerAPI) ImportHubContentWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ImportHubContentWithContext") + } + var r0 *sagemaker.ImportHubContentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ImportHubContentInput, ...request.Option) (*sagemaker.ImportHubContentOutput, error)); ok { @@ -14723,6 +17741,10 @@ func (_m *SageMakerAPI) ImportHubContentWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListActions(_a0 *sagemaker.ListActionsInput) (*sagemaker.ListActionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListActions") + } + var r0 *sagemaker.ListActionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListActionsInput) (*sagemaker.ListActionsOutput, error)); ok { @@ -14749,6 +17771,10 @@ func (_m *SageMakerAPI) ListActions(_a0 *sagemaker.ListActionsInput) (*sagemaker func (_m *SageMakerAPI) ListActionsPages(_a0 *sagemaker.ListActionsInput, _a1 func(*sagemaker.ListActionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListActionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListActionsInput, func(*sagemaker.ListActionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -14770,6 +17796,10 @@ func (_m *SageMakerAPI) ListActionsPagesWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListActionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListActionsInput, func(*sagemaker.ListActionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -14784,6 +17814,10 @@ func (_m *SageMakerAPI) ListActionsPagesWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListActionsRequest(_a0 *sagemaker.ListActionsInput) (*request.Request, *sagemaker.ListActionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListActionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListActionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListActionsInput) (*request.Request, *sagemaker.ListActionsOutput)); ok { @@ -14819,6 +17853,10 @@ func (_m *SageMakerAPI) ListActionsWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListActionsWithContext") + } + var r0 *sagemaker.ListActionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListActionsInput, ...request.Option) (*sagemaker.ListActionsOutput, error)); ok { @@ -14845,6 +17883,10 @@ func (_m *SageMakerAPI) ListActionsWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) ListAlgorithms(_a0 *sagemaker.ListAlgorithmsInput) (*sagemaker.ListAlgorithmsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAlgorithms") + } + var r0 *sagemaker.ListAlgorithmsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListAlgorithmsInput) (*sagemaker.ListAlgorithmsOutput, error)); ok { @@ -14871,6 +17913,10 @@ func (_m *SageMakerAPI) ListAlgorithms(_a0 *sagemaker.ListAlgorithmsInput) (*sag func (_m *SageMakerAPI) ListAlgorithmsPages(_a0 *sagemaker.ListAlgorithmsInput, _a1 func(*sagemaker.ListAlgorithmsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListAlgorithmsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListAlgorithmsInput, func(*sagemaker.ListAlgorithmsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -14892,6 +17938,10 @@ func (_m *SageMakerAPI) ListAlgorithmsPagesWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAlgorithmsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAlgorithmsInput, func(*sagemaker.ListAlgorithmsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -14906,6 +17956,10 @@ func (_m *SageMakerAPI) ListAlgorithmsPagesWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListAlgorithmsRequest(_a0 *sagemaker.ListAlgorithmsInput) (*request.Request, *sagemaker.ListAlgorithmsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAlgorithmsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListAlgorithmsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListAlgorithmsInput) (*request.Request, *sagemaker.ListAlgorithmsOutput)); ok { @@ -14941,6 +17995,10 @@ func (_m *SageMakerAPI) ListAlgorithmsWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAlgorithmsWithContext") + } + var r0 *sagemaker.ListAlgorithmsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAlgorithmsInput, ...request.Option) (*sagemaker.ListAlgorithmsOutput, error)); ok { @@ -14967,6 +18025,10 @@ func (_m *SageMakerAPI) ListAlgorithmsWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) ListAliases(_a0 *sagemaker.ListAliasesInput) (*sagemaker.ListAliasesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAliases") + } + var r0 *sagemaker.ListAliasesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListAliasesInput) (*sagemaker.ListAliasesOutput, error)); ok { @@ -14993,6 +18055,10 @@ func (_m *SageMakerAPI) ListAliases(_a0 *sagemaker.ListAliasesInput) (*sagemaker func (_m *SageMakerAPI) ListAliasesPages(_a0 *sagemaker.ListAliasesInput, _a1 func(*sagemaker.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(*sagemaker.ListAliasesInput, func(*sagemaker.ListAliasesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -15014,6 +18080,10 @@ func (_m *SageMakerAPI) ListAliasesPagesWithContext(_a0 context.Context, _a1 *sa _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, *sagemaker.ListAliasesInput, func(*sagemaker.ListAliasesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -15028,6 +18098,10 @@ func (_m *SageMakerAPI) ListAliasesPagesWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListAliasesRequest(_a0 *sagemaker.ListAliasesInput) (*request.Request, *sagemaker.ListAliasesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAliasesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListAliasesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListAliasesInput) (*request.Request, *sagemaker.ListAliasesOutput)); ok { @@ -15063,6 +18137,10 @@ func (_m *SageMakerAPI) ListAliasesWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAliasesWithContext") + } + var r0 *sagemaker.ListAliasesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAliasesInput, ...request.Option) (*sagemaker.ListAliasesOutput, error)); ok { @@ -15089,6 +18167,10 @@ func (_m *SageMakerAPI) ListAliasesWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) ListAppImageConfigs(_a0 *sagemaker.ListAppImageConfigsInput) (*sagemaker.ListAppImageConfigsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAppImageConfigs") + } + var r0 *sagemaker.ListAppImageConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListAppImageConfigsInput) (*sagemaker.ListAppImageConfigsOutput, error)); ok { @@ -15115,6 +18197,10 @@ func (_m *SageMakerAPI) ListAppImageConfigs(_a0 *sagemaker.ListAppImageConfigsIn func (_m *SageMakerAPI) ListAppImageConfigsPages(_a0 *sagemaker.ListAppImageConfigsInput, _a1 func(*sagemaker.ListAppImageConfigsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListAppImageConfigsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListAppImageConfigsInput, func(*sagemaker.ListAppImageConfigsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -15136,6 +18222,10 @@ func (_m *SageMakerAPI) ListAppImageConfigsPagesWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAppImageConfigsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAppImageConfigsInput, func(*sagemaker.ListAppImageConfigsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -15150,6 +18240,10 @@ func (_m *SageMakerAPI) ListAppImageConfigsPagesWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListAppImageConfigsRequest(_a0 *sagemaker.ListAppImageConfigsInput) (*request.Request, *sagemaker.ListAppImageConfigsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAppImageConfigsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListAppImageConfigsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListAppImageConfigsInput) (*request.Request, *sagemaker.ListAppImageConfigsOutput)); ok { @@ -15185,6 +18279,10 @@ func (_m *SageMakerAPI) ListAppImageConfigsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAppImageConfigsWithContext") + } + var r0 *sagemaker.ListAppImageConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAppImageConfigsInput, ...request.Option) (*sagemaker.ListAppImageConfigsOutput, error)); ok { @@ -15211,6 +18309,10 @@ func (_m *SageMakerAPI) ListAppImageConfigsWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListApps(_a0 *sagemaker.ListAppsInput) (*sagemaker.ListAppsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListApps") + } + var r0 *sagemaker.ListAppsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListAppsInput) (*sagemaker.ListAppsOutput, error)); ok { @@ -15237,6 +18339,10 @@ func (_m *SageMakerAPI) ListApps(_a0 *sagemaker.ListAppsInput) (*sagemaker.ListA func (_m *SageMakerAPI) ListAppsPages(_a0 *sagemaker.ListAppsInput, _a1 func(*sagemaker.ListAppsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListAppsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListAppsInput, func(*sagemaker.ListAppsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -15258,6 +18364,10 @@ func (_m *SageMakerAPI) ListAppsPagesWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAppsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAppsInput, func(*sagemaker.ListAppsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -15272,6 +18382,10 @@ func (_m *SageMakerAPI) ListAppsPagesWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) ListAppsRequest(_a0 *sagemaker.ListAppsInput) (*request.Request, *sagemaker.ListAppsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAppsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListAppsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListAppsInput) (*request.Request, *sagemaker.ListAppsOutput)); ok { @@ -15307,6 +18421,10 @@ func (_m *SageMakerAPI) ListAppsWithContext(_a0 context.Context, _a1 *sagemaker. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAppsWithContext") + } + var r0 *sagemaker.ListAppsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAppsInput, ...request.Option) (*sagemaker.ListAppsOutput, error)); ok { @@ -15333,6 +18451,10 @@ func (_m *SageMakerAPI) ListAppsWithContext(_a0 context.Context, _a1 *sagemaker. func (_m *SageMakerAPI) ListArtifacts(_a0 *sagemaker.ListArtifactsInput) (*sagemaker.ListArtifactsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListArtifacts") + } + var r0 *sagemaker.ListArtifactsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListArtifactsInput) (*sagemaker.ListArtifactsOutput, error)); ok { @@ -15359,6 +18481,10 @@ func (_m *SageMakerAPI) ListArtifacts(_a0 *sagemaker.ListArtifactsInput) (*sagem func (_m *SageMakerAPI) ListArtifactsPages(_a0 *sagemaker.ListArtifactsInput, _a1 func(*sagemaker.ListArtifactsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListArtifactsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListArtifactsInput, func(*sagemaker.ListArtifactsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -15380,6 +18506,10 @@ func (_m *SageMakerAPI) ListArtifactsPagesWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListArtifactsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListArtifactsInput, func(*sagemaker.ListArtifactsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -15394,6 +18524,10 @@ func (_m *SageMakerAPI) ListArtifactsPagesWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) ListArtifactsRequest(_a0 *sagemaker.ListArtifactsInput) (*request.Request, *sagemaker.ListArtifactsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListArtifactsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListArtifactsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListArtifactsInput) (*request.Request, *sagemaker.ListArtifactsOutput)); ok { @@ -15429,6 +18563,10 @@ func (_m *SageMakerAPI) ListArtifactsWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListArtifactsWithContext") + } + var r0 *sagemaker.ListArtifactsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListArtifactsInput, ...request.Option) (*sagemaker.ListArtifactsOutput, error)); ok { @@ -15455,6 +18593,10 @@ func (_m *SageMakerAPI) ListArtifactsWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) ListAssociations(_a0 *sagemaker.ListAssociationsInput) (*sagemaker.ListAssociationsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAssociations") + } + var r0 *sagemaker.ListAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListAssociationsInput) (*sagemaker.ListAssociationsOutput, error)); ok { @@ -15481,6 +18623,10 @@ func (_m *SageMakerAPI) ListAssociations(_a0 *sagemaker.ListAssociationsInput) ( func (_m *SageMakerAPI) ListAssociationsPages(_a0 *sagemaker.ListAssociationsInput, _a1 func(*sagemaker.ListAssociationsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListAssociationsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListAssociationsInput, func(*sagemaker.ListAssociationsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -15502,6 +18648,10 @@ func (_m *SageMakerAPI) ListAssociationsPagesWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAssociationsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAssociationsInput, func(*sagemaker.ListAssociationsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -15516,6 +18666,10 @@ func (_m *SageMakerAPI) ListAssociationsPagesWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) ListAssociationsRequest(_a0 *sagemaker.ListAssociationsInput) (*request.Request, *sagemaker.ListAssociationsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListAssociationsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListAssociationsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListAssociationsInput) (*request.Request, *sagemaker.ListAssociationsOutput)); ok { @@ -15551,6 +18705,10 @@ func (_m *SageMakerAPI) ListAssociationsWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListAssociationsWithContext") + } + var r0 *sagemaker.ListAssociationsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAssociationsInput, ...request.Option) (*sagemaker.ListAssociationsOutput, error)); ok { @@ -15564,7 +18722,291 @@ func (_m *SageMakerAPI) ListAssociationsWithContext(_a0 context.Context, _a1 *sa } } - if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListAssociationsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListAssociationsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListAutoMLJobs provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListAutoMLJobs(_a0 *sagemaker.ListAutoMLJobsInput) (*sagemaker.ListAutoMLJobsOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListAutoMLJobs") + } + + var r0 *sagemaker.ListAutoMLJobsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.ListAutoMLJobsInput) (*sagemaker.ListAutoMLJobsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.ListAutoMLJobsInput) *sagemaker.ListAutoMLJobsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.ListAutoMLJobsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.ListAutoMLJobsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListAutoMLJobsPages provides a mock function with given fields: _a0, _a1 +func (_m *SageMakerAPI) ListAutoMLJobsPages(_a0 *sagemaker.ListAutoMLJobsInput, _a1 func(*sagemaker.ListAutoMLJobsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for ListAutoMLJobsPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*sagemaker.ListAutoMLJobsInput, func(*sagemaker.ListAutoMLJobsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListAutoMLJobsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SageMakerAPI) ListAutoMLJobsPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListAutoMLJobsInput, _a2 func(*sagemaker.ListAutoMLJobsOutput, 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 ListAutoMLJobsPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAutoMLJobsInput, func(*sagemaker.ListAutoMLJobsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListAutoMLJobsRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListAutoMLJobsRequest(_a0 *sagemaker.ListAutoMLJobsInput) (*request.Request, *sagemaker.ListAutoMLJobsOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListAutoMLJobsRequest") + } + + var r0 *request.Request + var r1 *sagemaker.ListAutoMLJobsOutput + if rf, ok := ret.Get(0).(func(*sagemaker.ListAutoMLJobsInput) (*request.Request, *sagemaker.ListAutoMLJobsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.ListAutoMLJobsInput) *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(*sagemaker.ListAutoMLJobsInput) *sagemaker.ListAutoMLJobsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.ListAutoMLJobsOutput) + } + } + + return r0, r1 +} + +// ListAutoMLJobsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) ListAutoMLJobsWithContext(_a0 context.Context, _a1 *sagemaker.ListAutoMLJobsInput, _a2 ...request.Option) (*sagemaker.ListAutoMLJobsOutput, 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 ListAutoMLJobsWithContext") + } + + var r0 *sagemaker.ListAutoMLJobsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAutoMLJobsInput, ...request.Option) (*sagemaker.ListAutoMLJobsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAutoMLJobsInput, ...request.Option) *sagemaker.ListAutoMLJobsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.ListAutoMLJobsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListAutoMLJobsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListCandidatesForAutoMLJob provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListCandidatesForAutoMLJob(_a0 *sagemaker.ListCandidatesForAutoMLJobInput) (*sagemaker.ListCandidatesForAutoMLJobOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListCandidatesForAutoMLJob") + } + + var r0 *sagemaker.ListCandidatesForAutoMLJobOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.ListCandidatesForAutoMLJobInput) (*sagemaker.ListCandidatesForAutoMLJobOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.ListCandidatesForAutoMLJobInput) *sagemaker.ListCandidatesForAutoMLJobOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.ListCandidatesForAutoMLJobOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.ListCandidatesForAutoMLJobInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListCandidatesForAutoMLJobPages provides a mock function with given fields: _a0, _a1 +func (_m *SageMakerAPI) ListCandidatesForAutoMLJobPages(_a0 *sagemaker.ListCandidatesForAutoMLJobInput, _a1 func(*sagemaker.ListCandidatesForAutoMLJobOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for ListCandidatesForAutoMLJobPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*sagemaker.ListCandidatesForAutoMLJobInput, func(*sagemaker.ListCandidatesForAutoMLJobOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListCandidatesForAutoMLJobPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SageMakerAPI) ListCandidatesForAutoMLJobPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListCandidatesForAutoMLJobInput, _a2 func(*sagemaker.ListCandidatesForAutoMLJobOutput, 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 ListCandidatesForAutoMLJobPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListCandidatesForAutoMLJobInput, func(*sagemaker.ListCandidatesForAutoMLJobOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListCandidatesForAutoMLJobRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListCandidatesForAutoMLJobRequest(_a0 *sagemaker.ListCandidatesForAutoMLJobInput) (*request.Request, *sagemaker.ListCandidatesForAutoMLJobOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListCandidatesForAutoMLJobRequest") + } + + var r0 *request.Request + var r1 *sagemaker.ListCandidatesForAutoMLJobOutput + if rf, ok := ret.Get(0).(func(*sagemaker.ListCandidatesForAutoMLJobInput) (*request.Request, *sagemaker.ListCandidatesForAutoMLJobOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.ListCandidatesForAutoMLJobInput) *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(*sagemaker.ListCandidatesForAutoMLJobInput) *sagemaker.ListCandidatesForAutoMLJobOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.ListCandidatesForAutoMLJobOutput) + } + } + + return r0, r1 +} + +// ListCandidatesForAutoMLJobWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) ListCandidatesForAutoMLJobWithContext(_a0 context.Context, _a1 *sagemaker.ListCandidatesForAutoMLJobInput, _a2 ...request.Option) (*sagemaker.ListCandidatesForAutoMLJobOutput, 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 ListCandidatesForAutoMLJobWithContext") + } + + var r0 *sagemaker.ListCandidatesForAutoMLJobOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListCandidatesForAutoMLJobInput, ...request.Option) (*sagemaker.ListCandidatesForAutoMLJobOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListCandidatesForAutoMLJobInput, ...request.Option) *sagemaker.ListCandidatesForAutoMLJobOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.ListCandidatesForAutoMLJobOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListCandidatesForAutoMLJobInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -15573,24 +19015,28 @@ func (_m *SageMakerAPI) ListAssociationsWithContext(_a0 context.Context, _a1 *sa return r0, r1 } -// ListAutoMLJobs provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) ListAutoMLJobs(_a0 *sagemaker.ListAutoMLJobsInput) (*sagemaker.ListAutoMLJobsOutput, error) { +// ListClusterNodes provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListClusterNodes(_a0 *sagemaker.ListClusterNodesInput) (*sagemaker.ListClusterNodesOutput, error) { ret := _m.Called(_a0) - var r0 *sagemaker.ListAutoMLJobsOutput + if len(ret) == 0 { + panic("no return value specified for ListClusterNodes") + } + + var r0 *sagemaker.ListClusterNodesOutput var r1 error - if rf, ok := ret.Get(0).(func(*sagemaker.ListAutoMLJobsInput) (*sagemaker.ListAutoMLJobsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListClusterNodesInput) (*sagemaker.ListClusterNodesOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.ListAutoMLJobsInput) *sagemaker.ListAutoMLJobsOutput); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListClusterNodesInput) *sagemaker.ListClusterNodesOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.ListAutoMLJobsOutput) + r0 = ret.Get(0).(*sagemaker.ListClusterNodesOutput) } } - if rf, ok := ret.Get(1).(func(*sagemaker.ListAutoMLJobsInput) error); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.ListClusterNodesInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -15599,12 +19045,16 @@ func (_m *SageMakerAPI) ListAutoMLJobs(_a0 *sagemaker.ListAutoMLJobsInput) (*sag return r0, r1 } -// ListAutoMLJobsPages provides a mock function with given fields: _a0, _a1 -func (_m *SageMakerAPI) ListAutoMLJobsPages(_a0 *sagemaker.ListAutoMLJobsInput, _a1 func(*sagemaker.ListAutoMLJobsOutput, bool) bool) error { +// ListClusterNodesPages provides a mock function with given fields: _a0, _a1 +func (_m *SageMakerAPI) ListClusterNodesPages(_a0 *sagemaker.ListClusterNodesInput, _a1 func(*sagemaker.ListClusterNodesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListClusterNodesPages") + } + var r0 error - if rf, ok := ret.Get(0).(func(*sagemaker.ListAutoMLJobsInput, func(*sagemaker.ListAutoMLJobsOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListClusterNodesInput, func(*sagemaker.ListClusterNodesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -15613,8 +19063,8 @@ func (_m *SageMakerAPI) ListAutoMLJobsPages(_a0 *sagemaker.ListAutoMLJobsInput, return r0 } -// ListAutoMLJobsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *SageMakerAPI) ListAutoMLJobsPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListAutoMLJobsInput, _a2 func(*sagemaker.ListAutoMLJobsOutput, bool) bool, _a3 ...request.Option) error { +// ListClusterNodesPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SageMakerAPI) ListClusterNodesPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListClusterNodesInput, _a2 func(*sagemaker.ListClusterNodesOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -15624,8 +19074,12 @@ func (_m *SageMakerAPI) ListAutoMLJobsPagesWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListClusterNodesPagesWithContext") + } + var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAutoMLJobsInput, func(*sagemaker.ListAutoMLJobsOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListClusterNodesInput, func(*sagemaker.ListClusterNodesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -15634,16 +19088,20 @@ func (_m *SageMakerAPI) ListAutoMLJobsPagesWithContext(_a0 context.Context, _a1 return r0 } -// ListAutoMLJobsRequest provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) ListAutoMLJobsRequest(_a0 *sagemaker.ListAutoMLJobsInput) (*request.Request, *sagemaker.ListAutoMLJobsOutput) { +// ListClusterNodesRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListClusterNodesRequest(_a0 *sagemaker.ListClusterNodesInput) (*request.Request, *sagemaker.ListClusterNodesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListClusterNodesRequest") + } + var r0 *request.Request - var r1 *sagemaker.ListAutoMLJobsOutput - if rf, ok := ret.Get(0).(func(*sagemaker.ListAutoMLJobsInput) (*request.Request, *sagemaker.ListAutoMLJobsOutput)); ok { + var r1 *sagemaker.ListClusterNodesOutput + if rf, ok := ret.Get(0).(func(*sagemaker.ListClusterNodesInput) (*request.Request, *sagemaker.ListClusterNodesOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.ListAutoMLJobsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListClusterNodesInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -15651,19 +19109,19 @@ func (_m *SageMakerAPI) ListAutoMLJobsRequest(_a0 *sagemaker.ListAutoMLJobsInput } } - if rf, ok := ret.Get(1).(func(*sagemaker.ListAutoMLJobsInput) *sagemaker.ListAutoMLJobsOutput); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.ListClusterNodesInput) *sagemaker.ListClusterNodesOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*sagemaker.ListAutoMLJobsOutput) + r1 = ret.Get(1).(*sagemaker.ListClusterNodesOutput) } } return r0, r1 } -// ListAutoMLJobsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SageMakerAPI) ListAutoMLJobsWithContext(_a0 context.Context, _a1 *sagemaker.ListAutoMLJobsInput, _a2 ...request.Option) (*sagemaker.ListAutoMLJobsOutput, error) { +// ListClusterNodesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) ListClusterNodesWithContext(_a0 context.Context, _a1 *sagemaker.ListClusterNodesInput, _a2 ...request.Option) (*sagemaker.ListClusterNodesOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -15673,20 +19131,24 @@ func (_m *SageMakerAPI) ListAutoMLJobsWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *sagemaker.ListAutoMLJobsOutput + if len(ret) == 0 { + panic("no return value specified for ListClusterNodesWithContext") + } + + var r0 *sagemaker.ListClusterNodesOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAutoMLJobsInput, ...request.Option) (*sagemaker.ListAutoMLJobsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListClusterNodesInput, ...request.Option) (*sagemaker.ListClusterNodesOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListAutoMLJobsInput, ...request.Option) *sagemaker.ListAutoMLJobsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListClusterNodesInput, ...request.Option) *sagemaker.ListClusterNodesOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.ListAutoMLJobsOutput) + r0 = ret.Get(0).(*sagemaker.ListClusterNodesOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListAutoMLJobsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListClusterNodesInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -15695,24 +19157,28 @@ func (_m *SageMakerAPI) ListAutoMLJobsWithContext(_a0 context.Context, _a1 *sage return r0, r1 } -// ListCandidatesForAutoMLJob provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) ListCandidatesForAutoMLJob(_a0 *sagemaker.ListCandidatesForAutoMLJobInput) (*sagemaker.ListCandidatesForAutoMLJobOutput, error) { +// ListClusters provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListClusters(_a0 *sagemaker.ListClustersInput) (*sagemaker.ListClustersOutput, error) { ret := _m.Called(_a0) - var r0 *sagemaker.ListCandidatesForAutoMLJobOutput + if len(ret) == 0 { + panic("no return value specified for ListClusters") + } + + var r0 *sagemaker.ListClustersOutput var r1 error - if rf, ok := ret.Get(0).(func(*sagemaker.ListCandidatesForAutoMLJobInput) (*sagemaker.ListCandidatesForAutoMLJobOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListClustersInput) (*sagemaker.ListClustersOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.ListCandidatesForAutoMLJobInput) *sagemaker.ListCandidatesForAutoMLJobOutput); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListClustersInput) *sagemaker.ListClustersOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.ListCandidatesForAutoMLJobOutput) + r0 = ret.Get(0).(*sagemaker.ListClustersOutput) } } - if rf, ok := ret.Get(1).(func(*sagemaker.ListCandidatesForAutoMLJobInput) error); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.ListClustersInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -15721,12 +19187,16 @@ func (_m *SageMakerAPI) ListCandidatesForAutoMLJob(_a0 *sagemaker.ListCandidates return r0, r1 } -// ListCandidatesForAutoMLJobPages provides a mock function with given fields: _a0, _a1 -func (_m *SageMakerAPI) ListCandidatesForAutoMLJobPages(_a0 *sagemaker.ListCandidatesForAutoMLJobInput, _a1 func(*sagemaker.ListCandidatesForAutoMLJobOutput, bool) bool) error { +// ListClustersPages provides a mock function with given fields: _a0, _a1 +func (_m *SageMakerAPI) ListClustersPages(_a0 *sagemaker.ListClustersInput, _a1 func(*sagemaker.ListClustersOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListClustersPages") + } + var r0 error - if rf, ok := ret.Get(0).(func(*sagemaker.ListCandidatesForAutoMLJobInput, func(*sagemaker.ListCandidatesForAutoMLJobOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListClustersInput, func(*sagemaker.ListClustersOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -15735,8 +19205,8 @@ func (_m *SageMakerAPI) ListCandidatesForAutoMLJobPages(_a0 *sagemaker.ListCandi return r0 } -// ListCandidatesForAutoMLJobPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *SageMakerAPI) ListCandidatesForAutoMLJobPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListCandidatesForAutoMLJobInput, _a2 func(*sagemaker.ListCandidatesForAutoMLJobOutput, bool) bool, _a3 ...request.Option) error { +// ListClustersPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SageMakerAPI) ListClustersPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListClustersInput, _a2 func(*sagemaker.ListClustersOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -15746,8 +19216,12 @@ func (_m *SageMakerAPI) ListCandidatesForAutoMLJobPagesWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListClustersPagesWithContext") + } + var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListCandidatesForAutoMLJobInput, func(*sagemaker.ListCandidatesForAutoMLJobOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListClustersInput, func(*sagemaker.ListClustersOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -15756,16 +19230,20 @@ func (_m *SageMakerAPI) ListCandidatesForAutoMLJobPagesWithContext(_a0 context.C return r0 } -// ListCandidatesForAutoMLJobRequest provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) ListCandidatesForAutoMLJobRequest(_a0 *sagemaker.ListCandidatesForAutoMLJobInput) (*request.Request, *sagemaker.ListCandidatesForAutoMLJobOutput) { +// ListClustersRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListClustersRequest(_a0 *sagemaker.ListClustersInput) (*request.Request, *sagemaker.ListClustersOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListClustersRequest") + } + var r0 *request.Request - var r1 *sagemaker.ListCandidatesForAutoMLJobOutput - if rf, ok := ret.Get(0).(func(*sagemaker.ListCandidatesForAutoMLJobInput) (*request.Request, *sagemaker.ListCandidatesForAutoMLJobOutput)); ok { + var r1 *sagemaker.ListClustersOutput + if rf, ok := ret.Get(0).(func(*sagemaker.ListClustersInput) (*request.Request, *sagemaker.ListClustersOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.ListCandidatesForAutoMLJobInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListClustersInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -15773,19 +19251,19 @@ func (_m *SageMakerAPI) ListCandidatesForAutoMLJobRequest(_a0 *sagemaker.ListCan } } - if rf, ok := ret.Get(1).(func(*sagemaker.ListCandidatesForAutoMLJobInput) *sagemaker.ListCandidatesForAutoMLJobOutput); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.ListClustersInput) *sagemaker.ListClustersOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*sagemaker.ListCandidatesForAutoMLJobOutput) + r1 = ret.Get(1).(*sagemaker.ListClustersOutput) } } return r0, r1 } -// ListCandidatesForAutoMLJobWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SageMakerAPI) ListCandidatesForAutoMLJobWithContext(_a0 context.Context, _a1 *sagemaker.ListCandidatesForAutoMLJobInput, _a2 ...request.Option) (*sagemaker.ListCandidatesForAutoMLJobOutput, error) { +// ListClustersWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) ListClustersWithContext(_a0 context.Context, _a1 *sagemaker.ListClustersInput, _a2 ...request.Option) (*sagemaker.ListClustersOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -15795,20 +19273,24 @@ func (_m *SageMakerAPI) ListCandidatesForAutoMLJobWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *sagemaker.ListCandidatesForAutoMLJobOutput + if len(ret) == 0 { + panic("no return value specified for ListClustersWithContext") + } + + var r0 *sagemaker.ListClustersOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListCandidatesForAutoMLJobInput, ...request.Option) (*sagemaker.ListCandidatesForAutoMLJobOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListClustersInput, ...request.Option) (*sagemaker.ListClustersOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListCandidatesForAutoMLJobInput, ...request.Option) *sagemaker.ListCandidatesForAutoMLJobOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListClustersInput, ...request.Option) *sagemaker.ListClustersOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.ListCandidatesForAutoMLJobOutput) + r0 = ret.Get(0).(*sagemaker.ListClustersOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListCandidatesForAutoMLJobInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListClustersInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -15821,6 +19303,10 @@ func (_m *SageMakerAPI) ListCandidatesForAutoMLJobWithContext(_a0 context.Contex func (_m *SageMakerAPI) ListCodeRepositories(_a0 *sagemaker.ListCodeRepositoriesInput) (*sagemaker.ListCodeRepositoriesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListCodeRepositories") + } + var r0 *sagemaker.ListCodeRepositoriesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListCodeRepositoriesInput) (*sagemaker.ListCodeRepositoriesOutput, error)); ok { @@ -15847,6 +19333,10 @@ func (_m *SageMakerAPI) ListCodeRepositories(_a0 *sagemaker.ListCodeRepositories func (_m *SageMakerAPI) ListCodeRepositoriesPages(_a0 *sagemaker.ListCodeRepositoriesInput, _a1 func(*sagemaker.ListCodeRepositoriesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListCodeRepositoriesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListCodeRepositoriesInput, func(*sagemaker.ListCodeRepositoriesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -15868,6 +19358,10 @@ func (_m *SageMakerAPI) ListCodeRepositoriesPagesWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListCodeRepositoriesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListCodeRepositoriesInput, func(*sagemaker.ListCodeRepositoriesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -15882,6 +19376,10 @@ func (_m *SageMakerAPI) ListCodeRepositoriesPagesWithContext(_a0 context.Context func (_m *SageMakerAPI) ListCodeRepositoriesRequest(_a0 *sagemaker.ListCodeRepositoriesInput) (*request.Request, *sagemaker.ListCodeRepositoriesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListCodeRepositoriesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListCodeRepositoriesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListCodeRepositoriesInput) (*request.Request, *sagemaker.ListCodeRepositoriesOutput)); ok { @@ -15917,6 +19415,10 @@ func (_m *SageMakerAPI) ListCodeRepositoriesWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListCodeRepositoriesWithContext") + } + var r0 *sagemaker.ListCodeRepositoriesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListCodeRepositoriesInput, ...request.Option) (*sagemaker.ListCodeRepositoriesOutput, error)); ok { @@ -15943,6 +19445,10 @@ func (_m *SageMakerAPI) ListCodeRepositoriesWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListCompilationJobs(_a0 *sagemaker.ListCompilationJobsInput) (*sagemaker.ListCompilationJobsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListCompilationJobs") + } + var r0 *sagemaker.ListCompilationJobsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListCompilationJobsInput) (*sagemaker.ListCompilationJobsOutput, error)); ok { @@ -15969,6 +19475,10 @@ func (_m *SageMakerAPI) ListCompilationJobs(_a0 *sagemaker.ListCompilationJobsIn func (_m *SageMakerAPI) ListCompilationJobsPages(_a0 *sagemaker.ListCompilationJobsInput, _a1 func(*sagemaker.ListCompilationJobsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListCompilationJobsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListCompilationJobsInput, func(*sagemaker.ListCompilationJobsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -15990,6 +19500,10 @@ func (_m *SageMakerAPI) ListCompilationJobsPagesWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListCompilationJobsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListCompilationJobsInput, func(*sagemaker.ListCompilationJobsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -16004,6 +19518,10 @@ func (_m *SageMakerAPI) ListCompilationJobsPagesWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListCompilationJobsRequest(_a0 *sagemaker.ListCompilationJobsInput) (*request.Request, *sagemaker.ListCompilationJobsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListCompilationJobsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListCompilationJobsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListCompilationJobsInput) (*request.Request, *sagemaker.ListCompilationJobsOutput)); ok { @@ -16039,6 +19557,10 @@ func (_m *SageMakerAPI) ListCompilationJobsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListCompilationJobsWithContext") + } + var r0 *sagemaker.ListCompilationJobsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListCompilationJobsInput, ...request.Option) (*sagemaker.ListCompilationJobsOutput, error)); ok { @@ -16065,6 +19587,10 @@ func (_m *SageMakerAPI) ListCompilationJobsWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListContexts(_a0 *sagemaker.ListContextsInput) (*sagemaker.ListContextsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListContexts") + } + var r0 *sagemaker.ListContextsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListContextsInput) (*sagemaker.ListContextsOutput, error)); ok { @@ -16091,6 +19617,10 @@ func (_m *SageMakerAPI) ListContexts(_a0 *sagemaker.ListContextsInput) (*sagemak func (_m *SageMakerAPI) ListContextsPages(_a0 *sagemaker.ListContextsInput, _a1 func(*sagemaker.ListContextsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListContextsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListContextsInput, func(*sagemaker.ListContextsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -16112,6 +19642,10 @@ func (_m *SageMakerAPI) ListContextsPagesWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListContextsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListContextsInput, func(*sagemaker.ListContextsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -16126,6 +19660,10 @@ func (_m *SageMakerAPI) ListContextsPagesWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) ListContextsRequest(_a0 *sagemaker.ListContextsInput) (*request.Request, *sagemaker.ListContextsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListContextsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListContextsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListContextsInput) (*request.Request, *sagemaker.ListContextsOutput)); ok { @@ -16161,6 +19699,10 @@ func (_m *SageMakerAPI) ListContextsWithContext(_a0 context.Context, _a1 *sagema _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListContextsWithContext") + } + var r0 *sagemaker.ListContextsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListContextsInput, ...request.Option) (*sagemaker.ListContextsOutput, error)); ok { @@ -16187,6 +19729,10 @@ func (_m *SageMakerAPI) ListContextsWithContext(_a0 context.Context, _a1 *sagema func (_m *SageMakerAPI) ListDataQualityJobDefinitions(_a0 *sagemaker.ListDataQualityJobDefinitionsInput) (*sagemaker.ListDataQualityJobDefinitionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListDataQualityJobDefinitions") + } + var r0 *sagemaker.ListDataQualityJobDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListDataQualityJobDefinitionsInput) (*sagemaker.ListDataQualityJobDefinitionsOutput, error)); ok { @@ -16213,6 +19759,10 @@ func (_m *SageMakerAPI) ListDataQualityJobDefinitions(_a0 *sagemaker.ListDataQua func (_m *SageMakerAPI) ListDataQualityJobDefinitionsPages(_a0 *sagemaker.ListDataQualityJobDefinitionsInput, _a1 func(*sagemaker.ListDataQualityJobDefinitionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListDataQualityJobDefinitionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListDataQualityJobDefinitionsInput, func(*sagemaker.ListDataQualityJobDefinitionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -16234,6 +19784,10 @@ func (_m *SageMakerAPI) ListDataQualityJobDefinitionsPagesWithContext(_a0 contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDataQualityJobDefinitionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListDataQualityJobDefinitionsInput, func(*sagemaker.ListDataQualityJobDefinitionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -16248,6 +19802,10 @@ func (_m *SageMakerAPI) ListDataQualityJobDefinitionsPagesWithContext(_a0 contex func (_m *SageMakerAPI) ListDataQualityJobDefinitionsRequest(_a0 *sagemaker.ListDataQualityJobDefinitionsInput) (*request.Request, *sagemaker.ListDataQualityJobDefinitionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListDataQualityJobDefinitionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListDataQualityJobDefinitionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListDataQualityJobDefinitionsInput) (*request.Request, *sagemaker.ListDataQualityJobDefinitionsOutput)); ok { @@ -16283,6 +19841,10 @@ func (_m *SageMakerAPI) ListDataQualityJobDefinitionsWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDataQualityJobDefinitionsWithContext") + } + var r0 *sagemaker.ListDataQualityJobDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListDataQualityJobDefinitionsInput, ...request.Option) (*sagemaker.ListDataQualityJobDefinitionsOutput, error)); ok { @@ -16309,6 +19871,10 @@ func (_m *SageMakerAPI) ListDataQualityJobDefinitionsWithContext(_a0 context.Con func (_m *SageMakerAPI) ListDeviceFleets(_a0 *sagemaker.ListDeviceFleetsInput) (*sagemaker.ListDeviceFleetsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListDeviceFleets") + } + var r0 *sagemaker.ListDeviceFleetsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListDeviceFleetsInput) (*sagemaker.ListDeviceFleetsOutput, error)); ok { @@ -16335,6 +19901,10 @@ func (_m *SageMakerAPI) ListDeviceFleets(_a0 *sagemaker.ListDeviceFleetsInput) ( func (_m *SageMakerAPI) ListDeviceFleetsPages(_a0 *sagemaker.ListDeviceFleetsInput, _a1 func(*sagemaker.ListDeviceFleetsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListDeviceFleetsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListDeviceFleetsInput, func(*sagemaker.ListDeviceFleetsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -16356,6 +19926,10 @@ func (_m *SageMakerAPI) ListDeviceFleetsPagesWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDeviceFleetsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListDeviceFleetsInput, func(*sagemaker.ListDeviceFleetsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -16370,6 +19944,10 @@ func (_m *SageMakerAPI) ListDeviceFleetsPagesWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) ListDeviceFleetsRequest(_a0 *sagemaker.ListDeviceFleetsInput) (*request.Request, *sagemaker.ListDeviceFleetsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListDeviceFleetsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListDeviceFleetsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListDeviceFleetsInput) (*request.Request, *sagemaker.ListDeviceFleetsOutput)); ok { @@ -16405,6 +19983,10 @@ func (_m *SageMakerAPI) ListDeviceFleetsWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDeviceFleetsWithContext") + } + var r0 *sagemaker.ListDeviceFleetsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListDeviceFleetsInput, ...request.Option) (*sagemaker.ListDeviceFleetsOutput, error)); ok { @@ -16431,6 +20013,10 @@ func (_m *SageMakerAPI) ListDeviceFleetsWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListDevices(_a0 *sagemaker.ListDevicesInput) (*sagemaker.ListDevicesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListDevices") + } + var r0 *sagemaker.ListDevicesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListDevicesInput) (*sagemaker.ListDevicesOutput, error)); ok { @@ -16457,6 +20043,10 @@ func (_m *SageMakerAPI) ListDevices(_a0 *sagemaker.ListDevicesInput) (*sagemaker func (_m *SageMakerAPI) ListDevicesPages(_a0 *sagemaker.ListDevicesInput, _a1 func(*sagemaker.ListDevicesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListDevicesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListDevicesInput, func(*sagemaker.ListDevicesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -16478,6 +20068,10 @@ func (_m *SageMakerAPI) ListDevicesPagesWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDevicesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListDevicesInput, func(*sagemaker.ListDevicesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -16492,6 +20086,10 @@ func (_m *SageMakerAPI) ListDevicesPagesWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListDevicesRequest(_a0 *sagemaker.ListDevicesInput) (*request.Request, *sagemaker.ListDevicesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListDevicesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListDevicesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListDevicesInput) (*request.Request, *sagemaker.ListDevicesOutput)); ok { @@ -16527,6 +20125,10 @@ func (_m *SageMakerAPI) ListDevicesWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDevicesWithContext") + } + var r0 *sagemaker.ListDevicesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListDevicesInput, ...request.Option) (*sagemaker.ListDevicesOutput, error)); ok { @@ -16553,6 +20155,10 @@ func (_m *SageMakerAPI) ListDevicesWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) ListDomains(_a0 *sagemaker.ListDomainsInput) (*sagemaker.ListDomainsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListDomains") + } + var r0 *sagemaker.ListDomainsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListDomainsInput) (*sagemaker.ListDomainsOutput, error)); ok { @@ -16579,6 +20185,10 @@ func (_m *SageMakerAPI) ListDomains(_a0 *sagemaker.ListDomainsInput) (*sagemaker func (_m *SageMakerAPI) ListDomainsPages(_a0 *sagemaker.ListDomainsInput, _a1 func(*sagemaker.ListDomainsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListDomainsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListDomainsInput, func(*sagemaker.ListDomainsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -16600,6 +20210,10 @@ func (_m *SageMakerAPI) ListDomainsPagesWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDomainsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListDomainsInput, func(*sagemaker.ListDomainsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -16614,6 +20228,10 @@ func (_m *SageMakerAPI) ListDomainsPagesWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListDomainsRequest(_a0 *sagemaker.ListDomainsInput) (*request.Request, *sagemaker.ListDomainsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListDomainsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListDomainsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListDomainsInput) (*request.Request, *sagemaker.ListDomainsOutput)); ok { @@ -16649,6 +20267,10 @@ func (_m *SageMakerAPI) ListDomainsWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListDomainsWithContext") + } + var r0 *sagemaker.ListDomainsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListDomainsInput, ...request.Option) (*sagemaker.ListDomainsOutput, error)); ok { @@ -16675,6 +20297,10 @@ func (_m *SageMakerAPI) ListDomainsWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) ListEdgeDeploymentPlans(_a0 *sagemaker.ListEdgeDeploymentPlansInput) (*sagemaker.ListEdgeDeploymentPlansOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListEdgeDeploymentPlans") + } + var r0 *sagemaker.ListEdgeDeploymentPlansOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListEdgeDeploymentPlansInput) (*sagemaker.ListEdgeDeploymentPlansOutput, error)); ok { @@ -16701,6 +20327,10 @@ func (_m *SageMakerAPI) ListEdgeDeploymentPlans(_a0 *sagemaker.ListEdgeDeploymen func (_m *SageMakerAPI) ListEdgeDeploymentPlansPages(_a0 *sagemaker.ListEdgeDeploymentPlansInput, _a1 func(*sagemaker.ListEdgeDeploymentPlansOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListEdgeDeploymentPlansPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListEdgeDeploymentPlansInput, func(*sagemaker.ListEdgeDeploymentPlansOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -16722,6 +20352,10 @@ func (_m *SageMakerAPI) ListEdgeDeploymentPlansPagesWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEdgeDeploymentPlansPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListEdgeDeploymentPlansInput, func(*sagemaker.ListEdgeDeploymentPlansOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -16736,6 +20370,10 @@ func (_m *SageMakerAPI) ListEdgeDeploymentPlansPagesWithContext(_a0 context.Cont func (_m *SageMakerAPI) ListEdgeDeploymentPlansRequest(_a0 *sagemaker.ListEdgeDeploymentPlansInput) (*request.Request, *sagemaker.ListEdgeDeploymentPlansOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListEdgeDeploymentPlansRequest") + } + var r0 *request.Request var r1 *sagemaker.ListEdgeDeploymentPlansOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListEdgeDeploymentPlansInput) (*request.Request, *sagemaker.ListEdgeDeploymentPlansOutput)); ok { @@ -16771,6 +20409,10 @@ func (_m *SageMakerAPI) ListEdgeDeploymentPlansWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEdgeDeploymentPlansWithContext") + } + var r0 *sagemaker.ListEdgeDeploymentPlansOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListEdgeDeploymentPlansInput, ...request.Option) (*sagemaker.ListEdgeDeploymentPlansOutput, error)); ok { @@ -16797,6 +20439,10 @@ func (_m *SageMakerAPI) ListEdgeDeploymentPlansWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListEdgePackagingJobs(_a0 *sagemaker.ListEdgePackagingJobsInput) (*sagemaker.ListEdgePackagingJobsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListEdgePackagingJobs") + } + var r0 *sagemaker.ListEdgePackagingJobsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListEdgePackagingJobsInput) (*sagemaker.ListEdgePackagingJobsOutput, error)); ok { @@ -16823,6 +20469,10 @@ func (_m *SageMakerAPI) ListEdgePackagingJobs(_a0 *sagemaker.ListEdgePackagingJo func (_m *SageMakerAPI) ListEdgePackagingJobsPages(_a0 *sagemaker.ListEdgePackagingJobsInput, _a1 func(*sagemaker.ListEdgePackagingJobsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListEdgePackagingJobsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListEdgePackagingJobsInput, func(*sagemaker.ListEdgePackagingJobsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -16844,6 +20494,10 @@ func (_m *SageMakerAPI) ListEdgePackagingJobsPagesWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEdgePackagingJobsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListEdgePackagingJobsInput, func(*sagemaker.ListEdgePackagingJobsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -16858,6 +20512,10 @@ func (_m *SageMakerAPI) ListEdgePackagingJobsPagesWithContext(_a0 context.Contex func (_m *SageMakerAPI) ListEdgePackagingJobsRequest(_a0 *sagemaker.ListEdgePackagingJobsInput) (*request.Request, *sagemaker.ListEdgePackagingJobsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListEdgePackagingJobsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListEdgePackagingJobsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListEdgePackagingJobsInput) (*request.Request, *sagemaker.ListEdgePackagingJobsOutput)); ok { @@ -16893,6 +20551,10 @@ func (_m *SageMakerAPI) ListEdgePackagingJobsWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEdgePackagingJobsWithContext") + } + var r0 *sagemaker.ListEdgePackagingJobsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListEdgePackagingJobsInput, ...request.Option) (*sagemaker.ListEdgePackagingJobsOutput, error)); ok { @@ -16919,6 +20581,10 @@ func (_m *SageMakerAPI) ListEdgePackagingJobsWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) ListEndpointConfigs(_a0 *sagemaker.ListEndpointConfigsInput) (*sagemaker.ListEndpointConfigsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListEndpointConfigs") + } + var r0 *sagemaker.ListEndpointConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListEndpointConfigsInput) (*sagemaker.ListEndpointConfigsOutput, error)); ok { @@ -16945,6 +20611,10 @@ func (_m *SageMakerAPI) ListEndpointConfigs(_a0 *sagemaker.ListEndpointConfigsIn func (_m *SageMakerAPI) ListEndpointConfigsPages(_a0 *sagemaker.ListEndpointConfigsInput, _a1 func(*sagemaker.ListEndpointConfigsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListEndpointConfigsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListEndpointConfigsInput, func(*sagemaker.ListEndpointConfigsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -16966,6 +20636,10 @@ func (_m *SageMakerAPI) ListEndpointConfigsPagesWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEndpointConfigsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListEndpointConfigsInput, func(*sagemaker.ListEndpointConfigsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -16980,6 +20654,10 @@ func (_m *SageMakerAPI) ListEndpointConfigsPagesWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListEndpointConfigsRequest(_a0 *sagemaker.ListEndpointConfigsInput) (*request.Request, *sagemaker.ListEndpointConfigsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListEndpointConfigsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListEndpointConfigsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListEndpointConfigsInput) (*request.Request, *sagemaker.ListEndpointConfigsOutput)); ok { @@ -17015,6 +20693,10 @@ func (_m *SageMakerAPI) ListEndpointConfigsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEndpointConfigsWithContext") + } + var r0 *sagemaker.ListEndpointConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListEndpointConfigsInput, ...request.Option) (*sagemaker.ListEndpointConfigsOutput, error)); ok { @@ -17041,6 +20723,10 @@ func (_m *SageMakerAPI) ListEndpointConfigsWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListEndpoints(_a0 *sagemaker.ListEndpointsInput) (*sagemaker.ListEndpointsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListEndpoints") + } + var r0 *sagemaker.ListEndpointsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListEndpointsInput) (*sagemaker.ListEndpointsOutput, error)); ok { @@ -17067,6 +20753,10 @@ func (_m *SageMakerAPI) ListEndpoints(_a0 *sagemaker.ListEndpointsInput) (*sagem func (_m *SageMakerAPI) ListEndpointsPages(_a0 *sagemaker.ListEndpointsInput, _a1 func(*sagemaker.ListEndpointsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListEndpointsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListEndpointsInput, func(*sagemaker.ListEndpointsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -17088,6 +20778,10 @@ func (_m *SageMakerAPI) ListEndpointsPagesWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEndpointsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListEndpointsInput, func(*sagemaker.ListEndpointsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -17102,6 +20796,10 @@ func (_m *SageMakerAPI) ListEndpointsPagesWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) ListEndpointsRequest(_a0 *sagemaker.ListEndpointsInput) (*request.Request, *sagemaker.ListEndpointsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListEndpointsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListEndpointsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListEndpointsInput) (*request.Request, *sagemaker.ListEndpointsOutput)); ok { @@ -17137,6 +20835,10 @@ func (_m *SageMakerAPI) ListEndpointsWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListEndpointsWithContext") + } + var r0 *sagemaker.ListEndpointsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListEndpointsInput, ...request.Option) (*sagemaker.ListEndpointsOutput, error)); ok { @@ -17163,6 +20865,10 @@ func (_m *SageMakerAPI) ListEndpointsWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) ListExperiments(_a0 *sagemaker.ListExperimentsInput) (*sagemaker.ListExperimentsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListExperiments") + } + var r0 *sagemaker.ListExperimentsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListExperimentsInput) (*sagemaker.ListExperimentsOutput, error)); ok { @@ -17189,6 +20895,10 @@ func (_m *SageMakerAPI) ListExperiments(_a0 *sagemaker.ListExperimentsInput) (*s func (_m *SageMakerAPI) ListExperimentsPages(_a0 *sagemaker.ListExperimentsInput, _a1 func(*sagemaker.ListExperimentsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListExperimentsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListExperimentsInput, func(*sagemaker.ListExperimentsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -17210,6 +20920,10 @@ func (_m *SageMakerAPI) ListExperimentsPagesWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListExperimentsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListExperimentsInput, func(*sagemaker.ListExperimentsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -17224,6 +20938,10 @@ func (_m *SageMakerAPI) ListExperimentsPagesWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListExperimentsRequest(_a0 *sagemaker.ListExperimentsInput) (*request.Request, *sagemaker.ListExperimentsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListExperimentsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListExperimentsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListExperimentsInput) (*request.Request, *sagemaker.ListExperimentsOutput)); ok { @@ -17259,6 +20977,10 @@ func (_m *SageMakerAPI) ListExperimentsWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListExperimentsWithContext") + } + var r0 *sagemaker.ListExperimentsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListExperimentsInput, ...request.Option) (*sagemaker.ListExperimentsOutput, error)); ok { @@ -17285,6 +21007,10 @@ func (_m *SageMakerAPI) ListExperimentsWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) ListFeatureGroups(_a0 *sagemaker.ListFeatureGroupsInput) (*sagemaker.ListFeatureGroupsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFeatureGroups") + } + var r0 *sagemaker.ListFeatureGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListFeatureGroupsInput) (*sagemaker.ListFeatureGroupsOutput, error)); ok { @@ -17311,6 +21037,10 @@ func (_m *SageMakerAPI) ListFeatureGroups(_a0 *sagemaker.ListFeatureGroupsInput) func (_m *SageMakerAPI) ListFeatureGroupsPages(_a0 *sagemaker.ListFeatureGroupsInput, _a1 func(*sagemaker.ListFeatureGroupsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListFeatureGroupsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListFeatureGroupsInput, func(*sagemaker.ListFeatureGroupsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -17332,6 +21062,10 @@ func (_m *SageMakerAPI) ListFeatureGroupsPagesWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFeatureGroupsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListFeatureGroupsInput, func(*sagemaker.ListFeatureGroupsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -17346,6 +21080,10 @@ func (_m *SageMakerAPI) ListFeatureGroupsPagesWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) ListFeatureGroupsRequest(_a0 *sagemaker.ListFeatureGroupsInput) (*request.Request, *sagemaker.ListFeatureGroupsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFeatureGroupsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListFeatureGroupsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListFeatureGroupsInput) (*request.Request, *sagemaker.ListFeatureGroupsOutput)); ok { @@ -17381,6 +21119,10 @@ func (_m *SageMakerAPI) ListFeatureGroupsWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFeatureGroupsWithContext") + } + var r0 *sagemaker.ListFeatureGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListFeatureGroupsInput, ...request.Option) (*sagemaker.ListFeatureGroupsOutput, error)); ok { @@ -17407,6 +21149,10 @@ func (_m *SageMakerAPI) ListFeatureGroupsWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) ListFlowDefinitions(_a0 *sagemaker.ListFlowDefinitionsInput) (*sagemaker.ListFlowDefinitionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFlowDefinitions") + } + var r0 *sagemaker.ListFlowDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListFlowDefinitionsInput) (*sagemaker.ListFlowDefinitionsOutput, error)); ok { @@ -17433,6 +21179,10 @@ func (_m *SageMakerAPI) ListFlowDefinitions(_a0 *sagemaker.ListFlowDefinitionsIn func (_m *SageMakerAPI) ListFlowDefinitionsPages(_a0 *sagemaker.ListFlowDefinitionsInput, _a1 func(*sagemaker.ListFlowDefinitionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListFlowDefinitionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListFlowDefinitionsInput, func(*sagemaker.ListFlowDefinitionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -17454,6 +21204,10 @@ func (_m *SageMakerAPI) ListFlowDefinitionsPagesWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFlowDefinitionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListFlowDefinitionsInput, func(*sagemaker.ListFlowDefinitionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -17468,6 +21222,10 @@ func (_m *SageMakerAPI) ListFlowDefinitionsPagesWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListFlowDefinitionsRequest(_a0 *sagemaker.ListFlowDefinitionsInput) (*request.Request, *sagemaker.ListFlowDefinitionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListFlowDefinitionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListFlowDefinitionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListFlowDefinitionsInput) (*request.Request, *sagemaker.ListFlowDefinitionsOutput)); ok { @@ -17503,6 +21261,10 @@ func (_m *SageMakerAPI) ListFlowDefinitionsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListFlowDefinitionsWithContext") + } + var r0 *sagemaker.ListFlowDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListFlowDefinitionsInput, ...request.Option) (*sagemaker.ListFlowDefinitionsOutput, error)); ok { @@ -17529,6 +21291,10 @@ func (_m *SageMakerAPI) ListFlowDefinitionsWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListHubContentVersions(_a0 *sagemaker.ListHubContentVersionsInput) (*sagemaker.ListHubContentVersionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListHubContentVersions") + } + var r0 *sagemaker.ListHubContentVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListHubContentVersionsInput) (*sagemaker.ListHubContentVersionsOutput, error)); ok { @@ -17555,6 +21321,10 @@ func (_m *SageMakerAPI) ListHubContentVersions(_a0 *sagemaker.ListHubContentVers func (_m *SageMakerAPI) ListHubContentVersionsRequest(_a0 *sagemaker.ListHubContentVersionsInput) (*request.Request, *sagemaker.ListHubContentVersionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListHubContentVersionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListHubContentVersionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListHubContentVersionsInput) (*request.Request, *sagemaker.ListHubContentVersionsOutput)); ok { @@ -17590,6 +21360,10 @@ func (_m *SageMakerAPI) ListHubContentVersionsWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListHubContentVersionsWithContext") + } + var r0 *sagemaker.ListHubContentVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListHubContentVersionsInput, ...request.Option) (*sagemaker.ListHubContentVersionsOutput, error)); ok { @@ -17616,6 +21390,10 @@ func (_m *SageMakerAPI) ListHubContentVersionsWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) ListHubContents(_a0 *sagemaker.ListHubContentsInput) (*sagemaker.ListHubContentsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListHubContents") + } + var r0 *sagemaker.ListHubContentsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListHubContentsInput) (*sagemaker.ListHubContentsOutput, error)); ok { @@ -17642,6 +21420,10 @@ func (_m *SageMakerAPI) ListHubContents(_a0 *sagemaker.ListHubContentsInput) (*s func (_m *SageMakerAPI) ListHubContentsRequest(_a0 *sagemaker.ListHubContentsInput) (*request.Request, *sagemaker.ListHubContentsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListHubContentsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListHubContentsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListHubContentsInput) (*request.Request, *sagemaker.ListHubContentsOutput)); ok { @@ -17677,6 +21459,10 @@ func (_m *SageMakerAPI) ListHubContentsWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListHubContentsWithContext") + } + var r0 *sagemaker.ListHubContentsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListHubContentsInput, ...request.Option) (*sagemaker.ListHubContentsOutput, error)); ok { @@ -17703,6 +21489,10 @@ func (_m *SageMakerAPI) ListHubContentsWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) ListHubs(_a0 *sagemaker.ListHubsInput) (*sagemaker.ListHubsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListHubs") + } + var r0 *sagemaker.ListHubsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListHubsInput) (*sagemaker.ListHubsOutput, error)); ok { @@ -17729,6 +21519,10 @@ func (_m *SageMakerAPI) ListHubs(_a0 *sagemaker.ListHubsInput) (*sagemaker.ListH func (_m *SageMakerAPI) ListHubsRequest(_a0 *sagemaker.ListHubsInput) (*request.Request, *sagemaker.ListHubsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListHubsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListHubsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListHubsInput) (*request.Request, *sagemaker.ListHubsOutput)); ok { @@ -17764,6 +21558,10 @@ func (_m *SageMakerAPI) ListHubsWithContext(_a0 context.Context, _a1 *sagemaker. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListHubsWithContext") + } + var r0 *sagemaker.ListHubsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListHubsInput, ...request.Option) (*sagemaker.ListHubsOutput, error)); ok { @@ -17790,6 +21588,10 @@ func (_m *SageMakerAPI) ListHubsWithContext(_a0 context.Context, _a1 *sagemaker. func (_m *SageMakerAPI) ListHumanTaskUis(_a0 *sagemaker.ListHumanTaskUisInput) (*sagemaker.ListHumanTaskUisOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListHumanTaskUis") + } + var r0 *sagemaker.ListHumanTaskUisOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListHumanTaskUisInput) (*sagemaker.ListHumanTaskUisOutput, error)); ok { @@ -17816,6 +21618,10 @@ func (_m *SageMakerAPI) ListHumanTaskUis(_a0 *sagemaker.ListHumanTaskUisInput) ( func (_m *SageMakerAPI) ListHumanTaskUisPages(_a0 *sagemaker.ListHumanTaskUisInput, _a1 func(*sagemaker.ListHumanTaskUisOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListHumanTaskUisPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListHumanTaskUisInput, func(*sagemaker.ListHumanTaskUisOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -17837,6 +21643,10 @@ func (_m *SageMakerAPI) ListHumanTaskUisPagesWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListHumanTaskUisPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListHumanTaskUisInput, func(*sagemaker.ListHumanTaskUisOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -17851,6 +21661,10 @@ func (_m *SageMakerAPI) ListHumanTaskUisPagesWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) ListHumanTaskUisRequest(_a0 *sagemaker.ListHumanTaskUisInput) (*request.Request, *sagemaker.ListHumanTaskUisOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListHumanTaskUisRequest") + } + var r0 *request.Request var r1 *sagemaker.ListHumanTaskUisOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListHumanTaskUisInput) (*request.Request, *sagemaker.ListHumanTaskUisOutput)); ok { @@ -17886,6 +21700,10 @@ func (_m *SageMakerAPI) ListHumanTaskUisWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListHumanTaskUisWithContext") + } + var r0 *sagemaker.ListHumanTaskUisOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListHumanTaskUisInput, ...request.Option) (*sagemaker.ListHumanTaskUisOutput, error)); ok { @@ -17912,6 +21730,10 @@ func (_m *SageMakerAPI) ListHumanTaskUisWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListHyperParameterTuningJobs(_a0 *sagemaker.ListHyperParameterTuningJobsInput) (*sagemaker.ListHyperParameterTuningJobsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListHyperParameterTuningJobs") + } + var r0 *sagemaker.ListHyperParameterTuningJobsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListHyperParameterTuningJobsInput) (*sagemaker.ListHyperParameterTuningJobsOutput, error)); ok { @@ -17938,6 +21760,10 @@ func (_m *SageMakerAPI) ListHyperParameterTuningJobs(_a0 *sagemaker.ListHyperPar func (_m *SageMakerAPI) ListHyperParameterTuningJobsPages(_a0 *sagemaker.ListHyperParameterTuningJobsInput, _a1 func(*sagemaker.ListHyperParameterTuningJobsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListHyperParameterTuningJobsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListHyperParameterTuningJobsInput, func(*sagemaker.ListHyperParameterTuningJobsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -17959,6 +21785,10 @@ func (_m *SageMakerAPI) ListHyperParameterTuningJobsPagesWithContext(_a0 context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListHyperParameterTuningJobsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListHyperParameterTuningJobsInput, func(*sagemaker.ListHyperParameterTuningJobsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -17973,6 +21803,10 @@ func (_m *SageMakerAPI) ListHyperParameterTuningJobsPagesWithContext(_a0 context func (_m *SageMakerAPI) ListHyperParameterTuningJobsRequest(_a0 *sagemaker.ListHyperParameterTuningJobsInput) (*request.Request, *sagemaker.ListHyperParameterTuningJobsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListHyperParameterTuningJobsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListHyperParameterTuningJobsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListHyperParameterTuningJobsInput) (*request.Request, *sagemaker.ListHyperParameterTuningJobsOutput)); ok { @@ -18008,6 +21842,10 @@ func (_m *SageMakerAPI) ListHyperParameterTuningJobsWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListHyperParameterTuningJobsWithContext") + } + var r0 *sagemaker.ListHyperParameterTuningJobsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListHyperParameterTuningJobsInput, ...request.Option) (*sagemaker.ListHyperParameterTuningJobsOutput, error)); ok { @@ -18034,6 +21872,10 @@ func (_m *SageMakerAPI) ListHyperParameterTuningJobsWithContext(_a0 context.Cont func (_m *SageMakerAPI) ListImageVersions(_a0 *sagemaker.ListImageVersionsInput) (*sagemaker.ListImageVersionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListImageVersions") + } + var r0 *sagemaker.ListImageVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListImageVersionsInput) (*sagemaker.ListImageVersionsOutput, error)); ok { @@ -18060,6 +21902,10 @@ func (_m *SageMakerAPI) ListImageVersions(_a0 *sagemaker.ListImageVersionsInput) func (_m *SageMakerAPI) ListImageVersionsPages(_a0 *sagemaker.ListImageVersionsInput, _a1 func(*sagemaker.ListImageVersionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListImageVersionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListImageVersionsInput, func(*sagemaker.ListImageVersionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -18081,6 +21927,10 @@ func (_m *SageMakerAPI) ListImageVersionsPagesWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListImageVersionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListImageVersionsInput, func(*sagemaker.ListImageVersionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -18095,6 +21945,10 @@ func (_m *SageMakerAPI) ListImageVersionsPagesWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) ListImageVersionsRequest(_a0 *sagemaker.ListImageVersionsInput) (*request.Request, *sagemaker.ListImageVersionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListImageVersionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListImageVersionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListImageVersionsInput) (*request.Request, *sagemaker.ListImageVersionsOutput)); ok { @@ -18130,6 +21984,10 @@ func (_m *SageMakerAPI) ListImageVersionsWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListImageVersionsWithContext") + } + var r0 *sagemaker.ListImageVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListImageVersionsInput, ...request.Option) (*sagemaker.ListImageVersionsOutput, error)); ok { @@ -18156,6 +22014,10 @@ func (_m *SageMakerAPI) ListImageVersionsWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) ListImages(_a0 *sagemaker.ListImagesInput) (*sagemaker.ListImagesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListImages") + } + var r0 *sagemaker.ListImagesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListImagesInput) (*sagemaker.ListImagesOutput, error)); ok { @@ -18182,6 +22044,10 @@ func (_m *SageMakerAPI) ListImages(_a0 *sagemaker.ListImagesInput) (*sagemaker.L func (_m *SageMakerAPI) ListImagesPages(_a0 *sagemaker.ListImagesInput, _a1 func(*sagemaker.ListImagesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListImagesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListImagesInput, func(*sagemaker.ListImagesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -18203,6 +22069,10 @@ func (_m *SageMakerAPI) ListImagesPagesWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListImagesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListImagesInput, func(*sagemaker.ListImagesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -18217,6 +22087,10 @@ func (_m *SageMakerAPI) ListImagesPagesWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) ListImagesRequest(_a0 *sagemaker.ListImagesInput) (*request.Request, *sagemaker.ListImagesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListImagesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListImagesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListImagesInput) (*request.Request, *sagemaker.ListImagesOutput)); ok { @@ -18252,6 +22126,10 @@ func (_m *SageMakerAPI) ListImagesWithContext(_a0 context.Context, _a1 *sagemake _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListImagesWithContext") + } + var r0 *sagemaker.ListImagesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListImagesInput, ...request.Option) (*sagemaker.ListImagesOutput, error)); ok { @@ -18274,10 +22152,156 @@ func (_m *SageMakerAPI) ListImagesWithContext(_a0 context.Context, _a1 *sagemake return r0, r1 } +// ListInferenceComponents provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListInferenceComponents(_a0 *sagemaker.ListInferenceComponentsInput) (*sagemaker.ListInferenceComponentsOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListInferenceComponents") + } + + var r0 *sagemaker.ListInferenceComponentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceComponentsInput) (*sagemaker.ListInferenceComponentsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceComponentsInput) *sagemaker.ListInferenceComponentsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.ListInferenceComponentsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.ListInferenceComponentsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListInferenceComponentsPages provides a mock function with given fields: _a0, _a1 +func (_m *SageMakerAPI) ListInferenceComponentsPages(_a0 *sagemaker.ListInferenceComponentsInput, _a1 func(*sagemaker.ListInferenceComponentsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for ListInferenceComponentsPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceComponentsInput, func(*sagemaker.ListInferenceComponentsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListInferenceComponentsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SageMakerAPI) ListInferenceComponentsPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListInferenceComponentsInput, _a2 func(*sagemaker.ListInferenceComponentsOutput, 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 ListInferenceComponentsPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListInferenceComponentsInput, func(*sagemaker.ListInferenceComponentsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListInferenceComponentsRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListInferenceComponentsRequest(_a0 *sagemaker.ListInferenceComponentsInput) (*request.Request, *sagemaker.ListInferenceComponentsOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListInferenceComponentsRequest") + } + + var r0 *request.Request + var r1 *sagemaker.ListInferenceComponentsOutput + if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceComponentsInput) (*request.Request, *sagemaker.ListInferenceComponentsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceComponentsInput) *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(*sagemaker.ListInferenceComponentsInput) *sagemaker.ListInferenceComponentsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.ListInferenceComponentsOutput) + } + } + + return r0, r1 +} + +// ListInferenceComponentsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) ListInferenceComponentsWithContext(_a0 context.Context, _a1 *sagemaker.ListInferenceComponentsInput, _a2 ...request.Option) (*sagemaker.ListInferenceComponentsOutput, 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 ListInferenceComponentsWithContext") + } + + var r0 *sagemaker.ListInferenceComponentsOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListInferenceComponentsInput, ...request.Option) (*sagemaker.ListInferenceComponentsOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListInferenceComponentsInput, ...request.Option) *sagemaker.ListInferenceComponentsOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.ListInferenceComponentsOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListInferenceComponentsInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + // ListInferenceExperiments provides a mock function with given fields: _a0 func (_m *SageMakerAPI) ListInferenceExperiments(_a0 *sagemaker.ListInferenceExperimentsInput) (*sagemaker.ListInferenceExperimentsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListInferenceExperiments") + } + var r0 *sagemaker.ListInferenceExperimentsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceExperimentsInput) (*sagemaker.ListInferenceExperimentsOutput, error)); ok { @@ -18304,6 +22328,10 @@ func (_m *SageMakerAPI) ListInferenceExperiments(_a0 *sagemaker.ListInferenceExp func (_m *SageMakerAPI) ListInferenceExperimentsPages(_a0 *sagemaker.ListInferenceExperimentsInput, _a1 func(*sagemaker.ListInferenceExperimentsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListInferenceExperimentsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceExperimentsInput, func(*sagemaker.ListInferenceExperimentsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -18325,6 +22353,10 @@ func (_m *SageMakerAPI) ListInferenceExperimentsPagesWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListInferenceExperimentsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListInferenceExperimentsInput, func(*sagemaker.ListInferenceExperimentsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -18339,6 +22371,10 @@ func (_m *SageMakerAPI) ListInferenceExperimentsPagesWithContext(_a0 context.Con func (_m *SageMakerAPI) ListInferenceExperimentsRequest(_a0 *sagemaker.ListInferenceExperimentsInput) (*request.Request, *sagemaker.ListInferenceExperimentsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListInferenceExperimentsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListInferenceExperimentsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceExperimentsInput) (*request.Request, *sagemaker.ListInferenceExperimentsOutput)); ok { @@ -18374,6 +22410,10 @@ func (_m *SageMakerAPI) ListInferenceExperimentsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListInferenceExperimentsWithContext") + } + var r0 *sagemaker.ListInferenceExperimentsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListInferenceExperimentsInput, ...request.Option) (*sagemaker.ListInferenceExperimentsOutput, error)); ok { @@ -18400,6 +22440,10 @@ func (_m *SageMakerAPI) ListInferenceExperimentsWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListInferenceRecommendationsJobSteps(_a0 *sagemaker.ListInferenceRecommendationsJobStepsInput) (*sagemaker.ListInferenceRecommendationsJobStepsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListInferenceRecommendationsJobSteps") + } + var r0 *sagemaker.ListInferenceRecommendationsJobStepsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceRecommendationsJobStepsInput) (*sagemaker.ListInferenceRecommendationsJobStepsOutput, error)); ok { @@ -18426,6 +22470,10 @@ func (_m *SageMakerAPI) ListInferenceRecommendationsJobSteps(_a0 *sagemaker.List func (_m *SageMakerAPI) ListInferenceRecommendationsJobStepsPages(_a0 *sagemaker.ListInferenceRecommendationsJobStepsInput, _a1 func(*sagemaker.ListInferenceRecommendationsJobStepsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListInferenceRecommendationsJobStepsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceRecommendationsJobStepsInput, func(*sagemaker.ListInferenceRecommendationsJobStepsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -18447,6 +22495,10 @@ func (_m *SageMakerAPI) ListInferenceRecommendationsJobStepsPagesWithContext(_a0 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListInferenceRecommendationsJobStepsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListInferenceRecommendationsJobStepsInput, func(*sagemaker.ListInferenceRecommendationsJobStepsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -18461,6 +22513,10 @@ func (_m *SageMakerAPI) ListInferenceRecommendationsJobStepsPagesWithContext(_a0 func (_m *SageMakerAPI) ListInferenceRecommendationsJobStepsRequest(_a0 *sagemaker.ListInferenceRecommendationsJobStepsInput) (*request.Request, *sagemaker.ListInferenceRecommendationsJobStepsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListInferenceRecommendationsJobStepsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListInferenceRecommendationsJobStepsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceRecommendationsJobStepsInput) (*request.Request, *sagemaker.ListInferenceRecommendationsJobStepsOutput)); ok { @@ -18496,6 +22552,10 @@ func (_m *SageMakerAPI) ListInferenceRecommendationsJobStepsWithContext(_a0 cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListInferenceRecommendationsJobStepsWithContext") + } + var r0 *sagemaker.ListInferenceRecommendationsJobStepsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListInferenceRecommendationsJobStepsInput, ...request.Option) (*sagemaker.ListInferenceRecommendationsJobStepsOutput, error)); ok { @@ -18522,6 +22582,10 @@ func (_m *SageMakerAPI) ListInferenceRecommendationsJobStepsWithContext(_a0 cont func (_m *SageMakerAPI) ListInferenceRecommendationsJobs(_a0 *sagemaker.ListInferenceRecommendationsJobsInput) (*sagemaker.ListInferenceRecommendationsJobsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListInferenceRecommendationsJobs") + } + var r0 *sagemaker.ListInferenceRecommendationsJobsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceRecommendationsJobsInput) (*sagemaker.ListInferenceRecommendationsJobsOutput, error)); ok { @@ -18548,6 +22612,10 @@ func (_m *SageMakerAPI) ListInferenceRecommendationsJobs(_a0 *sagemaker.ListInfe func (_m *SageMakerAPI) ListInferenceRecommendationsJobsPages(_a0 *sagemaker.ListInferenceRecommendationsJobsInput, _a1 func(*sagemaker.ListInferenceRecommendationsJobsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListInferenceRecommendationsJobsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceRecommendationsJobsInput, func(*sagemaker.ListInferenceRecommendationsJobsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -18569,6 +22637,10 @@ func (_m *SageMakerAPI) ListInferenceRecommendationsJobsPagesWithContext(_a0 con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListInferenceRecommendationsJobsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListInferenceRecommendationsJobsInput, func(*sagemaker.ListInferenceRecommendationsJobsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -18583,6 +22655,10 @@ func (_m *SageMakerAPI) ListInferenceRecommendationsJobsPagesWithContext(_a0 con func (_m *SageMakerAPI) ListInferenceRecommendationsJobsRequest(_a0 *sagemaker.ListInferenceRecommendationsJobsInput) (*request.Request, *sagemaker.ListInferenceRecommendationsJobsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListInferenceRecommendationsJobsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListInferenceRecommendationsJobsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListInferenceRecommendationsJobsInput) (*request.Request, *sagemaker.ListInferenceRecommendationsJobsOutput)); ok { @@ -18618,6 +22694,10 @@ func (_m *SageMakerAPI) ListInferenceRecommendationsJobsWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListInferenceRecommendationsJobsWithContext") + } + var r0 *sagemaker.ListInferenceRecommendationsJobsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListInferenceRecommendationsJobsInput, ...request.Option) (*sagemaker.ListInferenceRecommendationsJobsOutput, error)); ok { @@ -18644,6 +22724,10 @@ func (_m *SageMakerAPI) ListInferenceRecommendationsJobsWithContext(_a0 context. func (_m *SageMakerAPI) ListLabelingJobs(_a0 *sagemaker.ListLabelingJobsInput) (*sagemaker.ListLabelingJobsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListLabelingJobs") + } + var r0 *sagemaker.ListLabelingJobsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListLabelingJobsInput) (*sagemaker.ListLabelingJobsOutput, error)); ok { @@ -18670,6 +22754,10 @@ func (_m *SageMakerAPI) ListLabelingJobs(_a0 *sagemaker.ListLabelingJobsInput) ( func (_m *SageMakerAPI) ListLabelingJobsForWorkteam(_a0 *sagemaker.ListLabelingJobsForWorkteamInput) (*sagemaker.ListLabelingJobsForWorkteamOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListLabelingJobsForWorkteam") + } + var r0 *sagemaker.ListLabelingJobsForWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListLabelingJobsForWorkteamInput) (*sagemaker.ListLabelingJobsForWorkteamOutput, error)); ok { @@ -18696,6 +22784,10 @@ func (_m *SageMakerAPI) ListLabelingJobsForWorkteam(_a0 *sagemaker.ListLabelingJ func (_m *SageMakerAPI) ListLabelingJobsForWorkteamPages(_a0 *sagemaker.ListLabelingJobsForWorkteamInput, _a1 func(*sagemaker.ListLabelingJobsForWorkteamOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListLabelingJobsForWorkteamPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListLabelingJobsForWorkteamInput, func(*sagemaker.ListLabelingJobsForWorkteamOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -18717,6 +22809,10 @@ func (_m *SageMakerAPI) ListLabelingJobsForWorkteamPagesWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLabelingJobsForWorkteamPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListLabelingJobsForWorkteamInput, func(*sagemaker.ListLabelingJobsForWorkteamOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -18731,6 +22827,10 @@ func (_m *SageMakerAPI) ListLabelingJobsForWorkteamPagesWithContext(_a0 context. func (_m *SageMakerAPI) ListLabelingJobsForWorkteamRequest(_a0 *sagemaker.ListLabelingJobsForWorkteamInput) (*request.Request, *sagemaker.ListLabelingJobsForWorkteamOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListLabelingJobsForWorkteamRequest") + } + var r0 *request.Request var r1 *sagemaker.ListLabelingJobsForWorkteamOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListLabelingJobsForWorkteamInput) (*request.Request, *sagemaker.ListLabelingJobsForWorkteamOutput)); ok { @@ -18766,6 +22866,10 @@ func (_m *SageMakerAPI) ListLabelingJobsForWorkteamWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLabelingJobsForWorkteamWithContext") + } + var r0 *sagemaker.ListLabelingJobsForWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListLabelingJobsForWorkteamInput, ...request.Option) (*sagemaker.ListLabelingJobsForWorkteamOutput, error)); ok { @@ -18792,6 +22896,10 @@ func (_m *SageMakerAPI) ListLabelingJobsForWorkteamWithContext(_a0 context.Conte func (_m *SageMakerAPI) ListLabelingJobsPages(_a0 *sagemaker.ListLabelingJobsInput, _a1 func(*sagemaker.ListLabelingJobsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListLabelingJobsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListLabelingJobsInput, func(*sagemaker.ListLabelingJobsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -18813,6 +22921,10 @@ func (_m *SageMakerAPI) ListLabelingJobsPagesWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLabelingJobsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListLabelingJobsInput, func(*sagemaker.ListLabelingJobsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -18827,6 +22939,10 @@ func (_m *SageMakerAPI) ListLabelingJobsPagesWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) ListLabelingJobsRequest(_a0 *sagemaker.ListLabelingJobsInput) (*request.Request, *sagemaker.ListLabelingJobsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListLabelingJobsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListLabelingJobsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListLabelingJobsInput) (*request.Request, *sagemaker.ListLabelingJobsOutput)); ok { @@ -18862,6 +22978,10 @@ func (_m *SageMakerAPI) ListLabelingJobsWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLabelingJobsWithContext") + } + var r0 *sagemaker.ListLabelingJobsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListLabelingJobsInput, ...request.Option) (*sagemaker.ListLabelingJobsOutput, error)); ok { @@ -18888,6 +23008,10 @@ func (_m *SageMakerAPI) ListLabelingJobsWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListLineageGroups(_a0 *sagemaker.ListLineageGroupsInput) (*sagemaker.ListLineageGroupsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListLineageGroups") + } + var r0 *sagemaker.ListLineageGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListLineageGroupsInput) (*sagemaker.ListLineageGroupsOutput, error)); ok { @@ -18914,6 +23038,10 @@ func (_m *SageMakerAPI) ListLineageGroups(_a0 *sagemaker.ListLineageGroupsInput) func (_m *SageMakerAPI) ListLineageGroupsPages(_a0 *sagemaker.ListLineageGroupsInput, _a1 func(*sagemaker.ListLineageGroupsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListLineageGroupsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListLineageGroupsInput, func(*sagemaker.ListLineageGroupsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -18935,6 +23063,10 @@ func (_m *SageMakerAPI) ListLineageGroupsPagesWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLineageGroupsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListLineageGroupsInput, func(*sagemaker.ListLineageGroupsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -18949,6 +23081,10 @@ func (_m *SageMakerAPI) ListLineageGroupsPagesWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) ListLineageGroupsRequest(_a0 *sagemaker.ListLineageGroupsInput) (*request.Request, *sagemaker.ListLineageGroupsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListLineageGroupsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListLineageGroupsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListLineageGroupsInput) (*request.Request, *sagemaker.ListLineageGroupsOutput)); ok { @@ -18984,6 +23120,10 @@ func (_m *SageMakerAPI) ListLineageGroupsWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListLineageGroupsWithContext") + } + var r0 *sagemaker.ListLineageGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListLineageGroupsInput, ...request.Option) (*sagemaker.ListLineageGroupsOutput, error)); ok { @@ -19010,6 +23150,10 @@ func (_m *SageMakerAPI) ListLineageGroupsWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) ListModelBiasJobDefinitions(_a0 *sagemaker.ListModelBiasJobDefinitionsInput) (*sagemaker.ListModelBiasJobDefinitionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelBiasJobDefinitions") + } + var r0 *sagemaker.ListModelBiasJobDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelBiasJobDefinitionsInput) (*sagemaker.ListModelBiasJobDefinitionsOutput, error)); ok { @@ -19036,6 +23180,10 @@ func (_m *SageMakerAPI) ListModelBiasJobDefinitions(_a0 *sagemaker.ListModelBias func (_m *SageMakerAPI) ListModelBiasJobDefinitionsPages(_a0 *sagemaker.ListModelBiasJobDefinitionsInput, _a1 func(*sagemaker.ListModelBiasJobDefinitionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListModelBiasJobDefinitionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelBiasJobDefinitionsInput, func(*sagemaker.ListModelBiasJobDefinitionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -19057,6 +23205,10 @@ func (_m *SageMakerAPI) ListModelBiasJobDefinitionsPagesWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelBiasJobDefinitionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelBiasJobDefinitionsInput, func(*sagemaker.ListModelBiasJobDefinitionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -19071,6 +23223,10 @@ func (_m *SageMakerAPI) ListModelBiasJobDefinitionsPagesWithContext(_a0 context. func (_m *SageMakerAPI) ListModelBiasJobDefinitionsRequest(_a0 *sagemaker.ListModelBiasJobDefinitionsInput) (*request.Request, *sagemaker.ListModelBiasJobDefinitionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelBiasJobDefinitionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListModelBiasJobDefinitionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListModelBiasJobDefinitionsInput) (*request.Request, *sagemaker.ListModelBiasJobDefinitionsOutput)); ok { @@ -19106,6 +23262,10 @@ func (_m *SageMakerAPI) ListModelBiasJobDefinitionsWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelBiasJobDefinitionsWithContext") + } + var r0 *sagemaker.ListModelBiasJobDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelBiasJobDefinitionsInput, ...request.Option) (*sagemaker.ListModelBiasJobDefinitionsOutput, error)); ok { @@ -19132,6 +23292,10 @@ func (_m *SageMakerAPI) ListModelBiasJobDefinitionsWithContext(_a0 context.Conte func (_m *SageMakerAPI) ListModelCardExportJobs(_a0 *sagemaker.ListModelCardExportJobsInput) (*sagemaker.ListModelCardExportJobsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelCardExportJobs") + } + var r0 *sagemaker.ListModelCardExportJobsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelCardExportJobsInput) (*sagemaker.ListModelCardExportJobsOutput, error)); ok { @@ -19158,6 +23322,10 @@ func (_m *SageMakerAPI) ListModelCardExportJobs(_a0 *sagemaker.ListModelCardExpo func (_m *SageMakerAPI) ListModelCardExportJobsPages(_a0 *sagemaker.ListModelCardExportJobsInput, _a1 func(*sagemaker.ListModelCardExportJobsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListModelCardExportJobsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelCardExportJobsInput, func(*sagemaker.ListModelCardExportJobsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -19179,6 +23347,10 @@ func (_m *SageMakerAPI) ListModelCardExportJobsPagesWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelCardExportJobsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelCardExportJobsInput, func(*sagemaker.ListModelCardExportJobsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -19193,6 +23365,10 @@ func (_m *SageMakerAPI) ListModelCardExportJobsPagesWithContext(_a0 context.Cont func (_m *SageMakerAPI) ListModelCardExportJobsRequest(_a0 *sagemaker.ListModelCardExportJobsInput) (*request.Request, *sagemaker.ListModelCardExportJobsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelCardExportJobsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListModelCardExportJobsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListModelCardExportJobsInput) (*request.Request, *sagemaker.ListModelCardExportJobsOutput)); ok { @@ -19228,6 +23404,10 @@ func (_m *SageMakerAPI) ListModelCardExportJobsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelCardExportJobsWithContext") + } + var r0 *sagemaker.ListModelCardExportJobsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelCardExportJobsInput, ...request.Option) (*sagemaker.ListModelCardExportJobsOutput, error)); ok { @@ -19254,6 +23434,10 @@ func (_m *SageMakerAPI) ListModelCardExportJobsWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListModelCardVersions(_a0 *sagemaker.ListModelCardVersionsInput) (*sagemaker.ListModelCardVersionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelCardVersions") + } + var r0 *sagemaker.ListModelCardVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelCardVersionsInput) (*sagemaker.ListModelCardVersionsOutput, error)); ok { @@ -19280,6 +23464,10 @@ func (_m *SageMakerAPI) ListModelCardVersions(_a0 *sagemaker.ListModelCardVersio func (_m *SageMakerAPI) ListModelCardVersionsPages(_a0 *sagemaker.ListModelCardVersionsInput, _a1 func(*sagemaker.ListModelCardVersionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListModelCardVersionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelCardVersionsInput, func(*sagemaker.ListModelCardVersionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -19301,6 +23489,10 @@ func (_m *SageMakerAPI) ListModelCardVersionsPagesWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelCardVersionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelCardVersionsInput, func(*sagemaker.ListModelCardVersionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -19315,6 +23507,10 @@ func (_m *SageMakerAPI) ListModelCardVersionsPagesWithContext(_a0 context.Contex func (_m *SageMakerAPI) ListModelCardVersionsRequest(_a0 *sagemaker.ListModelCardVersionsInput) (*request.Request, *sagemaker.ListModelCardVersionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelCardVersionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListModelCardVersionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListModelCardVersionsInput) (*request.Request, *sagemaker.ListModelCardVersionsOutput)); ok { @@ -19350,6 +23546,10 @@ func (_m *SageMakerAPI) ListModelCardVersionsWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelCardVersionsWithContext") + } + var r0 *sagemaker.ListModelCardVersionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelCardVersionsInput, ...request.Option) (*sagemaker.ListModelCardVersionsOutput, error)); ok { @@ -19376,6 +23576,10 @@ func (_m *SageMakerAPI) ListModelCardVersionsWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) ListModelCards(_a0 *sagemaker.ListModelCardsInput) (*sagemaker.ListModelCardsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelCards") + } + var r0 *sagemaker.ListModelCardsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelCardsInput) (*sagemaker.ListModelCardsOutput, error)); ok { @@ -19402,6 +23606,10 @@ func (_m *SageMakerAPI) ListModelCards(_a0 *sagemaker.ListModelCardsInput) (*sag func (_m *SageMakerAPI) ListModelCardsPages(_a0 *sagemaker.ListModelCardsInput, _a1 func(*sagemaker.ListModelCardsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListModelCardsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelCardsInput, func(*sagemaker.ListModelCardsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -19423,6 +23631,10 @@ func (_m *SageMakerAPI) ListModelCardsPagesWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelCardsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelCardsInput, func(*sagemaker.ListModelCardsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -19437,6 +23649,10 @@ func (_m *SageMakerAPI) ListModelCardsPagesWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListModelCardsRequest(_a0 *sagemaker.ListModelCardsInput) (*request.Request, *sagemaker.ListModelCardsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelCardsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListModelCardsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListModelCardsInput) (*request.Request, *sagemaker.ListModelCardsOutput)); ok { @@ -19472,6 +23688,10 @@ func (_m *SageMakerAPI) ListModelCardsWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelCardsWithContext") + } + var r0 *sagemaker.ListModelCardsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelCardsInput, ...request.Option) (*sagemaker.ListModelCardsOutput, error)); ok { @@ -19498,6 +23718,10 @@ func (_m *SageMakerAPI) ListModelCardsWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) ListModelExplainabilityJobDefinitions(_a0 *sagemaker.ListModelExplainabilityJobDefinitionsInput) (*sagemaker.ListModelExplainabilityJobDefinitionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelExplainabilityJobDefinitions") + } + var r0 *sagemaker.ListModelExplainabilityJobDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelExplainabilityJobDefinitionsInput) (*sagemaker.ListModelExplainabilityJobDefinitionsOutput, error)); ok { @@ -19524,6 +23748,10 @@ func (_m *SageMakerAPI) ListModelExplainabilityJobDefinitions(_a0 *sagemaker.Lis func (_m *SageMakerAPI) ListModelExplainabilityJobDefinitionsPages(_a0 *sagemaker.ListModelExplainabilityJobDefinitionsInput, _a1 func(*sagemaker.ListModelExplainabilityJobDefinitionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListModelExplainabilityJobDefinitionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelExplainabilityJobDefinitionsInput, func(*sagemaker.ListModelExplainabilityJobDefinitionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -19545,6 +23773,10 @@ func (_m *SageMakerAPI) ListModelExplainabilityJobDefinitionsPagesWithContext(_a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelExplainabilityJobDefinitionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelExplainabilityJobDefinitionsInput, func(*sagemaker.ListModelExplainabilityJobDefinitionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -19559,6 +23791,10 @@ func (_m *SageMakerAPI) ListModelExplainabilityJobDefinitionsPagesWithContext(_a func (_m *SageMakerAPI) ListModelExplainabilityJobDefinitionsRequest(_a0 *sagemaker.ListModelExplainabilityJobDefinitionsInput) (*request.Request, *sagemaker.ListModelExplainabilityJobDefinitionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelExplainabilityJobDefinitionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListModelExplainabilityJobDefinitionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListModelExplainabilityJobDefinitionsInput) (*request.Request, *sagemaker.ListModelExplainabilityJobDefinitionsOutput)); ok { @@ -19594,6 +23830,10 @@ func (_m *SageMakerAPI) ListModelExplainabilityJobDefinitionsWithContext(_a0 con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelExplainabilityJobDefinitionsWithContext") + } + var r0 *sagemaker.ListModelExplainabilityJobDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelExplainabilityJobDefinitionsInput, ...request.Option) (*sagemaker.ListModelExplainabilityJobDefinitionsOutput, error)); ok { @@ -19620,6 +23860,10 @@ func (_m *SageMakerAPI) ListModelExplainabilityJobDefinitionsWithContext(_a0 con func (_m *SageMakerAPI) ListModelMetadata(_a0 *sagemaker.ListModelMetadataInput) (*sagemaker.ListModelMetadataOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelMetadata") + } + var r0 *sagemaker.ListModelMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelMetadataInput) (*sagemaker.ListModelMetadataOutput, error)); ok { @@ -19646,6 +23890,10 @@ func (_m *SageMakerAPI) ListModelMetadata(_a0 *sagemaker.ListModelMetadataInput) func (_m *SageMakerAPI) ListModelMetadataPages(_a0 *sagemaker.ListModelMetadataInput, _a1 func(*sagemaker.ListModelMetadataOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListModelMetadataPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelMetadataInput, func(*sagemaker.ListModelMetadataOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -19667,6 +23915,10 @@ func (_m *SageMakerAPI) ListModelMetadataPagesWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelMetadataPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelMetadataInput, func(*sagemaker.ListModelMetadataOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -19681,6 +23933,10 @@ func (_m *SageMakerAPI) ListModelMetadataPagesWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) ListModelMetadataRequest(_a0 *sagemaker.ListModelMetadataInput) (*request.Request, *sagemaker.ListModelMetadataOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelMetadataRequest") + } + var r0 *request.Request var r1 *sagemaker.ListModelMetadataOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListModelMetadataInput) (*request.Request, *sagemaker.ListModelMetadataOutput)); ok { @@ -19716,6 +23972,10 @@ func (_m *SageMakerAPI) ListModelMetadataWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelMetadataWithContext") + } + var r0 *sagemaker.ListModelMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelMetadataInput, ...request.Option) (*sagemaker.ListModelMetadataOutput, error)); ok { @@ -19742,6 +24002,10 @@ func (_m *SageMakerAPI) ListModelMetadataWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) ListModelPackageGroups(_a0 *sagemaker.ListModelPackageGroupsInput) (*sagemaker.ListModelPackageGroupsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelPackageGroups") + } + var r0 *sagemaker.ListModelPackageGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelPackageGroupsInput) (*sagemaker.ListModelPackageGroupsOutput, error)); ok { @@ -19768,6 +24032,10 @@ func (_m *SageMakerAPI) ListModelPackageGroups(_a0 *sagemaker.ListModelPackageGr func (_m *SageMakerAPI) ListModelPackageGroupsPages(_a0 *sagemaker.ListModelPackageGroupsInput, _a1 func(*sagemaker.ListModelPackageGroupsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListModelPackageGroupsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelPackageGroupsInput, func(*sagemaker.ListModelPackageGroupsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -19789,6 +24057,10 @@ func (_m *SageMakerAPI) ListModelPackageGroupsPagesWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelPackageGroupsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelPackageGroupsInput, func(*sagemaker.ListModelPackageGroupsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -19803,6 +24075,10 @@ func (_m *SageMakerAPI) ListModelPackageGroupsPagesWithContext(_a0 context.Conte func (_m *SageMakerAPI) ListModelPackageGroupsRequest(_a0 *sagemaker.ListModelPackageGroupsInput) (*request.Request, *sagemaker.ListModelPackageGroupsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelPackageGroupsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListModelPackageGroupsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListModelPackageGroupsInput) (*request.Request, *sagemaker.ListModelPackageGroupsOutput)); ok { @@ -19838,6 +24114,10 @@ func (_m *SageMakerAPI) ListModelPackageGroupsWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelPackageGroupsWithContext") + } + var r0 *sagemaker.ListModelPackageGroupsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelPackageGroupsInput, ...request.Option) (*sagemaker.ListModelPackageGroupsOutput, error)); ok { @@ -19864,6 +24144,10 @@ func (_m *SageMakerAPI) ListModelPackageGroupsWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) ListModelPackages(_a0 *sagemaker.ListModelPackagesInput) (*sagemaker.ListModelPackagesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelPackages") + } + var r0 *sagemaker.ListModelPackagesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelPackagesInput) (*sagemaker.ListModelPackagesOutput, error)); ok { @@ -19890,6 +24174,10 @@ func (_m *SageMakerAPI) ListModelPackages(_a0 *sagemaker.ListModelPackagesInput) func (_m *SageMakerAPI) ListModelPackagesPages(_a0 *sagemaker.ListModelPackagesInput, _a1 func(*sagemaker.ListModelPackagesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListModelPackagesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelPackagesInput, func(*sagemaker.ListModelPackagesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -19911,6 +24199,10 @@ func (_m *SageMakerAPI) ListModelPackagesPagesWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelPackagesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelPackagesInput, func(*sagemaker.ListModelPackagesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -19925,6 +24217,10 @@ func (_m *SageMakerAPI) ListModelPackagesPagesWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) ListModelPackagesRequest(_a0 *sagemaker.ListModelPackagesInput) (*request.Request, *sagemaker.ListModelPackagesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelPackagesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListModelPackagesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListModelPackagesInput) (*request.Request, *sagemaker.ListModelPackagesOutput)); ok { @@ -19960,6 +24256,10 @@ func (_m *SageMakerAPI) ListModelPackagesWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelPackagesWithContext") + } + var r0 *sagemaker.ListModelPackagesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelPackagesInput, ...request.Option) (*sagemaker.ListModelPackagesOutput, error)); ok { @@ -19986,6 +24286,10 @@ func (_m *SageMakerAPI) ListModelPackagesWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) ListModelQualityJobDefinitions(_a0 *sagemaker.ListModelQualityJobDefinitionsInput) (*sagemaker.ListModelQualityJobDefinitionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelQualityJobDefinitions") + } + var r0 *sagemaker.ListModelQualityJobDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelQualityJobDefinitionsInput) (*sagemaker.ListModelQualityJobDefinitionsOutput, error)); ok { @@ -20012,6 +24316,10 @@ func (_m *SageMakerAPI) ListModelQualityJobDefinitions(_a0 *sagemaker.ListModelQ func (_m *SageMakerAPI) ListModelQualityJobDefinitionsPages(_a0 *sagemaker.ListModelQualityJobDefinitionsInput, _a1 func(*sagemaker.ListModelQualityJobDefinitionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListModelQualityJobDefinitionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelQualityJobDefinitionsInput, func(*sagemaker.ListModelQualityJobDefinitionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -20033,6 +24341,10 @@ func (_m *SageMakerAPI) ListModelQualityJobDefinitionsPagesWithContext(_a0 conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelQualityJobDefinitionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelQualityJobDefinitionsInput, func(*sagemaker.ListModelQualityJobDefinitionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -20047,6 +24359,10 @@ func (_m *SageMakerAPI) ListModelQualityJobDefinitionsPagesWithContext(_a0 conte func (_m *SageMakerAPI) ListModelQualityJobDefinitionsRequest(_a0 *sagemaker.ListModelQualityJobDefinitionsInput) (*request.Request, *sagemaker.ListModelQualityJobDefinitionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelQualityJobDefinitionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListModelQualityJobDefinitionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListModelQualityJobDefinitionsInput) (*request.Request, *sagemaker.ListModelQualityJobDefinitionsOutput)); ok { @@ -20082,6 +24398,10 @@ func (_m *SageMakerAPI) ListModelQualityJobDefinitionsWithContext(_a0 context.Co _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelQualityJobDefinitionsWithContext") + } + var r0 *sagemaker.ListModelQualityJobDefinitionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelQualityJobDefinitionsInput, ...request.Option) (*sagemaker.ListModelQualityJobDefinitionsOutput, error)); ok { @@ -20108,6 +24428,10 @@ func (_m *SageMakerAPI) ListModelQualityJobDefinitionsWithContext(_a0 context.Co func (_m *SageMakerAPI) ListModels(_a0 *sagemaker.ListModelsInput) (*sagemaker.ListModelsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModels") + } + var r0 *sagemaker.ListModelsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelsInput) (*sagemaker.ListModelsOutput, error)); ok { @@ -20134,6 +24458,10 @@ func (_m *SageMakerAPI) ListModels(_a0 *sagemaker.ListModelsInput) (*sagemaker.L func (_m *SageMakerAPI) ListModelsPages(_a0 *sagemaker.ListModelsInput, _a1 func(*sagemaker.ListModelsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListModelsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListModelsInput, func(*sagemaker.ListModelsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -20155,6 +24483,10 @@ func (_m *SageMakerAPI) ListModelsPagesWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelsInput, func(*sagemaker.ListModelsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -20169,6 +24501,10 @@ func (_m *SageMakerAPI) ListModelsPagesWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) ListModelsRequest(_a0 *sagemaker.ListModelsInput) (*request.Request, *sagemaker.ListModelsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListModelsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListModelsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListModelsInput) (*request.Request, *sagemaker.ListModelsOutput)); ok { @@ -20204,6 +24540,10 @@ func (_m *SageMakerAPI) ListModelsWithContext(_a0 context.Context, _a1 *sagemake _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListModelsWithContext") + } + var r0 *sagemaker.ListModelsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListModelsInput, ...request.Option) (*sagemaker.ListModelsOutput, error)); ok { @@ -20230,6 +24570,10 @@ func (_m *SageMakerAPI) ListModelsWithContext(_a0 context.Context, _a1 *sagemake func (_m *SageMakerAPI) ListMonitoringAlertHistory(_a0 *sagemaker.ListMonitoringAlertHistoryInput) (*sagemaker.ListMonitoringAlertHistoryOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringAlertHistory") + } + var r0 *sagemaker.ListMonitoringAlertHistoryOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringAlertHistoryInput) (*sagemaker.ListMonitoringAlertHistoryOutput, error)); ok { @@ -20256,6 +24600,10 @@ func (_m *SageMakerAPI) ListMonitoringAlertHistory(_a0 *sagemaker.ListMonitoring func (_m *SageMakerAPI) ListMonitoringAlertHistoryPages(_a0 *sagemaker.ListMonitoringAlertHistoryInput, _a1 func(*sagemaker.ListMonitoringAlertHistoryOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringAlertHistoryPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringAlertHistoryInput, func(*sagemaker.ListMonitoringAlertHistoryOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -20277,6 +24625,10 @@ func (_m *SageMakerAPI) ListMonitoringAlertHistoryPagesWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringAlertHistoryPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListMonitoringAlertHistoryInput, func(*sagemaker.ListMonitoringAlertHistoryOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -20291,6 +24643,10 @@ func (_m *SageMakerAPI) ListMonitoringAlertHistoryPagesWithContext(_a0 context.C func (_m *SageMakerAPI) ListMonitoringAlertHistoryRequest(_a0 *sagemaker.ListMonitoringAlertHistoryInput) (*request.Request, *sagemaker.ListMonitoringAlertHistoryOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringAlertHistoryRequest") + } + var r0 *request.Request var r1 *sagemaker.ListMonitoringAlertHistoryOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringAlertHistoryInput) (*request.Request, *sagemaker.ListMonitoringAlertHistoryOutput)); ok { @@ -20326,6 +24682,10 @@ func (_m *SageMakerAPI) ListMonitoringAlertHistoryWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringAlertHistoryWithContext") + } + var r0 *sagemaker.ListMonitoringAlertHistoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListMonitoringAlertHistoryInput, ...request.Option) (*sagemaker.ListMonitoringAlertHistoryOutput, error)); ok { @@ -20352,6 +24712,10 @@ func (_m *SageMakerAPI) ListMonitoringAlertHistoryWithContext(_a0 context.Contex func (_m *SageMakerAPI) ListMonitoringAlerts(_a0 *sagemaker.ListMonitoringAlertsInput) (*sagemaker.ListMonitoringAlertsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringAlerts") + } + var r0 *sagemaker.ListMonitoringAlertsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringAlertsInput) (*sagemaker.ListMonitoringAlertsOutput, error)); ok { @@ -20378,6 +24742,10 @@ func (_m *SageMakerAPI) ListMonitoringAlerts(_a0 *sagemaker.ListMonitoringAlerts func (_m *SageMakerAPI) ListMonitoringAlertsPages(_a0 *sagemaker.ListMonitoringAlertsInput, _a1 func(*sagemaker.ListMonitoringAlertsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringAlertsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringAlertsInput, func(*sagemaker.ListMonitoringAlertsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -20399,6 +24767,10 @@ func (_m *SageMakerAPI) ListMonitoringAlertsPagesWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringAlertsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListMonitoringAlertsInput, func(*sagemaker.ListMonitoringAlertsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -20413,6 +24785,10 @@ func (_m *SageMakerAPI) ListMonitoringAlertsPagesWithContext(_a0 context.Context func (_m *SageMakerAPI) ListMonitoringAlertsRequest(_a0 *sagemaker.ListMonitoringAlertsInput) (*request.Request, *sagemaker.ListMonitoringAlertsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringAlertsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListMonitoringAlertsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringAlertsInput) (*request.Request, *sagemaker.ListMonitoringAlertsOutput)); ok { @@ -20448,6 +24824,10 @@ func (_m *SageMakerAPI) ListMonitoringAlertsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringAlertsWithContext") + } + var r0 *sagemaker.ListMonitoringAlertsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListMonitoringAlertsInput, ...request.Option) (*sagemaker.ListMonitoringAlertsOutput, error)); ok { @@ -20474,6 +24854,10 @@ func (_m *SageMakerAPI) ListMonitoringAlertsWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListMonitoringExecutions(_a0 *sagemaker.ListMonitoringExecutionsInput) (*sagemaker.ListMonitoringExecutionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringExecutions") + } + var r0 *sagemaker.ListMonitoringExecutionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringExecutionsInput) (*sagemaker.ListMonitoringExecutionsOutput, error)); ok { @@ -20500,6 +24884,10 @@ func (_m *SageMakerAPI) ListMonitoringExecutions(_a0 *sagemaker.ListMonitoringEx func (_m *SageMakerAPI) ListMonitoringExecutionsPages(_a0 *sagemaker.ListMonitoringExecutionsInput, _a1 func(*sagemaker.ListMonitoringExecutionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringExecutionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringExecutionsInput, func(*sagemaker.ListMonitoringExecutionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -20521,6 +24909,10 @@ func (_m *SageMakerAPI) ListMonitoringExecutionsPagesWithContext(_a0 context.Con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringExecutionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListMonitoringExecutionsInput, func(*sagemaker.ListMonitoringExecutionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -20535,6 +24927,10 @@ func (_m *SageMakerAPI) ListMonitoringExecutionsPagesWithContext(_a0 context.Con func (_m *SageMakerAPI) ListMonitoringExecutionsRequest(_a0 *sagemaker.ListMonitoringExecutionsInput) (*request.Request, *sagemaker.ListMonitoringExecutionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringExecutionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListMonitoringExecutionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringExecutionsInput) (*request.Request, *sagemaker.ListMonitoringExecutionsOutput)); ok { @@ -20570,6 +24966,10 @@ func (_m *SageMakerAPI) ListMonitoringExecutionsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringExecutionsWithContext") + } + var r0 *sagemaker.ListMonitoringExecutionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListMonitoringExecutionsInput, ...request.Option) (*sagemaker.ListMonitoringExecutionsOutput, error)); ok { @@ -20596,6 +24996,10 @@ func (_m *SageMakerAPI) ListMonitoringExecutionsWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListMonitoringSchedules(_a0 *sagemaker.ListMonitoringSchedulesInput) (*sagemaker.ListMonitoringSchedulesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringSchedules") + } + var r0 *sagemaker.ListMonitoringSchedulesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringSchedulesInput) (*sagemaker.ListMonitoringSchedulesOutput, error)); ok { @@ -20622,6 +25026,10 @@ func (_m *SageMakerAPI) ListMonitoringSchedules(_a0 *sagemaker.ListMonitoringSch func (_m *SageMakerAPI) ListMonitoringSchedulesPages(_a0 *sagemaker.ListMonitoringSchedulesInput, _a1 func(*sagemaker.ListMonitoringSchedulesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringSchedulesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringSchedulesInput, func(*sagemaker.ListMonitoringSchedulesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -20643,6 +25051,10 @@ func (_m *SageMakerAPI) ListMonitoringSchedulesPagesWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringSchedulesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListMonitoringSchedulesInput, func(*sagemaker.ListMonitoringSchedulesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -20657,6 +25069,10 @@ func (_m *SageMakerAPI) ListMonitoringSchedulesPagesWithContext(_a0 context.Cont func (_m *SageMakerAPI) ListMonitoringSchedulesRequest(_a0 *sagemaker.ListMonitoringSchedulesInput) (*request.Request, *sagemaker.ListMonitoringSchedulesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringSchedulesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListMonitoringSchedulesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListMonitoringSchedulesInput) (*request.Request, *sagemaker.ListMonitoringSchedulesOutput)); ok { @@ -20692,6 +25108,10 @@ func (_m *SageMakerAPI) ListMonitoringSchedulesWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListMonitoringSchedulesWithContext") + } + var r0 *sagemaker.ListMonitoringSchedulesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListMonitoringSchedulesInput, ...request.Option) (*sagemaker.ListMonitoringSchedulesOutput, error)); ok { @@ -20718,6 +25138,10 @@ func (_m *SageMakerAPI) ListMonitoringSchedulesWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListNotebookInstanceLifecycleConfigs(_a0 *sagemaker.ListNotebookInstanceLifecycleConfigsInput) (*sagemaker.ListNotebookInstanceLifecycleConfigsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListNotebookInstanceLifecycleConfigs") + } + var r0 *sagemaker.ListNotebookInstanceLifecycleConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListNotebookInstanceLifecycleConfigsInput) (*sagemaker.ListNotebookInstanceLifecycleConfigsOutput, error)); ok { @@ -20744,6 +25168,10 @@ func (_m *SageMakerAPI) ListNotebookInstanceLifecycleConfigs(_a0 *sagemaker.List func (_m *SageMakerAPI) ListNotebookInstanceLifecycleConfigsPages(_a0 *sagemaker.ListNotebookInstanceLifecycleConfigsInput, _a1 func(*sagemaker.ListNotebookInstanceLifecycleConfigsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListNotebookInstanceLifecycleConfigsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListNotebookInstanceLifecycleConfigsInput, func(*sagemaker.ListNotebookInstanceLifecycleConfigsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -20765,6 +25193,10 @@ func (_m *SageMakerAPI) ListNotebookInstanceLifecycleConfigsPagesWithContext(_a0 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListNotebookInstanceLifecycleConfigsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListNotebookInstanceLifecycleConfigsInput, func(*sagemaker.ListNotebookInstanceLifecycleConfigsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -20779,6 +25211,10 @@ func (_m *SageMakerAPI) ListNotebookInstanceLifecycleConfigsPagesWithContext(_a0 func (_m *SageMakerAPI) ListNotebookInstanceLifecycleConfigsRequest(_a0 *sagemaker.ListNotebookInstanceLifecycleConfigsInput) (*request.Request, *sagemaker.ListNotebookInstanceLifecycleConfigsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListNotebookInstanceLifecycleConfigsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListNotebookInstanceLifecycleConfigsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListNotebookInstanceLifecycleConfigsInput) (*request.Request, *sagemaker.ListNotebookInstanceLifecycleConfigsOutput)); ok { @@ -20814,6 +25250,10 @@ func (_m *SageMakerAPI) ListNotebookInstanceLifecycleConfigsWithContext(_a0 cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListNotebookInstanceLifecycleConfigsWithContext") + } + var r0 *sagemaker.ListNotebookInstanceLifecycleConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListNotebookInstanceLifecycleConfigsInput, ...request.Option) (*sagemaker.ListNotebookInstanceLifecycleConfigsOutput, error)); ok { @@ -20840,6 +25280,10 @@ func (_m *SageMakerAPI) ListNotebookInstanceLifecycleConfigsWithContext(_a0 cont func (_m *SageMakerAPI) ListNotebookInstances(_a0 *sagemaker.ListNotebookInstancesInput) (*sagemaker.ListNotebookInstancesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListNotebookInstances") + } + var r0 *sagemaker.ListNotebookInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListNotebookInstancesInput) (*sagemaker.ListNotebookInstancesOutput, error)); ok { @@ -20866,6 +25310,10 @@ func (_m *SageMakerAPI) ListNotebookInstances(_a0 *sagemaker.ListNotebookInstanc func (_m *SageMakerAPI) ListNotebookInstancesPages(_a0 *sagemaker.ListNotebookInstancesInput, _a1 func(*sagemaker.ListNotebookInstancesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListNotebookInstancesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListNotebookInstancesInput, func(*sagemaker.ListNotebookInstancesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -20887,6 +25335,10 @@ func (_m *SageMakerAPI) ListNotebookInstancesPagesWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListNotebookInstancesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListNotebookInstancesInput, func(*sagemaker.ListNotebookInstancesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -20901,6 +25353,10 @@ func (_m *SageMakerAPI) ListNotebookInstancesPagesWithContext(_a0 context.Contex func (_m *SageMakerAPI) ListNotebookInstancesRequest(_a0 *sagemaker.ListNotebookInstancesInput) (*request.Request, *sagemaker.ListNotebookInstancesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListNotebookInstancesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListNotebookInstancesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListNotebookInstancesInput) (*request.Request, *sagemaker.ListNotebookInstancesOutput)); ok { @@ -20936,6 +25392,10 @@ func (_m *SageMakerAPI) ListNotebookInstancesWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListNotebookInstancesWithContext") + } + var r0 *sagemaker.ListNotebookInstancesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListNotebookInstancesInput, ...request.Option) (*sagemaker.ListNotebookInstancesOutput, error)); ok { @@ -20962,6 +25422,10 @@ func (_m *SageMakerAPI) ListNotebookInstancesWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) ListPipelineExecutionSteps(_a0 *sagemaker.ListPipelineExecutionStepsInput) (*sagemaker.ListPipelineExecutionStepsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListPipelineExecutionSteps") + } + var r0 *sagemaker.ListPipelineExecutionStepsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelineExecutionStepsInput) (*sagemaker.ListPipelineExecutionStepsOutput, error)); ok { @@ -20988,6 +25452,10 @@ func (_m *SageMakerAPI) ListPipelineExecutionSteps(_a0 *sagemaker.ListPipelineEx func (_m *SageMakerAPI) ListPipelineExecutionStepsPages(_a0 *sagemaker.ListPipelineExecutionStepsInput, _a1 func(*sagemaker.ListPipelineExecutionStepsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListPipelineExecutionStepsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelineExecutionStepsInput, func(*sagemaker.ListPipelineExecutionStepsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -21009,6 +25477,10 @@ func (_m *SageMakerAPI) ListPipelineExecutionStepsPagesWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPipelineExecutionStepsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelineExecutionStepsInput, func(*sagemaker.ListPipelineExecutionStepsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -21023,6 +25495,10 @@ func (_m *SageMakerAPI) ListPipelineExecutionStepsPagesWithContext(_a0 context.C func (_m *SageMakerAPI) ListPipelineExecutionStepsRequest(_a0 *sagemaker.ListPipelineExecutionStepsInput) (*request.Request, *sagemaker.ListPipelineExecutionStepsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListPipelineExecutionStepsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListPipelineExecutionStepsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelineExecutionStepsInput) (*request.Request, *sagemaker.ListPipelineExecutionStepsOutput)); ok { @@ -21058,6 +25534,10 @@ func (_m *SageMakerAPI) ListPipelineExecutionStepsWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPipelineExecutionStepsWithContext") + } + var r0 *sagemaker.ListPipelineExecutionStepsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelineExecutionStepsInput, ...request.Option) (*sagemaker.ListPipelineExecutionStepsOutput, error)); ok { @@ -21084,6 +25564,10 @@ func (_m *SageMakerAPI) ListPipelineExecutionStepsWithContext(_a0 context.Contex func (_m *SageMakerAPI) ListPipelineExecutions(_a0 *sagemaker.ListPipelineExecutionsInput) (*sagemaker.ListPipelineExecutionsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListPipelineExecutions") + } + var r0 *sagemaker.ListPipelineExecutionsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelineExecutionsInput) (*sagemaker.ListPipelineExecutionsOutput, error)); ok { @@ -21110,6 +25594,10 @@ func (_m *SageMakerAPI) ListPipelineExecutions(_a0 *sagemaker.ListPipelineExecut func (_m *SageMakerAPI) ListPipelineExecutionsPages(_a0 *sagemaker.ListPipelineExecutionsInput, _a1 func(*sagemaker.ListPipelineExecutionsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListPipelineExecutionsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelineExecutionsInput, func(*sagemaker.ListPipelineExecutionsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -21131,6 +25619,10 @@ func (_m *SageMakerAPI) ListPipelineExecutionsPagesWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPipelineExecutionsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelineExecutionsInput, func(*sagemaker.ListPipelineExecutionsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -21145,6 +25637,10 @@ func (_m *SageMakerAPI) ListPipelineExecutionsPagesWithContext(_a0 context.Conte func (_m *SageMakerAPI) ListPipelineExecutionsRequest(_a0 *sagemaker.ListPipelineExecutionsInput) (*request.Request, *sagemaker.ListPipelineExecutionsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListPipelineExecutionsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListPipelineExecutionsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelineExecutionsInput) (*request.Request, *sagemaker.ListPipelineExecutionsOutput)); ok { @@ -21180,6 +25676,10 @@ func (_m *SageMakerAPI) ListPipelineExecutionsWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPipelineExecutionsWithContext") + } + var r0 *sagemaker.ListPipelineExecutionsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelineExecutionsInput, ...request.Option) (*sagemaker.ListPipelineExecutionsOutput, error)); ok { @@ -21206,6 +25706,10 @@ func (_m *SageMakerAPI) ListPipelineExecutionsWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) ListPipelineParametersForExecution(_a0 *sagemaker.ListPipelineParametersForExecutionInput) (*sagemaker.ListPipelineParametersForExecutionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListPipelineParametersForExecution") + } + var r0 *sagemaker.ListPipelineParametersForExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelineParametersForExecutionInput) (*sagemaker.ListPipelineParametersForExecutionOutput, error)); ok { @@ -21232,6 +25736,10 @@ func (_m *SageMakerAPI) ListPipelineParametersForExecution(_a0 *sagemaker.ListPi func (_m *SageMakerAPI) ListPipelineParametersForExecutionPages(_a0 *sagemaker.ListPipelineParametersForExecutionInput, _a1 func(*sagemaker.ListPipelineParametersForExecutionOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListPipelineParametersForExecutionPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelineParametersForExecutionInput, func(*sagemaker.ListPipelineParametersForExecutionOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -21253,6 +25761,10 @@ func (_m *SageMakerAPI) ListPipelineParametersForExecutionPagesWithContext(_a0 c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPipelineParametersForExecutionPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelineParametersForExecutionInput, func(*sagemaker.ListPipelineParametersForExecutionOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -21267,6 +25779,10 @@ func (_m *SageMakerAPI) ListPipelineParametersForExecutionPagesWithContext(_a0 c func (_m *SageMakerAPI) ListPipelineParametersForExecutionRequest(_a0 *sagemaker.ListPipelineParametersForExecutionInput) (*request.Request, *sagemaker.ListPipelineParametersForExecutionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListPipelineParametersForExecutionRequest") + } + var r0 *request.Request var r1 *sagemaker.ListPipelineParametersForExecutionOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelineParametersForExecutionInput) (*request.Request, *sagemaker.ListPipelineParametersForExecutionOutput)); ok { @@ -21302,6 +25818,10 @@ func (_m *SageMakerAPI) ListPipelineParametersForExecutionWithContext(_a0 contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPipelineParametersForExecutionWithContext") + } + var r0 *sagemaker.ListPipelineParametersForExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelineParametersForExecutionInput, ...request.Option) (*sagemaker.ListPipelineParametersForExecutionOutput, error)); ok { @@ -21328,6 +25848,10 @@ func (_m *SageMakerAPI) ListPipelineParametersForExecutionWithContext(_a0 contex func (_m *SageMakerAPI) ListPipelines(_a0 *sagemaker.ListPipelinesInput) (*sagemaker.ListPipelinesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListPipelines") + } + var r0 *sagemaker.ListPipelinesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelinesInput) (*sagemaker.ListPipelinesOutput, error)); ok { @@ -21354,6 +25878,10 @@ func (_m *SageMakerAPI) ListPipelines(_a0 *sagemaker.ListPipelinesInput) (*sagem func (_m *SageMakerAPI) ListPipelinesPages(_a0 *sagemaker.ListPipelinesInput, _a1 func(*sagemaker.ListPipelinesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListPipelinesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelinesInput, func(*sagemaker.ListPipelinesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -21375,6 +25903,10 @@ func (_m *SageMakerAPI) ListPipelinesPagesWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListPipelinesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelinesInput, func(*sagemaker.ListPipelinesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -21389,6 +25921,10 @@ func (_m *SageMakerAPI) ListPipelinesPagesWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) ListPipelinesRequest(_a0 *sagemaker.ListPipelinesInput) (*request.Request, *sagemaker.ListPipelinesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListPipelinesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListPipelinesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListPipelinesInput) (*request.Request, *sagemaker.ListPipelinesOutput)); ok { @@ -21413,8 +25949,150 @@ func (_m *SageMakerAPI) ListPipelinesRequest(_a0 *sagemaker.ListPipelinesInput) return r0, r1 } -// ListPipelinesWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SageMakerAPI) ListPipelinesWithContext(_a0 context.Context, _a1 *sagemaker.ListPipelinesInput, _a2 ...request.Option) (*sagemaker.ListPipelinesOutput, error) { +// ListPipelinesWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) ListPipelinesWithContext(_a0 context.Context, _a1 *sagemaker.ListPipelinesInput, _a2 ...request.Option) (*sagemaker.ListPipelinesOutput, 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 ListPipelinesWithContext") + } + + var r0 *sagemaker.ListPipelinesOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelinesInput, ...request.Option) (*sagemaker.ListPipelinesOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelinesInput, ...request.Option) *sagemaker.ListPipelinesOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.ListPipelinesOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListPipelinesInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListProcessingJobs provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListProcessingJobs(_a0 *sagemaker.ListProcessingJobsInput) (*sagemaker.ListProcessingJobsOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListProcessingJobs") + } + + var r0 *sagemaker.ListProcessingJobsOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.ListProcessingJobsInput) (*sagemaker.ListProcessingJobsOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.ListProcessingJobsInput) *sagemaker.ListProcessingJobsOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.ListProcessingJobsOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.ListProcessingJobsInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// ListProcessingJobsPages provides a mock function with given fields: _a0, _a1 +func (_m *SageMakerAPI) ListProcessingJobsPages(_a0 *sagemaker.ListProcessingJobsInput, _a1 func(*sagemaker.ListProcessingJobsOutput, bool) bool) error { + ret := _m.Called(_a0, _a1) + + if len(ret) == 0 { + panic("no return value specified for ListProcessingJobsPages") + } + + var r0 error + if rf, ok := ret.Get(0).(func(*sagemaker.ListProcessingJobsInput, func(*sagemaker.ListProcessingJobsOutput, bool) bool) error); ok { + r0 = rf(_a0, _a1) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListProcessingJobsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SageMakerAPI) ListProcessingJobsPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListProcessingJobsInput, _a2 func(*sagemaker.ListProcessingJobsOutput, 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 ListProcessingJobsPagesWithContext") + } + + var r0 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProcessingJobsInput, func(*sagemaker.ListProcessingJobsOutput, bool) bool, ...request.Option) error); ok { + r0 = rf(_a0, _a1, _a2, _a3...) + } else { + r0 = ret.Error(0) + } + + return r0 +} + +// ListProcessingJobsRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListProcessingJobsRequest(_a0 *sagemaker.ListProcessingJobsInput) (*request.Request, *sagemaker.ListProcessingJobsOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for ListProcessingJobsRequest") + } + + var r0 *request.Request + var r1 *sagemaker.ListProcessingJobsOutput + if rf, ok := ret.Get(0).(func(*sagemaker.ListProcessingJobsInput) (*request.Request, *sagemaker.ListProcessingJobsOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.ListProcessingJobsInput) *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(*sagemaker.ListProcessingJobsInput) *sagemaker.ListProcessingJobsOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.ListProcessingJobsOutput) + } + } + + return r0, r1 +} + +// ListProcessingJobsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) ListProcessingJobsWithContext(_a0 context.Context, _a1 *sagemaker.ListProcessingJobsInput, _a2 ...request.Option) (*sagemaker.ListProcessingJobsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -21424,20 +26102,24 @@ func (_m *SageMakerAPI) ListPipelinesWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *sagemaker.ListPipelinesOutput + if len(ret) == 0 { + panic("no return value specified for ListProcessingJobsWithContext") + } + + var r0 *sagemaker.ListProcessingJobsOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelinesInput, ...request.Option) (*sagemaker.ListPipelinesOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProcessingJobsInput, ...request.Option) (*sagemaker.ListProcessingJobsOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListPipelinesInput, ...request.Option) *sagemaker.ListPipelinesOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProcessingJobsInput, ...request.Option) *sagemaker.ListProcessingJobsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.ListPipelinesOutput) + r0 = ret.Get(0).(*sagemaker.ListProcessingJobsOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListPipelinesInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListProcessingJobsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -21446,24 +26128,28 @@ func (_m *SageMakerAPI) ListPipelinesWithContext(_a0 context.Context, _a1 *sagem return r0, r1 } -// ListProcessingJobs provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) ListProcessingJobs(_a0 *sagemaker.ListProcessingJobsInput) (*sagemaker.ListProcessingJobsOutput, error) { +// ListProjects provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListProjects(_a0 *sagemaker.ListProjectsInput) (*sagemaker.ListProjectsOutput, error) { ret := _m.Called(_a0) - var r0 *sagemaker.ListProcessingJobsOutput + if len(ret) == 0 { + panic("no return value specified for ListProjects") + } + + var r0 *sagemaker.ListProjectsOutput var r1 error - if rf, ok := ret.Get(0).(func(*sagemaker.ListProcessingJobsInput) (*sagemaker.ListProcessingJobsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListProjectsInput) (*sagemaker.ListProjectsOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.ListProcessingJobsInput) *sagemaker.ListProcessingJobsOutput); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListProjectsInput) *sagemaker.ListProjectsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.ListProcessingJobsOutput) + r0 = ret.Get(0).(*sagemaker.ListProjectsOutput) } } - if rf, ok := ret.Get(1).(func(*sagemaker.ListProcessingJobsInput) error); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.ListProjectsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -21472,12 +26158,16 @@ func (_m *SageMakerAPI) ListProcessingJobs(_a0 *sagemaker.ListProcessingJobsInpu return r0, r1 } -// ListProcessingJobsPages provides a mock function with given fields: _a0, _a1 -func (_m *SageMakerAPI) ListProcessingJobsPages(_a0 *sagemaker.ListProcessingJobsInput, _a1 func(*sagemaker.ListProcessingJobsOutput, bool) bool) error { +// ListProjectsPages provides a mock function with given fields: _a0, _a1 +func (_m *SageMakerAPI) ListProjectsPages(_a0 *sagemaker.ListProjectsInput, _a1 func(*sagemaker.ListProjectsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListProjectsPages") + } + var r0 error - if rf, ok := ret.Get(0).(func(*sagemaker.ListProcessingJobsInput, func(*sagemaker.ListProcessingJobsOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListProjectsInput, func(*sagemaker.ListProjectsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -21486,8 +26176,8 @@ func (_m *SageMakerAPI) ListProcessingJobsPages(_a0 *sagemaker.ListProcessingJob return r0 } -// ListProcessingJobsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *SageMakerAPI) ListProcessingJobsPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListProcessingJobsInput, _a2 func(*sagemaker.ListProcessingJobsOutput, bool) bool, _a3 ...request.Option) error { +// ListProjectsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SageMakerAPI) ListProjectsPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListProjectsInput, _a2 func(*sagemaker.ListProjectsOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -21497,8 +26187,12 @@ func (_m *SageMakerAPI) ListProcessingJobsPagesWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListProjectsPagesWithContext") + } + var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProcessingJobsInput, func(*sagemaker.ListProcessingJobsOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProjectsInput, func(*sagemaker.ListProjectsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -21507,16 +26201,20 @@ func (_m *SageMakerAPI) ListProcessingJobsPagesWithContext(_a0 context.Context, return r0 } -// ListProcessingJobsRequest provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) ListProcessingJobsRequest(_a0 *sagemaker.ListProcessingJobsInput) (*request.Request, *sagemaker.ListProcessingJobsOutput) { +// ListProjectsRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListProjectsRequest(_a0 *sagemaker.ListProjectsInput) (*request.Request, *sagemaker.ListProjectsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListProjectsRequest") + } + var r0 *request.Request - var r1 *sagemaker.ListProcessingJobsOutput - if rf, ok := ret.Get(0).(func(*sagemaker.ListProcessingJobsInput) (*request.Request, *sagemaker.ListProcessingJobsOutput)); ok { + var r1 *sagemaker.ListProjectsOutput + if rf, ok := ret.Get(0).(func(*sagemaker.ListProjectsInput) (*request.Request, *sagemaker.ListProjectsOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.ListProcessingJobsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListProjectsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -21524,19 +26222,19 @@ func (_m *SageMakerAPI) ListProcessingJobsRequest(_a0 *sagemaker.ListProcessingJ } } - if rf, ok := ret.Get(1).(func(*sagemaker.ListProcessingJobsInput) *sagemaker.ListProcessingJobsOutput); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.ListProjectsInput) *sagemaker.ListProjectsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*sagemaker.ListProcessingJobsOutput) + r1 = ret.Get(1).(*sagemaker.ListProjectsOutput) } } return r0, r1 } -// ListProcessingJobsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SageMakerAPI) ListProcessingJobsWithContext(_a0 context.Context, _a1 *sagemaker.ListProcessingJobsInput, _a2 ...request.Option) (*sagemaker.ListProcessingJobsOutput, error) { +// ListProjectsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) ListProjectsWithContext(_a0 context.Context, _a1 *sagemaker.ListProjectsInput, _a2 ...request.Option) (*sagemaker.ListProjectsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -21546,20 +26244,24 @@ func (_m *SageMakerAPI) ListProcessingJobsWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *sagemaker.ListProcessingJobsOutput + if len(ret) == 0 { + panic("no return value specified for ListProjectsWithContext") + } + + var r0 *sagemaker.ListProjectsOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProcessingJobsInput, ...request.Option) (*sagemaker.ListProcessingJobsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProjectsInput, ...request.Option) (*sagemaker.ListProjectsOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProcessingJobsInput, ...request.Option) *sagemaker.ListProcessingJobsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProjectsInput, ...request.Option) *sagemaker.ListProjectsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.ListProcessingJobsOutput) + r0 = ret.Get(0).(*sagemaker.ListProjectsOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListProcessingJobsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListProjectsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -21568,24 +26270,28 @@ func (_m *SageMakerAPI) ListProcessingJobsWithContext(_a0 context.Context, _a1 * return r0, r1 } -// ListProjects provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) ListProjects(_a0 *sagemaker.ListProjectsInput) (*sagemaker.ListProjectsOutput, error) { +// ListResourceCatalogs provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListResourceCatalogs(_a0 *sagemaker.ListResourceCatalogsInput) (*sagemaker.ListResourceCatalogsOutput, error) { ret := _m.Called(_a0) - var r0 *sagemaker.ListProjectsOutput + if len(ret) == 0 { + panic("no return value specified for ListResourceCatalogs") + } + + var r0 *sagemaker.ListResourceCatalogsOutput var r1 error - if rf, ok := ret.Get(0).(func(*sagemaker.ListProjectsInput) (*sagemaker.ListProjectsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListResourceCatalogsInput) (*sagemaker.ListResourceCatalogsOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.ListProjectsInput) *sagemaker.ListProjectsOutput); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListResourceCatalogsInput) *sagemaker.ListResourceCatalogsOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.ListProjectsOutput) + r0 = ret.Get(0).(*sagemaker.ListResourceCatalogsOutput) } } - if rf, ok := ret.Get(1).(func(*sagemaker.ListProjectsInput) error); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.ListResourceCatalogsInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -21594,12 +26300,16 @@ func (_m *SageMakerAPI) ListProjects(_a0 *sagemaker.ListProjectsInput) (*sagemak return r0, r1 } -// ListProjectsPages provides a mock function with given fields: _a0, _a1 -func (_m *SageMakerAPI) ListProjectsPages(_a0 *sagemaker.ListProjectsInput, _a1 func(*sagemaker.ListProjectsOutput, bool) bool) error { +// ListResourceCatalogsPages provides a mock function with given fields: _a0, _a1 +func (_m *SageMakerAPI) ListResourceCatalogsPages(_a0 *sagemaker.ListResourceCatalogsInput, _a1 func(*sagemaker.ListResourceCatalogsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListResourceCatalogsPages") + } + var r0 error - if rf, ok := ret.Get(0).(func(*sagemaker.ListProjectsInput, func(*sagemaker.ListProjectsOutput, bool) bool) error); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListResourceCatalogsInput, func(*sagemaker.ListResourceCatalogsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) } else { r0 = ret.Error(0) @@ -21608,8 +26318,8 @@ func (_m *SageMakerAPI) ListProjectsPages(_a0 *sagemaker.ListProjectsInput, _a1 return r0 } -// ListProjectsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 -func (_m *SageMakerAPI) ListProjectsPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListProjectsInput, _a2 func(*sagemaker.ListProjectsOutput, bool) bool, _a3 ...request.Option) error { +// ListResourceCatalogsPagesWithContext provides a mock function with given fields: _a0, _a1, _a2, _a3 +func (_m *SageMakerAPI) ListResourceCatalogsPagesWithContext(_a0 context.Context, _a1 *sagemaker.ListResourceCatalogsInput, _a2 func(*sagemaker.ListResourceCatalogsOutput, bool) bool, _a3 ...request.Option) error { _va := make([]interface{}, len(_a3)) for _i := range _a3 { _va[_i] = _a3[_i] @@ -21619,8 +26329,12 @@ func (_m *SageMakerAPI) ListProjectsPagesWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListResourceCatalogsPagesWithContext") + } + var r0 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProjectsInput, func(*sagemaker.ListProjectsOutput, bool) bool, ...request.Option) error); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListResourceCatalogsInput, func(*sagemaker.ListResourceCatalogsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) } else { r0 = ret.Error(0) @@ -21629,16 +26343,20 @@ func (_m *SageMakerAPI) ListProjectsPagesWithContext(_a0 context.Context, _a1 *s return r0 } -// ListProjectsRequest provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) ListProjectsRequest(_a0 *sagemaker.ListProjectsInput) (*request.Request, *sagemaker.ListProjectsOutput) { +// ListResourceCatalogsRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) ListResourceCatalogsRequest(_a0 *sagemaker.ListResourceCatalogsInput) (*request.Request, *sagemaker.ListResourceCatalogsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListResourceCatalogsRequest") + } + var r0 *request.Request - var r1 *sagemaker.ListProjectsOutput - if rf, ok := ret.Get(0).(func(*sagemaker.ListProjectsInput) (*request.Request, *sagemaker.ListProjectsOutput)); ok { + var r1 *sagemaker.ListResourceCatalogsOutput + if rf, ok := ret.Get(0).(func(*sagemaker.ListResourceCatalogsInput) (*request.Request, *sagemaker.ListResourceCatalogsOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.ListProjectsInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.ListResourceCatalogsInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -21646,19 +26364,19 @@ func (_m *SageMakerAPI) ListProjectsRequest(_a0 *sagemaker.ListProjectsInput) (* } } - if rf, ok := ret.Get(1).(func(*sagemaker.ListProjectsInput) *sagemaker.ListProjectsOutput); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.ListResourceCatalogsInput) *sagemaker.ListResourceCatalogsOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*sagemaker.ListProjectsOutput) + r1 = ret.Get(1).(*sagemaker.ListResourceCatalogsOutput) } } return r0, r1 } -// ListProjectsWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SageMakerAPI) ListProjectsWithContext(_a0 context.Context, _a1 *sagemaker.ListProjectsInput, _a2 ...request.Option) (*sagemaker.ListProjectsOutput, error) { +// ListResourceCatalogsWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) ListResourceCatalogsWithContext(_a0 context.Context, _a1 *sagemaker.ListResourceCatalogsInput, _a2 ...request.Option) (*sagemaker.ListResourceCatalogsOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -21668,20 +26386,24 @@ func (_m *SageMakerAPI) ListProjectsWithContext(_a0 context.Context, _a1 *sagema _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *sagemaker.ListProjectsOutput + if len(ret) == 0 { + panic("no return value specified for ListResourceCatalogsWithContext") + } + + var r0 *sagemaker.ListResourceCatalogsOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProjectsInput, ...request.Option) (*sagemaker.ListProjectsOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListResourceCatalogsInput, ...request.Option) (*sagemaker.ListResourceCatalogsOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListProjectsInput, ...request.Option) *sagemaker.ListProjectsOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListResourceCatalogsInput, ...request.Option) *sagemaker.ListResourceCatalogsOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.ListProjectsOutput) + r0 = ret.Get(0).(*sagemaker.ListResourceCatalogsOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListProjectsInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.ListResourceCatalogsInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -21694,6 +26416,10 @@ func (_m *SageMakerAPI) ListProjectsWithContext(_a0 context.Context, _a1 *sagema func (_m *SageMakerAPI) ListSpaces(_a0 *sagemaker.ListSpacesInput) (*sagemaker.ListSpacesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListSpaces") + } + var r0 *sagemaker.ListSpacesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListSpacesInput) (*sagemaker.ListSpacesOutput, error)); ok { @@ -21720,6 +26446,10 @@ func (_m *SageMakerAPI) ListSpaces(_a0 *sagemaker.ListSpacesInput) (*sagemaker.L func (_m *SageMakerAPI) ListSpacesPages(_a0 *sagemaker.ListSpacesInput, _a1 func(*sagemaker.ListSpacesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListSpacesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListSpacesInput, func(*sagemaker.ListSpacesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -21741,6 +26471,10 @@ func (_m *SageMakerAPI) ListSpacesPagesWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListSpacesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListSpacesInput, func(*sagemaker.ListSpacesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -21755,6 +26489,10 @@ func (_m *SageMakerAPI) ListSpacesPagesWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) ListSpacesRequest(_a0 *sagemaker.ListSpacesInput) (*request.Request, *sagemaker.ListSpacesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListSpacesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListSpacesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListSpacesInput) (*request.Request, *sagemaker.ListSpacesOutput)); ok { @@ -21790,6 +26528,10 @@ func (_m *SageMakerAPI) ListSpacesWithContext(_a0 context.Context, _a1 *sagemake _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListSpacesWithContext") + } + var r0 *sagemaker.ListSpacesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListSpacesInput, ...request.Option) (*sagemaker.ListSpacesOutput, error)); ok { @@ -21816,6 +26558,10 @@ func (_m *SageMakerAPI) ListSpacesWithContext(_a0 context.Context, _a1 *sagemake func (_m *SageMakerAPI) ListStageDevices(_a0 *sagemaker.ListStageDevicesInput) (*sagemaker.ListStageDevicesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListStageDevices") + } + var r0 *sagemaker.ListStageDevicesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListStageDevicesInput) (*sagemaker.ListStageDevicesOutput, error)); ok { @@ -21842,6 +26588,10 @@ func (_m *SageMakerAPI) ListStageDevices(_a0 *sagemaker.ListStageDevicesInput) ( func (_m *SageMakerAPI) ListStageDevicesPages(_a0 *sagemaker.ListStageDevicesInput, _a1 func(*sagemaker.ListStageDevicesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListStageDevicesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListStageDevicesInput, func(*sagemaker.ListStageDevicesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -21863,6 +26613,10 @@ func (_m *SageMakerAPI) ListStageDevicesPagesWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStageDevicesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListStageDevicesInput, func(*sagemaker.ListStageDevicesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -21877,6 +26631,10 @@ func (_m *SageMakerAPI) ListStageDevicesPagesWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) ListStageDevicesRequest(_a0 *sagemaker.ListStageDevicesInput) (*request.Request, *sagemaker.ListStageDevicesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListStageDevicesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListStageDevicesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListStageDevicesInput) (*request.Request, *sagemaker.ListStageDevicesOutput)); ok { @@ -21912,6 +26670,10 @@ func (_m *SageMakerAPI) ListStageDevicesWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStageDevicesWithContext") + } + var r0 *sagemaker.ListStageDevicesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListStageDevicesInput, ...request.Option) (*sagemaker.ListStageDevicesOutput, error)); ok { @@ -21938,6 +26700,10 @@ func (_m *SageMakerAPI) ListStageDevicesWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListStudioLifecycleConfigs(_a0 *sagemaker.ListStudioLifecycleConfigsInput) (*sagemaker.ListStudioLifecycleConfigsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListStudioLifecycleConfigs") + } + var r0 *sagemaker.ListStudioLifecycleConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListStudioLifecycleConfigsInput) (*sagemaker.ListStudioLifecycleConfigsOutput, error)); ok { @@ -21964,6 +26730,10 @@ func (_m *SageMakerAPI) ListStudioLifecycleConfigs(_a0 *sagemaker.ListStudioLife func (_m *SageMakerAPI) ListStudioLifecycleConfigsPages(_a0 *sagemaker.ListStudioLifecycleConfigsInput, _a1 func(*sagemaker.ListStudioLifecycleConfigsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListStudioLifecycleConfigsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListStudioLifecycleConfigsInput, func(*sagemaker.ListStudioLifecycleConfigsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -21985,6 +26755,10 @@ func (_m *SageMakerAPI) ListStudioLifecycleConfigsPagesWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStudioLifecycleConfigsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListStudioLifecycleConfigsInput, func(*sagemaker.ListStudioLifecycleConfigsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -21999,6 +26773,10 @@ func (_m *SageMakerAPI) ListStudioLifecycleConfigsPagesWithContext(_a0 context.C func (_m *SageMakerAPI) ListStudioLifecycleConfigsRequest(_a0 *sagemaker.ListStudioLifecycleConfigsInput) (*request.Request, *sagemaker.ListStudioLifecycleConfigsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListStudioLifecycleConfigsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListStudioLifecycleConfigsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListStudioLifecycleConfigsInput) (*request.Request, *sagemaker.ListStudioLifecycleConfigsOutput)); ok { @@ -22034,6 +26812,10 @@ func (_m *SageMakerAPI) ListStudioLifecycleConfigsWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListStudioLifecycleConfigsWithContext") + } + var r0 *sagemaker.ListStudioLifecycleConfigsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListStudioLifecycleConfigsInput, ...request.Option) (*sagemaker.ListStudioLifecycleConfigsOutput, error)); ok { @@ -22060,6 +26842,10 @@ func (_m *SageMakerAPI) ListStudioLifecycleConfigsWithContext(_a0 context.Contex func (_m *SageMakerAPI) ListSubscribedWorkteams(_a0 *sagemaker.ListSubscribedWorkteamsInput) (*sagemaker.ListSubscribedWorkteamsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListSubscribedWorkteams") + } + var r0 *sagemaker.ListSubscribedWorkteamsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListSubscribedWorkteamsInput) (*sagemaker.ListSubscribedWorkteamsOutput, error)); ok { @@ -22086,6 +26872,10 @@ func (_m *SageMakerAPI) ListSubscribedWorkteams(_a0 *sagemaker.ListSubscribedWor func (_m *SageMakerAPI) ListSubscribedWorkteamsPages(_a0 *sagemaker.ListSubscribedWorkteamsInput, _a1 func(*sagemaker.ListSubscribedWorkteamsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListSubscribedWorkteamsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListSubscribedWorkteamsInput, func(*sagemaker.ListSubscribedWorkteamsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -22107,6 +26897,10 @@ func (_m *SageMakerAPI) ListSubscribedWorkteamsPagesWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListSubscribedWorkteamsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListSubscribedWorkteamsInput, func(*sagemaker.ListSubscribedWorkteamsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -22121,6 +26915,10 @@ func (_m *SageMakerAPI) ListSubscribedWorkteamsPagesWithContext(_a0 context.Cont func (_m *SageMakerAPI) ListSubscribedWorkteamsRequest(_a0 *sagemaker.ListSubscribedWorkteamsInput) (*request.Request, *sagemaker.ListSubscribedWorkteamsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListSubscribedWorkteamsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListSubscribedWorkteamsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListSubscribedWorkteamsInput) (*request.Request, *sagemaker.ListSubscribedWorkteamsOutput)); ok { @@ -22156,6 +26954,10 @@ func (_m *SageMakerAPI) ListSubscribedWorkteamsWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListSubscribedWorkteamsWithContext") + } + var r0 *sagemaker.ListSubscribedWorkteamsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListSubscribedWorkteamsInput, ...request.Option) (*sagemaker.ListSubscribedWorkteamsOutput, error)); ok { @@ -22182,6 +26984,10 @@ func (_m *SageMakerAPI) ListSubscribedWorkteamsWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListTags(_a0 *sagemaker.ListTagsInput) (*sagemaker.ListTagsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTags") + } + var r0 *sagemaker.ListTagsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTagsInput) (*sagemaker.ListTagsOutput, error)); ok { @@ -22208,6 +27014,10 @@ func (_m *SageMakerAPI) ListTags(_a0 *sagemaker.ListTagsInput) (*sagemaker.ListT func (_m *SageMakerAPI) ListTagsPages(_a0 *sagemaker.ListTagsInput, _a1 func(*sagemaker.ListTagsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListTagsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTagsInput, func(*sagemaker.ListTagsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -22229,6 +27039,10 @@ func (_m *SageMakerAPI) ListTagsPagesWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTagsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTagsInput, func(*sagemaker.ListTagsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -22243,6 +27057,10 @@ func (_m *SageMakerAPI) ListTagsPagesWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) ListTagsRequest(_a0 *sagemaker.ListTagsInput) (*request.Request, *sagemaker.ListTagsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTagsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListTagsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListTagsInput) (*request.Request, *sagemaker.ListTagsOutput)); ok { @@ -22278,6 +27096,10 @@ func (_m *SageMakerAPI) ListTagsWithContext(_a0 context.Context, _a1 *sagemaker. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTagsWithContext") + } + var r0 *sagemaker.ListTagsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTagsInput, ...request.Option) (*sagemaker.ListTagsOutput, error)); ok { @@ -22304,6 +27126,10 @@ func (_m *SageMakerAPI) ListTagsWithContext(_a0 context.Context, _a1 *sagemaker. func (_m *SageMakerAPI) ListTrainingJobs(_a0 *sagemaker.ListTrainingJobsInput) (*sagemaker.ListTrainingJobsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTrainingJobs") + } + var r0 *sagemaker.ListTrainingJobsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTrainingJobsInput) (*sagemaker.ListTrainingJobsOutput, error)); ok { @@ -22330,6 +27156,10 @@ func (_m *SageMakerAPI) ListTrainingJobs(_a0 *sagemaker.ListTrainingJobsInput) ( func (_m *SageMakerAPI) ListTrainingJobsForHyperParameterTuningJob(_a0 *sagemaker.ListTrainingJobsForHyperParameterTuningJobInput) (*sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTrainingJobsForHyperParameterTuningJob") + } + var r0 *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTrainingJobsForHyperParameterTuningJobInput) (*sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, error)); ok { @@ -22356,6 +27186,10 @@ func (_m *SageMakerAPI) ListTrainingJobsForHyperParameterTuningJob(_a0 *sagemake func (_m *SageMakerAPI) ListTrainingJobsForHyperParameterTuningJobPages(_a0 *sagemaker.ListTrainingJobsForHyperParameterTuningJobInput, _a1 func(*sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListTrainingJobsForHyperParameterTuningJobPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTrainingJobsForHyperParameterTuningJobInput, func(*sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -22377,6 +27211,10 @@ func (_m *SageMakerAPI) ListTrainingJobsForHyperParameterTuningJobPagesWithConte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTrainingJobsForHyperParameterTuningJobPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTrainingJobsForHyperParameterTuningJobInput, func(*sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -22391,6 +27229,10 @@ func (_m *SageMakerAPI) ListTrainingJobsForHyperParameterTuningJobPagesWithConte func (_m *SageMakerAPI) ListTrainingJobsForHyperParameterTuningJobRequest(_a0 *sagemaker.ListTrainingJobsForHyperParameterTuningJobInput) (*request.Request, *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTrainingJobsForHyperParameterTuningJobRequest") + } + var r0 *request.Request var r1 *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListTrainingJobsForHyperParameterTuningJobInput) (*request.Request, *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput)); ok { @@ -22426,6 +27268,10 @@ func (_m *SageMakerAPI) ListTrainingJobsForHyperParameterTuningJobWithContext(_a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTrainingJobsForHyperParameterTuningJobWithContext") + } + var r0 *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTrainingJobsForHyperParameterTuningJobInput, ...request.Option) (*sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, error)); ok { @@ -22452,6 +27298,10 @@ func (_m *SageMakerAPI) ListTrainingJobsForHyperParameterTuningJobWithContext(_a func (_m *SageMakerAPI) ListTrainingJobsPages(_a0 *sagemaker.ListTrainingJobsInput, _a1 func(*sagemaker.ListTrainingJobsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListTrainingJobsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTrainingJobsInput, func(*sagemaker.ListTrainingJobsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -22473,6 +27323,10 @@ func (_m *SageMakerAPI) ListTrainingJobsPagesWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTrainingJobsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTrainingJobsInput, func(*sagemaker.ListTrainingJobsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -22487,6 +27341,10 @@ func (_m *SageMakerAPI) ListTrainingJobsPagesWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) ListTrainingJobsRequest(_a0 *sagemaker.ListTrainingJobsInput) (*request.Request, *sagemaker.ListTrainingJobsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTrainingJobsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListTrainingJobsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListTrainingJobsInput) (*request.Request, *sagemaker.ListTrainingJobsOutput)); ok { @@ -22522,6 +27380,10 @@ func (_m *SageMakerAPI) ListTrainingJobsWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTrainingJobsWithContext") + } + var r0 *sagemaker.ListTrainingJobsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTrainingJobsInput, ...request.Option) (*sagemaker.ListTrainingJobsOutput, error)); ok { @@ -22548,6 +27410,10 @@ func (_m *SageMakerAPI) ListTrainingJobsWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListTransformJobs(_a0 *sagemaker.ListTransformJobsInput) (*sagemaker.ListTransformJobsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTransformJobs") + } + var r0 *sagemaker.ListTransformJobsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTransformJobsInput) (*sagemaker.ListTransformJobsOutput, error)); ok { @@ -22574,6 +27440,10 @@ func (_m *SageMakerAPI) ListTransformJobs(_a0 *sagemaker.ListTransformJobsInput) func (_m *SageMakerAPI) ListTransformJobsPages(_a0 *sagemaker.ListTransformJobsInput, _a1 func(*sagemaker.ListTransformJobsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListTransformJobsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTransformJobsInput, func(*sagemaker.ListTransformJobsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -22595,6 +27465,10 @@ func (_m *SageMakerAPI) ListTransformJobsPagesWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTransformJobsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTransformJobsInput, func(*sagemaker.ListTransformJobsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -22609,6 +27483,10 @@ func (_m *SageMakerAPI) ListTransformJobsPagesWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) ListTransformJobsRequest(_a0 *sagemaker.ListTransformJobsInput) (*request.Request, *sagemaker.ListTransformJobsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTransformJobsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListTransformJobsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListTransformJobsInput) (*request.Request, *sagemaker.ListTransformJobsOutput)); ok { @@ -22644,6 +27522,10 @@ func (_m *SageMakerAPI) ListTransformJobsWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTransformJobsWithContext") + } + var r0 *sagemaker.ListTransformJobsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTransformJobsInput, ...request.Option) (*sagemaker.ListTransformJobsOutput, error)); ok { @@ -22670,6 +27552,10 @@ func (_m *SageMakerAPI) ListTransformJobsWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) ListTrialComponents(_a0 *sagemaker.ListTrialComponentsInput) (*sagemaker.ListTrialComponentsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTrialComponents") + } + var r0 *sagemaker.ListTrialComponentsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTrialComponentsInput) (*sagemaker.ListTrialComponentsOutput, error)); ok { @@ -22696,6 +27582,10 @@ func (_m *SageMakerAPI) ListTrialComponents(_a0 *sagemaker.ListTrialComponentsIn func (_m *SageMakerAPI) ListTrialComponentsPages(_a0 *sagemaker.ListTrialComponentsInput, _a1 func(*sagemaker.ListTrialComponentsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListTrialComponentsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTrialComponentsInput, func(*sagemaker.ListTrialComponentsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -22717,6 +27607,10 @@ func (_m *SageMakerAPI) ListTrialComponentsPagesWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTrialComponentsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTrialComponentsInput, func(*sagemaker.ListTrialComponentsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -22731,6 +27625,10 @@ func (_m *SageMakerAPI) ListTrialComponentsPagesWithContext(_a0 context.Context, func (_m *SageMakerAPI) ListTrialComponentsRequest(_a0 *sagemaker.ListTrialComponentsInput) (*request.Request, *sagemaker.ListTrialComponentsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTrialComponentsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListTrialComponentsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListTrialComponentsInput) (*request.Request, *sagemaker.ListTrialComponentsOutput)); ok { @@ -22766,6 +27664,10 @@ func (_m *SageMakerAPI) ListTrialComponentsWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTrialComponentsWithContext") + } + var r0 *sagemaker.ListTrialComponentsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTrialComponentsInput, ...request.Option) (*sagemaker.ListTrialComponentsOutput, error)); ok { @@ -22792,6 +27694,10 @@ func (_m *SageMakerAPI) ListTrialComponentsWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListTrials(_a0 *sagemaker.ListTrialsInput) (*sagemaker.ListTrialsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTrials") + } + var r0 *sagemaker.ListTrialsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTrialsInput) (*sagemaker.ListTrialsOutput, error)); ok { @@ -22818,6 +27724,10 @@ func (_m *SageMakerAPI) ListTrials(_a0 *sagemaker.ListTrialsInput) (*sagemaker.L func (_m *SageMakerAPI) ListTrialsPages(_a0 *sagemaker.ListTrialsInput, _a1 func(*sagemaker.ListTrialsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListTrialsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListTrialsInput, func(*sagemaker.ListTrialsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -22839,6 +27749,10 @@ func (_m *SageMakerAPI) ListTrialsPagesWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTrialsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTrialsInput, func(*sagemaker.ListTrialsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -22853,6 +27767,10 @@ func (_m *SageMakerAPI) ListTrialsPagesWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) ListTrialsRequest(_a0 *sagemaker.ListTrialsInput) (*request.Request, *sagemaker.ListTrialsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListTrialsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListTrialsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListTrialsInput) (*request.Request, *sagemaker.ListTrialsOutput)); ok { @@ -22888,6 +27806,10 @@ func (_m *SageMakerAPI) ListTrialsWithContext(_a0 context.Context, _a1 *sagemake _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListTrialsWithContext") + } + var r0 *sagemaker.ListTrialsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListTrialsInput, ...request.Option) (*sagemaker.ListTrialsOutput, error)); ok { @@ -22914,6 +27836,10 @@ func (_m *SageMakerAPI) ListTrialsWithContext(_a0 context.Context, _a1 *sagemake func (_m *SageMakerAPI) ListUserProfiles(_a0 *sagemaker.ListUserProfilesInput) (*sagemaker.ListUserProfilesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListUserProfiles") + } + var r0 *sagemaker.ListUserProfilesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListUserProfilesInput) (*sagemaker.ListUserProfilesOutput, error)); ok { @@ -22940,6 +27866,10 @@ func (_m *SageMakerAPI) ListUserProfiles(_a0 *sagemaker.ListUserProfilesInput) ( func (_m *SageMakerAPI) ListUserProfilesPages(_a0 *sagemaker.ListUserProfilesInput, _a1 func(*sagemaker.ListUserProfilesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListUserProfilesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListUserProfilesInput, func(*sagemaker.ListUserProfilesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -22961,6 +27891,10 @@ func (_m *SageMakerAPI) ListUserProfilesPagesWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListUserProfilesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListUserProfilesInput, func(*sagemaker.ListUserProfilesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -22975,6 +27909,10 @@ func (_m *SageMakerAPI) ListUserProfilesPagesWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) ListUserProfilesRequest(_a0 *sagemaker.ListUserProfilesInput) (*request.Request, *sagemaker.ListUserProfilesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListUserProfilesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListUserProfilesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListUserProfilesInput) (*request.Request, *sagemaker.ListUserProfilesOutput)); ok { @@ -23010,6 +27948,10 @@ func (_m *SageMakerAPI) ListUserProfilesWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListUserProfilesWithContext") + } + var r0 *sagemaker.ListUserProfilesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListUserProfilesInput, ...request.Option) (*sagemaker.ListUserProfilesOutput, error)); ok { @@ -23036,6 +27978,10 @@ func (_m *SageMakerAPI) ListUserProfilesWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) ListWorkforces(_a0 *sagemaker.ListWorkforcesInput) (*sagemaker.ListWorkforcesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListWorkforces") + } + var r0 *sagemaker.ListWorkforcesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListWorkforcesInput) (*sagemaker.ListWorkforcesOutput, error)); ok { @@ -23062,6 +28008,10 @@ func (_m *SageMakerAPI) ListWorkforces(_a0 *sagemaker.ListWorkforcesInput) (*sag func (_m *SageMakerAPI) ListWorkforcesPages(_a0 *sagemaker.ListWorkforcesInput, _a1 func(*sagemaker.ListWorkforcesOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListWorkforcesPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListWorkforcesInput, func(*sagemaker.ListWorkforcesOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -23083,6 +28033,10 @@ func (_m *SageMakerAPI) ListWorkforcesPagesWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListWorkforcesPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListWorkforcesInput, func(*sagemaker.ListWorkforcesOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -23097,6 +28051,10 @@ func (_m *SageMakerAPI) ListWorkforcesPagesWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) ListWorkforcesRequest(_a0 *sagemaker.ListWorkforcesInput) (*request.Request, *sagemaker.ListWorkforcesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListWorkforcesRequest") + } + var r0 *request.Request var r1 *sagemaker.ListWorkforcesOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListWorkforcesInput) (*request.Request, *sagemaker.ListWorkforcesOutput)); ok { @@ -23132,6 +28090,10 @@ func (_m *SageMakerAPI) ListWorkforcesWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListWorkforcesWithContext") + } + var r0 *sagemaker.ListWorkforcesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListWorkforcesInput, ...request.Option) (*sagemaker.ListWorkforcesOutput, error)); ok { @@ -23158,6 +28120,10 @@ func (_m *SageMakerAPI) ListWorkforcesWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) ListWorkteams(_a0 *sagemaker.ListWorkteamsInput) (*sagemaker.ListWorkteamsOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListWorkteams") + } + var r0 *sagemaker.ListWorkteamsOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.ListWorkteamsInput) (*sagemaker.ListWorkteamsOutput, error)); ok { @@ -23184,6 +28150,10 @@ func (_m *SageMakerAPI) ListWorkteams(_a0 *sagemaker.ListWorkteamsInput) (*sagem func (_m *SageMakerAPI) ListWorkteamsPages(_a0 *sagemaker.ListWorkteamsInput, _a1 func(*sagemaker.ListWorkteamsOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for ListWorkteamsPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.ListWorkteamsInput, func(*sagemaker.ListWorkteamsOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -23205,6 +28175,10 @@ func (_m *SageMakerAPI) ListWorkteamsPagesWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListWorkteamsPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListWorkteamsInput, func(*sagemaker.ListWorkteamsOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -23219,6 +28193,10 @@ func (_m *SageMakerAPI) ListWorkteamsPagesWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) ListWorkteamsRequest(_a0 *sagemaker.ListWorkteamsInput) (*request.Request, *sagemaker.ListWorkteamsOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for ListWorkteamsRequest") + } + var r0 *request.Request var r1 *sagemaker.ListWorkteamsOutput if rf, ok := ret.Get(0).(func(*sagemaker.ListWorkteamsInput) (*request.Request, *sagemaker.ListWorkteamsOutput)); ok { @@ -23254,6 +28232,10 @@ func (_m *SageMakerAPI) ListWorkteamsWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for ListWorkteamsWithContext") + } + var r0 *sagemaker.ListWorkteamsOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.ListWorkteamsInput, ...request.Option) (*sagemaker.ListWorkteamsOutput, error)); ok { @@ -23280,6 +28262,10 @@ func (_m *SageMakerAPI) ListWorkteamsWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) PutModelPackageGroupPolicy(_a0 *sagemaker.PutModelPackageGroupPolicyInput) (*sagemaker.PutModelPackageGroupPolicyOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutModelPackageGroupPolicy") + } + var r0 *sagemaker.PutModelPackageGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.PutModelPackageGroupPolicyInput) (*sagemaker.PutModelPackageGroupPolicyOutput, error)); ok { @@ -23306,6 +28292,10 @@ func (_m *SageMakerAPI) PutModelPackageGroupPolicy(_a0 *sagemaker.PutModelPackag func (_m *SageMakerAPI) PutModelPackageGroupPolicyRequest(_a0 *sagemaker.PutModelPackageGroupPolicyInput) (*request.Request, *sagemaker.PutModelPackageGroupPolicyOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for PutModelPackageGroupPolicyRequest") + } + var r0 *request.Request var r1 *sagemaker.PutModelPackageGroupPolicyOutput if rf, ok := ret.Get(0).(func(*sagemaker.PutModelPackageGroupPolicyInput) (*request.Request, *sagemaker.PutModelPackageGroupPolicyOutput)); ok { @@ -23341,6 +28331,10 @@ func (_m *SageMakerAPI) PutModelPackageGroupPolicyWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for PutModelPackageGroupPolicyWithContext") + } + var r0 *sagemaker.PutModelPackageGroupPolicyOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.PutModelPackageGroupPolicyInput, ...request.Option) (*sagemaker.PutModelPackageGroupPolicyOutput, error)); ok { @@ -23367,6 +28361,10 @@ func (_m *SageMakerAPI) PutModelPackageGroupPolicyWithContext(_a0 context.Contex func (_m *SageMakerAPI) QueryLineage(_a0 *sagemaker.QueryLineageInput) (*sagemaker.QueryLineageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for QueryLineage") + } + var r0 *sagemaker.QueryLineageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.QueryLineageInput) (*sagemaker.QueryLineageOutput, error)); ok { @@ -23393,6 +28391,10 @@ func (_m *SageMakerAPI) QueryLineage(_a0 *sagemaker.QueryLineageInput) (*sagemak func (_m *SageMakerAPI) QueryLineagePages(_a0 *sagemaker.QueryLineageInput, _a1 func(*sagemaker.QueryLineageOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for QueryLineagePages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.QueryLineageInput, func(*sagemaker.QueryLineageOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -23414,6 +28416,10 @@ func (_m *SageMakerAPI) QueryLineagePagesWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for QueryLineagePagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.QueryLineageInput, func(*sagemaker.QueryLineageOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -23428,6 +28434,10 @@ func (_m *SageMakerAPI) QueryLineagePagesWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) QueryLineageRequest(_a0 *sagemaker.QueryLineageInput) (*request.Request, *sagemaker.QueryLineageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for QueryLineageRequest") + } + var r0 *request.Request var r1 *sagemaker.QueryLineageOutput if rf, ok := ret.Get(0).(func(*sagemaker.QueryLineageInput) (*request.Request, *sagemaker.QueryLineageOutput)); ok { @@ -23463,6 +28473,10 @@ func (_m *SageMakerAPI) QueryLineageWithContext(_a0 context.Context, _a1 *sagema _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for QueryLineageWithContext") + } + var r0 *sagemaker.QueryLineageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.QueryLineageInput, ...request.Option) (*sagemaker.QueryLineageOutput, error)); ok { @@ -23489,6 +28503,10 @@ func (_m *SageMakerAPI) QueryLineageWithContext(_a0 context.Context, _a1 *sagema func (_m *SageMakerAPI) RegisterDevices(_a0 *sagemaker.RegisterDevicesInput) (*sagemaker.RegisterDevicesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RegisterDevices") + } + var r0 *sagemaker.RegisterDevicesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.RegisterDevicesInput) (*sagemaker.RegisterDevicesOutput, error)); ok { @@ -23515,6 +28533,10 @@ func (_m *SageMakerAPI) RegisterDevices(_a0 *sagemaker.RegisterDevicesInput) (*s func (_m *SageMakerAPI) RegisterDevicesRequest(_a0 *sagemaker.RegisterDevicesInput) (*request.Request, *sagemaker.RegisterDevicesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RegisterDevicesRequest") + } + var r0 *request.Request var r1 *sagemaker.RegisterDevicesOutput if rf, ok := ret.Get(0).(func(*sagemaker.RegisterDevicesInput) (*request.Request, *sagemaker.RegisterDevicesOutput)); ok { @@ -23550,6 +28572,10 @@ func (_m *SageMakerAPI) RegisterDevicesWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RegisterDevicesWithContext") + } + var r0 *sagemaker.RegisterDevicesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.RegisterDevicesInput, ...request.Option) (*sagemaker.RegisterDevicesOutput, error)); ok { @@ -23576,6 +28602,10 @@ func (_m *SageMakerAPI) RegisterDevicesWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) RenderUiTemplate(_a0 *sagemaker.RenderUiTemplateInput) (*sagemaker.RenderUiTemplateOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RenderUiTemplate") + } + var r0 *sagemaker.RenderUiTemplateOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.RenderUiTemplateInput) (*sagemaker.RenderUiTemplateOutput, error)); ok { @@ -23602,6 +28632,10 @@ func (_m *SageMakerAPI) RenderUiTemplate(_a0 *sagemaker.RenderUiTemplateInput) ( func (_m *SageMakerAPI) RenderUiTemplateRequest(_a0 *sagemaker.RenderUiTemplateInput) (*request.Request, *sagemaker.RenderUiTemplateOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RenderUiTemplateRequest") + } + var r0 *request.Request var r1 *sagemaker.RenderUiTemplateOutput if rf, ok := ret.Get(0).(func(*sagemaker.RenderUiTemplateInput) (*request.Request, *sagemaker.RenderUiTemplateOutput)); ok { @@ -23637,6 +28671,10 @@ func (_m *SageMakerAPI) RenderUiTemplateWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RenderUiTemplateWithContext") + } + var r0 *sagemaker.RenderUiTemplateOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.RenderUiTemplateInput, ...request.Option) (*sagemaker.RenderUiTemplateOutput, error)); ok { @@ -23663,6 +28701,10 @@ func (_m *SageMakerAPI) RenderUiTemplateWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) RetryPipelineExecution(_a0 *sagemaker.RetryPipelineExecutionInput) (*sagemaker.RetryPipelineExecutionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RetryPipelineExecution") + } + var r0 *sagemaker.RetryPipelineExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.RetryPipelineExecutionInput) (*sagemaker.RetryPipelineExecutionOutput, error)); ok { @@ -23689,6 +28731,10 @@ func (_m *SageMakerAPI) RetryPipelineExecution(_a0 *sagemaker.RetryPipelineExecu func (_m *SageMakerAPI) RetryPipelineExecutionRequest(_a0 *sagemaker.RetryPipelineExecutionInput) (*request.Request, *sagemaker.RetryPipelineExecutionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for RetryPipelineExecutionRequest") + } + var r0 *request.Request var r1 *sagemaker.RetryPipelineExecutionOutput if rf, ok := ret.Get(0).(func(*sagemaker.RetryPipelineExecutionInput) (*request.Request, *sagemaker.RetryPipelineExecutionOutput)); ok { @@ -23724,6 +28770,10 @@ func (_m *SageMakerAPI) RetryPipelineExecutionWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for RetryPipelineExecutionWithContext") + } + var r0 *sagemaker.RetryPipelineExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.RetryPipelineExecutionInput, ...request.Option) (*sagemaker.RetryPipelineExecutionOutput, error)); ok { @@ -23750,6 +28800,10 @@ func (_m *SageMakerAPI) RetryPipelineExecutionWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) Search(_a0 *sagemaker.SearchInput) (*sagemaker.SearchOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for Search") + } + var r0 *sagemaker.SearchOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.SearchInput) (*sagemaker.SearchOutput, error)); ok { @@ -23776,6 +28830,10 @@ func (_m *SageMakerAPI) Search(_a0 *sagemaker.SearchInput) (*sagemaker.SearchOut func (_m *SageMakerAPI) SearchPages(_a0 *sagemaker.SearchInput, _a1 func(*sagemaker.SearchOutput, bool) bool) error { ret := _m.Called(_a0, _a1) + if len(ret) == 0 { + panic("no return value specified for SearchPages") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.SearchInput, func(*sagemaker.SearchOutput, bool) bool) error); ok { r0 = rf(_a0, _a1) @@ -23797,6 +28855,10 @@ func (_m *SageMakerAPI) SearchPagesWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SearchPagesWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.SearchInput, func(*sagemaker.SearchOutput, bool) bool, ...request.Option) error); ok { r0 = rf(_a0, _a1, _a2, _a3...) @@ -23811,6 +28873,10 @@ func (_m *SageMakerAPI) SearchPagesWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) SearchRequest(_a0 *sagemaker.SearchInput) (*request.Request, *sagemaker.SearchOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for SearchRequest") + } + var r0 *request.Request var r1 *sagemaker.SearchOutput if rf, ok := ret.Get(0).(func(*sagemaker.SearchInput) (*request.Request, *sagemaker.SearchOutput)); ok { @@ -23846,6 +28912,10 @@ func (_m *SageMakerAPI) SearchWithContext(_a0 context.Context, _a1 *sagemaker.Se _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SearchWithContext") + } + var r0 *sagemaker.SearchOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.SearchInput, ...request.Option) (*sagemaker.SearchOutput, error)); ok { @@ -23872,6 +28942,10 @@ func (_m *SageMakerAPI) SearchWithContext(_a0 context.Context, _a1 *sagemaker.Se func (_m *SageMakerAPI) SendPipelineExecutionStepFailure(_a0 *sagemaker.SendPipelineExecutionStepFailureInput) (*sagemaker.SendPipelineExecutionStepFailureOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for SendPipelineExecutionStepFailure") + } + var r0 *sagemaker.SendPipelineExecutionStepFailureOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.SendPipelineExecutionStepFailureInput) (*sagemaker.SendPipelineExecutionStepFailureOutput, error)); ok { @@ -23898,6 +28972,10 @@ func (_m *SageMakerAPI) SendPipelineExecutionStepFailure(_a0 *sagemaker.SendPipe func (_m *SageMakerAPI) SendPipelineExecutionStepFailureRequest(_a0 *sagemaker.SendPipelineExecutionStepFailureInput) (*request.Request, *sagemaker.SendPipelineExecutionStepFailureOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for SendPipelineExecutionStepFailureRequest") + } + var r0 *request.Request var r1 *sagemaker.SendPipelineExecutionStepFailureOutput if rf, ok := ret.Get(0).(func(*sagemaker.SendPipelineExecutionStepFailureInput) (*request.Request, *sagemaker.SendPipelineExecutionStepFailureOutput)); ok { @@ -23933,6 +29011,10 @@ func (_m *SageMakerAPI) SendPipelineExecutionStepFailureWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SendPipelineExecutionStepFailureWithContext") + } + var r0 *sagemaker.SendPipelineExecutionStepFailureOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.SendPipelineExecutionStepFailureInput, ...request.Option) (*sagemaker.SendPipelineExecutionStepFailureOutput, error)); ok { @@ -23959,6 +29041,10 @@ func (_m *SageMakerAPI) SendPipelineExecutionStepFailureWithContext(_a0 context. func (_m *SageMakerAPI) SendPipelineExecutionStepSuccess(_a0 *sagemaker.SendPipelineExecutionStepSuccessInput) (*sagemaker.SendPipelineExecutionStepSuccessOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for SendPipelineExecutionStepSuccess") + } + var r0 *sagemaker.SendPipelineExecutionStepSuccessOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.SendPipelineExecutionStepSuccessInput) (*sagemaker.SendPipelineExecutionStepSuccessOutput, error)); ok { @@ -23985,6 +29071,10 @@ func (_m *SageMakerAPI) SendPipelineExecutionStepSuccess(_a0 *sagemaker.SendPipe func (_m *SageMakerAPI) SendPipelineExecutionStepSuccessRequest(_a0 *sagemaker.SendPipelineExecutionStepSuccessInput) (*request.Request, *sagemaker.SendPipelineExecutionStepSuccessOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for SendPipelineExecutionStepSuccessRequest") + } + var r0 *request.Request var r1 *sagemaker.SendPipelineExecutionStepSuccessOutput if rf, ok := ret.Get(0).(func(*sagemaker.SendPipelineExecutionStepSuccessInput) (*request.Request, *sagemaker.SendPipelineExecutionStepSuccessOutput)); ok { @@ -24020,6 +29110,10 @@ func (_m *SageMakerAPI) SendPipelineExecutionStepSuccessWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for SendPipelineExecutionStepSuccessWithContext") + } + var r0 *sagemaker.SendPipelineExecutionStepSuccessOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.SendPipelineExecutionStepSuccessInput, ...request.Option) (*sagemaker.SendPipelineExecutionStepSuccessOutput, error)); ok { @@ -24046,6 +29140,10 @@ func (_m *SageMakerAPI) SendPipelineExecutionStepSuccessWithContext(_a0 context. func (_m *SageMakerAPI) StartEdgeDeploymentStage(_a0 *sagemaker.StartEdgeDeploymentStageInput) (*sagemaker.StartEdgeDeploymentStageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartEdgeDeploymentStage") + } + var r0 *sagemaker.StartEdgeDeploymentStageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StartEdgeDeploymentStageInput) (*sagemaker.StartEdgeDeploymentStageOutput, error)); ok { @@ -24072,6 +29170,10 @@ func (_m *SageMakerAPI) StartEdgeDeploymentStage(_a0 *sagemaker.StartEdgeDeploym func (_m *SageMakerAPI) StartEdgeDeploymentStageRequest(_a0 *sagemaker.StartEdgeDeploymentStageInput) (*request.Request, *sagemaker.StartEdgeDeploymentStageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartEdgeDeploymentStageRequest") + } + var r0 *request.Request var r1 *sagemaker.StartEdgeDeploymentStageOutput if rf, ok := ret.Get(0).(func(*sagemaker.StartEdgeDeploymentStageInput) (*request.Request, *sagemaker.StartEdgeDeploymentStageOutput)); ok { @@ -24107,6 +29209,10 @@ func (_m *SageMakerAPI) StartEdgeDeploymentStageWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartEdgeDeploymentStageWithContext") + } + var r0 *sagemaker.StartEdgeDeploymentStageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StartEdgeDeploymentStageInput, ...request.Option) (*sagemaker.StartEdgeDeploymentStageOutput, error)); ok { @@ -24133,6 +29239,10 @@ func (_m *SageMakerAPI) StartEdgeDeploymentStageWithContext(_a0 context.Context, func (_m *SageMakerAPI) StartInferenceExperiment(_a0 *sagemaker.StartInferenceExperimentInput) (*sagemaker.StartInferenceExperimentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartInferenceExperiment") + } + var r0 *sagemaker.StartInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StartInferenceExperimentInput) (*sagemaker.StartInferenceExperimentOutput, error)); ok { @@ -24159,6 +29269,10 @@ func (_m *SageMakerAPI) StartInferenceExperiment(_a0 *sagemaker.StartInferenceEx func (_m *SageMakerAPI) StartInferenceExperimentRequest(_a0 *sagemaker.StartInferenceExperimentInput) (*request.Request, *sagemaker.StartInferenceExperimentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartInferenceExperimentRequest") + } + var r0 *request.Request var r1 *sagemaker.StartInferenceExperimentOutput if rf, ok := ret.Get(0).(func(*sagemaker.StartInferenceExperimentInput) (*request.Request, *sagemaker.StartInferenceExperimentOutput)); ok { @@ -24194,6 +29308,10 @@ func (_m *SageMakerAPI) StartInferenceExperimentWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartInferenceExperimentWithContext") + } + var r0 *sagemaker.StartInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StartInferenceExperimentInput, ...request.Option) (*sagemaker.StartInferenceExperimentOutput, error)); ok { @@ -24220,6 +29338,10 @@ func (_m *SageMakerAPI) StartInferenceExperimentWithContext(_a0 context.Context, func (_m *SageMakerAPI) StartMonitoringSchedule(_a0 *sagemaker.StartMonitoringScheduleInput) (*sagemaker.StartMonitoringScheduleOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartMonitoringSchedule") + } + var r0 *sagemaker.StartMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StartMonitoringScheduleInput) (*sagemaker.StartMonitoringScheduleOutput, error)); ok { @@ -24246,6 +29368,10 @@ func (_m *SageMakerAPI) StartMonitoringSchedule(_a0 *sagemaker.StartMonitoringSc func (_m *SageMakerAPI) StartMonitoringScheduleRequest(_a0 *sagemaker.StartMonitoringScheduleInput) (*request.Request, *sagemaker.StartMonitoringScheduleOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartMonitoringScheduleRequest") + } + var r0 *request.Request var r1 *sagemaker.StartMonitoringScheduleOutput if rf, ok := ret.Get(0).(func(*sagemaker.StartMonitoringScheduleInput) (*request.Request, *sagemaker.StartMonitoringScheduleOutput)); ok { @@ -24281,6 +29407,10 @@ func (_m *SageMakerAPI) StartMonitoringScheduleWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartMonitoringScheduleWithContext") + } + var r0 *sagemaker.StartMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StartMonitoringScheduleInput, ...request.Option) (*sagemaker.StartMonitoringScheduleOutput, error)); ok { @@ -24307,6 +29437,10 @@ func (_m *SageMakerAPI) StartMonitoringScheduleWithContext(_a0 context.Context, func (_m *SageMakerAPI) StartNotebookInstance(_a0 *sagemaker.StartNotebookInstanceInput) (*sagemaker.StartNotebookInstanceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartNotebookInstance") + } + var r0 *sagemaker.StartNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StartNotebookInstanceInput) (*sagemaker.StartNotebookInstanceOutput, error)); ok { @@ -24333,6 +29467,10 @@ func (_m *SageMakerAPI) StartNotebookInstance(_a0 *sagemaker.StartNotebookInstan func (_m *SageMakerAPI) StartNotebookInstanceRequest(_a0 *sagemaker.StartNotebookInstanceInput) (*request.Request, *sagemaker.StartNotebookInstanceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartNotebookInstanceRequest") + } + var r0 *request.Request var r1 *sagemaker.StartNotebookInstanceOutput if rf, ok := ret.Get(0).(func(*sagemaker.StartNotebookInstanceInput) (*request.Request, *sagemaker.StartNotebookInstanceOutput)); ok { @@ -24368,6 +29506,10 @@ func (_m *SageMakerAPI) StartNotebookInstanceWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartNotebookInstanceWithContext") + } + var r0 *sagemaker.StartNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StartNotebookInstanceInput, ...request.Option) (*sagemaker.StartNotebookInstanceOutput, error)); ok { @@ -24394,6 +29536,10 @@ func (_m *SageMakerAPI) StartNotebookInstanceWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) StartPipelineExecution(_a0 *sagemaker.StartPipelineExecutionInput) (*sagemaker.StartPipelineExecutionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartPipelineExecution") + } + var r0 *sagemaker.StartPipelineExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StartPipelineExecutionInput) (*sagemaker.StartPipelineExecutionOutput, error)); ok { @@ -24420,6 +29566,10 @@ func (_m *SageMakerAPI) StartPipelineExecution(_a0 *sagemaker.StartPipelineExecu func (_m *SageMakerAPI) StartPipelineExecutionRequest(_a0 *sagemaker.StartPipelineExecutionInput) (*request.Request, *sagemaker.StartPipelineExecutionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StartPipelineExecutionRequest") + } + var r0 *request.Request var r1 *sagemaker.StartPipelineExecutionOutput if rf, ok := ret.Get(0).(func(*sagemaker.StartPipelineExecutionInput) (*request.Request, *sagemaker.StartPipelineExecutionOutput)); ok { @@ -24455,6 +29605,10 @@ func (_m *SageMakerAPI) StartPipelineExecutionWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StartPipelineExecutionWithContext") + } + var r0 *sagemaker.StartPipelineExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StartPipelineExecutionInput, ...request.Option) (*sagemaker.StartPipelineExecutionOutput, error)); ok { @@ -24481,6 +29635,10 @@ func (_m *SageMakerAPI) StartPipelineExecutionWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) StopAutoMLJob(_a0 *sagemaker.StopAutoMLJobInput) (*sagemaker.StopAutoMLJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopAutoMLJob") + } + var r0 *sagemaker.StopAutoMLJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopAutoMLJobInput) (*sagemaker.StopAutoMLJobOutput, error)); ok { @@ -24507,6 +29665,10 @@ func (_m *SageMakerAPI) StopAutoMLJob(_a0 *sagemaker.StopAutoMLJobInput) (*sagem func (_m *SageMakerAPI) StopAutoMLJobRequest(_a0 *sagemaker.StopAutoMLJobInput) (*request.Request, *sagemaker.StopAutoMLJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopAutoMLJobRequest") + } + var r0 *request.Request var r1 *sagemaker.StopAutoMLJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopAutoMLJobInput) (*request.Request, *sagemaker.StopAutoMLJobOutput)); ok { @@ -24542,6 +29704,10 @@ func (_m *SageMakerAPI) StopAutoMLJobWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopAutoMLJobWithContext") + } + var r0 *sagemaker.StopAutoMLJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopAutoMLJobInput, ...request.Option) (*sagemaker.StopAutoMLJobOutput, error)); ok { @@ -24568,6 +29734,10 @@ func (_m *SageMakerAPI) StopAutoMLJobWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) StopCompilationJob(_a0 *sagemaker.StopCompilationJobInput) (*sagemaker.StopCompilationJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopCompilationJob") + } + var r0 *sagemaker.StopCompilationJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopCompilationJobInput) (*sagemaker.StopCompilationJobOutput, error)); ok { @@ -24594,6 +29764,10 @@ func (_m *SageMakerAPI) StopCompilationJob(_a0 *sagemaker.StopCompilationJobInpu func (_m *SageMakerAPI) StopCompilationJobRequest(_a0 *sagemaker.StopCompilationJobInput) (*request.Request, *sagemaker.StopCompilationJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopCompilationJobRequest") + } + var r0 *request.Request var r1 *sagemaker.StopCompilationJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopCompilationJobInput) (*request.Request, *sagemaker.StopCompilationJobOutput)); ok { @@ -24629,6 +29803,10 @@ func (_m *SageMakerAPI) StopCompilationJobWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopCompilationJobWithContext") + } + var r0 *sagemaker.StopCompilationJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopCompilationJobInput, ...request.Option) (*sagemaker.StopCompilationJobOutput, error)); ok { @@ -24655,6 +29833,10 @@ func (_m *SageMakerAPI) StopCompilationJobWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) StopEdgeDeploymentStage(_a0 *sagemaker.StopEdgeDeploymentStageInput) (*sagemaker.StopEdgeDeploymentStageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopEdgeDeploymentStage") + } + var r0 *sagemaker.StopEdgeDeploymentStageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopEdgeDeploymentStageInput) (*sagemaker.StopEdgeDeploymentStageOutput, error)); ok { @@ -24681,6 +29863,10 @@ func (_m *SageMakerAPI) StopEdgeDeploymentStage(_a0 *sagemaker.StopEdgeDeploymen func (_m *SageMakerAPI) StopEdgeDeploymentStageRequest(_a0 *sagemaker.StopEdgeDeploymentStageInput) (*request.Request, *sagemaker.StopEdgeDeploymentStageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopEdgeDeploymentStageRequest") + } + var r0 *request.Request var r1 *sagemaker.StopEdgeDeploymentStageOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopEdgeDeploymentStageInput) (*request.Request, *sagemaker.StopEdgeDeploymentStageOutput)); ok { @@ -24716,6 +29902,10 @@ func (_m *SageMakerAPI) StopEdgeDeploymentStageWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopEdgeDeploymentStageWithContext") + } + var r0 *sagemaker.StopEdgeDeploymentStageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopEdgeDeploymentStageInput, ...request.Option) (*sagemaker.StopEdgeDeploymentStageOutput, error)); ok { @@ -24742,6 +29932,10 @@ func (_m *SageMakerAPI) StopEdgeDeploymentStageWithContext(_a0 context.Context, func (_m *SageMakerAPI) StopEdgePackagingJob(_a0 *sagemaker.StopEdgePackagingJobInput) (*sagemaker.StopEdgePackagingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopEdgePackagingJob") + } + var r0 *sagemaker.StopEdgePackagingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopEdgePackagingJobInput) (*sagemaker.StopEdgePackagingJobOutput, error)); ok { @@ -24768,6 +29962,10 @@ func (_m *SageMakerAPI) StopEdgePackagingJob(_a0 *sagemaker.StopEdgePackagingJob func (_m *SageMakerAPI) StopEdgePackagingJobRequest(_a0 *sagemaker.StopEdgePackagingJobInput) (*request.Request, *sagemaker.StopEdgePackagingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopEdgePackagingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.StopEdgePackagingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopEdgePackagingJobInput) (*request.Request, *sagemaker.StopEdgePackagingJobOutput)); ok { @@ -24803,6 +30001,10 @@ func (_m *SageMakerAPI) StopEdgePackagingJobWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopEdgePackagingJobWithContext") + } + var r0 *sagemaker.StopEdgePackagingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopEdgePackagingJobInput, ...request.Option) (*sagemaker.StopEdgePackagingJobOutput, error)); ok { @@ -24829,6 +30031,10 @@ func (_m *SageMakerAPI) StopEdgePackagingJobWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) StopHyperParameterTuningJob(_a0 *sagemaker.StopHyperParameterTuningJobInput) (*sagemaker.StopHyperParameterTuningJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopHyperParameterTuningJob") + } + var r0 *sagemaker.StopHyperParameterTuningJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopHyperParameterTuningJobInput) (*sagemaker.StopHyperParameterTuningJobOutput, error)); ok { @@ -24855,6 +30061,10 @@ func (_m *SageMakerAPI) StopHyperParameterTuningJob(_a0 *sagemaker.StopHyperPara func (_m *SageMakerAPI) StopHyperParameterTuningJobRequest(_a0 *sagemaker.StopHyperParameterTuningJobInput) (*request.Request, *sagemaker.StopHyperParameterTuningJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopHyperParameterTuningJobRequest") + } + var r0 *request.Request var r1 *sagemaker.StopHyperParameterTuningJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopHyperParameterTuningJobInput) (*request.Request, *sagemaker.StopHyperParameterTuningJobOutput)); ok { @@ -24890,6 +30100,10 @@ func (_m *SageMakerAPI) StopHyperParameterTuningJobWithContext(_a0 context.Conte _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopHyperParameterTuningJobWithContext") + } + var r0 *sagemaker.StopHyperParameterTuningJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopHyperParameterTuningJobInput, ...request.Option) (*sagemaker.StopHyperParameterTuningJobOutput, error)); ok { @@ -24916,6 +30130,10 @@ func (_m *SageMakerAPI) StopHyperParameterTuningJobWithContext(_a0 context.Conte func (_m *SageMakerAPI) StopInferenceExperiment(_a0 *sagemaker.StopInferenceExperimentInput) (*sagemaker.StopInferenceExperimentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopInferenceExperiment") + } + var r0 *sagemaker.StopInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopInferenceExperimentInput) (*sagemaker.StopInferenceExperimentOutput, error)); ok { @@ -24942,6 +30160,10 @@ func (_m *SageMakerAPI) StopInferenceExperiment(_a0 *sagemaker.StopInferenceExpe func (_m *SageMakerAPI) StopInferenceExperimentRequest(_a0 *sagemaker.StopInferenceExperimentInput) (*request.Request, *sagemaker.StopInferenceExperimentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopInferenceExperimentRequest") + } + var r0 *request.Request var r1 *sagemaker.StopInferenceExperimentOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopInferenceExperimentInput) (*request.Request, *sagemaker.StopInferenceExperimentOutput)); ok { @@ -24977,6 +30199,10 @@ func (_m *SageMakerAPI) StopInferenceExperimentWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopInferenceExperimentWithContext") + } + var r0 *sagemaker.StopInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopInferenceExperimentInput, ...request.Option) (*sagemaker.StopInferenceExperimentOutput, error)); ok { @@ -25003,6 +30229,10 @@ func (_m *SageMakerAPI) StopInferenceExperimentWithContext(_a0 context.Context, func (_m *SageMakerAPI) StopInferenceRecommendationsJob(_a0 *sagemaker.StopInferenceRecommendationsJobInput) (*sagemaker.StopInferenceRecommendationsJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopInferenceRecommendationsJob") + } + var r0 *sagemaker.StopInferenceRecommendationsJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopInferenceRecommendationsJobInput) (*sagemaker.StopInferenceRecommendationsJobOutput, error)); ok { @@ -25029,6 +30259,10 @@ func (_m *SageMakerAPI) StopInferenceRecommendationsJob(_a0 *sagemaker.StopInfer func (_m *SageMakerAPI) StopInferenceRecommendationsJobRequest(_a0 *sagemaker.StopInferenceRecommendationsJobInput) (*request.Request, *sagemaker.StopInferenceRecommendationsJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopInferenceRecommendationsJobRequest") + } + var r0 *request.Request var r1 *sagemaker.StopInferenceRecommendationsJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopInferenceRecommendationsJobInput) (*request.Request, *sagemaker.StopInferenceRecommendationsJobOutput)); ok { @@ -25064,6 +30298,10 @@ func (_m *SageMakerAPI) StopInferenceRecommendationsJobWithContext(_a0 context.C _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopInferenceRecommendationsJobWithContext") + } + var r0 *sagemaker.StopInferenceRecommendationsJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopInferenceRecommendationsJobInput, ...request.Option) (*sagemaker.StopInferenceRecommendationsJobOutput, error)); ok { @@ -25090,6 +30328,10 @@ func (_m *SageMakerAPI) StopInferenceRecommendationsJobWithContext(_a0 context.C func (_m *SageMakerAPI) StopLabelingJob(_a0 *sagemaker.StopLabelingJobInput) (*sagemaker.StopLabelingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopLabelingJob") + } + var r0 *sagemaker.StopLabelingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopLabelingJobInput) (*sagemaker.StopLabelingJobOutput, error)); ok { @@ -25116,6 +30358,10 @@ func (_m *SageMakerAPI) StopLabelingJob(_a0 *sagemaker.StopLabelingJobInput) (*s func (_m *SageMakerAPI) StopLabelingJobRequest(_a0 *sagemaker.StopLabelingJobInput) (*request.Request, *sagemaker.StopLabelingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopLabelingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.StopLabelingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopLabelingJobInput) (*request.Request, *sagemaker.StopLabelingJobOutput)); ok { @@ -25151,6 +30397,10 @@ func (_m *SageMakerAPI) StopLabelingJobWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopLabelingJobWithContext") + } + var r0 *sagemaker.StopLabelingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopLabelingJobInput, ...request.Option) (*sagemaker.StopLabelingJobOutput, error)); ok { @@ -25177,6 +30427,10 @@ func (_m *SageMakerAPI) StopLabelingJobWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) StopMonitoringSchedule(_a0 *sagemaker.StopMonitoringScheduleInput) (*sagemaker.StopMonitoringScheduleOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopMonitoringSchedule") + } + var r0 *sagemaker.StopMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopMonitoringScheduleInput) (*sagemaker.StopMonitoringScheduleOutput, error)); ok { @@ -25203,6 +30457,10 @@ func (_m *SageMakerAPI) StopMonitoringSchedule(_a0 *sagemaker.StopMonitoringSche func (_m *SageMakerAPI) StopMonitoringScheduleRequest(_a0 *sagemaker.StopMonitoringScheduleInput) (*request.Request, *sagemaker.StopMonitoringScheduleOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopMonitoringScheduleRequest") + } + var r0 *request.Request var r1 *sagemaker.StopMonitoringScheduleOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopMonitoringScheduleInput) (*request.Request, *sagemaker.StopMonitoringScheduleOutput)); ok { @@ -25238,6 +30496,10 @@ func (_m *SageMakerAPI) StopMonitoringScheduleWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopMonitoringScheduleWithContext") + } + var r0 *sagemaker.StopMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopMonitoringScheduleInput, ...request.Option) (*sagemaker.StopMonitoringScheduleOutput, error)); ok { @@ -25264,6 +30526,10 @@ func (_m *SageMakerAPI) StopMonitoringScheduleWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) StopNotebookInstance(_a0 *sagemaker.StopNotebookInstanceInput) (*sagemaker.StopNotebookInstanceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopNotebookInstance") + } + var r0 *sagemaker.StopNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopNotebookInstanceInput) (*sagemaker.StopNotebookInstanceOutput, error)); ok { @@ -25290,6 +30556,10 @@ func (_m *SageMakerAPI) StopNotebookInstance(_a0 *sagemaker.StopNotebookInstance func (_m *SageMakerAPI) StopNotebookInstanceRequest(_a0 *sagemaker.StopNotebookInstanceInput) (*request.Request, *sagemaker.StopNotebookInstanceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopNotebookInstanceRequest") + } + var r0 *request.Request var r1 *sagemaker.StopNotebookInstanceOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopNotebookInstanceInput) (*request.Request, *sagemaker.StopNotebookInstanceOutput)); ok { @@ -25325,6 +30595,10 @@ func (_m *SageMakerAPI) StopNotebookInstanceWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopNotebookInstanceWithContext") + } + var r0 *sagemaker.StopNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopNotebookInstanceInput, ...request.Option) (*sagemaker.StopNotebookInstanceOutput, error)); ok { @@ -25351,6 +30625,10 @@ func (_m *SageMakerAPI) StopNotebookInstanceWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) StopPipelineExecution(_a0 *sagemaker.StopPipelineExecutionInput) (*sagemaker.StopPipelineExecutionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopPipelineExecution") + } + var r0 *sagemaker.StopPipelineExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopPipelineExecutionInput) (*sagemaker.StopPipelineExecutionOutput, error)); ok { @@ -25377,6 +30655,10 @@ func (_m *SageMakerAPI) StopPipelineExecution(_a0 *sagemaker.StopPipelineExecuti func (_m *SageMakerAPI) StopPipelineExecutionRequest(_a0 *sagemaker.StopPipelineExecutionInput) (*request.Request, *sagemaker.StopPipelineExecutionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopPipelineExecutionRequest") + } + var r0 *request.Request var r1 *sagemaker.StopPipelineExecutionOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopPipelineExecutionInput) (*request.Request, *sagemaker.StopPipelineExecutionOutput)); ok { @@ -25412,6 +30694,10 @@ func (_m *SageMakerAPI) StopPipelineExecutionWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopPipelineExecutionWithContext") + } + var r0 *sagemaker.StopPipelineExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopPipelineExecutionInput, ...request.Option) (*sagemaker.StopPipelineExecutionOutput, error)); ok { @@ -25438,6 +30724,10 @@ func (_m *SageMakerAPI) StopPipelineExecutionWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) StopProcessingJob(_a0 *sagemaker.StopProcessingJobInput) (*sagemaker.StopProcessingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopProcessingJob") + } + var r0 *sagemaker.StopProcessingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopProcessingJobInput) (*sagemaker.StopProcessingJobOutput, error)); ok { @@ -25464,6 +30754,10 @@ func (_m *SageMakerAPI) StopProcessingJob(_a0 *sagemaker.StopProcessingJobInput) func (_m *SageMakerAPI) StopProcessingJobRequest(_a0 *sagemaker.StopProcessingJobInput) (*request.Request, *sagemaker.StopProcessingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopProcessingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.StopProcessingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopProcessingJobInput) (*request.Request, *sagemaker.StopProcessingJobOutput)); ok { @@ -25499,6 +30793,10 @@ func (_m *SageMakerAPI) StopProcessingJobWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopProcessingJobWithContext") + } + var r0 *sagemaker.StopProcessingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopProcessingJobInput, ...request.Option) (*sagemaker.StopProcessingJobOutput, error)); ok { @@ -25525,6 +30823,10 @@ func (_m *SageMakerAPI) StopProcessingJobWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) StopTrainingJob(_a0 *sagemaker.StopTrainingJobInput) (*sagemaker.StopTrainingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopTrainingJob") + } + var r0 *sagemaker.StopTrainingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopTrainingJobInput) (*sagemaker.StopTrainingJobOutput, error)); ok { @@ -25551,6 +30853,10 @@ func (_m *SageMakerAPI) StopTrainingJob(_a0 *sagemaker.StopTrainingJobInput) (*s func (_m *SageMakerAPI) StopTrainingJobRequest(_a0 *sagemaker.StopTrainingJobInput) (*request.Request, *sagemaker.StopTrainingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopTrainingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.StopTrainingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopTrainingJobInput) (*request.Request, *sagemaker.StopTrainingJobOutput)); ok { @@ -25586,6 +30892,10 @@ func (_m *SageMakerAPI) StopTrainingJobWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopTrainingJobWithContext") + } + var r0 *sagemaker.StopTrainingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopTrainingJobInput, ...request.Option) (*sagemaker.StopTrainingJobOutput, error)); ok { @@ -25612,6 +30922,10 @@ func (_m *SageMakerAPI) StopTrainingJobWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) StopTransformJob(_a0 *sagemaker.StopTransformJobInput) (*sagemaker.StopTransformJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopTransformJob") + } + var r0 *sagemaker.StopTransformJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.StopTransformJobInput) (*sagemaker.StopTransformJobOutput, error)); ok { @@ -25638,6 +30952,10 @@ func (_m *SageMakerAPI) StopTransformJob(_a0 *sagemaker.StopTransformJobInput) ( func (_m *SageMakerAPI) StopTransformJobRequest(_a0 *sagemaker.StopTransformJobInput) (*request.Request, *sagemaker.StopTransformJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for StopTransformJobRequest") + } + var r0 *request.Request var r1 *sagemaker.StopTransformJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.StopTransformJobInput) (*request.Request, *sagemaker.StopTransformJobOutput)); ok { @@ -25673,6 +30991,10 @@ func (_m *SageMakerAPI) StopTransformJobWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for StopTransformJobWithContext") + } + var r0 *sagemaker.StopTransformJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.StopTransformJobInput, ...request.Option) (*sagemaker.StopTransformJobOutput, error)); ok { @@ -25699,6 +31021,10 @@ func (_m *SageMakerAPI) StopTransformJobWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) UpdateAction(_a0 *sagemaker.UpdateActionInput) (*sagemaker.UpdateActionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateAction") + } + var r0 *sagemaker.UpdateActionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateActionInput) (*sagemaker.UpdateActionOutput, error)); ok { @@ -25725,6 +31051,10 @@ func (_m *SageMakerAPI) UpdateAction(_a0 *sagemaker.UpdateActionInput) (*sagemak func (_m *SageMakerAPI) UpdateActionRequest(_a0 *sagemaker.UpdateActionInput) (*request.Request, *sagemaker.UpdateActionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateActionRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateActionOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateActionInput) (*request.Request, *sagemaker.UpdateActionOutput)); ok { @@ -25760,6 +31090,10 @@ func (_m *SageMakerAPI) UpdateActionWithContext(_a0 context.Context, _a1 *sagema _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateActionWithContext") + } + var r0 *sagemaker.UpdateActionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateActionInput, ...request.Option) (*sagemaker.UpdateActionOutput, error)); ok { @@ -25786,6 +31120,10 @@ func (_m *SageMakerAPI) UpdateActionWithContext(_a0 context.Context, _a1 *sagema func (_m *SageMakerAPI) UpdateAppImageConfig(_a0 *sagemaker.UpdateAppImageConfigInput) (*sagemaker.UpdateAppImageConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateAppImageConfig") + } + var r0 *sagemaker.UpdateAppImageConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateAppImageConfigInput) (*sagemaker.UpdateAppImageConfigOutput, error)); ok { @@ -25812,6 +31150,10 @@ func (_m *SageMakerAPI) UpdateAppImageConfig(_a0 *sagemaker.UpdateAppImageConfig func (_m *SageMakerAPI) UpdateAppImageConfigRequest(_a0 *sagemaker.UpdateAppImageConfigInput) (*request.Request, *sagemaker.UpdateAppImageConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateAppImageConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateAppImageConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateAppImageConfigInput) (*request.Request, *sagemaker.UpdateAppImageConfigOutput)); ok { @@ -25847,6 +31189,10 @@ func (_m *SageMakerAPI) UpdateAppImageConfigWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateAppImageConfigWithContext") + } + var r0 *sagemaker.UpdateAppImageConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateAppImageConfigInput, ...request.Option) (*sagemaker.UpdateAppImageConfigOutput, error)); ok { @@ -25873,6 +31219,10 @@ func (_m *SageMakerAPI) UpdateAppImageConfigWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) UpdateArtifact(_a0 *sagemaker.UpdateArtifactInput) (*sagemaker.UpdateArtifactOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateArtifact") + } + var r0 *sagemaker.UpdateArtifactOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateArtifactInput) (*sagemaker.UpdateArtifactOutput, error)); ok { @@ -25899,6 +31249,10 @@ func (_m *SageMakerAPI) UpdateArtifact(_a0 *sagemaker.UpdateArtifactInput) (*sag func (_m *SageMakerAPI) UpdateArtifactRequest(_a0 *sagemaker.UpdateArtifactInput) (*request.Request, *sagemaker.UpdateArtifactOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateArtifactRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateArtifactOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateArtifactInput) (*request.Request, *sagemaker.UpdateArtifactOutput)); ok { @@ -25934,20 +31288,123 @@ func (_m *SageMakerAPI) UpdateArtifactWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateArtifactWithContext") + } + var r0 *sagemaker.UpdateArtifactOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateArtifactInput, ...request.Option) (*sagemaker.UpdateArtifactOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateArtifactInput, ...request.Option) (*sagemaker.UpdateArtifactOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateArtifactInput, ...request.Option) *sagemaker.UpdateArtifactOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.UpdateArtifactOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateArtifactInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateCluster provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateCluster(_a0 *sagemaker.UpdateClusterInput) (*sagemaker.UpdateClusterOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for UpdateCluster") + } + + var r0 *sagemaker.UpdateClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateClusterInput) (*sagemaker.UpdateClusterOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateClusterInput) *sagemaker.UpdateClusterOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.UpdateClusterOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.UpdateClusterInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateClusterRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateClusterRequest(_a0 *sagemaker.UpdateClusterInput) (*request.Request, *sagemaker.UpdateClusterOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for UpdateClusterRequest") + } + + var r0 *request.Request + var r1 *sagemaker.UpdateClusterOutput + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateClusterInput) (*request.Request, *sagemaker.UpdateClusterOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateClusterInput) *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(*sagemaker.UpdateClusterInput) *sagemaker.UpdateClusterOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.UpdateClusterOutput) + } + } + + return r0, r1 +} + +// UpdateClusterWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) UpdateClusterWithContext(_a0 context.Context, _a1 *sagemaker.UpdateClusterInput, _a2 ...request.Option) (*sagemaker.UpdateClusterOutput, 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 UpdateClusterWithContext") + } + + var r0 *sagemaker.UpdateClusterOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateClusterInput, ...request.Option) (*sagemaker.UpdateClusterOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateArtifactInput, ...request.Option) *sagemaker.UpdateArtifactOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateClusterInput, ...request.Option) *sagemaker.UpdateClusterOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.UpdateArtifactOutput) + r0 = ret.Get(0).(*sagemaker.UpdateClusterOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateArtifactInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateClusterInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -25960,6 +31417,10 @@ func (_m *SageMakerAPI) UpdateArtifactWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) UpdateCodeRepository(_a0 *sagemaker.UpdateCodeRepositoryInput) (*sagemaker.UpdateCodeRepositoryOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateCodeRepository") + } + var r0 *sagemaker.UpdateCodeRepositoryOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateCodeRepositoryInput) (*sagemaker.UpdateCodeRepositoryOutput, error)); ok { @@ -25986,6 +31447,10 @@ func (_m *SageMakerAPI) UpdateCodeRepository(_a0 *sagemaker.UpdateCodeRepository func (_m *SageMakerAPI) UpdateCodeRepositoryRequest(_a0 *sagemaker.UpdateCodeRepositoryInput) (*request.Request, *sagemaker.UpdateCodeRepositoryOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateCodeRepositoryRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateCodeRepositoryOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateCodeRepositoryInput) (*request.Request, *sagemaker.UpdateCodeRepositoryOutput)); ok { @@ -26021,6 +31486,10 @@ func (_m *SageMakerAPI) UpdateCodeRepositoryWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateCodeRepositoryWithContext") + } + var r0 *sagemaker.UpdateCodeRepositoryOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateCodeRepositoryInput, ...request.Option) (*sagemaker.UpdateCodeRepositoryOutput, error)); ok { @@ -26047,6 +31516,10 @@ func (_m *SageMakerAPI) UpdateCodeRepositoryWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) UpdateContext(_a0 *sagemaker.UpdateContextInput) (*sagemaker.UpdateContextOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateContext") + } + var r0 *sagemaker.UpdateContextOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateContextInput) (*sagemaker.UpdateContextOutput, error)); ok { @@ -26073,6 +31546,10 @@ func (_m *SageMakerAPI) UpdateContext(_a0 *sagemaker.UpdateContextInput) (*sagem func (_m *SageMakerAPI) UpdateContextRequest(_a0 *sagemaker.UpdateContextInput) (*request.Request, *sagemaker.UpdateContextOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateContextRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateContextOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateContextInput) (*request.Request, *sagemaker.UpdateContextOutput)); ok { @@ -26108,6 +31585,10 @@ func (_m *SageMakerAPI) UpdateContextWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateContextWithContext") + } + var r0 *sagemaker.UpdateContextOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateContextInput, ...request.Option) (*sagemaker.UpdateContextOutput, error)); ok { @@ -26134,6 +31615,10 @@ func (_m *SageMakerAPI) UpdateContextWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) UpdateDeviceFleet(_a0 *sagemaker.UpdateDeviceFleetInput) (*sagemaker.UpdateDeviceFleetOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateDeviceFleet") + } + var r0 *sagemaker.UpdateDeviceFleetOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateDeviceFleetInput) (*sagemaker.UpdateDeviceFleetOutput, error)); ok { @@ -26160,6 +31645,10 @@ func (_m *SageMakerAPI) UpdateDeviceFleet(_a0 *sagemaker.UpdateDeviceFleetInput) func (_m *SageMakerAPI) UpdateDeviceFleetRequest(_a0 *sagemaker.UpdateDeviceFleetInput) (*request.Request, *sagemaker.UpdateDeviceFleetOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateDeviceFleetRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateDeviceFleetOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateDeviceFleetInput) (*request.Request, *sagemaker.UpdateDeviceFleetOutput)); ok { @@ -26195,6 +31684,10 @@ func (_m *SageMakerAPI) UpdateDeviceFleetWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateDeviceFleetWithContext") + } + var r0 *sagemaker.UpdateDeviceFleetOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateDeviceFleetInput, ...request.Option) (*sagemaker.UpdateDeviceFleetOutput, error)); ok { @@ -26221,6 +31714,10 @@ func (_m *SageMakerAPI) UpdateDeviceFleetWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) UpdateDevices(_a0 *sagemaker.UpdateDevicesInput) (*sagemaker.UpdateDevicesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateDevices") + } + var r0 *sagemaker.UpdateDevicesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateDevicesInput) (*sagemaker.UpdateDevicesOutput, error)); ok { @@ -26247,6 +31744,10 @@ func (_m *SageMakerAPI) UpdateDevices(_a0 *sagemaker.UpdateDevicesInput) (*sagem func (_m *SageMakerAPI) UpdateDevicesRequest(_a0 *sagemaker.UpdateDevicesInput) (*request.Request, *sagemaker.UpdateDevicesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateDevicesRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateDevicesOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateDevicesInput) (*request.Request, *sagemaker.UpdateDevicesOutput)); ok { @@ -26282,6 +31783,10 @@ func (_m *SageMakerAPI) UpdateDevicesWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateDevicesWithContext") + } + var r0 *sagemaker.UpdateDevicesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateDevicesInput, ...request.Option) (*sagemaker.UpdateDevicesOutput, error)); ok { @@ -26308,6 +31813,10 @@ func (_m *SageMakerAPI) UpdateDevicesWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) UpdateDomain(_a0 *sagemaker.UpdateDomainInput) (*sagemaker.UpdateDomainOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateDomain") + } + var r0 *sagemaker.UpdateDomainOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateDomainInput) (*sagemaker.UpdateDomainOutput, error)); ok { @@ -26334,6 +31843,10 @@ func (_m *SageMakerAPI) UpdateDomain(_a0 *sagemaker.UpdateDomainInput) (*sagemak func (_m *SageMakerAPI) UpdateDomainRequest(_a0 *sagemaker.UpdateDomainInput) (*request.Request, *sagemaker.UpdateDomainOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateDomainRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateDomainOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateDomainInput) (*request.Request, *sagemaker.UpdateDomainOutput)); ok { @@ -26369,6 +31882,10 @@ func (_m *SageMakerAPI) UpdateDomainWithContext(_a0 context.Context, _a1 *sagema _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateDomainWithContext") + } + var r0 *sagemaker.UpdateDomainOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateDomainInput, ...request.Option) (*sagemaker.UpdateDomainOutput, error)); ok { @@ -26395,6 +31912,10 @@ func (_m *SageMakerAPI) UpdateDomainWithContext(_a0 context.Context, _a1 *sagema func (_m *SageMakerAPI) UpdateEndpoint(_a0 *sagemaker.UpdateEndpointInput) (*sagemaker.UpdateEndpointOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateEndpoint") + } + var r0 *sagemaker.UpdateEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateEndpointInput) (*sagemaker.UpdateEndpointOutput, error)); ok { @@ -26421,6 +31942,10 @@ func (_m *SageMakerAPI) UpdateEndpoint(_a0 *sagemaker.UpdateEndpointInput) (*sag func (_m *SageMakerAPI) UpdateEndpointRequest(_a0 *sagemaker.UpdateEndpointInput) (*request.Request, *sagemaker.UpdateEndpointOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateEndpointRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateEndpointOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateEndpointInput) (*request.Request, *sagemaker.UpdateEndpointOutput)); ok { @@ -26449,6 +31974,10 @@ func (_m *SageMakerAPI) UpdateEndpointRequest(_a0 *sagemaker.UpdateEndpointInput func (_m *SageMakerAPI) UpdateEndpointWeightsAndCapacities(_a0 *sagemaker.UpdateEndpointWeightsAndCapacitiesInput) (*sagemaker.UpdateEndpointWeightsAndCapacitiesOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateEndpointWeightsAndCapacities") + } + var r0 *sagemaker.UpdateEndpointWeightsAndCapacitiesOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateEndpointWeightsAndCapacitiesInput) (*sagemaker.UpdateEndpointWeightsAndCapacitiesOutput, error)); ok { @@ -26475,6 +32004,10 @@ func (_m *SageMakerAPI) UpdateEndpointWeightsAndCapacities(_a0 *sagemaker.Update func (_m *SageMakerAPI) UpdateEndpointWeightsAndCapacitiesRequest(_a0 *sagemaker.UpdateEndpointWeightsAndCapacitiesInput) (*request.Request, *sagemaker.UpdateEndpointWeightsAndCapacitiesOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateEndpointWeightsAndCapacitiesRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateEndpointWeightsAndCapacitiesOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateEndpointWeightsAndCapacitiesInput) (*request.Request, *sagemaker.UpdateEndpointWeightsAndCapacitiesOutput)); ok { @@ -26510,6 +32043,10 @@ func (_m *SageMakerAPI) UpdateEndpointWeightsAndCapacitiesWithContext(_a0 contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateEndpointWeightsAndCapacitiesWithContext") + } + var r0 *sagemaker.UpdateEndpointWeightsAndCapacitiesOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateEndpointWeightsAndCapacitiesInput, ...request.Option) (*sagemaker.UpdateEndpointWeightsAndCapacitiesOutput, error)); ok { @@ -26543,6 +32080,10 @@ func (_m *SageMakerAPI) UpdateEndpointWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateEndpointWithContext") + } + var r0 *sagemaker.UpdateEndpointOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateEndpointInput, ...request.Option) (*sagemaker.UpdateEndpointOutput, error)); ok { @@ -26569,6 +32110,10 @@ func (_m *SageMakerAPI) UpdateEndpointWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) UpdateExperiment(_a0 *sagemaker.UpdateExperimentInput) (*sagemaker.UpdateExperimentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateExperiment") + } + var r0 *sagemaker.UpdateExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateExperimentInput) (*sagemaker.UpdateExperimentOutput, error)); ok { @@ -26595,6 +32140,10 @@ func (_m *SageMakerAPI) UpdateExperiment(_a0 *sagemaker.UpdateExperimentInput) ( func (_m *SageMakerAPI) UpdateExperimentRequest(_a0 *sagemaker.UpdateExperimentInput) (*request.Request, *sagemaker.UpdateExperimentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateExperimentRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateExperimentOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateExperimentInput) (*request.Request, *sagemaker.UpdateExperimentOutput)); ok { @@ -26630,6 +32179,10 @@ func (_m *SageMakerAPI) UpdateExperimentWithContext(_a0 context.Context, _a1 *sa _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateExperimentWithContext") + } + var r0 *sagemaker.UpdateExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateExperimentInput, ...request.Option) (*sagemaker.UpdateExperimentOutput, error)); ok { @@ -26656,6 +32209,10 @@ func (_m *SageMakerAPI) UpdateExperimentWithContext(_a0 context.Context, _a1 *sa func (_m *SageMakerAPI) UpdateFeatureGroup(_a0 *sagemaker.UpdateFeatureGroupInput) (*sagemaker.UpdateFeatureGroupOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFeatureGroup") + } + var r0 *sagemaker.UpdateFeatureGroupOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateFeatureGroupInput) (*sagemaker.UpdateFeatureGroupOutput, error)); ok { @@ -26682,6 +32239,10 @@ func (_m *SageMakerAPI) UpdateFeatureGroup(_a0 *sagemaker.UpdateFeatureGroupInpu func (_m *SageMakerAPI) UpdateFeatureGroupRequest(_a0 *sagemaker.UpdateFeatureGroupInput) (*request.Request, *sagemaker.UpdateFeatureGroupOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFeatureGroupRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateFeatureGroupOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateFeatureGroupInput) (*request.Request, *sagemaker.UpdateFeatureGroupOutput)); ok { @@ -26717,6 +32278,10 @@ func (_m *SageMakerAPI) UpdateFeatureGroupWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateFeatureGroupWithContext") + } + var r0 *sagemaker.UpdateFeatureGroupOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateFeatureGroupInput, ...request.Option) (*sagemaker.UpdateFeatureGroupOutput, error)); ok { @@ -26743,6 +32308,10 @@ func (_m *SageMakerAPI) UpdateFeatureGroupWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) UpdateFeatureMetadata(_a0 *sagemaker.UpdateFeatureMetadataInput) (*sagemaker.UpdateFeatureMetadataOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFeatureMetadata") + } + var r0 *sagemaker.UpdateFeatureMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateFeatureMetadataInput) (*sagemaker.UpdateFeatureMetadataOutput, error)); ok { @@ -26769,6 +32338,10 @@ func (_m *SageMakerAPI) UpdateFeatureMetadata(_a0 *sagemaker.UpdateFeatureMetada func (_m *SageMakerAPI) UpdateFeatureMetadataRequest(_a0 *sagemaker.UpdateFeatureMetadataInput) (*request.Request, *sagemaker.UpdateFeatureMetadataOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateFeatureMetadataRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateFeatureMetadataOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateFeatureMetadataInput) (*request.Request, *sagemaker.UpdateFeatureMetadataOutput)); ok { @@ -26804,6 +32377,10 @@ func (_m *SageMakerAPI) UpdateFeatureMetadataWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateFeatureMetadataWithContext") + } + var r0 *sagemaker.UpdateFeatureMetadataOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateFeatureMetadataInput, ...request.Option) (*sagemaker.UpdateFeatureMetadataOutput, error)); ok { @@ -26830,6 +32407,10 @@ func (_m *SageMakerAPI) UpdateFeatureMetadataWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) UpdateHub(_a0 *sagemaker.UpdateHubInput) (*sagemaker.UpdateHubOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateHub") + } + var r0 *sagemaker.UpdateHubOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateHubInput) (*sagemaker.UpdateHubOutput, error)); ok { @@ -26852,36 +32433,238 @@ func (_m *SageMakerAPI) UpdateHub(_a0 *sagemaker.UpdateHubInput) (*sagemaker.Upd return r0, r1 } -// UpdateHubRequest provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) UpdateHubRequest(_a0 *sagemaker.UpdateHubInput) (*request.Request, *sagemaker.UpdateHubOutput) { - ret := _m.Called(_a0) +// UpdateHubRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateHubRequest(_a0 *sagemaker.UpdateHubInput) (*request.Request, *sagemaker.UpdateHubOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for UpdateHubRequest") + } + + var r0 *request.Request + var r1 *sagemaker.UpdateHubOutput + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateHubInput) (*request.Request, *sagemaker.UpdateHubOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateHubInput) *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(*sagemaker.UpdateHubInput) *sagemaker.UpdateHubOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.UpdateHubOutput) + } + } + + return r0, r1 +} + +// UpdateHubWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) UpdateHubWithContext(_a0 context.Context, _a1 *sagemaker.UpdateHubInput, _a2 ...request.Option) (*sagemaker.UpdateHubOutput, 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 UpdateHubWithContext") + } + + var r0 *sagemaker.UpdateHubOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateHubInput, ...request.Option) (*sagemaker.UpdateHubOutput, error)); ok { + return rf(_a0, _a1, _a2...) + } + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateHubInput, ...request.Option) *sagemaker.UpdateHubOutput); ok { + r0 = rf(_a0, _a1, _a2...) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.UpdateHubOutput) + } + } + + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateHubInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateImage provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateImage(_a0 *sagemaker.UpdateImageInput) (*sagemaker.UpdateImageOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for UpdateImage") + } + + var r0 *sagemaker.UpdateImageOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageInput) (*sagemaker.UpdateImageOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageInput) *sagemaker.UpdateImageOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.UpdateImageOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.UpdateImageInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateImageRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateImageRequest(_a0 *sagemaker.UpdateImageInput) (*request.Request, *sagemaker.UpdateImageOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for UpdateImageRequest") + } + + var r0 *request.Request + var r1 *sagemaker.UpdateImageOutput + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageInput) (*request.Request, *sagemaker.UpdateImageOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageInput) *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(*sagemaker.UpdateImageInput) *sagemaker.UpdateImageOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.UpdateImageOutput) + } + } + + return r0, r1 +} + +// UpdateImageVersion provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateImageVersion(_a0 *sagemaker.UpdateImageVersionInput) (*sagemaker.UpdateImageVersionOutput, error) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for UpdateImageVersion") + } + + var r0 *sagemaker.UpdateImageVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageVersionInput) (*sagemaker.UpdateImageVersionOutput, error)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageVersionInput) *sagemaker.UpdateImageVersionOutput); ok { + r0 = rf(_a0) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*sagemaker.UpdateImageVersionOutput) + } + } + + if rf, ok := ret.Get(1).(func(*sagemaker.UpdateImageVersionInput) error); ok { + r1 = rf(_a0) + } else { + r1 = ret.Error(1) + } + + return r0, r1 +} + +// UpdateImageVersionRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateImageVersionRequest(_a0 *sagemaker.UpdateImageVersionInput) (*request.Request, *sagemaker.UpdateImageVersionOutput) { + ret := _m.Called(_a0) + + if len(ret) == 0 { + panic("no return value specified for UpdateImageVersionRequest") + } + + var r0 *request.Request + var r1 *sagemaker.UpdateImageVersionOutput + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageVersionInput) (*request.Request, *sagemaker.UpdateImageVersionOutput)); ok { + return rf(_a0) + } + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageVersionInput) *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(*sagemaker.UpdateImageVersionInput) *sagemaker.UpdateImageVersionOutput); ok { + r1 = rf(_a0) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*sagemaker.UpdateImageVersionOutput) + } + } + + return r0, r1 +} + +// UpdateImageVersionWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) UpdateImageVersionWithContext(_a0 context.Context, _a1 *sagemaker.UpdateImageVersionInput, _a2 ...request.Option) (*sagemaker.UpdateImageVersionOutput, 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 UpdateImageVersionWithContext") + } - var r0 *request.Request - var r1 *sagemaker.UpdateHubOutput - if rf, ok := ret.Get(0).(func(*sagemaker.UpdateHubInput) (*request.Request, *sagemaker.UpdateHubOutput)); ok { - return rf(_a0) + var r0 *sagemaker.UpdateImageVersionOutput + var r1 error + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateImageVersionInput, ...request.Option) (*sagemaker.UpdateImageVersionOutput, error)); ok { + return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(*sagemaker.UpdateHubInput) *request.Request); ok { - r0 = rf(_a0) + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateImageVersionInput, ...request.Option) *sagemaker.UpdateImageVersionOutput); ok { + r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*request.Request) + r0 = ret.Get(0).(*sagemaker.UpdateImageVersionOutput) } } - if rf, ok := ret.Get(1).(func(*sagemaker.UpdateHubInput) *sagemaker.UpdateHubOutput); ok { - r1 = rf(_a0) + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateImageVersionInput, ...request.Option) error); ok { + r1 = rf(_a0, _a1, _a2...) } else { - if ret.Get(1) != nil { - r1 = ret.Get(1).(*sagemaker.UpdateHubOutput) - } + r1 = ret.Error(1) } return r0, r1 } -// UpdateHubWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SageMakerAPI) UpdateHubWithContext(_a0 context.Context, _a1 *sagemaker.UpdateHubInput, _a2 ...request.Option) (*sagemaker.UpdateHubOutput, error) { +// UpdateImageWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) UpdateImageWithContext(_a0 context.Context, _a1 *sagemaker.UpdateImageInput, _a2 ...request.Option) (*sagemaker.UpdateImageOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -26891,20 +32674,24 @@ func (_m *SageMakerAPI) UpdateHubWithContext(_a0 context.Context, _a1 *sagemaker _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *sagemaker.UpdateHubOutput + if len(ret) == 0 { + panic("no return value specified for UpdateImageWithContext") + } + + var r0 *sagemaker.UpdateImageOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateHubInput, ...request.Option) (*sagemaker.UpdateHubOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateImageInput, ...request.Option) (*sagemaker.UpdateImageOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateHubInput, ...request.Option) *sagemaker.UpdateHubOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateImageInput, ...request.Option) *sagemaker.UpdateImageOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.UpdateHubOutput) + r0 = ret.Get(0).(*sagemaker.UpdateImageOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateHubInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateImageInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -26913,24 +32700,28 @@ func (_m *SageMakerAPI) UpdateHubWithContext(_a0 context.Context, _a1 *sagemaker return r0, r1 } -// UpdateImage provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) UpdateImage(_a0 *sagemaker.UpdateImageInput) (*sagemaker.UpdateImageOutput, error) { +// UpdateInferenceComponent provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateInferenceComponent(_a0 *sagemaker.UpdateInferenceComponentInput) (*sagemaker.UpdateInferenceComponentOutput, error) { ret := _m.Called(_a0) - var r0 *sagemaker.UpdateImageOutput + if len(ret) == 0 { + panic("no return value specified for UpdateInferenceComponent") + } + + var r0 *sagemaker.UpdateInferenceComponentOutput var r1 error - if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageInput) (*sagemaker.UpdateImageOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateInferenceComponentInput) (*sagemaker.UpdateInferenceComponentOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageInput) *sagemaker.UpdateImageOutput); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateInferenceComponentInput) *sagemaker.UpdateInferenceComponentOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.UpdateImageOutput) + r0 = ret.Get(0).(*sagemaker.UpdateInferenceComponentOutput) } } - if rf, ok := ret.Get(1).(func(*sagemaker.UpdateImageInput) error); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.UpdateInferenceComponentInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -26939,16 +32730,20 @@ func (_m *SageMakerAPI) UpdateImage(_a0 *sagemaker.UpdateImageInput) (*sagemaker return r0, r1 } -// UpdateImageRequest provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) UpdateImageRequest(_a0 *sagemaker.UpdateImageInput) (*request.Request, *sagemaker.UpdateImageOutput) { +// UpdateInferenceComponentRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateInferenceComponentRequest(_a0 *sagemaker.UpdateInferenceComponentInput) (*request.Request, *sagemaker.UpdateInferenceComponentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateInferenceComponentRequest") + } + var r0 *request.Request - var r1 *sagemaker.UpdateImageOutput - if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageInput) (*request.Request, *sagemaker.UpdateImageOutput)); ok { + var r1 *sagemaker.UpdateInferenceComponentOutput + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateInferenceComponentInput) (*request.Request, *sagemaker.UpdateInferenceComponentOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateInferenceComponentInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -26956,35 +32751,39 @@ func (_m *SageMakerAPI) UpdateImageRequest(_a0 *sagemaker.UpdateImageInput) (*re } } - if rf, ok := ret.Get(1).(func(*sagemaker.UpdateImageInput) *sagemaker.UpdateImageOutput); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.UpdateInferenceComponentInput) *sagemaker.UpdateInferenceComponentOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*sagemaker.UpdateImageOutput) + r1 = ret.Get(1).(*sagemaker.UpdateInferenceComponentOutput) } } return r0, r1 } -// UpdateImageVersion provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) UpdateImageVersion(_a0 *sagemaker.UpdateImageVersionInput) (*sagemaker.UpdateImageVersionOutput, error) { +// UpdateInferenceComponentRuntimeConfig provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateInferenceComponentRuntimeConfig(_a0 *sagemaker.UpdateInferenceComponentRuntimeConfigInput) (*sagemaker.UpdateInferenceComponentRuntimeConfigOutput, error) { ret := _m.Called(_a0) - var r0 *sagemaker.UpdateImageVersionOutput + if len(ret) == 0 { + panic("no return value specified for UpdateInferenceComponentRuntimeConfig") + } + + var r0 *sagemaker.UpdateInferenceComponentRuntimeConfigOutput var r1 error - if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageVersionInput) (*sagemaker.UpdateImageVersionOutput, error)); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateInferenceComponentRuntimeConfigInput) (*sagemaker.UpdateInferenceComponentRuntimeConfigOutput, error)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageVersionInput) *sagemaker.UpdateImageVersionOutput); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateInferenceComponentRuntimeConfigInput) *sagemaker.UpdateInferenceComponentRuntimeConfigOutput); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.UpdateImageVersionOutput) + r0 = ret.Get(0).(*sagemaker.UpdateInferenceComponentRuntimeConfigOutput) } } - if rf, ok := ret.Get(1).(func(*sagemaker.UpdateImageVersionInput) error); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.UpdateInferenceComponentRuntimeConfigInput) error); ok { r1 = rf(_a0) } else { r1 = ret.Error(1) @@ -26993,16 +32792,20 @@ func (_m *SageMakerAPI) UpdateImageVersion(_a0 *sagemaker.UpdateImageVersionInpu return r0, r1 } -// UpdateImageVersionRequest provides a mock function with given fields: _a0 -func (_m *SageMakerAPI) UpdateImageVersionRequest(_a0 *sagemaker.UpdateImageVersionInput) (*request.Request, *sagemaker.UpdateImageVersionOutput) { +// UpdateInferenceComponentRuntimeConfigRequest provides a mock function with given fields: _a0 +func (_m *SageMakerAPI) UpdateInferenceComponentRuntimeConfigRequest(_a0 *sagemaker.UpdateInferenceComponentRuntimeConfigInput) (*request.Request, *sagemaker.UpdateInferenceComponentRuntimeConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateInferenceComponentRuntimeConfigRequest") + } + var r0 *request.Request - var r1 *sagemaker.UpdateImageVersionOutput - if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageVersionInput) (*request.Request, *sagemaker.UpdateImageVersionOutput)); ok { + var r1 *sagemaker.UpdateInferenceComponentRuntimeConfigOutput + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateInferenceComponentRuntimeConfigInput) (*request.Request, *sagemaker.UpdateInferenceComponentRuntimeConfigOutput)); ok { return rf(_a0) } - if rf, ok := ret.Get(0).(func(*sagemaker.UpdateImageVersionInput) *request.Request); ok { + if rf, ok := ret.Get(0).(func(*sagemaker.UpdateInferenceComponentRuntimeConfigInput) *request.Request); ok { r0 = rf(_a0) } else { if ret.Get(0) != nil { @@ -27010,19 +32813,19 @@ func (_m *SageMakerAPI) UpdateImageVersionRequest(_a0 *sagemaker.UpdateImageVers } } - if rf, ok := ret.Get(1).(func(*sagemaker.UpdateImageVersionInput) *sagemaker.UpdateImageVersionOutput); ok { + if rf, ok := ret.Get(1).(func(*sagemaker.UpdateInferenceComponentRuntimeConfigInput) *sagemaker.UpdateInferenceComponentRuntimeConfigOutput); ok { r1 = rf(_a0) } else { if ret.Get(1) != nil { - r1 = ret.Get(1).(*sagemaker.UpdateImageVersionOutput) + r1 = ret.Get(1).(*sagemaker.UpdateInferenceComponentRuntimeConfigOutput) } } return r0, r1 } -// UpdateImageVersionWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SageMakerAPI) UpdateImageVersionWithContext(_a0 context.Context, _a1 *sagemaker.UpdateImageVersionInput, _a2 ...request.Option) (*sagemaker.UpdateImageVersionOutput, error) { +// UpdateInferenceComponentRuntimeConfigWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) UpdateInferenceComponentRuntimeConfigWithContext(_a0 context.Context, _a1 *sagemaker.UpdateInferenceComponentRuntimeConfigInput, _a2 ...request.Option) (*sagemaker.UpdateInferenceComponentRuntimeConfigOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -27032,20 +32835,24 @@ func (_m *SageMakerAPI) UpdateImageVersionWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *sagemaker.UpdateImageVersionOutput + if len(ret) == 0 { + panic("no return value specified for UpdateInferenceComponentRuntimeConfigWithContext") + } + + var r0 *sagemaker.UpdateInferenceComponentRuntimeConfigOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateImageVersionInput, ...request.Option) (*sagemaker.UpdateImageVersionOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateInferenceComponentRuntimeConfigInput, ...request.Option) (*sagemaker.UpdateInferenceComponentRuntimeConfigOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateImageVersionInput, ...request.Option) *sagemaker.UpdateImageVersionOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateInferenceComponentRuntimeConfigInput, ...request.Option) *sagemaker.UpdateInferenceComponentRuntimeConfigOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.UpdateImageVersionOutput) + r0 = ret.Get(0).(*sagemaker.UpdateInferenceComponentRuntimeConfigOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateImageVersionInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateInferenceComponentRuntimeConfigInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -27054,8 +32861,8 @@ func (_m *SageMakerAPI) UpdateImageVersionWithContext(_a0 context.Context, _a1 * return r0, r1 } -// UpdateImageWithContext provides a mock function with given fields: _a0, _a1, _a2 -func (_m *SageMakerAPI) UpdateImageWithContext(_a0 context.Context, _a1 *sagemaker.UpdateImageInput, _a2 ...request.Option) (*sagemaker.UpdateImageOutput, error) { +// UpdateInferenceComponentWithContext provides a mock function with given fields: _a0, _a1, _a2 +func (_m *SageMakerAPI) UpdateInferenceComponentWithContext(_a0 context.Context, _a1 *sagemaker.UpdateInferenceComponentInput, _a2 ...request.Option) (*sagemaker.UpdateInferenceComponentOutput, error) { _va := make([]interface{}, len(_a2)) for _i := range _a2 { _va[_i] = _a2[_i] @@ -27065,20 +32872,24 @@ func (_m *SageMakerAPI) UpdateImageWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) - var r0 *sagemaker.UpdateImageOutput + if len(ret) == 0 { + panic("no return value specified for UpdateInferenceComponentWithContext") + } + + var r0 *sagemaker.UpdateInferenceComponentOutput var r1 error - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateImageInput, ...request.Option) (*sagemaker.UpdateImageOutput, error)); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateInferenceComponentInput, ...request.Option) (*sagemaker.UpdateInferenceComponentOutput, error)); ok { return rf(_a0, _a1, _a2...) } - if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateImageInput, ...request.Option) *sagemaker.UpdateImageOutput); ok { + if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateInferenceComponentInput, ...request.Option) *sagemaker.UpdateInferenceComponentOutput); ok { r0 = rf(_a0, _a1, _a2...) } else { if ret.Get(0) != nil { - r0 = ret.Get(0).(*sagemaker.UpdateImageOutput) + r0 = ret.Get(0).(*sagemaker.UpdateInferenceComponentOutput) } } - if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateImageInput, ...request.Option) error); ok { + if rf, ok := ret.Get(1).(func(context.Context, *sagemaker.UpdateInferenceComponentInput, ...request.Option) error); ok { r1 = rf(_a0, _a1, _a2...) } else { r1 = ret.Error(1) @@ -27091,6 +32902,10 @@ func (_m *SageMakerAPI) UpdateImageWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) UpdateInferenceExperiment(_a0 *sagemaker.UpdateInferenceExperimentInput) (*sagemaker.UpdateInferenceExperimentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateInferenceExperiment") + } + var r0 *sagemaker.UpdateInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateInferenceExperimentInput) (*sagemaker.UpdateInferenceExperimentOutput, error)); ok { @@ -27117,6 +32932,10 @@ func (_m *SageMakerAPI) UpdateInferenceExperiment(_a0 *sagemaker.UpdateInference func (_m *SageMakerAPI) UpdateInferenceExperimentRequest(_a0 *sagemaker.UpdateInferenceExperimentInput) (*request.Request, *sagemaker.UpdateInferenceExperimentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateInferenceExperimentRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateInferenceExperimentOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateInferenceExperimentInput) (*request.Request, *sagemaker.UpdateInferenceExperimentOutput)); ok { @@ -27152,6 +32971,10 @@ func (_m *SageMakerAPI) UpdateInferenceExperimentWithContext(_a0 context.Context _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateInferenceExperimentWithContext") + } + var r0 *sagemaker.UpdateInferenceExperimentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateInferenceExperimentInput, ...request.Option) (*sagemaker.UpdateInferenceExperimentOutput, error)); ok { @@ -27178,6 +33001,10 @@ func (_m *SageMakerAPI) UpdateInferenceExperimentWithContext(_a0 context.Context func (_m *SageMakerAPI) UpdateModelCard(_a0 *sagemaker.UpdateModelCardInput) (*sagemaker.UpdateModelCardOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateModelCard") + } + var r0 *sagemaker.UpdateModelCardOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateModelCardInput) (*sagemaker.UpdateModelCardOutput, error)); ok { @@ -27204,6 +33031,10 @@ func (_m *SageMakerAPI) UpdateModelCard(_a0 *sagemaker.UpdateModelCardInput) (*s func (_m *SageMakerAPI) UpdateModelCardRequest(_a0 *sagemaker.UpdateModelCardInput) (*request.Request, *sagemaker.UpdateModelCardOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateModelCardRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateModelCardOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateModelCardInput) (*request.Request, *sagemaker.UpdateModelCardOutput)); ok { @@ -27239,6 +33070,10 @@ func (_m *SageMakerAPI) UpdateModelCardWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateModelCardWithContext") + } + var r0 *sagemaker.UpdateModelCardOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateModelCardInput, ...request.Option) (*sagemaker.UpdateModelCardOutput, error)); ok { @@ -27265,6 +33100,10 @@ func (_m *SageMakerAPI) UpdateModelCardWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) UpdateModelPackage(_a0 *sagemaker.UpdateModelPackageInput) (*sagemaker.UpdateModelPackageOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateModelPackage") + } + var r0 *sagemaker.UpdateModelPackageOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateModelPackageInput) (*sagemaker.UpdateModelPackageOutput, error)); ok { @@ -27291,6 +33130,10 @@ func (_m *SageMakerAPI) UpdateModelPackage(_a0 *sagemaker.UpdateModelPackageInpu func (_m *SageMakerAPI) UpdateModelPackageRequest(_a0 *sagemaker.UpdateModelPackageInput) (*request.Request, *sagemaker.UpdateModelPackageOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateModelPackageRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateModelPackageOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateModelPackageInput) (*request.Request, *sagemaker.UpdateModelPackageOutput)); ok { @@ -27326,6 +33169,10 @@ func (_m *SageMakerAPI) UpdateModelPackageWithContext(_a0 context.Context, _a1 * _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateModelPackageWithContext") + } + var r0 *sagemaker.UpdateModelPackageOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateModelPackageInput, ...request.Option) (*sagemaker.UpdateModelPackageOutput, error)); ok { @@ -27352,6 +33199,10 @@ func (_m *SageMakerAPI) UpdateModelPackageWithContext(_a0 context.Context, _a1 * func (_m *SageMakerAPI) UpdateMonitoringAlert(_a0 *sagemaker.UpdateMonitoringAlertInput) (*sagemaker.UpdateMonitoringAlertOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateMonitoringAlert") + } + var r0 *sagemaker.UpdateMonitoringAlertOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateMonitoringAlertInput) (*sagemaker.UpdateMonitoringAlertOutput, error)); ok { @@ -27378,6 +33229,10 @@ func (_m *SageMakerAPI) UpdateMonitoringAlert(_a0 *sagemaker.UpdateMonitoringAle func (_m *SageMakerAPI) UpdateMonitoringAlertRequest(_a0 *sagemaker.UpdateMonitoringAlertInput) (*request.Request, *sagemaker.UpdateMonitoringAlertOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateMonitoringAlertRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateMonitoringAlertOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateMonitoringAlertInput) (*request.Request, *sagemaker.UpdateMonitoringAlertOutput)); ok { @@ -27413,6 +33268,10 @@ func (_m *SageMakerAPI) UpdateMonitoringAlertWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateMonitoringAlertWithContext") + } + var r0 *sagemaker.UpdateMonitoringAlertOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateMonitoringAlertInput, ...request.Option) (*sagemaker.UpdateMonitoringAlertOutput, error)); ok { @@ -27439,6 +33298,10 @@ func (_m *SageMakerAPI) UpdateMonitoringAlertWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) UpdateMonitoringSchedule(_a0 *sagemaker.UpdateMonitoringScheduleInput) (*sagemaker.UpdateMonitoringScheduleOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateMonitoringSchedule") + } + var r0 *sagemaker.UpdateMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateMonitoringScheduleInput) (*sagemaker.UpdateMonitoringScheduleOutput, error)); ok { @@ -27465,6 +33328,10 @@ func (_m *SageMakerAPI) UpdateMonitoringSchedule(_a0 *sagemaker.UpdateMonitoring func (_m *SageMakerAPI) UpdateMonitoringScheduleRequest(_a0 *sagemaker.UpdateMonitoringScheduleInput) (*request.Request, *sagemaker.UpdateMonitoringScheduleOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateMonitoringScheduleRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateMonitoringScheduleOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateMonitoringScheduleInput) (*request.Request, *sagemaker.UpdateMonitoringScheduleOutput)); ok { @@ -27500,6 +33367,10 @@ func (_m *SageMakerAPI) UpdateMonitoringScheduleWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateMonitoringScheduleWithContext") + } + var r0 *sagemaker.UpdateMonitoringScheduleOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateMonitoringScheduleInput, ...request.Option) (*sagemaker.UpdateMonitoringScheduleOutput, error)); ok { @@ -27526,6 +33397,10 @@ func (_m *SageMakerAPI) UpdateMonitoringScheduleWithContext(_a0 context.Context, func (_m *SageMakerAPI) UpdateNotebookInstance(_a0 *sagemaker.UpdateNotebookInstanceInput) (*sagemaker.UpdateNotebookInstanceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateNotebookInstance") + } + var r0 *sagemaker.UpdateNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateNotebookInstanceInput) (*sagemaker.UpdateNotebookInstanceOutput, error)); ok { @@ -27552,6 +33427,10 @@ func (_m *SageMakerAPI) UpdateNotebookInstance(_a0 *sagemaker.UpdateNotebookInst func (_m *SageMakerAPI) UpdateNotebookInstanceLifecycleConfig(_a0 *sagemaker.UpdateNotebookInstanceLifecycleConfigInput) (*sagemaker.UpdateNotebookInstanceLifecycleConfigOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateNotebookInstanceLifecycleConfig") + } + var r0 *sagemaker.UpdateNotebookInstanceLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateNotebookInstanceLifecycleConfigInput) (*sagemaker.UpdateNotebookInstanceLifecycleConfigOutput, error)); ok { @@ -27578,6 +33457,10 @@ func (_m *SageMakerAPI) UpdateNotebookInstanceLifecycleConfig(_a0 *sagemaker.Upd func (_m *SageMakerAPI) UpdateNotebookInstanceLifecycleConfigRequest(_a0 *sagemaker.UpdateNotebookInstanceLifecycleConfigInput) (*request.Request, *sagemaker.UpdateNotebookInstanceLifecycleConfigOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateNotebookInstanceLifecycleConfigRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateNotebookInstanceLifecycleConfigOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateNotebookInstanceLifecycleConfigInput) (*request.Request, *sagemaker.UpdateNotebookInstanceLifecycleConfigOutput)); ok { @@ -27613,6 +33496,10 @@ func (_m *SageMakerAPI) UpdateNotebookInstanceLifecycleConfigWithContext(_a0 con _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateNotebookInstanceLifecycleConfigWithContext") + } + var r0 *sagemaker.UpdateNotebookInstanceLifecycleConfigOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateNotebookInstanceLifecycleConfigInput, ...request.Option) (*sagemaker.UpdateNotebookInstanceLifecycleConfigOutput, error)); ok { @@ -27639,6 +33526,10 @@ func (_m *SageMakerAPI) UpdateNotebookInstanceLifecycleConfigWithContext(_a0 con func (_m *SageMakerAPI) UpdateNotebookInstanceRequest(_a0 *sagemaker.UpdateNotebookInstanceInput) (*request.Request, *sagemaker.UpdateNotebookInstanceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateNotebookInstanceRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateNotebookInstanceOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateNotebookInstanceInput) (*request.Request, *sagemaker.UpdateNotebookInstanceOutput)); ok { @@ -27674,6 +33565,10 @@ func (_m *SageMakerAPI) UpdateNotebookInstanceWithContext(_a0 context.Context, _ _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateNotebookInstanceWithContext") + } + var r0 *sagemaker.UpdateNotebookInstanceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateNotebookInstanceInput, ...request.Option) (*sagemaker.UpdateNotebookInstanceOutput, error)); ok { @@ -27700,6 +33595,10 @@ func (_m *SageMakerAPI) UpdateNotebookInstanceWithContext(_a0 context.Context, _ func (_m *SageMakerAPI) UpdatePipeline(_a0 *sagemaker.UpdatePipelineInput) (*sagemaker.UpdatePipelineOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdatePipeline") + } + var r0 *sagemaker.UpdatePipelineOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdatePipelineInput) (*sagemaker.UpdatePipelineOutput, error)); ok { @@ -27726,6 +33625,10 @@ func (_m *SageMakerAPI) UpdatePipeline(_a0 *sagemaker.UpdatePipelineInput) (*sag func (_m *SageMakerAPI) UpdatePipelineExecution(_a0 *sagemaker.UpdatePipelineExecutionInput) (*sagemaker.UpdatePipelineExecutionOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdatePipelineExecution") + } + var r0 *sagemaker.UpdatePipelineExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdatePipelineExecutionInput) (*sagemaker.UpdatePipelineExecutionOutput, error)); ok { @@ -27752,6 +33655,10 @@ func (_m *SageMakerAPI) UpdatePipelineExecution(_a0 *sagemaker.UpdatePipelineExe func (_m *SageMakerAPI) UpdatePipelineExecutionRequest(_a0 *sagemaker.UpdatePipelineExecutionInput) (*request.Request, *sagemaker.UpdatePipelineExecutionOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdatePipelineExecutionRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdatePipelineExecutionOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdatePipelineExecutionInput) (*request.Request, *sagemaker.UpdatePipelineExecutionOutput)); ok { @@ -27787,6 +33694,10 @@ func (_m *SageMakerAPI) UpdatePipelineExecutionWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdatePipelineExecutionWithContext") + } + var r0 *sagemaker.UpdatePipelineExecutionOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdatePipelineExecutionInput, ...request.Option) (*sagemaker.UpdatePipelineExecutionOutput, error)); ok { @@ -27813,6 +33724,10 @@ func (_m *SageMakerAPI) UpdatePipelineExecutionWithContext(_a0 context.Context, func (_m *SageMakerAPI) UpdatePipelineRequest(_a0 *sagemaker.UpdatePipelineInput) (*request.Request, *sagemaker.UpdatePipelineOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdatePipelineRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdatePipelineOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdatePipelineInput) (*request.Request, *sagemaker.UpdatePipelineOutput)); ok { @@ -27848,6 +33763,10 @@ func (_m *SageMakerAPI) UpdatePipelineWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdatePipelineWithContext") + } + var r0 *sagemaker.UpdatePipelineOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdatePipelineInput, ...request.Option) (*sagemaker.UpdatePipelineOutput, error)); ok { @@ -27874,6 +33793,10 @@ func (_m *SageMakerAPI) UpdatePipelineWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) UpdateProject(_a0 *sagemaker.UpdateProjectInput) (*sagemaker.UpdateProjectOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateProject") + } + var r0 *sagemaker.UpdateProjectOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateProjectInput) (*sagemaker.UpdateProjectOutput, error)); ok { @@ -27900,6 +33823,10 @@ func (_m *SageMakerAPI) UpdateProject(_a0 *sagemaker.UpdateProjectInput) (*sagem func (_m *SageMakerAPI) UpdateProjectRequest(_a0 *sagemaker.UpdateProjectInput) (*request.Request, *sagemaker.UpdateProjectOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateProjectRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateProjectOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateProjectInput) (*request.Request, *sagemaker.UpdateProjectOutput)); ok { @@ -27935,6 +33862,10 @@ func (_m *SageMakerAPI) UpdateProjectWithContext(_a0 context.Context, _a1 *sagem _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateProjectWithContext") + } + var r0 *sagemaker.UpdateProjectOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateProjectInput, ...request.Option) (*sagemaker.UpdateProjectOutput, error)); ok { @@ -27961,6 +33892,10 @@ func (_m *SageMakerAPI) UpdateProjectWithContext(_a0 context.Context, _a1 *sagem func (_m *SageMakerAPI) UpdateSpace(_a0 *sagemaker.UpdateSpaceInput) (*sagemaker.UpdateSpaceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateSpace") + } + var r0 *sagemaker.UpdateSpaceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateSpaceInput) (*sagemaker.UpdateSpaceOutput, error)); ok { @@ -27987,6 +33922,10 @@ func (_m *SageMakerAPI) UpdateSpace(_a0 *sagemaker.UpdateSpaceInput) (*sagemaker func (_m *SageMakerAPI) UpdateSpaceRequest(_a0 *sagemaker.UpdateSpaceInput) (*request.Request, *sagemaker.UpdateSpaceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateSpaceRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateSpaceOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateSpaceInput) (*request.Request, *sagemaker.UpdateSpaceOutput)); ok { @@ -28022,6 +33961,10 @@ func (_m *SageMakerAPI) UpdateSpaceWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateSpaceWithContext") + } + var r0 *sagemaker.UpdateSpaceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateSpaceInput, ...request.Option) (*sagemaker.UpdateSpaceOutput, error)); ok { @@ -28048,6 +33991,10 @@ func (_m *SageMakerAPI) UpdateSpaceWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) UpdateTrainingJob(_a0 *sagemaker.UpdateTrainingJobInput) (*sagemaker.UpdateTrainingJobOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateTrainingJob") + } + var r0 *sagemaker.UpdateTrainingJobOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateTrainingJobInput) (*sagemaker.UpdateTrainingJobOutput, error)); ok { @@ -28074,6 +34021,10 @@ func (_m *SageMakerAPI) UpdateTrainingJob(_a0 *sagemaker.UpdateTrainingJobInput) func (_m *SageMakerAPI) UpdateTrainingJobRequest(_a0 *sagemaker.UpdateTrainingJobInput) (*request.Request, *sagemaker.UpdateTrainingJobOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateTrainingJobRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateTrainingJobOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateTrainingJobInput) (*request.Request, *sagemaker.UpdateTrainingJobOutput)); ok { @@ -28109,6 +34060,10 @@ func (_m *SageMakerAPI) UpdateTrainingJobWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateTrainingJobWithContext") + } + var r0 *sagemaker.UpdateTrainingJobOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateTrainingJobInput, ...request.Option) (*sagemaker.UpdateTrainingJobOutput, error)); ok { @@ -28135,6 +34090,10 @@ func (_m *SageMakerAPI) UpdateTrainingJobWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) UpdateTrial(_a0 *sagemaker.UpdateTrialInput) (*sagemaker.UpdateTrialOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateTrial") + } + var r0 *sagemaker.UpdateTrialOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateTrialInput) (*sagemaker.UpdateTrialOutput, error)); ok { @@ -28161,6 +34120,10 @@ func (_m *SageMakerAPI) UpdateTrial(_a0 *sagemaker.UpdateTrialInput) (*sagemaker func (_m *SageMakerAPI) UpdateTrialComponent(_a0 *sagemaker.UpdateTrialComponentInput) (*sagemaker.UpdateTrialComponentOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateTrialComponent") + } + var r0 *sagemaker.UpdateTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateTrialComponentInput) (*sagemaker.UpdateTrialComponentOutput, error)); ok { @@ -28187,6 +34150,10 @@ func (_m *SageMakerAPI) UpdateTrialComponent(_a0 *sagemaker.UpdateTrialComponent func (_m *SageMakerAPI) UpdateTrialComponentRequest(_a0 *sagemaker.UpdateTrialComponentInput) (*request.Request, *sagemaker.UpdateTrialComponentOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateTrialComponentRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateTrialComponentOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateTrialComponentInput) (*request.Request, *sagemaker.UpdateTrialComponentOutput)); ok { @@ -28222,6 +34189,10 @@ func (_m *SageMakerAPI) UpdateTrialComponentWithContext(_a0 context.Context, _a1 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateTrialComponentWithContext") + } + var r0 *sagemaker.UpdateTrialComponentOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateTrialComponentInput, ...request.Option) (*sagemaker.UpdateTrialComponentOutput, error)); ok { @@ -28248,6 +34219,10 @@ func (_m *SageMakerAPI) UpdateTrialComponentWithContext(_a0 context.Context, _a1 func (_m *SageMakerAPI) UpdateTrialRequest(_a0 *sagemaker.UpdateTrialInput) (*request.Request, *sagemaker.UpdateTrialOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateTrialRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateTrialOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateTrialInput) (*request.Request, *sagemaker.UpdateTrialOutput)); ok { @@ -28283,6 +34258,10 @@ func (_m *SageMakerAPI) UpdateTrialWithContext(_a0 context.Context, _a1 *sagemak _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateTrialWithContext") + } + var r0 *sagemaker.UpdateTrialOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateTrialInput, ...request.Option) (*sagemaker.UpdateTrialOutput, error)); ok { @@ -28309,6 +34288,10 @@ func (_m *SageMakerAPI) UpdateTrialWithContext(_a0 context.Context, _a1 *sagemak func (_m *SageMakerAPI) UpdateUserProfile(_a0 *sagemaker.UpdateUserProfileInput) (*sagemaker.UpdateUserProfileOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateUserProfile") + } + var r0 *sagemaker.UpdateUserProfileOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateUserProfileInput) (*sagemaker.UpdateUserProfileOutput, error)); ok { @@ -28335,6 +34318,10 @@ func (_m *SageMakerAPI) UpdateUserProfile(_a0 *sagemaker.UpdateUserProfileInput) func (_m *SageMakerAPI) UpdateUserProfileRequest(_a0 *sagemaker.UpdateUserProfileInput) (*request.Request, *sagemaker.UpdateUserProfileOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateUserProfileRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateUserProfileOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateUserProfileInput) (*request.Request, *sagemaker.UpdateUserProfileOutput)); ok { @@ -28370,6 +34357,10 @@ func (_m *SageMakerAPI) UpdateUserProfileWithContext(_a0 context.Context, _a1 *s _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateUserProfileWithContext") + } + var r0 *sagemaker.UpdateUserProfileOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateUserProfileInput, ...request.Option) (*sagemaker.UpdateUserProfileOutput, error)); ok { @@ -28396,6 +34387,10 @@ func (_m *SageMakerAPI) UpdateUserProfileWithContext(_a0 context.Context, _a1 *s func (_m *SageMakerAPI) UpdateWorkforce(_a0 *sagemaker.UpdateWorkforceInput) (*sagemaker.UpdateWorkforceOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateWorkforce") + } + var r0 *sagemaker.UpdateWorkforceOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateWorkforceInput) (*sagemaker.UpdateWorkforceOutput, error)); ok { @@ -28422,6 +34417,10 @@ func (_m *SageMakerAPI) UpdateWorkforce(_a0 *sagemaker.UpdateWorkforceInput) (*s func (_m *SageMakerAPI) UpdateWorkforceRequest(_a0 *sagemaker.UpdateWorkforceInput) (*request.Request, *sagemaker.UpdateWorkforceOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateWorkforceRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateWorkforceOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateWorkforceInput) (*request.Request, *sagemaker.UpdateWorkforceOutput)); ok { @@ -28457,6 +34456,10 @@ func (_m *SageMakerAPI) UpdateWorkforceWithContext(_a0 context.Context, _a1 *sag _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateWorkforceWithContext") + } + var r0 *sagemaker.UpdateWorkforceOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateWorkforceInput, ...request.Option) (*sagemaker.UpdateWorkforceOutput, error)); ok { @@ -28483,6 +34486,10 @@ func (_m *SageMakerAPI) UpdateWorkforceWithContext(_a0 context.Context, _a1 *sag func (_m *SageMakerAPI) UpdateWorkteam(_a0 *sagemaker.UpdateWorkteamInput) (*sagemaker.UpdateWorkteamOutput, error) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateWorkteam") + } + var r0 *sagemaker.UpdateWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(*sagemaker.UpdateWorkteamInput) (*sagemaker.UpdateWorkteamOutput, error)); ok { @@ -28509,6 +34516,10 @@ func (_m *SageMakerAPI) UpdateWorkteam(_a0 *sagemaker.UpdateWorkteamInput) (*sag func (_m *SageMakerAPI) UpdateWorkteamRequest(_a0 *sagemaker.UpdateWorkteamInput) (*request.Request, *sagemaker.UpdateWorkteamOutput) { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for UpdateWorkteamRequest") + } + var r0 *request.Request var r1 *sagemaker.UpdateWorkteamOutput if rf, ok := ret.Get(0).(func(*sagemaker.UpdateWorkteamInput) (*request.Request, *sagemaker.UpdateWorkteamOutput)); ok { @@ -28544,6 +34555,10 @@ func (_m *SageMakerAPI) UpdateWorkteamWithContext(_a0 context.Context, _a1 *sage _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for UpdateWorkteamWithContext") + } + var r0 *sagemaker.UpdateWorkteamOutput var r1 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.UpdateWorkteamInput, ...request.Option) (*sagemaker.UpdateWorkteamOutput, error)); ok { @@ -28570,6 +34585,10 @@ func (_m *SageMakerAPI) UpdateWorkteamWithContext(_a0 context.Context, _a1 *sage func (_m *SageMakerAPI) WaitUntilEndpointDeleted(_a0 *sagemaker.DescribeEndpointInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilEndpointDeleted") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeEndpointInput) error); ok { r0 = rf(_a0) @@ -28591,6 +34610,10 @@ func (_m *SageMakerAPI) WaitUntilEndpointDeletedWithContext(_a0 context.Context, _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilEndpointDeletedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeEndpointInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28605,6 +34628,10 @@ func (_m *SageMakerAPI) WaitUntilEndpointDeletedWithContext(_a0 context.Context, func (_m *SageMakerAPI) WaitUntilEndpointInService(_a0 *sagemaker.DescribeEndpointInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilEndpointInService") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeEndpointInput) error); ok { r0 = rf(_a0) @@ -28626,6 +34653,10 @@ func (_m *SageMakerAPI) WaitUntilEndpointInServiceWithContext(_a0 context.Contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilEndpointInServiceWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeEndpointInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28640,6 +34671,10 @@ func (_m *SageMakerAPI) WaitUntilEndpointInServiceWithContext(_a0 context.Contex func (_m *SageMakerAPI) WaitUntilImageCreated(_a0 *sagemaker.DescribeImageInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilImageCreated") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeImageInput) error); ok { r0 = rf(_a0) @@ -28661,6 +34696,10 @@ func (_m *SageMakerAPI) WaitUntilImageCreatedWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilImageCreatedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeImageInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28675,6 +34714,10 @@ func (_m *SageMakerAPI) WaitUntilImageCreatedWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) WaitUntilImageDeleted(_a0 *sagemaker.DescribeImageInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilImageDeleted") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeImageInput) error); ok { r0 = rf(_a0) @@ -28696,6 +34739,10 @@ func (_m *SageMakerAPI) WaitUntilImageDeletedWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilImageDeletedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeImageInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28710,6 +34757,10 @@ func (_m *SageMakerAPI) WaitUntilImageDeletedWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) WaitUntilImageUpdated(_a0 *sagemaker.DescribeImageInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilImageUpdated") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeImageInput) error); ok { r0 = rf(_a0) @@ -28731,6 +34782,10 @@ func (_m *SageMakerAPI) WaitUntilImageUpdatedWithContext(_a0 context.Context, _a _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilImageUpdatedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeImageInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28745,6 +34800,10 @@ func (_m *SageMakerAPI) WaitUntilImageUpdatedWithContext(_a0 context.Context, _a func (_m *SageMakerAPI) WaitUntilImageVersionCreated(_a0 *sagemaker.DescribeImageVersionInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilImageVersionCreated") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeImageVersionInput) error); ok { r0 = rf(_a0) @@ -28766,6 +34825,10 @@ func (_m *SageMakerAPI) WaitUntilImageVersionCreatedWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilImageVersionCreatedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeImageVersionInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28780,6 +34843,10 @@ func (_m *SageMakerAPI) WaitUntilImageVersionCreatedWithContext(_a0 context.Cont func (_m *SageMakerAPI) WaitUntilImageVersionDeleted(_a0 *sagemaker.DescribeImageVersionInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilImageVersionDeleted") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeImageVersionInput) error); ok { r0 = rf(_a0) @@ -28801,6 +34868,10 @@ func (_m *SageMakerAPI) WaitUntilImageVersionDeletedWithContext(_a0 context.Cont _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilImageVersionDeletedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeImageVersionInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28815,6 +34886,10 @@ func (_m *SageMakerAPI) WaitUntilImageVersionDeletedWithContext(_a0 context.Cont func (_m *SageMakerAPI) WaitUntilNotebookInstanceDeleted(_a0 *sagemaker.DescribeNotebookInstanceInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilNotebookInstanceDeleted") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeNotebookInstanceInput) error); ok { r0 = rf(_a0) @@ -28836,6 +34911,10 @@ func (_m *SageMakerAPI) WaitUntilNotebookInstanceDeletedWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilNotebookInstanceDeletedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeNotebookInstanceInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28850,6 +34929,10 @@ func (_m *SageMakerAPI) WaitUntilNotebookInstanceDeletedWithContext(_a0 context. func (_m *SageMakerAPI) WaitUntilNotebookInstanceInService(_a0 *sagemaker.DescribeNotebookInstanceInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilNotebookInstanceInService") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeNotebookInstanceInput) error); ok { r0 = rf(_a0) @@ -28871,6 +34954,10 @@ func (_m *SageMakerAPI) WaitUntilNotebookInstanceInServiceWithContext(_a0 contex _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilNotebookInstanceInServiceWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeNotebookInstanceInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28885,6 +34972,10 @@ func (_m *SageMakerAPI) WaitUntilNotebookInstanceInServiceWithContext(_a0 contex func (_m *SageMakerAPI) WaitUntilNotebookInstanceStopped(_a0 *sagemaker.DescribeNotebookInstanceInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilNotebookInstanceStopped") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeNotebookInstanceInput) error); ok { r0 = rf(_a0) @@ -28906,6 +34997,10 @@ func (_m *SageMakerAPI) WaitUntilNotebookInstanceStoppedWithContext(_a0 context. _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilNotebookInstanceStoppedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeNotebookInstanceInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28920,6 +35015,10 @@ func (_m *SageMakerAPI) WaitUntilNotebookInstanceStoppedWithContext(_a0 context. func (_m *SageMakerAPI) WaitUntilProcessingJobCompletedOrStopped(_a0 *sagemaker.DescribeProcessingJobInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilProcessingJobCompletedOrStopped") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeProcessingJobInput) error); ok { r0 = rf(_a0) @@ -28941,6 +35040,10 @@ func (_m *SageMakerAPI) WaitUntilProcessingJobCompletedOrStoppedWithContext(_a0 _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilProcessingJobCompletedOrStoppedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeProcessingJobInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28955,6 +35058,10 @@ func (_m *SageMakerAPI) WaitUntilProcessingJobCompletedOrStoppedWithContext(_a0 func (_m *SageMakerAPI) WaitUntilTrainingJobCompletedOrStopped(_a0 *sagemaker.DescribeTrainingJobInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilTrainingJobCompletedOrStopped") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeTrainingJobInput) error); ok { r0 = rf(_a0) @@ -28976,6 +35083,10 @@ func (_m *SageMakerAPI) WaitUntilTrainingJobCompletedOrStoppedWithContext(_a0 co _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilTrainingJobCompletedOrStoppedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeTrainingJobInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -28990,6 +35101,10 @@ func (_m *SageMakerAPI) WaitUntilTrainingJobCompletedOrStoppedWithContext(_a0 co func (_m *SageMakerAPI) WaitUntilTransformJobCompletedOrStopped(_a0 *sagemaker.DescribeTransformJobInput) error { ret := _m.Called(_a0) + if len(ret) == 0 { + panic("no return value specified for WaitUntilTransformJobCompletedOrStopped") + } + var r0 error if rf, ok := ret.Get(0).(func(*sagemaker.DescribeTransformJobInput) error); ok { r0 = rf(_a0) @@ -29011,6 +35126,10 @@ func (_m *SageMakerAPI) WaitUntilTransformJobCompletedOrStoppedWithContext(_a0 c _ca = append(_ca, _va...) ret := _m.Called(_ca...) + if len(ret) == 0 { + panic("no return value specified for WaitUntilTransformJobCompletedOrStoppedWithContext") + } + var r0 error if rf, ok := ret.Get(0).(func(context.Context, *sagemaker.DescribeTransformJobInput, ...request.WaiterOption) error); ok { r0 = rf(_a0, _a1, _a2...) @@ -29021,13 +35140,12 @@ func (_m *SageMakerAPI) WaitUntilTransformJobCompletedOrStoppedWithContext(_a0 c return r0 } -type mockConstructorTestingTNewSageMakerAPI interface { +// NewSageMakerAPI creates a new instance of SageMakerAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewSageMakerAPI(t interface { mock.TestingT Cleanup(func()) -} - -// NewSageMakerAPI creates a new instance of SageMakerAPI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. -func NewSageMakerAPI(t mockConstructorTestingTNewSageMakerAPI) *SageMakerAPI { +}) *SageMakerAPI { mock := &SageMakerAPI{} mock.Mock.Test(t)