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 |
Set a verification state and provide a description of that verification state on a violation (detect alarm).
Synopsis
- data PutVerificationStateOnViolation = PutVerificationStateOnViolation' {}
- newPutVerificationStateOnViolation :: Text -> VerificationState -> PutVerificationStateOnViolation
- putVerificationStateOnViolation_verificationStateDescription :: Lens' PutVerificationStateOnViolation (Maybe Text)
- putVerificationStateOnViolation_violationId :: Lens' PutVerificationStateOnViolation Text
- putVerificationStateOnViolation_verificationState :: Lens' PutVerificationStateOnViolation VerificationState
- data PutVerificationStateOnViolationResponse = PutVerificationStateOnViolationResponse' {
- httpStatus :: Int
- newPutVerificationStateOnViolationResponse :: Int -> PutVerificationStateOnViolationResponse
- putVerificationStateOnViolationResponse_httpStatus :: Lens' PutVerificationStateOnViolationResponse Int
Creating a Request
data PutVerificationStateOnViolation Source #
See: newPutVerificationStateOnViolation
smart constructor.
PutVerificationStateOnViolation' | |
|
Instances
newPutVerificationStateOnViolation Source #
Create a value of PutVerificationStateOnViolation
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:verificationStateDescription:PutVerificationStateOnViolation'
, putVerificationStateOnViolation_verificationStateDescription
- The description of the verification state of the violation (detect
alarm).
$sel:violationId:PutVerificationStateOnViolation'
, putVerificationStateOnViolation_violationId
- The violation ID.
$sel:verificationState:PutVerificationStateOnViolation'
, putVerificationStateOnViolation_verificationState
- The verification state of the violation.
Request Lenses
putVerificationStateOnViolation_verificationStateDescription :: Lens' PutVerificationStateOnViolation (Maybe Text) Source #
The description of the verification state of the violation (detect alarm).
putVerificationStateOnViolation_violationId :: Lens' PutVerificationStateOnViolation Text Source #
The violation ID.
putVerificationStateOnViolation_verificationState :: Lens' PutVerificationStateOnViolation VerificationState Source #
The verification state of the violation.
Destructuring the Response
data PutVerificationStateOnViolationResponse Source #
See: newPutVerificationStateOnViolationResponse
smart constructor.
PutVerificationStateOnViolationResponse' | |
|
Instances
newPutVerificationStateOnViolationResponse Source #
Create a value of PutVerificationStateOnViolationResponse
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:PutVerificationStateOnViolationResponse'
, putVerificationStateOnViolationResponse_httpStatus
- The response's http status code.
Response Lenses
putVerificationStateOnViolationResponse_httpStatus :: Lens' PutVerificationStateOnViolationResponse Int Source #
The response's http status code.