describe_model_versions
async
¶
describe_model_versions(
*,
config_overrides: Optional[AsyncFraudDetectorClientConfig] = None,
model_id: Optional[modelIdentifier] = None,
model_version_number: Optional[floatVersionString] = None,
model_type: Optional[ModelTypeEnum] = None,
next_token: Optional[string] = None,
max_results: Optional[modelsMaxPageSize] = None,
) -> DescribeModelVersionsResult
Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version.
Parameters:
-
model_id(Optional[modelIdentifier], default:None) –The model ID.
-
model_version_number(Optional[floatVersionString], default:None) –The model version number.
-
model_type(Optional[ModelTypeEnum], default:None) –The model type.
-
next_token(Optional[string], default:None) –The next token from the previous results.
-
max_results(Optional[modelsMaxPageSize], default:None) –The maximum number of results to return.
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. -
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
2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 | |