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 |
Updates the detector version's description. You can update the metadata
for any detector version (DRAFT, ACTIVE,
or INACTIVE
).
Synopsis
- data UpdateDetectorVersionMetadata = UpdateDetectorVersionMetadata' {}
- newUpdateDetectorVersionMetadata :: Text -> Text -> Text -> UpdateDetectorVersionMetadata
- updateDetectorVersionMetadata_detectorId :: Lens' UpdateDetectorVersionMetadata Text
- updateDetectorVersionMetadata_detectorVersionId :: Lens' UpdateDetectorVersionMetadata Text
- updateDetectorVersionMetadata_description :: Lens' UpdateDetectorVersionMetadata Text
- data UpdateDetectorVersionMetadataResponse = UpdateDetectorVersionMetadataResponse' {
- httpStatus :: Int
- newUpdateDetectorVersionMetadataResponse :: Int -> UpdateDetectorVersionMetadataResponse
- updateDetectorVersionMetadataResponse_httpStatus :: Lens' UpdateDetectorVersionMetadataResponse Int
Creating a Request
data UpdateDetectorVersionMetadata Source #
See: newUpdateDetectorVersionMetadata
smart constructor.
UpdateDetectorVersionMetadata' | |
|
Instances
newUpdateDetectorVersionMetadata Source #
:: Text | |
-> Text | |
-> Text | |
-> UpdateDetectorVersionMetadata |
Create a value of UpdateDetectorVersionMetadata
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:UpdateDetectorVersionMetadata'
, updateDetectorVersionMetadata_detectorId
- The detector ID.
$sel:detectorVersionId:UpdateDetectorVersionMetadata'
, updateDetectorVersionMetadata_detectorVersionId
- The detector version ID.
$sel:description:UpdateDetectorVersionMetadata'
, updateDetectorVersionMetadata_description
- The description.
Request Lenses
updateDetectorVersionMetadata_detectorId :: Lens' UpdateDetectorVersionMetadata Text Source #
The detector ID.
updateDetectorVersionMetadata_detectorVersionId :: Lens' UpdateDetectorVersionMetadata Text Source #
The detector version ID.
updateDetectorVersionMetadata_description :: Lens' UpdateDetectorVersionMetadata Text Source #
The description.
Destructuring the Response
data UpdateDetectorVersionMetadataResponse Source #
See: newUpdateDetectorVersionMetadataResponse
smart constructor.
UpdateDetectorVersionMetadataResponse' | |
|
Instances
Eq UpdateDetectorVersionMetadataResponse Source # | |
Read UpdateDetectorVersionMetadataResponse Source # | |
Show UpdateDetectorVersionMetadataResponse Source # | |
Generic UpdateDetectorVersionMetadataResponse Source # | |
Defined in Amazonka.FraudDetector.UpdateDetectorVersionMetadata type Rep UpdateDetectorVersionMetadataResponse :: Type -> Type # | |
NFData UpdateDetectorVersionMetadataResponse Source # | |
type Rep UpdateDetectorVersionMetadataResponse Source # | |
Defined in Amazonka.FraudDetector.UpdateDetectorVersionMetadata type Rep UpdateDetectorVersionMetadataResponse = D1 ('MetaData "UpdateDetectorVersionMetadataResponse" "Amazonka.FraudDetector.UpdateDetectorVersionMetadata" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "UpdateDetectorVersionMetadataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateDetectorVersionMetadataResponse Source #
Create a value of UpdateDetectorVersionMetadataResponse
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:UpdateDetectorVersionMetadataResponse'
, updateDetectorVersionMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
updateDetectorVersionMetadataResponse_httpStatus :: Lens' UpdateDetectorVersionMetadataResponse Int Source #
The response's http status code.