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

Description

Gets the property values for a component, component type, entity, or workspace.

You must specify a value for either componentName, componentTypeId, entityId, or workspaceId.

Synopsis

Creating a Request

data GetPropertyValue Source #

See: newGetPropertyValue smart constructor.

Constructors

GetPropertyValue' 

Fields

Instances

Instances details
ToJSON GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

ToHeaders GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

ToPath GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

ToQuery GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

AWSRequest GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

Associated Types

type AWSResponse GetPropertyValue #

Generic GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

Associated Types

type Rep GetPropertyValue :: Type -> Type #

Read GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

Show GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

NFData GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

Methods

rnf :: GetPropertyValue -> () #

Eq GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

Hashable GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

type AWSResponse GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

type Rep GetPropertyValue Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

newGetPropertyValue Source #

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

GetPropertyValue, getPropertyValue_componentName - The name of the component whose property values the operation returns.

GetPropertyValue, getPropertyValue_componentTypeId - The ID of the component type whose property values the operation returns.

GetPropertyValue, getPropertyValue_entityId - The ID of the entity whose property values the operation returns.

$sel:maxResults:GetPropertyValue', getPropertyValue_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.

GetPropertyValue, getPropertyValue_nextToken - The string that specifies the next page of results.

$sel:propertyGroupName:GetPropertyValue', getPropertyValue_propertyGroupName - The property group name.

$sel:tabularConditions:GetPropertyValue', getPropertyValue_tabularConditions - The tabular conditions.

$sel:selectedProperties:GetPropertyValue', getPropertyValue_selectedProperties - The properties whose values the operation returns.

GetPropertyValue, getPropertyValue_workspaceId - The ID of the workspace whose values the operation returns.

Request Lenses

getPropertyValue_componentName :: Lens' GetPropertyValue (Maybe Text) Source #

The name of the component whose property values the operation returns.

getPropertyValue_componentTypeId :: Lens' GetPropertyValue (Maybe Text) Source #

The ID of the component type whose property values the operation returns.

getPropertyValue_entityId :: Lens' GetPropertyValue (Maybe Text) Source #

The ID of the entity whose property values the operation returns.

getPropertyValue_maxResults :: Lens' GetPropertyValue (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.

getPropertyValue_nextToken :: Lens' GetPropertyValue (Maybe Text) Source #

The string that specifies the next page of results.

getPropertyValue_selectedProperties :: Lens' GetPropertyValue (NonEmpty Text) Source #

The properties whose values the operation returns.

getPropertyValue_workspaceId :: Lens' GetPropertyValue Text Source #

The ID of the workspace whose values the operation returns.

Destructuring the Response

data GetPropertyValueResponse Source #

See: newGetPropertyValueResponse smart constructor.

Constructors

GetPropertyValueResponse' 

Fields

Instances

Instances details
Generic GetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

Associated Types

type Rep GetPropertyValueResponse :: Type -> Type #

Read GetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

Show GetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

NFData GetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

Eq GetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

type Rep GetPropertyValueResponse Source # 
Instance details

Defined in Amazonka.IotTwinMaker.GetPropertyValue

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

newGetPropertyValueResponse Source #

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

GetPropertyValue, getPropertyValueResponse_nextToken - The string that specifies the next page of results.

GetPropertyValueResponse, getPropertyValueResponse_propertyValues - An object that maps strings to the properties and latest property values in the response. Each string in the mapping must be unique to this object.

$sel:tabularPropertyValues:GetPropertyValueResponse', getPropertyValueResponse_tabularPropertyValues - A table of property values.

$sel:httpStatus:GetPropertyValueResponse', getPropertyValueResponse_httpStatus - The response's http status code.

Response Lenses

getPropertyValueResponse_nextToken :: Lens' GetPropertyValueResponse (Maybe Text) Source #

The string that specifies the next page of results.

getPropertyValueResponse_propertyValues :: Lens' GetPropertyValueResponse (Maybe (HashMap Text PropertyLatestValue)) Source #

An object that maps strings to the properties and latest property values in the response. Each string in the mapping must be unique to this object.