amazonka-guardduty-2.0: Amazon GuardDuty 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.GuardDuty.Types.UsageResourceResult

Description

 
Synopsis

Documentation

data UsageResourceResult Source #

Contains information on the sum of usage based on an Amazon Web Services resource.

See: newUsageResourceResult smart constructor.

Constructors

UsageResourceResult' 

Fields

  • resource :: Maybe Text

    The Amazon Web Services resource that generated usage.

  • total :: Maybe Total

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

Instances

Instances details
FromJSON 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 #

Read UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

Show UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

NFData UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

Methods

rnf :: UsageResourceResult -> () #

Eq UsageResourceResult Source # 
Instance details

Defined in Amazonka.GuardDuty.Types.UsageResourceResult

Hashable 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" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "UsageResourceResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Total))))

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:resource:UsageResourceResult', usageResourceResult_resource - The Amazon Web Services resource that generated usage.

$sel:total:UsageResourceResult', usageResourceResult_total - Represents the sum total of usage for the specified resource type.

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

The Amazon Web Services resource that generated usage.

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

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