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

Description

 
Synopsis

Documentation

data Counts Source #

a structure that contains information on the count of resources within a group.

See: newCounts smart constructor.

Constructors

Counts' 

Fields

Instances

Instances details
FromJSON Counts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Counts

Generic Counts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Counts

Associated Types

type Rep Counts :: Type -> Type #

Methods

from :: Counts -> Rep Counts x #

to :: Rep Counts x -> Counts #

Read Counts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Counts

Show Counts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Counts

NFData Counts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Counts

Methods

rnf :: Counts -> () #

Eq Counts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Counts

Methods

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

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

Hashable Counts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Counts

Methods

hashWithSalt :: Int -> Counts -> Int #

hash :: Counts -> Int #

type Rep Counts Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Counts

type Rep Counts = D1 ('MetaData "Counts" "Amazonka.Inspector2.Types.Counts" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "Counts'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "groupKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GroupKey))))

newCounts :: Counts Source #

Create a value of Counts 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:count:Counts', counts_count - The number of resources.

$sel:groupKey:Counts', counts_groupKey - The key associated with this group

counts_count :: Lens' Counts (Maybe Integer) Source #

The number of resources.

counts_groupKey :: Lens' Counts (Maybe GroupKey) Source #

The key associated with this group