This operation applies only to Amazon Rekognition Custom Labels¶
Description¶
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 put_project_policy. To remove a project policy from a project, call delete_project_policy.
This operation requires permissions to perform the rekognition:ListProjectPolicies action.
Usage¶
Arguments¶
-
ProjectArn[required] The ARN of the project for which you want to list the project policies.
-
NextTokenIf 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.
-
MaxResultsThe 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.
Value¶
A list with the following syntax:
list(
ProjectPolicies = list(
list(
ProjectArn = "string",
PolicyName = "string",
PolicyRevisionId = "string",
PolicyDocument = "string",
CreationTimestamp = as.POSIXct(
"2015-01-01"
),
LastUpdatedTimestamp = as.POSIXct(
"2015-01-01"
)
)
),
NextToken = "string"
)