| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FraudDetector.PutExternalModel
Description
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.
Synopsis
- data PutExternalModel = PutExternalModel' {}
- newPutExternalModel :: Text -> ModelSource -> Text -> ModelInputConfiguration -> ModelOutputConfiguration -> ModelEndpointStatus -> PutExternalModel
- putExternalModel_tags :: Lens' PutExternalModel (Maybe [Tag])
- putExternalModel_modelEndpoint :: Lens' PutExternalModel Text
- putExternalModel_modelSource :: Lens' PutExternalModel ModelSource
- putExternalModel_invokeModelEndpointRoleArn :: Lens' PutExternalModel Text
- putExternalModel_inputConfiguration :: Lens' PutExternalModel ModelInputConfiguration
- putExternalModel_outputConfiguration :: Lens' PutExternalModel ModelOutputConfiguration
- putExternalModel_modelEndpointStatus :: Lens' PutExternalModel ModelEndpointStatus
- data PutExternalModelResponse = PutExternalModelResponse' {
- httpStatus :: Int
- newPutExternalModelResponse :: Int -> PutExternalModelResponse
- putExternalModelResponse_httpStatus :: Lens' PutExternalModelResponse Int
Creating a Request
data PutExternalModel Source #
See: newPutExternalModel smart constructor.
Constructors
| PutExternalModel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ModelSource | |
| -> Text | |
| -> ModelInputConfiguration | |
| -> ModelOutputConfiguration | |
| -> ModelEndpointStatus | |
| -> PutExternalModel |
Create a value of PutExternalModel with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:PutExternalModel', putExternalModel_tags - A collection of key and value pairs.
PutExternalModel, putExternalModel_modelEndpoint - The model endpoints name.
PutExternalModel, putExternalModel_modelSource - The source of the model.
PutExternalModel, putExternalModel_invokeModelEndpointRoleArn - The IAM role used to invoke the model endpoint.
PutExternalModel, putExternalModel_inputConfiguration - The model endpoint input configuration.
PutExternalModel, putExternalModel_outputConfiguration - The model endpoint output configuration.
PutExternalModel, putExternalModel_modelEndpointStatus - The model endpoint’s status in Amazon Fraud Detector.
Request Lenses
putExternalModel_tags :: Lens' PutExternalModel (Maybe [Tag]) Source #
A collection of key and value pairs.
putExternalModel_modelEndpoint :: Lens' PutExternalModel Text Source #
The model endpoints name.
putExternalModel_modelSource :: Lens' PutExternalModel ModelSource Source #
The source of the model.
putExternalModel_invokeModelEndpointRoleArn :: Lens' PutExternalModel Text Source #
The IAM role used to invoke the model endpoint.
putExternalModel_inputConfiguration :: Lens' PutExternalModel ModelInputConfiguration Source #
The model endpoint input configuration.
putExternalModel_outputConfiguration :: Lens' PutExternalModel ModelOutputConfiguration Source #
The model endpoint output configuration.
putExternalModel_modelEndpointStatus :: Lens' PutExternalModel ModelEndpointStatus Source #
The model endpoint’s status in Amazon Fraud Detector.
Destructuring the Response
data PutExternalModelResponse Source #
See: newPutExternalModelResponse smart constructor.
Constructors
| PutExternalModelResponse' | |
Fields
| |
Instances
newPutExternalModelResponse Source #
Create a value of PutExternalModelResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:PutExternalModelResponse', putExternalModelResponse_httpStatus - The response's http status code.
Response Lenses
putExternalModelResponse_httpStatus :: Lens' PutExternalModelResponse Int Source #
The response's http status code.