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

Description

Gets an asset property's current value. For more information, see Querying current values in the IoT SiteWise User Guide.

To identify an asset property, you must specify one of the following:

  • The assetId and propertyId of an asset property.
  • A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.
Synopsis

Creating a Request

data GetAssetPropertyValue Source #

See: newGetAssetPropertyValue smart constructor.

Constructors

GetAssetPropertyValue' 

Fields

Instances

Instances details
Eq GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

Read GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

Show GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

Generic GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

Associated Types

type Rep GetAssetPropertyValue :: Type -> Type #

NFData GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

Methods

rnf :: GetAssetPropertyValue -> () #

Hashable GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

AWSRequest GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

Associated Types

type AWSResponse GetAssetPropertyValue #

ToHeaders GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

ToPath GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

ToQuery GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

type Rep GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

type Rep GetAssetPropertyValue = D1 ('MetaData "GetAssetPropertyValue" "Amazonka.IoTSiteWise.GetAssetPropertyValue" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "GetAssetPropertyValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "propertyAlias") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "propertyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "assetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse GetAssetPropertyValue Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

newGetAssetPropertyValue :: GetAssetPropertyValue Source #

Create a value of GetAssetPropertyValue 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:propertyAlias:GetAssetPropertyValue', getAssetPropertyValue_propertyAlias - The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

$sel:propertyId:GetAssetPropertyValue', getAssetPropertyValue_propertyId - The ID of the asset property.

$sel:assetId:GetAssetPropertyValue', getAssetPropertyValue_assetId - The ID of the asset.

Request Lenses

getAssetPropertyValue_propertyAlias :: Lens' GetAssetPropertyValue (Maybe Text) Source #

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

Destructuring the Response

data GetAssetPropertyValueResponse Source #

See: newGetAssetPropertyValueResponse smart constructor.

Constructors

GetAssetPropertyValueResponse' 

Fields

Instances

Instances details
Eq GetAssetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

Read GetAssetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

Show GetAssetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

Generic GetAssetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

Associated Types

type Rep GetAssetPropertyValueResponse :: Type -> Type #

NFData GetAssetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

type Rep GetAssetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IoTSiteWise.GetAssetPropertyValue

type Rep GetAssetPropertyValueResponse = D1 ('MetaData "GetAssetPropertyValueResponse" "Amazonka.IoTSiteWise.GetAssetPropertyValue" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "GetAssetPropertyValueResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "propertyValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssetPropertyValue)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetAssetPropertyValueResponse Source #

Create a value of GetAssetPropertyValueResponse 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:propertyValue:GetAssetPropertyValueResponse', getAssetPropertyValueResponse_propertyValue - The current asset property value.

$sel:httpStatus:GetAssetPropertyValueResponse', getAssetPropertyValueResponse_httpStatus - The response's http status code.

Response Lenses