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

Description

 
Synopsis

Documentation

data Total Source #

Contains the total usage with the corresponding currency unit for that value.

See: newTotal smart constructor.

Constructors

Total' 

Fields

Instances

Instances details
Eq Total Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Total

Methods

(==) :: Total -> Total -> Bool #

(/=) :: Total -> Total -> Bool #

Read Total Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Total

Show Total Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Total

Methods

showsPrec :: Int -> Total -> ShowS #

show :: Total -> String #

showList :: [Total] -> ShowS #

Generic Total Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Total

Associated Types

type Rep Total :: Type -> Type #

Methods

from :: Total -> Rep Total x #

to :: Rep Total x -> Total #

NFData Total Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Total

Methods

rnf :: Total -> () #

Hashable Total Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Total

Methods

hashWithSalt :: Int -> Total -> Int #

hash :: Total -> Int #

FromJSON Total Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Total

type Rep Total Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.Total

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

newTotal :: Total Source #

Create a value of Total 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:amount:Total', total_amount - The total usage.

$sel:unit:Total', total_unit - The currency unit that the amount is given in.

total_amount :: Lens' Total (Maybe Text) Source #

The total usage.

total_unit :: Lens' Total (Maybe Text) Source #

The currency unit that the amount is given in.