libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.GuardDuty.Types.Action

Description

 
Synopsis

Documentation

data Action Source #

Contains information about actions.

See: newAction smart constructor.

Constructors

Action' 

Fields

Instances

Instances details
Eq Action Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Action

Methods

(==) :: Action -> Action -> Bool #

(/=) :: Action -> Action -> Bool #

Read Action Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Action

Show Action Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Action

Generic Action Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Action

Associated Types

type Rep Action :: Type -> Type #

Methods

from :: Action -> Rep Action x #

to :: Rep Action x -> Action #

NFData Action Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Action

Methods

rnf :: Action -> () #

Hashable Action Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Action

Methods

hashWithSalt :: Int -> Action -> Int #

hash :: Action -> Int #

FromJSON Action Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Action

type Rep Action Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Action

type Rep Action = D1 ('MetaData "Action" "Amazonka.GuardDuty.Types.Action" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "Action'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "networkConnectionAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkConnectionAction)) :*: S1 ('MetaSel ('Just "portProbeAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PortProbeAction))) :*: (S1 ('MetaSel ('Just "actionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dnsRequestAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DnsRequestAction)) :*: S1 ('MetaSel ('Just "awsApiCallAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsApiCallAction))))))

newAction :: Action Source #

Create a value of Action 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:networkConnectionAction:Action', action_networkConnectionAction - Information about the NETWORK_CONNECTION action described in this finding.

$sel:portProbeAction:Action', action_portProbeAction - Information about the PORT_PROBE action described in this finding.

$sel:actionType:Action', action_actionType - The GuardDuty finding activity type.

$sel:dnsRequestAction:Action', action_dnsRequestAction - Information about the DNS_REQUEST action described in this finding.

$sel:awsApiCallAction:Action', action_awsApiCallAction - Information about the AWS_API_CALL action described in this finding.

action_networkConnectionAction :: Lens' Action (Maybe NetworkConnectionAction) Source #

Information about the NETWORK_CONNECTION action described in this finding.

action_portProbeAction :: Lens' Action (Maybe PortProbeAction) Source #

Information about the PORT_PROBE action described in this finding.

action_actionType :: Lens' Action (Maybe Text) Source #

The GuardDuty finding activity type.

action_dnsRequestAction :: Lens' Action (Maybe DnsRequestAction) Source #

Information about the DNS_REQUEST action described in this finding.

action_awsApiCallAction :: Lens' Action (Maybe AwsApiCallAction) Source #

Information about the AWS_API_CALL action described in this finding.