update_model_version
async
¶
update_model_version(
model_id: modelIdentifier,
model_type: ModelTypeEnum,
major_version_number: wholeNumberVersionString,
*,
config_overrides: Optional[AsyncFraudDetectorClientConfig] = None,
external_events_detail: Optional[ExternalEventsDetail] = None,
ingested_events_detail: Optional[IngestedEventsDetail] = None,
tags: Optional[tagList] = None,
) -> UpdateModelVersionResult
Updates a model version. Updating a model version retrains an existing model version using updated training data and produces a new minor version of the model. You can update the training data set location and data access role attributes using this action. This action creates and trains a new minor version of the model, for example version 1.01, 1.02, 1.03.
Parameters:
-
model_id(modelIdentifier) –The model ID.
-
model_type(ModelTypeEnum) –The model type.
-
major_version_number(wholeNumberVersionString) –The major version number.
-
external_events_detail(Optional[ExternalEventsDetail], default:None) –The details of the external events data used for training the model version. Required if
trainingDataSourceisEXTERNAL_EVENTS. -
ingested_events_detail(Optional[IngestedEventsDetail], default:None) –The details of the ingested event used for training the model version. Required if your
trainingDataSourceisINGESTED_EVENTS. -
tags(Optional[tagList], default:None) –A collection of key and value pairs.
Raises:
-
AccessDeniedException–An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as
PutExternalModel, that specifies a role that is not in your account. -
ConflictException–An exception indicating there was a conflict during a delete operation.
-
InternalServerException–An exception indicating an internal server error.
-
ResourceNotFoundException–An exception indicating the specified resource was not found.
-
ThrottlingException–An exception indicating a throttling error.
-
ValidationException–An exception indicating a specified value is not allowed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_frauddetector/_services/async_fraud_detector.py
4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 | |