You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
I'm currently trying to use the SageMaker API's create_model_package() method in a manner similar to the example shown here. However, I receive the following error when including Environment parameter.
ParamValidationError: Parameter validation failed: Unknown parameter in InferenceSpecification.Containers[0]: "Environment", must be one of: ContainerHostname, Image, ImageDigest, ModelDataUrl, ProductId
I would expect this to be valid code, as the docs indicate that the Environment property is listed as a property in the API spec here. I'd appreciate any suggestions. Thanks!
The text was updated successfully, but these errors were encountered:
I'm currently trying to use the SageMaker API's
create_model_package()
method in a manner similar to the example shown here. However, I receive the following error when includingEnvironment
parameter.ParamValidationError: Parameter validation failed: Unknown parameter in InferenceSpecification.Containers[0]: "Environment", must be one of: ContainerHostname, Image, ImageDigest, ModelDataUrl, ProductId
Code sample:
I would expect this to be valid code, as the docs indicate that the
Environment
property is listed as a property in the API spec here. I'd appreciate any suggestions. Thanks!The text was updated successfully, but these errors were encountered: