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 |
Validates a Device Defender security profile behaviors specification.
Requires permission to access the ValidateSecurityProfileBehaviors action.
Synopsis
- data ValidateSecurityProfileBehaviors = ValidateSecurityProfileBehaviors' {}
- newValidateSecurityProfileBehaviors :: ValidateSecurityProfileBehaviors
- validateSecurityProfileBehaviors_behaviors :: Lens' ValidateSecurityProfileBehaviors [Behavior]
- data ValidateSecurityProfileBehaviorsResponse = ValidateSecurityProfileBehaviorsResponse' {
- validationErrors :: Maybe [ValidationError]
- valid :: Maybe Bool
- httpStatus :: Int
- newValidateSecurityProfileBehaviorsResponse :: Int -> ValidateSecurityProfileBehaviorsResponse
- validateSecurityProfileBehaviorsResponse_validationErrors :: Lens' ValidateSecurityProfileBehaviorsResponse (Maybe [ValidationError])
- validateSecurityProfileBehaviorsResponse_valid :: Lens' ValidateSecurityProfileBehaviorsResponse (Maybe Bool)
- validateSecurityProfileBehaviorsResponse_httpStatus :: Lens' ValidateSecurityProfileBehaviorsResponse Int
Creating a Request
data ValidateSecurityProfileBehaviors Source #
See: newValidateSecurityProfileBehaviors
smart constructor.
Instances
newValidateSecurityProfileBehaviors :: ValidateSecurityProfileBehaviors Source #
Create a value of ValidateSecurityProfileBehaviors
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:behaviors:ValidateSecurityProfileBehaviors'
, validateSecurityProfileBehaviors_behaviors
- Specifies the behaviors that, when violated by a device (thing), cause
an alert.
Request Lenses
validateSecurityProfileBehaviors_behaviors :: Lens' ValidateSecurityProfileBehaviors [Behavior] Source #
Specifies the behaviors that, when violated by a device (thing), cause an alert.
Destructuring the Response
data ValidateSecurityProfileBehaviorsResponse Source #
See: newValidateSecurityProfileBehaviorsResponse
smart constructor.
ValidateSecurityProfileBehaviorsResponse' | |
|
Instances
newValidateSecurityProfileBehaviorsResponse Source #
Create a value of ValidateSecurityProfileBehaviorsResponse
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:validationErrors:ValidateSecurityProfileBehaviorsResponse'
, validateSecurityProfileBehaviorsResponse_validationErrors
- The list of any errors found in the behaviors.
$sel:valid:ValidateSecurityProfileBehaviorsResponse'
, validateSecurityProfileBehaviorsResponse_valid
- True if the behaviors were valid.
$sel:httpStatus:ValidateSecurityProfileBehaviorsResponse'
, validateSecurityProfileBehaviorsResponse_httpStatus
- The response's http status code.
Response Lenses
validateSecurityProfileBehaviorsResponse_validationErrors :: Lens' ValidateSecurityProfileBehaviorsResponse (Maybe [ValidationError]) Source #
The list of any errors found in the behaviors.
validateSecurityProfileBehaviorsResponse_valid :: Lens' ValidateSecurityProfileBehaviorsResponse (Maybe Bool) Source #
True if the behaviors were valid.
validateSecurityProfileBehaviorsResponse_httpStatus :: Lens' ValidateSecurityProfileBehaviorsResponse Int Source #
The response's http status code.