Rekognition / Client / delete_project_policy
delete_project_policy¶
- Rekognition.Client.delete_project_policy(**kwargs)¶
- Note- 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:DeleteProjectPolicyaction.- See also: AWS API Documentation - Request Syntax- response = client.delete_project_policy( ProjectArn='string', PolicyName='string', PolicyRevisionId='string' ) - Parameters:
- ProjectArn (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the project that the project policy you want to delete is attached to. 
- PolicyName (string) – - [REQUIRED] - The name of the policy that you want to delete. 
- PolicyRevisionId (string) – The ID of the project policy revision that you want to delete. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions