AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Deletes a model package.

A model package is used to create SageMaker models or list on Amazon Web Services Marketplace. Buyers can subscribe to model packages listed on Amazon Web Services Marketplace to create models in SageMaker.


For .NET Core this operation is only available in asynchronous form. Please refer to DeleteModelPackageAsync.

Namespace: Amazon.SageMaker
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z


public virtual DeleteModelPackageResponse DeleteModelPackage(
         DeleteModelPackageRequest request
Type: Amazon.SageMaker.Model.DeleteModelPackageRequest

Container for the necessary parameters to execute the DeleteModelPackage service method.

Return Value
The response from the DeleteModelPackage service method, as returned by SageMaker.


ConflictException There was a conflict when you attempted to modify a SageMaker entity such as an Experiment or Artifact.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also