amazonka-iottwinmaker-2.0: Amazon IoT TwinMaker 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.IotTwinMaker.GetPropertyValueHistory

Description

Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.

You must specify a value for workspaceId. For entity-specific queries, specify values for componentName and entityId. For cross-entity quries, specify a value for componentTypeId.

Synopsis

Creating a Request

data GetPropertyValueHistory Source #

See: newGetPropertyValueHistory smart constructor.

Constructors

GetPropertyValueHistory' 

Fields

Instances

Instances details
ToJSON GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

ToHeaders GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

ToPath GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

ToQuery GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

AWSRequest GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

Generic GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

Associated Types

type Rep GetPropertyValueHistory :: Type -> Type #

Read GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

Show GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

NFData GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

Methods

rnf :: GetPropertyValueHistory -> () #

Eq GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

Hashable GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

type AWSResponse GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

type Rep GetPropertyValueHistory Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

type Rep GetPropertyValueHistory = D1 ('MetaData "GetPropertyValueHistory" "Amazonka.IotTwinMaker.GetPropertyValueHistory" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "GetPropertyValueHistory'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "componentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "componentTypeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "entityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "interpolation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InterpolationParameters)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))) :*: ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "orderByTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OrderByTime)) :*: S1 ('MetaSel ('Just "propertyFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty PropertyFilter))))) :*: ((S1 ('MetaSel ('Just "startDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "workspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "selectedProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))))

newGetPropertyValueHistory Source #

Create a value of GetPropertyValueHistory 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:

GetPropertyValueHistory, getPropertyValueHistory_componentName - The name of the component.

GetPropertyValueHistory, getPropertyValueHistory_componentTypeId - The ID of the component type.

$sel:endDateTime:GetPropertyValueHistory', getPropertyValueHistory_endDateTime - The date and time of the latest property value to return.

$sel:endTime:GetPropertyValueHistory', getPropertyValueHistory_endTime - The ISO8601 DateTime of the latest property value to return.

For more information about the ISO8601 DateTime format, see the data type PropertyValue.

GetPropertyValueHistory, getPropertyValueHistory_entityId - The ID of the entity.

$sel:interpolation:GetPropertyValueHistory', getPropertyValueHistory_interpolation - An object that specifies the interpolation type and the interval over which to interpolate data.

$sel:maxResults:GetPropertyValueHistory', getPropertyValueHistory_maxResults - The maximum number of results to return at one time. The default is 25.

Valid Range: Minimum value of 1. Maximum value of 250.

GetPropertyValueHistory, getPropertyValueHistory_nextToken - The string that specifies the next page of results.

$sel:orderByTime:GetPropertyValueHistory', getPropertyValueHistory_orderByTime - The time direction to use in the result order.

GetPropertyValueHistory, getPropertyValueHistory_propertyFilters - A list of objects that filter the property value history request.

$sel:startDateTime:GetPropertyValueHistory', getPropertyValueHistory_startDateTime - The date and time of the earliest property value to return.

$sel:startTime:GetPropertyValueHistory', getPropertyValueHistory_startTime - The ISO8601 DateTime of the earliest property value to return.

For more information about the ISO8601 DateTime format, see the data type PropertyValue.

GetPropertyValueHistory, getPropertyValueHistory_workspaceId - The ID of the workspace.

$sel:selectedProperties:GetPropertyValueHistory', getPropertyValueHistory_selectedProperties - A list of properties whose value histories the request retrieves.

Request Lenses

getPropertyValueHistory_endDateTime :: Lens' GetPropertyValueHistory (Maybe UTCTime) Source #

The date and time of the latest property value to return.

getPropertyValueHistory_endTime :: Lens' GetPropertyValueHistory (Maybe Text) Source #

The ISO8601 DateTime of the latest property value to return.

For more information about the ISO8601 DateTime format, see the data type PropertyValue.

getPropertyValueHistory_interpolation :: Lens' GetPropertyValueHistory (Maybe InterpolationParameters) Source #

An object that specifies the interpolation type and the interval over which to interpolate data.

getPropertyValueHistory_maxResults :: Lens' GetPropertyValueHistory (Maybe Natural) Source #

The maximum number of results to return at one time. The default is 25.

Valid Range: Minimum value of 1. Maximum value of 250.

getPropertyValueHistory_nextToken :: Lens' GetPropertyValueHistory (Maybe Text) Source #

The string that specifies the next page of results.

getPropertyValueHistory_propertyFilters :: Lens' GetPropertyValueHistory (Maybe (NonEmpty PropertyFilter)) Source #

A list of objects that filter the property value history request.

getPropertyValueHistory_startDateTime :: Lens' GetPropertyValueHistory (Maybe UTCTime) Source #

The date and time of the earliest property value to return.

getPropertyValueHistory_startTime :: Lens' GetPropertyValueHistory (Maybe Text) Source #

The ISO8601 DateTime of the earliest property value to return.

For more information about the ISO8601 DateTime format, see the data type PropertyValue.

getPropertyValueHistory_selectedProperties :: Lens' GetPropertyValueHistory (NonEmpty Text) Source #

A list of properties whose value histories the request retrieves.

Destructuring the Response

data GetPropertyValueHistoryResponse Source #

See: newGetPropertyValueHistoryResponse smart constructor.

Constructors

GetPropertyValueHistoryResponse' 

Fields

Instances

Instances details
Generic GetPropertyValueHistoryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

Associated Types

type Rep GetPropertyValueHistoryResponse :: Type -> Type #

Read GetPropertyValueHistoryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

Show GetPropertyValueHistoryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

NFData GetPropertyValueHistoryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

Eq GetPropertyValueHistoryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

type Rep GetPropertyValueHistoryResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValueHistory

type Rep GetPropertyValueHistoryResponse = D1 ('MetaData "GetPropertyValueHistoryResponse" "Amazonka.IotTwinMaker.GetPropertyValueHistory" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "GetPropertyValueHistoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "propertyValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PropertyValueHistory]))))

newGetPropertyValueHistoryResponse Source #

Create a value of GetPropertyValueHistoryResponse 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:

GetPropertyValueHistory, getPropertyValueHistoryResponse_nextToken - The string that specifies the next page of results.

$sel:httpStatus:GetPropertyValueHistoryResponse', getPropertyValueHistoryResponse_httpStatus - The response's http status code.

GetPropertyValueHistoryResponse, getPropertyValueHistoryResponse_propertyValues - An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.

Response Lenses

getPropertyValueHistoryResponse_nextToken :: Lens' GetPropertyValueHistoryResponse (Maybe Text) Source #

The string that specifies the next page of results.

getPropertyValueHistoryResponse_propertyValues :: Lens' GetPropertyValueHistoryResponse [PropertyValueHistory] Source #

An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.