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 |
Gets a particular detector version.
Synopsis
- data GetDetectorVersion = GetDetectorVersion' {}
- newGetDetectorVersion :: Text -> Text -> GetDetectorVersion
- getDetectorVersion_detectorId :: Lens' GetDetectorVersion Text
- getDetectorVersion_detectorVersionId :: Lens' GetDetectorVersion Text
- data GetDetectorVersionResponse = GetDetectorVersionResponse' {
- arn :: Maybe Text
- createdTime :: Maybe Text
- description :: Maybe Text
- detectorId :: Maybe Text
- detectorVersionId :: Maybe Text
- externalModelEndpoints :: Maybe [Text]
- lastUpdatedTime :: Maybe Text
- modelVersions :: Maybe [ModelVersion]
- ruleExecutionMode :: Maybe RuleExecutionMode
- rules :: Maybe [Rule]
- status :: Maybe DetectorVersionStatus
- httpStatus :: Int
- newGetDetectorVersionResponse :: Int -> GetDetectorVersionResponse
- getDetectorVersionResponse_arn :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_createdTime :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_description :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_detectorId :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_detectorVersionId :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_externalModelEndpoints :: Lens' GetDetectorVersionResponse (Maybe [Text])
- getDetectorVersionResponse_lastUpdatedTime :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_modelVersions :: Lens' GetDetectorVersionResponse (Maybe [ModelVersion])
- getDetectorVersionResponse_ruleExecutionMode :: Lens' GetDetectorVersionResponse (Maybe RuleExecutionMode)
- getDetectorVersionResponse_rules :: Lens' GetDetectorVersionResponse (Maybe [Rule])
- getDetectorVersionResponse_status :: Lens' GetDetectorVersionResponse (Maybe DetectorVersionStatus)
- getDetectorVersionResponse_httpStatus :: Lens' GetDetectorVersionResponse Int
Creating a Request
data GetDetectorVersion Source #
See: newGetDetectorVersion
smart constructor.
GetDetectorVersion' | |
|
Instances
newGetDetectorVersion Source #
Create a value of GetDetectorVersion
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:
GetDetectorVersion
, getDetectorVersion_detectorId
- The detector ID.
GetDetectorVersion
, getDetectorVersion_detectorVersionId
- The detector version ID.
Request Lenses
getDetectorVersion_detectorId :: Lens' GetDetectorVersion Text Source #
The detector ID.
getDetectorVersion_detectorVersionId :: Lens' GetDetectorVersion Text Source #
The detector version ID.
Destructuring the Response
data GetDetectorVersionResponse Source #
See: newGetDetectorVersionResponse
smart constructor.
GetDetectorVersionResponse' | |
|
Instances
newGetDetectorVersionResponse Source #
Create a value of GetDetectorVersionResponse
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:
GetDetectorVersionResponse
, getDetectorVersionResponse_arn
- The detector version ARN.
GetDetectorVersionResponse
, getDetectorVersionResponse_createdTime
- The timestamp when the detector version was created.
GetDetectorVersionResponse
, getDetectorVersionResponse_description
- The detector version description.
GetDetectorVersion
, getDetectorVersionResponse_detectorId
- The detector ID.
GetDetectorVersion
, getDetectorVersionResponse_detectorVersionId
- The detector version ID.
$sel:externalModelEndpoints:GetDetectorVersionResponse'
, getDetectorVersionResponse_externalModelEndpoints
- The Amazon SageMaker model endpoints included in the detector version.
GetDetectorVersionResponse
, getDetectorVersionResponse_lastUpdatedTime
- The timestamp when the detector version was last updated.
$sel:modelVersions:GetDetectorVersionResponse'
, getDetectorVersionResponse_modelVersions
- The model versions included in the detector version.
$sel:ruleExecutionMode:GetDetectorVersionResponse'
, getDetectorVersionResponse_ruleExecutionMode
- The execution mode of the rule in the dectector
FIRST_MATCHED
indicates that Amazon Fraud Detector evaluates rules
sequentially, first to last, stopping at the first matched rule. Amazon
Fraud dectector then provides the outcomes for that single rule.
ALL_MATCHED
indicates that Amazon Fraud Detector evaluates all rules
and returns the outcomes for all matched rules. You can define and edit
the rule mode at the detector version level, when it is in draft status.
$sel:rules:GetDetectorVersionResponse'
, getDetectorVersionResponse_rules
- The rules included in the detector version.
GetDetectorVersionResponse
, getDetectorVersionResponse_status
- The status of the detector version.
$sel:httpStatus:GetDetectorVersionResponse'
, getDetectorVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getDetectorVersionResponse_arn :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The detector version ARN.
getDetectorVersionResponse_createdTime :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The timestamp when the detector version was created.
getDetectorVersionResponse_description :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The detector version description.
getDetectorVersionResponse_detectorId :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The detector ID.
getDetectorVersionResponse_detectorVersionId :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The detector version ID.
getDetectorVersionResponse_externalModelEndpoints :: Lens' GetDetectorVersionResponse (Maybe [Text]) Source #
The Amazon SageMaker model endpoints included in the detector version.
getDetectorVersionResponse_lastUpdatedTime :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The timestamp when the detector version was last updated.
getDetectorVersionResponse_modelVersions :: Lens' GetDetectorVersionResponse (Maybe [ModelVersion]) Source #
The model versions included in the detector version.
getDetectorVersionResponse_ruleExecutionMode :: Lens' GetDetectorVersionResponse (Maybe RuleExecutionMode) Source #
The execution mode of the rule in the dectector
FIRST_MATCHED
indicates that Amazon Fraud Detector evaluates rules
sequentially, first to last, stopping at the first matched rule. Amazon
Fraud dectector then provides the outcomes for that single rule.
ALL_MATCHED
indicates that Amazon Fraud Detector evaluates all rules
and returns the outcomes for all matched rules. You can define and edit
the rule mode at the detector version level, when it is in draft status.
getDetectorVersionResponse_rules :: Lens' GetDetectorVersionResponse (Maybe [Rule]) Source #
The rules included in the detector version.
getDetectorVersionResponse_status :: Lens' GetDetectorVersionResponse (Maybe DetectorVersionStatus) Source #
The status of the detector version.
getDetectorVersionResponse_httpStatus :: Lens' GetDetectorVersionResponse Int Source #
The response's http status code.