Rekognition.Client.
delete_project_policy
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.delete_project_policy(
ProjectArn='string',
PolicyName='string',
PolicyRevisionId='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the project that the project policy you want to delete is attached to.
[REQUIRED]
The name of the policy that you want to delete.
dict
Response Syntax
{}
Response Structure
Exceptions
Rekognition.Client.exceptions.AccessDeniedException
Rekognition.Client.exceptions.InternalServerError
Rekognition.Client.exceptions.InvalidParameterException
Rekognition.Client.exceptions.ResourceNotFoundException
Rekognition.Client.exceptions.ThrottlingException
Rekognition.Client.exceptions.ProvisionedThroughputExceededException
Rekognition.Client.exceptions.InvalidPolicyRevisionIdException