Skip to content

/AWS1/CL_REK=>DELETEPROJECTPOLICY()

About DeleteProjectPolicy

This operation applies only to Amazon Rekognition Custom Labels.

Deletes an existing project policy.

To get a list of project policies attached to a project, call ListProjectPolicies. To attach a project policy to a project, call PutProjectPolicy.

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

Method Signature

IMPORTING

Required arguments:

IV_PROJECTARN TYPE /AWS1/REKPROJECTARN /AWS1/REKPROJECTARN

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

IV_POLICYNAME TYPE /AWS1/REKPROJECTPOLICYNAME /AWS1/REKPROJECTPOLICYNAME

The name of the policy that you want to delete.

Optional arguments:

IV_POLICYREVISIONID TYPE /AWS1/REKPROJECTPLYREVISIONID /AWS1/REKPROJECTPLYREVISIONID

The ID of the project policy revision that you want to delete.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_REKDELPROJECTPLYRSP /AWS1/CL_REKDELPROJECTPLYRSP