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.DeleteProject

Description

Deletes an Amazon Rekognition Custom Labels project. To delete a project you must first delete all models associated with the project. To delete a model, see DeleteProjectVersion.

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

Synopsis

Creating a Request

data DeleteProject Source #

See: newDeleteProject smart constructor.

Constructors

DeleteProject' 

Fields

  • projectArn :: Text

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

Instances

Instances details
Eq DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Read DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Show DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Generic DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Associated Types

type Rep DeleteProject :: Type -> Type #

NFData DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Methods

rnf :: DeleteProject -> () #

Hashable DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

ToJSON DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

AWSRequest DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Associated Types

type AWSResponse DeleteProject #

ToHeaders DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

ToPath DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

ToQuery DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

type Rep DeleteProject Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

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

Defined in Amazonka.Rekognition.DeleteProject

newDeleteProject Source #

Create a value of DeleteProject 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:projectArn:DeleteProject', deleteProject_projectArn - The Amazon Resource Name (ARN) of the project that you want to delete.

Request Lenses

deleteProject_projectArn :: Lens' DeleteProject Text Source #

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

Destructuring the Response

data DeleteProjectResponse Source #

See: newDeleteProjectResponse smart constructor.

Constructors

DeleteProjectResponse' 

Fields

Instances

Instances details
Eq DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Read DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Show DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Generic DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Associated Types

type Rep DeleteProjectResponse :: Type -> Type #

NFData DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

Methods

rnf :: DeleteProjectResponse -> () #

type Rep DeleteProjectResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteProject

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

newDeleteProjectResponse Source #

Create a value of DeleteProjectResponse 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:DeleteProjectResponse', deleteProjectResponse_status - The current status of the delete project operation.

$sel:httpStatus:DeleteProjectResponse', deleteProjectResponse_httpStatus - The response's http status code.

Response Lenses

deleteProjectResponse_status :: Lens' DeleteProjectResponse (Maybe ProjectStatus) Source #

The current status of the delete project operation.