Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes a model. The DeleteModel
API deletes only the model entry that
was created in Amazon SageMaker when you called the CreateModel
API.
It does not delete model artifacts, inference code, or the IAM role that
you specified when creating the model.
Synopsis
Creating a Request
data DeleteModel Source #
See: newDeleteModel
smart constructor.
Instances
Create a value of DeleteModel
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:modelName:DeleteModel'
, deleteModel_modelName
- The name of the model to delete.
Request Lenses
deleteModel_modelName :: Lens' DeleteModel Text Source #
The name of the model to delete.
Destructuring the Response
data DeleteModelResponse Source #
See: newDeleteModelResponse
smart constructor.
Instances
Eq DeleteModelResponse Source # | |
Defined in Amazonka.SageMaker.DeleteModel (==) :: DeleteModelResponse -> DeleteModelResponse -> Bool # (/=) :: DeleteModelResponse -> DeleteModelResponse -> Bool # | |
Read DeleteModelResponse Source # | |
Defined in Amazonka.SageMaker.DeleteModel | |
Show DeleteModelResponse Source # | |
Defined in Amazonka.SageMaker.DeleteModel showsPrec :: Int -> DeleteModelResponse -> ShowS # show :: DeleteModelResponse -> String # showList :: [DeleteModelResponse] -> ShowS # | |
Generic DeleteModelResponse Source # | |
Defined in Amazonka.SageMaker.DeleteModel type Rep DeleteModelResponse :: Type -> Type # from :: DeleteModelResponse -> Rep DeleteModelResponse x # to :: Rep DeleteModelResponse x -> DeleteModelResponse # | |
NFData DeleteModelResponse Source # | |
Defined in Amazonka.SageMaker.DeleteModel rnf :: DeleteModelResponse -> () # | |
type Rep DeleteModelResponse Source # | |
newDeleteModelResponse :: DeleteModelResponse Source #
Create a value of DeleteModelResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.