put_external_model
async
¶
put_external_model(
model_endpoint: sageMakerEndpointIdentifier,
model_source: ModelSource,
invoke_model_endpoint_role_arn: string,
input_configuration: ModelInputConfiguration,
output_configuration: ModelOutputConfiguration,
model_endpoint_status: ModelEndpointStatus,
*,
config_overrides: Optional[AsyncFraudDetectorClientConfig] = None,
tags: Optional[tagList] = None,
) -> PutExternalModelResult
Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables.
Parameters:
-
model_endpoint(sageMakerEndpointIdentifier) –The model endpoints name.
-
model_source(ModelSource) –The source of the model.
-
invoke_model_endpoint_role_arn(string) –The IAM role used to invoke the model endpoint.
-
input_configuration(ModelInputConfiguration) –The model endpoint input configuration.
-
output_configuration(ModelOutputConfiguration) –The model endpoint output configuration.
-
model_endpoint_status(ModelEndpointStatus) –The model endpoint’s status in Amazon Fraud Detector.
-
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.
-
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
4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 | |