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

Description

 
Synopsis

Documentation

data ResourceCount Source #

An object that contains the resource type and the number of resources.

See: newResourceCount smart constructor.

Constructors

ResourceCount' 

Fields

Instances

Instances details
Eq ResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceCount

Read ResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceCount

Show ResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceCount

Generic ResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceCount

Associated Types

type Rep ResourceCount :: Type -> Type #

NFData ResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceCount

Methods

rnf :: ResourceCount -> () #

Hashable ResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceCount

FromJSON ResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceCount

type Rep ResourceCount Source # 
Instance details

Defined in Amazonka.Config.Types.ResourceCount

type Rep ResourceCount = D1 ('MetaData "ResourceCount" "Amazonka.Config.Types.ResourceCount" "libZSservicesZSamazonka-configZSamazonka-config" 'False) (C1 ('MetaCons "ResourceCount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)) :*: S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newResourceCount :: ResourceCount Source #

Create a value of ResourceCount 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:resourceType:ResourceCount', resourceCount_resourceType - The resource type (for example, "AWS::EC2::Instance").

$sel:count:ResourceCount', resourceCount_count - The number of resources.

resourceCount_resourceType :: Lens' ResourceCount (Maybe ResourceType) Source #

The resource type (for example, "AWS::EC2::Instance").