amazonka-maciev2-2.0: Amazon Macie 2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • 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.

  • 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.

Instances

Instances details
FromJSON 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 #

Read FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

Show FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

NFData FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

Methods

rnf :: FindingAction -> () #

Eq FindingAction Source # 
Instance details

Defined in Amazonka.MacieV2.Types.FindingAction

Hashable 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" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "FindingAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "actionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FindingActionType)) :*: S1 ('MetaSel ('Just "apiCallDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiCallDetails))))

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: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.

$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.

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.

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.