libZSservicesZSamazonka-configZSamazonka-config
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.Config.Types.GroupedResourceCount

Description

 
Synopsis

Documentation

data GroupedResourceCount Source #

The count of resources that are grouped by the group name.

See: newGroupedResourceCount smart constructor.

Constructors

GroupedResourceCount' 

Fields

  • groupName :: Text

    The name of the group that can be region, account ID, or resource type. For example, region1, region2 if the region was chosen as GroupByKey.

  • resourceCount :: Integer

    The number of resources in the group.

Instances

Instances details
Eq GroupedResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.GroupedResourceCount

Read GroupedResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.GroupedResourceCount

Show GroupedResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.GroupedResourceCount

Generic GroupedResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.GroupedResourceCount

Associated Types

type Rep GroupedResourceCount :: Type -> Type #

NFData GroupedResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.GroupedResourceCount

Methods

rnf :: GroupedResourceCount -> () #

Hashable GroupedResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.GroupedResourceCount

FromJSON GroupedResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.GroupedResourceCount

type Rep GroupedResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.GroupedResourceCount

type Rep GroupedResourceCount = D1 ('MetaData "GroupedResourceCount" "Amazonka.Config.Types.GroupedResourceCount" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "GroupedResourceCount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "groupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))

newGroupedResourceCount Source #

Create a value of GroupedResourceCount 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:groupName:GroupedResourceCount', groupedResourceCount_groupName - The name of the group that can be region, account ID, or resource type. For example, region1, region2 if the region was chosen as GroupByKey.

$sel:resourceCount:GroupedResourceCount', groupedResourceCount_resourceCount - The number of resources in the group.

groupedResourceCount_groupName :: Lens' GroupedResourceCount Text Source #

The name of the group that can be region, account ID, or resource type. For example, region1, region2 if the region was chosen as GroupByKey.