rekognition_put_project_policy: This operation applies only to Amazon Rekognition Custom...

View source: R/rekognition_operations.R

rekognition_put_project_policyR Documentation

This operation applies only to Amazon Rekognition Custom Labels

Description

This operation applies only to Amazon Rekognition Custom Labels.

See https://www.paws-r-sdk.com/docs/rekognition_put_project_policy/ for full documentation.

Usage

rekognition_put_project_policy(
  ProjectArn,
  PolicyName,
  PolicyRevisionId = NULL,
  PolicyDocument
)

Arguments

ProjectArn

[required] The Amazon Resource Name (ARN) of the project that the project policy is attached to.

PolicyName

[required] A name for the policy.

PolicyRevisionId

The revision ID for the Project Policy. Each time you modify a policy, Amazon Rekognition Custom Labels generates and assigns a new PolicyRevisionId and then deletes the previous version of the policy.

PolicyDocument

[required] A resource policy to add to the model. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON policy document, see IAM JSON policy reference.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.