libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail
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.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 events to log on a trail. The valid Insights type in this release is ApiCallRateInsight.

Instances

Instances details
Eq InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Read InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Show 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 #

NFData InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

Methods

rnf :: InsightSelector -> () #

Hashable InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

ToJSON InsightSelector Source # 
Instance details

Defined in Amazonka.CloudTrail.Types.InsightSelector

FromJSON 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" "libZSservicesZSamazonka-cloudtrailZSamazonka-cloudtrail" '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 events to log on a trail. The valid Insights type in this release is ApiCallRateInsight.

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

The type of Insights events to log on a trail. The valid Insights type in this release is ApiCallRateInsight.