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.AccessDeniedExceptionRekognition.Client.exceptions.InternalServerErrorRekognition.Client.exceptions.InvalidParameterExceptionRekognition.Client.exceptions.ResourceNotFoundExceptionRekognition.Client.exceptions.ThrottlingExceptionRekognition.Client.exceptions.ProvisionedThroughputExceededExceptionRekognition.Client.exceptions.InvalidPolicyRevisionIdException