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
9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 | |