libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
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.Rekognition.DeleteProjectVersion

Description

Deletes an Amazon Rekognition Custom Labels model.

You can't delete a model if it is running or if it is training. To check the status of a model, use the Status field returned from DescribeProjectVersions. To stop a running model call StopProjectVersion. If the model is training, wait until it finishes.

This operation requires permissions to perform the rekognition:DeleteProjectVersion action.

Synopsis

Creating a Request

data DeleteProjectVersion Source #

See: newDeleteProjectVersion smart constructor.

Constructors

DeleteProjectVersion' 

Fields

Instances

Instances details
Eq DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

Read DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

Show DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

Generic DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

Associated Types

type Rep DeleteProjectVersion :: Type -> Type #

NFData DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

Methods

rnf :: DeleteProjectVersion -> () #

Hashable DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

ToJSON DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

AWSRequest DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

Associated Types

type AWSResponse DeleteProjectVersion #

ToHeaders DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

ToPath DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

ToQuery DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

type Rep DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

type Rep DeleteProjectVersion = D1 ('MetaData "DeleteProjectVersion" "Amazonka.Rekognition.DeleteProjectVersion" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "DeleteProjectVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "projectVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteProjectVersion Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

newDeleteProjectVersion Source #

Create a value of DeleteProjectVersion 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:projectVersionArn:DeleteProjectVersion', deleteProjectVersion_projectVersionArn - The Amazon Resource Name (ARN) of the model version that you want to delete.

Request Lenses

deleteProjectVersion_projectVersionArn :: Lens' DeleteProjectVersion Text Source #

The Amazon Resource Name (ARN) of the model version that you want to delete.

Destructuring the Response

data DeleteProjectVersionResponse Source #

See: newDeleteProjectVersionResponse smart constructor.

Constructors

DeleteProjectVersionResponse' 

Fields

Instances

Instances details
Eq DeleteProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

Read DeleteProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

Show DeleteProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

Generic DeleteProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

Associated Types

type Rep DeleteProjectVersionResponse :: Type -> Type #

NFData DeleteProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

type Rep DeleteProjectVersionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProjectVersion

type Rep DeleteProjectVersionResponse = D1 ('MetaData "DeleteProjectVersionResponse" "Amazonka.Rekognition.DeleteProjectVersion" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "DeleteProjectVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProjectVersionStatus)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteProjectVersionResponse Source #

Create a value of DeleteProjectVersionResponse 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:status:DeleteProjectVersionResponse', deleteProjectVersionResponse_status - The status of the deletion operation.

$sel:httpStatus:DeleteProjectVersionResponse', deleteProjectVersionResponse_httpStatus - The response's http status code.

Response Lenses