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 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' {
- status :: Maybe DetectorVersionStatus
- ruleExecutionMode :: Maybe RuleExecutionMode
- lastUpdatedTime :: Maybe Text
- arn :: Maybe Text
- rules :: Maybe [Rule]
- detectorVersionId :: Maybe Text
- createdTime :: Maybe Text
- modelVersions :: Maybe [ModelVersion]
- detectorId :: Maybe Text
- externalModelEndpoints :: Maybe [Text]
- description :: Maybe Text
- httpStatus :: Int
- newGetDetectorVersionResponse :: Int -> GetDetectorVersionResponse
- getDetectorVersionResponse_status :: Lens' GetDetectorVersionResponse (Maybe DetectorVersionStatus)
- getDetectorVersionResponse_ruleExecutionMode :: Lens' GetDetectorVersionResponse (Maybe RuleExecutionMode)
- getDetectorVersionResponse_lastUpdatedTime :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_arn :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_rules :: Lens' GetDetectorVersionResponse (Maybe [Rule])
- getDetectorVersionResponse_detectorVersionId :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_createdTime :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_modelVersions :: Lens' GetDetectorVersionResponse (Maybe [ModelVersion])
- getDetectorVersionResponse_detectorId :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_externalModelEndpoints :: Lens' GetDetectorVersionResponse (Maybe [Text])
- getDetectorVersionResponse_description :: Lens' GetDetectorVersionResponse (Maybe Text)
- getDetectorVersionResponse_httpStatus :: Lens' GetDetectorVersionResponse Int
Creating a Request
data GetDetectorVersion Source #
See: newGetDetectorVersion
smart constructor.
GetDetectorVersion' | |
|
Instances
newGetDetectorVersion Source #
:: Text | |
-> Text | |
-> GetDetectorVersion |
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:
$sel:detectorId:GetDetectorVersion'
, getDetectorVersion_detectorId
- The detector ID.
$sel:detectorVersionId: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:
$sel:status:GetDetectorVersionResponse'
, getDetectorVersionResponse_status
- The status of 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:lastUpdatedTime:GetDetectorVersionResponse'
, getDetectorVersionResponse_lastUpdatedTime
- The timestamp when the detector version was last updated.
$sel:arn:GetDetectorVersionResponse'
, getDetectorVersionResponse_arn
- The detector version ARN.
$sel:rules:GetDetectorVersionResponse'
, getDetectorVersionResponse_rules
- The rules included in the detector version.
$sel:detectorVersionId:GetDetectorVersion'
, getDetectorVersionResponse_detectorVersionId
- The detector version ID.
$sel:createdTime:GetDetectorVersionResponse'
, getDetectorVersionResponse_createdTime
- The timestamp when the detector version was created.
$sel:modelVersions:GetDetectorVersionResponse'
, getDetectorVersionResponse_modelVersions
- The model versions included in the detector version.
$sel:detectorId:GetDetectorVersion'
, getDetectorVersionResponse_detectorId
- The detector ID.
$sel:externalModelEndpoints:GetDetectorVersionResponse'
, getDetectorVersionResponse_externalModelEndpoints
- The Amazon SageMaker model endpoints included in the detector version.
$sel:description:GetDetectorVersionResponse'
, getDetectorVersionResponse_description
- The detector version description.
$sel:httpStatus:GetDetectorVersionResponse'
, getDetectorVersionResponse_httpStatus
- The response's http status code.
Response Lenses
getDetectorVersionResponse_status :: Lens' GetDetectorVersionResponse (Maybe DetectorVersionStatus) Source #
The status of 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_lastUpdatedTime :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The timestamp when the detector version was last updated.
getDetectorVersionResponse_arn :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The detector version ARN.
getDetectorVersionResponse_rules :: Lens' GetDetectorVersionResponse (Maybe [Rule]) Source #
The rules included in the detector version.
getDetectorVersionResponse_detectorVersionId :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The detector version ID.
getDetectorVersionResponse_createdTime :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The timestamp when the detector version was created.
getDetectorVersionResponse_modelVersions :: Lens' GetDetectorVersionResponse (Maybe [ModelVersion]) Source #
The model versions included in the detector version.
getDetectorVersionResponse_detectorId :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The detector ID.
getDetectorVersionResponse_externalModelEndpoints :: Lens' GetDetectorVersionResponse (Maybe [Text]) Source #
The Amazon SageMaker model endpoints included in the detector version.
getDetectorVersionResponse_description :: Lens' GetDetectorVersionResponse (Maybe Text) Source #
The detector version description.
getDetectorVersionResponse_httpStatus :: Lens' GetDetectorVersionResponse Int Source #
The response's http status code.