Skip to content

/AWS1/CL_REK=>LISTPROJECTPOLICIES()

About ListProjectPolicies

This operation applies only to Amazon Rekognition Custom Labels.

Gets a list of the project policies attached to a project.

To attach a project policy to a project, call PutProjectPolicy. To remove a project policy from a project, call DeleteProjectPolicy.

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

Method Signature

IMPORTING

Required arguments:

IV_PROJECTARN TYPE /AWS1/REKPROJECTARN /AWS1/REKPROJECTARN

The ARN of the project for which you want to list the project policies.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/REKEXTENDEDPAGINATIONTOK /AWS1/REKEXTENDEDPAGINATIONTOK

If the previous response was incomplete (because there is more results to retrieve), Amazon Rekognition Custom Labels returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.

IV_MAXRESULTS TYPE /AWS1/REKLSTPROJECTPOLPAGESIZE /AWS1/REKLSTPROJECTPOLPAGESIZE

The maximum number of results to return per paginated call. The largest value you can specify is 5. If you specify a value greater than 5, a ValidationException error occurs. The default value is 5.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_REKLISTPROJECTPOLRSP /AWS1/CL_REKLISTPROJECTPOLRSP