accept_predictions
async
¶
accept_predictions(
domain_identifier: DomainId,
identifier: AssetIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
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 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 | |