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.Types.PropertyDefinitionRequest

Description

 
Synopsis

Documentation

data PropertyDefinitionRequest Source #

An object that sets information about a property.

See: newPropertyDefinitionRequest smart constructor.

Constructors

PropertyDefinitionRequest' 

Fields

Instances

Instances details
ToJSON PropertyDefinitionRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyDefinitionRequest

Generic PropertyDefinitionRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyDefinitionRequest

Associated Types

type Rep PropertyDefinitionRequest :: Type -> Type #

Read PropertyDefinitionRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyDefinitionRequest

Show PropertyDefinitionRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyDefinitionRequest

NFData PropertyDefinitionRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyDefinitionRequest

Eq PropertyDefinitionRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyDefinitionRequest

Hashable PropertyDefinitionRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyDefinitionRequest

type Rep PropertyDefinitionRequest Source # 
Instance details

Defined in Amazonka.IotTwinMaker.Types.PropertyDefinitionRequest

type Rep PropertyDefinitionRequest = D1 ('MetaData "PropertyDefinitionRequest" "Amazonka.IotTwinMaker.Types.PropertyDefinitionRequest" "amazonka-iottwinmaker-2.0-F9krWmdiZsuIxDlP9hNtjs" 'False) (C1 ('MetaCons "PropertyDefinitionRequest'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "dataType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataType))) :*: (S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataValue)) :*: S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "isExternalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isRequiredInEntity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "isStoredExternally") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "isTimeSeries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newPropertyDefinitionRequest :: PropertyDefinitionRequest Source #

Create a value of PropertyDefinitionRequest 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:configuration:PropertyDefinitionRequest', propertyDefinitionRequest_configuration - A mapping that specifies configuration information about the property. Use this field to specify information that you read from and write to an external source.

$sel:dataType:PropertyDefinitionRequest', propertyDefinitionRequest_dataType - An object that contains information about the data type.

$sel:defaultValue:PropertyDefinitionRequest', propertyDefinitionRequest_defaultValue - An object that contains the default value.

$sel:displayName:PropertyDefinitionRequest', propertyDefinitionRequest_displayName - A friendly name for the property.

$sel:isExternalId:PropertyDefinitionRequest', propertyDefinitionRequest_isExternalId - A Boolean value that specifies whether the property ID comes from an external data store.

$sel:isRequiredInEntity:PropertyDefinitionRequest', propertyDefinitionRequest_isRequiredInEntity - A Boolean value that specifies whether the property is required.

$sel:isStoredExternally:PropertyDefinitionRequest', propertyDefinitionRequest_isStoredExternally - A Boolean value that specifies whether the property is stored externally.

$sel:isTimeSeries:PropertyDefinitionRequest', propertyDefinitionRequest_isTimeSeries - A Boolean value that specifies whether the property consists of time series data.

propertyDefinitionRequest_configuration :: Lens' PropertyDefinitionRequest (Maybe (HashMap Text Text)) Source #

A mapping that specifies configuration information about the property. Use this field to specify information that you read from and write to an external source.

propertyDefinitionRequest_dataType :: Lens' PropertyDefinitionRequest (Maybe DataType) Source #

An object that contains information about the data type.

propertyDefinitionRequest_isExternalId :: Lens' PropertyDefinitionRequest (Maybe Bool) Source #

A Boolean value that specifies whether the property ID comes from an external data store.

propertyDefinitionRequest_isRequiredInEntity :: Lens' PropertyDefinitionRequest (Maybe Bool) Source #

A Boolean value that specifies whether the property is required.

propertyDefinitionRequest_isStoredExternally :: Lens' PropertyDefinitionRequest (Maybe Bool) Source #

A Boolean value that specifies whether the property is stored externally.

propertyDefinitionRequest_isTimeSeries :: Lens' PropertyDefinitionRequest (Maybe Bool) Source #

A Boolean value that specifies whether the property consists of time series data.