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

Description

 
Synopsis

Documentation

data UsageResourceResult Source #

Contains information on the sum of usage based on an AWS resource.

See: newUsageResourceResult smart constructor.

Constructors

UsageResourceResult' 

Fields

Instances

Instances details
Eq UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

Read UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

Show UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

Generic UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

Associated Types

type Rep UsageResourceResult :: Type -> Type #

NFData UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

Methods

rnf :: UsageResourceResult -> () #

Hashable UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

FromJSON UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

type Rep UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

type Rep UsageResourceResult = D1 ('MetaData "UsageResourceResult" "Amazonka.GuardDuty.Types.UsageResourceResult" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UsageResourceResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Total)) :*: S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newUsageResourceResult :: UsageResourceResult Source #

Create a value of UsageResourceResult 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:total:UsageResourceResult', usageResourceResult_total - Represents the sum total of usage for the specified resource type.

$sel:resource:UsageResourceResult', usageResourceResult_resource - The AWS resource that generated usage.

usageResourceResult_total :: Lens' UsageResourceResult (Maybe Total) Source #

Represents the sum total of usage for the specified resource type.

usageResourceResult_resource :: Lens' UsageResourceResult (Maybe Text) Source #

The AWS resource that generated usage.