| 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 |
Amazonka.FMS.Types.ViolationDetail
Description
Synopsis
- data ViolationDetail = ViolationDetail' {}
- newViolationDetail :: Text -> Text -> Text -> Text -> ViolationDetail
- violationDetail_resourceDescription :: Lens' ViolationDetail (Maybe Text)
- violationDetail_resourceTags :: Lens' ViolationDetail (Maybe [Tag])
- violationDetail_policyId :: Lens' ViolationDetail Text
- violationDetail_memberAccount :: Lens' ViolationDetail Text
- violationDetail_resourceId :: Lens' ViolationDetail Text
- violationDetail_resourceType :: Lens' ViolationDetail Text
- violationDetail_resourceViolations :: Lens' ViolationDetail [ResourceViolation]
Documentation
data ViolationDetail Source #
Violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.
See: newViolationDetail smart constructor.
Constructors
| ViolationDetail' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> ViolationDetail |
Create a value of ViolationDetail 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:resourceDescription:ViolationDetail', violationDetail_resourceDescription - Brief description for the requested resource.
$sel:resourceTags:ViolationDetail', violationDetail_resourceTags - The ResourceTag objects associated with the resource.
$sel:policyId:ViolationDetail', violationDetail_policyId - The ID of the Firewall Manager policy that the violation details were
requested for.
$sel:memberAccount:ViolationDetail', violationDetail_memberAccount - The Amazon Web Services account that the violation details were
requested for.
$sel:resourceId:ViolationDetail', violationDetail_resourceId - The resource ID that the violation details were requested for.
$sel:resourceType:ViolationDetail', violationDetail_resourceType - The resource type that the violation details were requested for.
$sel:resourceViolations:ViolationDetail', violationDetail_resourceViolations - List of violations for the requested resource.
violationDetail_resourceDescription :: Lens' ViolationDetail (Maybe Text) Source #
Brief description for the requested resource.
violationDetail_resourceTags :: Lens' ViolationDetail (Maybe [Tag]) Source #
The ResourceTag objects associated with the resource.
violationDetail_policyId :: Lens' ViolationDetail Text Source #
The ID of the Firewall Manager policy that the violation details were requested for.
violationDetail_memberAccount :: Lens' ViolationDetail Text Source #
The Amazon Web Services account that the violation details were requested for.
violationDetail_resourceId :: Lens' ViolationDetail Text Source #
The resource ID that the violation details were requested for.
violationDetail_resourceType :: Lens' ViolationDetail Text Source #
The resource type that the violation details were requested for.
violationDetail_resourceViolations :: Lens' ViolationDetail [ResourceViolation] Source #
List of violations for the requested resource.