Skip to content

Delete Project

rekognition_delete_project R Documentation

Deletes a Amazon Rekognition project

Description

Deletes a Amazon Rekognition project. To delete a project you must first delete all models or adapters associated with the project. To delete a model or adapter, see delete_project_version.

delete_project is an asynchronous operation. To check if the project is deleted, call describe_projects. The project is deleted when the project no longer appears in the response. Be aware that deleting a given project will also delete any ProjectPolicies associated with that project.

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

Usage

rekognition_delete_project(ProjectArn)

Arguments

ProjectArn

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

Value

A list with the following syntax:

list(
  Status = "CREATING"|"CREATED"|"DELETING"
)

Request syntax

svc$delete_project(
  ProjectArn = "string"
)

Examples

## Not run: 
# Deletes an Amazon Rekognition Custom Labels projects.
svc$delete_project(
  ProjectArn = "arn:aws:rekognition:us-east-1:111122223333:project/my-project/1690405809285"
)

## End(Not run)