libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
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.IoTSiteWise.Types.Resource

Description

 
Synopsis

Documentation

data Resource Source #

Contains an IoT SiteWise Monitor resource ID for a portal or project.

See: newResource smart constructor.

Constructors

Resource' 

Fields

Instances

Instances details
Eq Resource Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Resource

Read Resource Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Resource

Show Resource Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Resource

Generic Resource Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Resource

Associated Types

type Rep Resource :: Type -> Type #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

NFData Resource Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Resource

Methods

rnf :: Resource -> () #

Hashable Resource Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Resource

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

ToJSON Resource Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Resource

FromJSON Resource Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Resource

type Rep Resource Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Resource

type Rep Resource = D1 ('MetaData "Resource" "Amazonka.IoTSiteWise.Types.Resource" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "Resource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "portal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PortalResource)) :*: S1 ('MetaSel ('Just "project") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProjectResource))))

newResource :: Resource Source #

Create a value of Resource 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:portal:Resource', resource_portal - A portal resource.

$sel:project:Resource', resource_project - A project resource.