Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets the details of the specified model version.
Synopsis
- data GetModelVersion = GetModelVersion' {}
- newGetModelVersion :: Text -> ModelTypeEnum -> Text -> GetModelVersion
- getModelVersion_modelId :: Lens' GetModelVersion Text
- getModelVersion_modelType :: Lens' GetModelVersion ModelTypeEnum
- getModelVersion_modelVersionNumber :: Lens' GetModelVersion Text
- data GetModelVersionResponse = GetModelVersionResponse' {
- status :: Maybe Text
- modelType :: Maybe ModelTypeEnum
- modelId :: Maybe Text
- arn :: Maybe Text
- trainingDataSource :: Maybe TrainingDataSourceEnum
- externalEventsDetail :: Maybe ExternalEventsDetail
- ingestedEventsDetail :: Maybe IngestedEventsDetail
- modelVersionNumber :: Maybe Text
- trainingDataSchema :: Maybe TrainingDataSchema
- httpStatus :: Int
- newGetModelVersionResponse :: Int -> GetModelVersionResponse
- getModelVersionResponse_status :: Lens' GetModelVersionResponse (Maybe Text)
- getModelVersionResponse_modelType :: Lens' GetModelVersionResponse (Maybe ModelTypeEnum)
- getModelVersionResponse_modelId :: Lens' GetModelVersionResponse (Maybe Text)
- getModelVersionResponse_arn :: Lens' GetModelVersionResponse (Maybe Text)
- getModelVersionResponse_trainingDataSource :: Lens' GetModelVersionResponse (Maybe TrainingDataSourceEnum)
- getModelVersionResponse_externalEventsDetail :: Lens' GetModelVersionResponse (Maybe ExternalEventsDetail)
- getModelVersionResponse_ingestedEventsDetail :: Lens' GetModelVersionResponse (Maybe IngestedEventsDetail)
- getModelVersionResponse_modelVersionNumber :: Lens' GetModelVersionResponse (Maybe Text)
- getModelVersionResponse_trainingDataSchema :: Lens' GetModelVersionResponse (Maybe TrainingDataSchema)
- getModelVersionResponse_httpStatus :: Lens' GetModelVersionResponse Int
Creating a Request
data GetModelVersion Source #
See: newGetModelVersion
smart constructor.
GetModelVersion' | |
|
Instances
:: Text | |
-> ModelTypeEnum | |
-> Text | |
-> GetModelVersion |
Create a value of GetModelVersion
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:modelId:GetModelVersion'
, getModelVersion_modelId
- The model ID.
$sel:modelType:GetModelVersion'
, getModelVersion_modelType
- The model type.
$sel:modelVersionNumber:GetModelVersion'
, getModelVersion_modelVersionNumber
- The model version number.
Request Lenses
getModelVersion_modelId :: Lens' GetModelVersion Text Source #
The model ID.
getModelVersion_modelType :: Lens' GetModelVersion ModelTypeEnum Source #
The model type.
getModelVersion_modelVersionNumber :: Lens' GetModelVersion Text Source #
The model version number.
Destructuring the Response
data GetModelVersionResponse Source #
See: newGetModelVersionResponse
smart constructor.
GetModelVersionResponse' | |
|
Instances
newGetModelVersionResponse Source #
Create a value of GetModelVersionResponse
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:status:GetModelVersionResponse'
, getModelVersionResponse_status
- The model version status.
Possible values are:
TRAINING_IN_PROGRESS
TRAINING_COMPLETE
ACTIVATE_REQUESTED
ACTIVATE_IN_PROGRESS
ACTIVE
INACTIVATE_REQUESTED
INACTIVATE_IN_PROGRESS
INACTIVE
ERROR
$sel:modelType:GetModelVersion'
, getModelVersionResponse_modelType
- The model type.
$sel:modelId:GetModelVersion'
, getModelVersionResponse_modelId
- The model ID.
$sel:arn:GetModelVersionResponse'
, getModelVersionResponse_arn
- The model version ARN.
$sel:trainingDataSource:GetModelVersionResponse'
, getModelVersionResponse_trainingDataSource
- The training data source.
$sel:externalEventsDetail:GetModelVersionResponse'
, getModelVersionResponse_externalEventsDetail
- The details of the external events data used for training the model
version. This will be populated if the trainingDataSource
is
EXTERNAL_EVENTS
$sel:ingestedEventsDetail:GetModelVersionResponse'
, getModelVersionResponse_ingestedEventsDetail
- The details of the ingested events data used for training the model
version. This will be populated if the trainingDataSource
is
INGESTED_EVENTS
.
$sel:modelVersionNumber:GetModelVersion'
, getModelVersionResponse_modelVersionNumber
- The model version number.
$sel:trainingDataSchema:GetModelVersionResponse'
, getModelVersionResponse_trainingDataSchema
- The training data schema.
$sel:httpStatus:GetModelVersionResponse'
, getModelVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getModelVersionResponse_status :: Lens' GetModelVersionResponse (Maybe Text) Source #
The model version status.
Possible values are:
TRAINING_IN_PROGRESS
TRAINING_COMPLETE
ACTIVATE_REQUESTED
ACTIVATE_IN_PROGRESS
ACTIVE
INACTIVATE_REQUESTED
INACTIVATE_IN_PROGRESS
INACTIVE
ERROR
getModelVersionResponse_modelType :: Lens' GetModelVersionResponse (Maybe ModelTypeEnum) Source #
The model type.
getModelVersionResponse_modelId :: Lens' GetModelVersionResponse (Maybe Text) Source #
The model ID.
getModelVersionResponse_arn :: Lens' GetModelVersionResponse (Maybe Text) Source #
The model version ARN.
getModelVersionResponse_trainingDataSource :: Lens' GetModelVersionResponse (Maybe TrainingDataSourceEnum) Source #
The training data source.
getModelVersionResponse_externalEventsDetail :: Lens' GetModelVersionResponse (Maybe ExternalEventsDetail) Source #
The details of the external events data used for training the model
version. This will be populated if the trainingDataSource
is
EXTERNAL_EVENTS
getModelVersionResponse_ingestedEventsDetail :: Lens' GetModelVersionResponse (Maybe IngestedEventsDetail) Source #
The details of the ingested events data used for training the model
version. This will be populated if the trainingDataSource
is
INGESTED_EVENTS
.
getModelVersionResponse_modelVersionNumber :: Lens' GetModelVersionResponse (Maybe Text) Source #
The model version number.
getModelVersionResponse_trainingDataSchema :: Lens' GetModelVersionResponse (Maybe TrainingDataSchema) Source #
The training data schema.
getModelVersionResponse_httpStatus :: Lens' GetModelVersionResponse Int Source #
The response's http status code.