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

Description

 
Synopsis

Documentation

data UsageCriteria Source #

Contains information about the criteria used to query usage statistics.

See: newUsageCriteria smart constructor.

Constructors

UsageCriteria' 

Fields

Instances

Instances details
Eq UsageCriteria Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageCriteria

Read UsageCriteria Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageCriteria

Show UsageCriteria Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageCriteria

Generic UsageCriteria Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageCriteria

Associated Types

type Rep UsageCriteria :: Type -> Type #

NFData UsageCriteria Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageCriteria

Methods

rnf :: UsageCriteria -> () #

Hashable UsageCriteria Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageCriteria

ToJSON UsageCriteria Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageCriteria

type Rep UsageCriteria Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageCriteria

type Rep UsageCriteria = D1 ('MetaData "UsageCriteria" "Amazonka.GuardDuty.Types.UsageCriteria" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UsageCriteria'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "resources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "dataSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DataSource]))))

newUsageCriteria :: UsageCriteria Source #

Create a value of UsageCriteria 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:accountIds:UsageCriteria', usageCriteria_accountIds - The account IDs to aggregate usage statistics from.

$sel:resources:UsageCriteria', usageCriteria_resources - The resources to aggregate usage statistics from. Only accepts exact resource names.

$sel:dataSources:UsageCriteria', usageCriteria_dataSources - The data sources to aggregate usage statistics from.

usageCriteria_accountIds :: Lens' UsageCriteria (Maybe (NonEmpty Text)) Source #

The account IDs to aggregate usage statistics from.

usageCriteria_resources :: Lens' UsageCriteria (Maybe [Text]) Source #

The resources to aggregate usage statistics from. Only accepts exact resource names.

usageCriteria_dataSources :: Lens' UsageCriteria [DataSource] Source #

The data sources to aggregate usage statistics from.