libZSservicesZSamazonka-mlZSamazonka-ml
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MachineLearning.DeleteMLModel

Description

Assigns the DELETED status to an MLModel, rendering it unusable.

After using the DeleteMLModel operation, you can use the GetMLModel operation to verify that the status of the MLModel changed to DELETED.

Caution: The result of the DeleteMLModel operation is irreversible.

Synopsis

Creating a Request

data DeleteMLModel Source #

See: newDeleteMLModel smart constructor.

Constructors

DeleteMLModel' 

Fields

  • mLModelId :: Text

    A user-supplied ID that uniquely identifies the MLModel.

Instances

Instances details
Eq DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Read DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Show DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Generic DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Associated Types

type Rep DeleteMLModel :: Type -> Type #

NFData DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Methods

rnf :: DeleteMLModel -> () #

Hashable DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

ToJSON DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

AWSRequest DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Associated Types

type AWSResponse DeleteMLModel #

ToHeaders DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

ToPath DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

ToQuery DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

type Rep DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

type Rep DeleteMLModel = D1 ('MetaData "DeleteMLModel" "Amazonka.MachineLearning.DeleteMLModel" "libZSservicesZSamazonka-mlZSamazonka-ml" 'False) (C1 ('MetaCons "DeleteMLModel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mLModelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteMLModel Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

newDeleteMLModel Source #

Create a value of DeleteMLModel 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:mLModelId:DeleteMLModel', deleteMLModel_mLModelId - A user-supplied ID that uniquely identifies the MLModel.

Request Lenses

deleteMLModel_mLModelId :: Lens' DeleteMLModel Text Source #

A user-supplied ID that uniquely identifies the MLModel.

Destructuring the Response

data DeleteMLModelResponse Source #

Represents the output of a DeleteMLModel operation.

You can use the GetMLModel operation and check the value of the Status parameter to see whether an MLModel is marked as DELETED.

See: newDeleteMLModelResponse smart constructor.

Constructors

DeleteMLModelResponse' 

Fields

  • mLModelId :: Maybe Text

    A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelID in the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteMLModelResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Read DeleteMLModelResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Show DeleteMLModelResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Generic DeleteMLModelResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Associated Types

type Rep DeleteMLModelResponse :: Type -> Type #

NFData DeleteMLModelResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

Methods

rnf :: DeleteMLModelResponse -> () #

type Rep DeleteMLModelResponse Source # 
Instance details

Defined in Amazonka.MachineLearning.DeleteMLModel

type Rep DeleteMLModelResponse = D1 ('MetaData "DeleteMLModelResponse" "Amazonka.MachineLearning.DeleteMLModel" "libZSservicesZSamazonka-mlZSamazonka-ml" 'False) (C1 ('MetaCons "DeleteMLModelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mLModelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteMLModelResponse Source #

Create a value of DeleteMLModelResponse 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:mLModelId:DeleteMLModel', deleteMLModelResponse_mLModelId - A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelID in the request.

$sel:httpStatus:DeleteMLModelResponse', deleteMLModelResponse_httpStatus - The response's http status code.

Response Lenses

deleteMLModelResponse_mLModelId :: Lens' DeleteMLModelResponse (Maybe Text) Source #

A user-supplied ID that uniquely identifies the MLModel. This value should be identical to the value of the MLModelID in the request.