amazonka-cloudtrail-2.0: Amazon CloudTrail 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.CloudTrail.Types.InsightSelector

Description

 
Synopsis

Documentation

data InsightSelector Source #

A JSON string that contains a list of insight types that are logged on a trail.

See: newInsightSelector smart constructor.

Constructors

InsightSelector' 

Fields

  • insightType :: Maybe InsightType

    The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid insight types.

Instances

Instances details
FromJSON InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

ToJSON InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Generic InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Associated Types

type Rep InsightSelector :: Type -> Type #

Read InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Show InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

NFData InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Methods

rnf :: InsightSelector -> () #

Eq InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Hashable InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

type Rep InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

type Rep InsightSelector = D1 ('MetaData "InsightSelector" "Amazonka.CloudTrail.Types.InsightSelector" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "InsightSelector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insightType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsightType))))

newInsightSelector :: InsightSelector Source #

Create a value of InsightSelector 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:insightType:InsightSelector', insightSelector_insightType - The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid insight types.

insightSelector_insightType :: Lens' InsightSelector (Maybe InsightType) Source #

The type of insights to log on a trail. ApiCallRateInsight and ApiErrorRateInsight are valid insight types.