Skip to content

This operation applies only to Amazon Rekognition Custom Labels

Description

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 list_project_policies. To attach a project policy to a project, call put_project_policy.

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

Usage

rekognition_delete_project_policy(ProjectArn, PolicyName,
  PolicyRevisionId)

Arguments

  • ProjectArn

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

  • PolicyName

    [required] The name of the policy that you want to delete.

  • PolicyRevisionId

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

Value

An empty list.

Request syntax

svc$delete_project_policy(
  ProjectArn = "string",
  PolicyName = "string",
  PolicyRevisionId = "string"
)