libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.Types.FindingAction

Description

 
Synopsis

Documentation

data FindingAction Source #

Provides information about an action that occurred for a resource and produced a policy finding.

See: newFindingAction smart constructor.

Constructors

FindingAction' 

Fields

  • apiCallDetails :: Maybe ApiCallDetails

    The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.

  • actionType :: Maybe FindingActionType

    The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.

Instances

Instances details
Eq FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

Read FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

Show FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

Generic FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

Associated Types

type Rep FindingAction :: Type -> Type #

NFData FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

Methods

rnf :: FindingAction -> () #

Hashable FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

FromJSON FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

type Rep FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

type Rep FindingAction = D1 ('MetaData "FindingAction" "Amazonka.MacieV2.Types.FindingAction" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "FindingAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "apiCallDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiCallDetails)) :*: S1 ('MetaSel ('Just "actionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FindingActionType))))

newFindingAction :: FindingAction Source #

Create a value of FindingAction 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:apiCallDetails:FindingAction', findingAction_apiCallDetails - The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.

$sel:actionType:FindingAction', findingAction_actionType - The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.

findingAction_apiCallDetails :: Lens' FindingAction (Maybe ApiCallDetails) Source #

The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.

findingAction_actionType :: Lens' FindingAction (Maybe FindingActionType) Source #

The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.