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

Description

 
Synopsis

Documentation

data UsageTotal Source #

The total of usage for an account ID.

See: newUsageTotal smart constructor.

Constructors

UsageTotal' 

Fields

Instances

Instances details
FromJSON UsageTotal Source # 
Instance details

Defined in Amazonka.Inspector2.Types.UsageTotal

Generic UsageTotal Source # 
Instance details

Defined in Amazonka.Inspector2.Types.UsageTotal

Associated Types

type Rep UsageTotal :: Type -> Type #

Read UsageTotal Source # 
Instance details

Defined in Amazonka.Inspector2.Types.UsageTotal

Show UsageTotal Source # 
Instance details

Defined in Amazonka.Inspector2.Types.UsageTotal

NFData UsageTotal Source # 
Instance details

Defined in Amazonka.Inspector2.Types.UsageTotal

Methods

rnf :: UsageTotal -> () #

Eq UsageTotal Source # 
Instance details

Defined in Amazonka.Inspector2.Types.UsageTotal

Hashable UsageTotal Source # 
Instance details

Defined in Amazonka.Inspector2.Types.UsageTotal

type Rep UsageTotal Source # 
Instance details

Defined in Amazonka.Inspector2.Types.UsageTotal

type Rep UsageTotal = D1 ('MetaData "UsageTotal" "Amazonka.Inspector2.Types.UsageTotal" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "UsageTotal'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "usage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Usage]))))

newUsageTotal :: UsageTotal Source #

Create a value of UsageTotal 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:accountId:UsageTotal', usageTotal_accountId - The account ID of the account that usage data was retrieved for.

$sel:usage:UsageTotal', usageTotal_usage - An object representing the total usage for an account.

usageTotal_accountId :: Lens' UsageTotal (Maybe Text) Source #

The account ID of the account that usage data was retrieved for.

usageTotal_usage :: Lens' UsageTotal (Maybe [Usage]) Source #

An object representing the total usage for an account.