accept_predictions
¶
accept_predictions(
domain_identifier: DomainId,
identifier: AssetIdentifier,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
revision: Optional[Revision] = None,
accept_rule: Optional[AcceptRule] = None,
accept_choices: Optional[AcceptChoices] = None,
client_token: Optional[ClientToken] = None,
) -> AcceptPredictionsOutput
Accepts 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 asset.
-
revision(Optional[Revision], default:None) –The revision that is to be made to the asset.
-
accept_rule(Optional[AcceptRule], default:None) –Specifies the rule (or the conditions) under which a prediction can be accepted.
-
accept_choices(Optional[AcceptChoices], default:None) –Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be accepted.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.
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
821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 | |