libZSservicesZSamazonka-fmsZSamazonka-fms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.FMS.Types.ViolationDetail

Description

 
Synopsis

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

Instances details
Eq ViolationDetail Source # 
Instance details

Defined in Amazonka.FMS.Types.ViolationDetail

Read ViolationDetail Source # 
Instance details

Defined in Amazonka.FMS.Types.ViolationDetail

Show ViolationDetail Source # 
Instance details

Defined in Amazonka.FMS.Types.ViolationDetail

Generic ViolationDetail Source # 
Instance details

Defined in Amazonka.FMS.Types.ViolationDetail

Associated Types

type Rep ViolationDetail :: Type -> Type #

NFData ViolationDetail Source # 
Instance details

Defined in Amazonka.FMS.Types.ViolationDetail

Methods

rnf :: ViolationDetail -> () #

Hashable ViolationDetail Source # 
Instance details

Defined in Amazonka.FMS.Types.ViolationDetail

FromJSON ViolationDetail Source # 
Instance details

Defined in Amazonka.FMS.Types.ViolationDetail

type Rep ViolationDetail Source # 
Instance details

Defined in Amazonka.FMS.Types.ViolationDetail

type Rep ViolationDetail = D1 ('MetaData "ViolationDetail" "Amazonka.FMS.Types.ViolationDetail" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "ViolationDetail'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "resourceDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "memberAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceViolations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ResourceViolation])))))

newViolationDetail Source #

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:resourceTags:ViolationDetail', violationDetail_resourceTags - The ResourceTag objects associated with the resource.

$sel:resourceDescription:ViolationDetail', violationDetail_resourceDescription - Brief description for the requested 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_resourceTags :: Lens' ViolationDetail (Maybe [Tag]) Source #

The ResourceTag objects associated with the resource.

violationDetail_resourceDescription :: Lens' ViolationDetail (Maybe Text) Source #

Brief description for the requested 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.