delete_policy_statement
async
¶
delete_policy_statement(
arn: VeniceGlobalArn,
statement_id: StatementId,
*,
config_overrides: Optional[AsyncEntityResolutionClientConfig] = None,
) -> DeletePolicyStatementOutput
Deletes the policy statement.
Parameters:
-
arn(VeniceGlobalArn) –The ARN of the resource for which the policy need to be deleted.
-
statement_id(StatementId) –A statement identifier that differentiates the statement from others in the same policy.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request couldn't be processed because of conflict in the current state of the resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.
-
InternalServerException–This exception occurs when there is an internal failure in the Entity Resolution service.
-
ResourceNotFoundException–The resource couldn't be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by Entity Resolution.
-
UnknownServiceError–The service returned an error code this client does not model.