amazonka-inspector2-2.0: Amazon Inspector2 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.Inspector2.Types.Usage

Description

 
Synopsis

Documentation

data Usage Source #

Contains usage information about the cost of Amazon Inspector operation.

See: newUsage smart constructor.

Constructors

Usage' 

Fields

Instances

Instances details
FromJSON Usage Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Usage

Generic Usage Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Usage

Associated Types

type Rep Usage :: Type -> Type #

Methods

from :: Usage -> Rep Usage x #

to :: Rep Usage x -> Usage #

Read Usage Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Usage

Show Usage Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Usage

Methods

showsPrec :: Int -> Usage -> ShowS #

show :: Usage -> String #

showList :: [Usage] -> ShowS #

NFData Usage Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Usage

Methods

rnf :: Usage -> () #

Eq Usage Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Usage

Methods

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

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

Hashable Usage Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Usage

Methods

hashWithSalt :: Int -> Usage -> Int #

hash :: Usage -> Int #

type Rep Usage Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Usage

type Rep Usage = D1 ('MetaData "Usage" "Amazonka.Inspector2.Types.Usage" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "Usage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "currency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Currency)) :*: S1 ('MetaSel ('Just "estimatedMonthlyCost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UsageType)))))

newUsage :: Usage Source #

Create a value of Usage 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:currency:Usage', usage_currency - The currency type used when calculating usage data.

$sel:estimatedMonthlyCost:Usage', usage_estimatedMonthlyCost - The estimated monthly cost of Amazon Inspector.

$sel:total:Usage', usage_total - The total of usage.

$sel:type':Usage', usage_type - The type scan.

usage_currency :: Lens' Usage (Maybe Currency) Source #

The currency type used when calculating usage data.

usage_estimatedMonthlyCost :: Lens' Usage (Maybe Double) Source #

The estimated monthly cost of Amazon Inspector.

usage_total :: Lens' Usage (Maybe Double) Source #

The total of usage.