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 |
Creates a version of the model using the specified model type and model id.
Synopsis
- data CreateModelVersion = CreateModelVersion' {}
- newCreateModelVersion :: Text -> ModelTypeEnum -> TrainingDataSourceEnum -> TrainingDataSchema -> CreateModelVersion
- createModelVersion_externalEventsDetail :: Lens' CreateModelVersion (Maybe ExternalEventsDetail)
- createModelVersion_ingestedEventsDetail :: Lens' CreateModelVersion (Maybe IngestedEventsDetail)
- createModelVersion_tags :: Lens' CreateModelVersion (Maybe [Tag])
- createModelVersion_modelId :: Lens' CreateModelVersion Text
- createModelVersion_modelType :: Lens' CreateModelVersion ModelTypeEnum
- createModelVersion_trainingDataSource :: Lens' CreateModelVersion TrainingDataSourceEnum
- createModelVersion_trainingDataSchema :: Lens' CreateModelVersion TrainingDataSchema
- data CreateModelVersionResponse = CreateModelVersionResponse' {}
- newCreateModelVersionResponse :: Int -> CreateModelVersionResponse
- createModelVersionResponse_modelId :: Lens' CreateModelVersionResponse (Maybe Text)
- createModelVersionResponse_modelType :: Lens' CreateModelVersionResponse (Maybe ModelTypeEnum)
- createModelVersionResponse_modelVersionNumber :: Lens' CreateModelVersionResponse (Maybe Text)
- createModelVersionResponse_status :: Lens' CreateModelVersionResponse (Maybe Text)
- createModelVersionResponse_httpStatus :: Lens' CreateModelVersionResponse Int
Creating a Request
data CreateModelVersion Source #
See: newCreateModelVersion
smart constructor.
CreateModelVersion' | |
|
Instances
newCreateModelVersion Source #
Create a value of CreateModelVersion
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:
CreateModelVersion
, createModelVersion_externalEventsDetail
- Details of the external events data used for model version training.
Required if trainingDataSource
is EXTERNAL_EVENTS
.
CreateModelVersion
, createModelVersion_ingestedEventsDetail
- Details of the ingested events data used for model version training.
Required if trainingDataSource
is INGESTED_EVENTS
.
$sel:tags:CreateModelVersion'
, createModelVersion_tags
- A collection of key and value pairs.
CreateModelVersion
, createModelVersion_modelId
- The model ID.
CreateModelVersion
, createModelVersion_modelType
- The model type.
CreateModelVersion
, createModelVersion_trainingDataSource
- The training data source location in Amazon S3.
CreateModelVersion
, createModelVersion_trainingDataSchema
- The training data schema.
Request Lenses
createModelVersion_externalEventsDetail :: Lens' CreateModelVersion (Maybe ExternalEventsDetail) Source #
Details of the external events data used for model version training.
Required if trainingDataSource
is EXTERNAL_EVENTS
.
createModelVersion_ingestedEventsDetail :: Lens' CreateModelVersion (Maybe IngestedEventsDetail) Source #
Details of the ingested events data used for model version training.
Required if trainingDataSource
is INGESTED_EVENTS
.
createModelVersion_tags :: Lens' CreateModelVersion (Maybe [Tag]) Source #
A collection of key and value pairs.
createModelVersion_modelId :: Lens' CreateModelVersion Text Source #
The model ID.
createModelVersion_modelType :: Lens' CreateModelVersion ModelTypeEnum Source #
The model type.
createModelVersion_trainingDataSource :: Lens' CreateModelVersion TrainingDataSourceEnum Source #
The training data source location in Amazon S3.
createModelVersion_trainingDataSchema :: Lens' CreateModelVersion TrainingDataSchema Source #
The training data schema.
Destructuring the Response
data CreateModelVersionResponse Source #
See: newCreateModelVersionResponse
smart constructor.
CreateModelVersionResponse' | |
|
Instances
newCreateModelVersionResponse Source #
Create a value of CreateModelVersionResponse
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:
CreateModelVersion
, createModelVersionResponse_modelId
- The model ID.
CreateModelVersion
, createModelVersionResponse_modelType
- The model type.
CreateModelVersionResponse
, createModelVersionResponse_modelVersionNumber
- The model version number of the model version created.
CreateModelVersionResponse
, createModelVersionResponse_status
- The model version status.
$sel:httpStatus:CreateModelVersionResponse'
, createModelVersionResponse_httpStatus
- The response's http status code.
Response Lenses
createModelVersionResponse_modelId :: Lens' CreateModelVersionResponse (Maybe Text) Source #
The model ID.
createModelVersionResponse_modelType :: Lens' CreateModelVersionResponse (Maybe ModelTypeEnum) Source #
The model type.
createModelVersionResponse_modelVersionNumber :: Lens' CreateModelVersionResponse (Maybe Text) Source #
The model version number of the model version created.
createModelVersionResponse_status :: Lens' CreateModelVersionResponse (Maybe Text) Source #
The model version status.
createModelVersionResponse_httpStatus :: Lens' CreateModelVersionResponse Int Source #
The response's http status code.