reject_predictions
async
¶
reject_predictions(
domain_identifier: DomainId,
identifier: AssetIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 | |