reject_predictions
¶
reject_predictions(
domain_identifier: DomainId,
identifier: AssetIdentifier,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
revision: Optional[Revision] = None,
reject_rule: Optional[RejectRule] = None,
reject_choices: Optional[RejectChoices] = None,
client_token: Optional[ClientToken] = None,
) -> RejectPredictionsOutput
Rejects automatically generated business-friendly metadata for your Amazon DataZone assets.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain.
-
identifier(AssetIdentifier) –The identifier of the prediction.
-
revision(Optional[Revision], default:None) –The revision that is to be made to the asset.
-
reject_rule(Optional[RejectRule], default:None) –Specifies the rule (or the conditions) under which a prediction can be rejected.
-
reject_choices(Optional[RejectChoices], default:None) –Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/data_zone.py
8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 | |