2022/11/16 - AWS IoT TwinMaker - 3 new 7 updated api methods
Changes This release adds the following: 1) ExecuteQuery API allows users to query their AWS IoT TwinMaker Knowledge Graph 2) Pricing plan APIs allow users to configure and manage their pricing mode 3) Support for property groups and tabular property values in existing AWS IoT TwinMaker APIs.
Gets the pricing plan.
See also: AWS API Documentation
Request Syntax
client.get_pricing_plan()
dict
Response Syntax
{ 'currentPricingPlan': { 'billableEntityCount': 123, 'bundleInformation': { 'bundleNames': [ 'string', ], 'pricingTier': 'TIER_1'|'TIER_2'|'TIER_3'|'TIER_4' }, 'effectiveDateTime': datetime(2015, 1, 1), 'pricingMode': 'BASIC'|'STANDARD'|'TIERED_BUNDLE', 'updateDateTime': datetime(2015, 1, 1), 'updateReason': 'DEFAULT'|'PRICING_TIER_UPDATE'|'ENTITY_COUNT_UPDATE'|'PRICING_MODE_UPDATE'|'OVERWRITTEN' }, 'pendingPricingPlan': { 'billableEntityCount': 123, 'bundleInformation': { 'bundleNames': [ 'string', ], 'pricingTier': 'TIER_1'|'TIER_2'|'TIER_3'|'TIER_4' }, 'effectiveDateTime': datetime(2015, 1, 1), 'pricingMode': 'BASIC'|'STANDARD'|'TIERED_BUNDLE', 'updateDateTime': datetime(2015, 1, 1), 'updateReason': 'DEFAULT'|'PRICING_TIER_UPDATE'|'ENTITY_COUNT_UPDATE'|'PRICING_MODE_UPDATE'|'OVERWRITTEN' } }
Response Structure
(dict) --
currentPricingPlan (dict) --
The chosen pricing plan for the current billing cycle.
billableEntityCount (integer) --
The billable entity count.
bundleInformation (dict) --
The pricing plan's bundle information.
bundleNames (list) --
The bundle names.
(string) --
pricingTier (string) --
The pricing tier.
effectiveDateTime (datetime) --
The effective date and time of the pricing plan.
pricingMode (string) --
The pricing mode.
updateDateTime (datetime) --
The set date and time for updating a pricing plan.
updateReason (string) --
The update reason, for changing a pricing plan.
pendingPricingPlan (dict) --
The pending pricing plan.
billableEntityCount (integer) --
The billable entity count.
bundleInformation (dict) --
The pricing plan's bundle information.
bundleNames (list) --
The bundle names.
(string) --
pricingTier (string) --
The pricing tier.
effectiveDateTime (datetime) --
The effective date and time of the pricing plan.
pricingMode (string) --
The pricing mode.
updateDateTime (datetime) --
The set date and time for updating a pricing plan.
updateReason (string) --
The update reason, for changing a pricing plan.
Run queries to access information from your knowledge graph of entities within individual workspaces.
See also: AWS API Documentation
Request Syntax
client.execute_query( workspaceId='string', queryStatement='string', maxResults=123, nextToken='string' )
string
[REQUIRED]
The ID of the workspace.
string
[REQUIRED]
The query statement.
integer
The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
string
The string that specifies the next page of results.
dict
Response Syntax
{ 'columnDescriptions': [ { 'name': 'string', 'type': 'NODE'|'EDGE'|'VALUE' }, ], 'rows': [ { 'rowData': [ {}, ] }, ], 'nextToken': 'string' }
Response Structure
(dict) --
columnDescriptions (list) --
A list of ColumnDescription objects.
(dict) --
A description of the column in the query results.
name (string) --
The name of the column description.
type (string) --
The type of the column description.
rows (list) --
Represents a single row in the query results.
(dict) --
Represents a single row in the query results.
rowData (list) --
The data in a row of query results.
(dict) --
nextToken (string) --
The string that specifies the next page of results.
Update the pricing plan.
See also: AWS API Documentation
Request Syntax
client.update_pricing_plan( pricingMode='BASIC'|'STANDARD'|'TIERED_BUNDLE', bundleNames=[ 'string', ] )
string
[REQUIRED]
The pricing mode.
list
The bundle names.
(string) --
dict
Response Syntax
{ 'currentPricingPlan': { 'billableEntityCount': 123, 'bundleInformation': { 'bundleNames': [ 'string', ], 'pricingTier': 'TIER_1'|'TIER_2'|'TIER_3'|'TIER_4' }, 'effectiveDateTime': datetime(2015, 1, 1), 'pricingMode': 'BASIC'|'STANDARD'|'TIERED_BUNDLE', 'updateDateTime': datetime(2015, 1, 1), 'updateReason': 'DEFAULT'|'PRICING_TIER_UPDATE'|'ENTITY_COUNT_UPDATE'|'PRICING_MODE_UPDATE'|'OVERWRITTEN' }, 'pendingPricingPlan': { 'billableEntityCount': 123, 'bundleInformation': { 'bundleNames': [ 'string', ], 'pricingTier': 'TIER_1'|'TIER_2'|'TIER_3'|'TIER_4' }, 'effectiveDateTime': datetime(2015, 1, 1), 'pricingMode': 'BASIC'|'STANDARD'|'TIERED_BUNDLE', 'updateDateTime': datetime(2015, 1, 1), 'updateReason': 'DEFAULT'|'PRICING_TIER_UPDATE'|'ENTITY_COUNT_UPDATE'|'PRICING_MODE_UPDATE'|'OVERWRITTEN' } }
Response Structure
(dict) --
currentPricingPlan (dict) --
Update the current pricing plan.
billableEntityCount (integer) --
The billable entity count.
bundleInformation (dict) --
The pricing plan's bundle information.
bundleNames (list) --
The bundle names.
(string) --
pricingTier (string) --
The pricing tier.
effectiveDateTime (datetime) --
The effective date and time of the pricing plan.
pricingMode (string) --
The pricing mode.
updateDateTime (datetime) --
The set date and time for updating a pricing plan.
updateReason (string) --
The update reason, for changing a pricing plan.
pendingPricingPlan (dict) --
Update the pending pricing plan.
billableEntityCount (integer) --
The billable entity count.
bundleInformation (dict) --
The pricing plan's bundle information.
bundleNames (list) --
The bundle names.
(string) --
pricingTier (string) --
The pricing tier.
effectiveDateTime (datetime) --
The effective date and time of the pricing plan.
pricingMode (string) --
The pricing mode.
updateDateTime (datetime) --
The set date and time for updating a pricing plan.
updateReason (string) --
The update reason, for changing a pricing plan.
{'propertyGroups': {'string': {'groupType': 'TABULAR', 'propertyNames': ['string']}}}
Creates a component type.
See also: AWS API Documentation
Request Syntax
client.create_component_type( workspaceId='string', isSingleton=True|False, componentTypeId='string', description='string', propertyDefinitions={ 'string': { 'dataType': { 'type': 'RELATIONSHIP'|'STRING'|'LONG'|'BOOLEAN'|'INTEGER'|'DOUBLE'|'LIST'|'MAP', 'nestedType': {'... recursive ...'}, 'allowedValues': [ { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': {'... recursive ...'}, 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, ], 'unitOfMeasure': 'string', 'relationship': { 'targetComponentTypeId': 'string', 'relationshipType': 'string' } }, 'isRequiredInEntity': True|False, 'isExternalId': True|False, 'isStoredExternally': True|False, 'isTimeSeries': True|False, 'defaultValue': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, 'configuration': { 'string': 'string' } } }, extendsFrom=[ 'string', ], functions={ 'string': { 'requiredProperties': [ 'string', ], 'scope': 'ENTITY'|'WORKSPACE', 'implementedBy': { 'lambda': { 'arn': 'string' }, 'isNative': True|False } } }, tags={ 'string': 'string' }, propertyGroups={ 'string': { 'groupType': 'TABULAR', 'propertyNames': [ 'string', ] } } )
string
[REQUIRED]
The ID of the workspace that contains the component type.
boolean
A Boolean value that specifies whether an entity can have more than one component of this type.
string
[REQUIRED]
The ID of the component type.
string
The description of the component type.
dict
An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
(string) --
(dict) --
An object that sets information about a property.
dataType (dict) --
An object that contains information about the data type.
type (string) -- [REQUIRED]
The underlying type of the data type.
nestedType (dict) --
The nested type in the data type.
allowedValues (list) --
The allowed values for this data type.
(dict) --
An object that specifies a value for a property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
unitOfMeasure (string) --
The unit of measure used in this data type.
relationship (dict) --
A relationship that associates a component with another component.
targetComponentTypeId (string) --
The ID of the target component type associated with this relationship.
relationshipType (string) --
The type of the relationship.
isRequiredInEntity (boolean) --
A Boolean value that specifies whether the property is required.
isExternalId (boolean) --
A Boolean value that specifies whether the property ID comes from an external data store.
isStoredExternally (boolean) --
A Boolean value that specifies whether the property is stored externally.
isTimeSeries (boolean) --
A Boolean value that specifies whether the property consists of time series data.
defaultValue (dict) --
An object that contains the default value.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
configuration (dict) --
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.
(string) --
(string) --
list
Specifies the parent component type to extend.
(string) --
dict
An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
(string) --
(dict) --
The function request body.
requiredProperties (list) --
The required properties of the function.
(string) --
scope (string) --
The scope of the function.
implementedBy (dict) --
The data connector.
lambda (dict) --
The Lambda function associated with this data connector.
arn (string) -- [REQUIRED]
The ARN of the Lambda function.
isNative (boolean) --
A Boolean value that specifies whether the data connector is native to IoT TwinMaker.
dict
Metadata that you can use to manage the component type.
(string) --
(string) --
dict
(string) --
(dict) --
groupType (string) --
The group type.
propertyNames (list) --
The names of properties.
(string) --
dict
Response Syntax
{ 'arn': 'string', 'creationDateTime': datetime(2015, 1, 1), 'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'ERROR' }
Response Structure
(dict) --
arn (string) --
The ARN of the component type.
creationDateTime (datetime) --
The date and time when the entity was created.
state (string) --
The current state of the component type.
{'components': {'propertyGroups': {'string': {'groupType': 'TABULAR', 'propertyNames': ['string'], 'updateType': 'UPDATE | DELETE | ' 'CREATE'}}}}
Creates an entity.
See also: AWS API Documentation
Request Syntax
client.create_entity( workspaceId='string', entityId='string', entityName='string', description='string', components={ 'string': { 'description': 'string', 'componentTypeId': 'string', 'properties': { 'string': { 'definition': { 'dataType': { 'type': 'RELATIONSHIP'|'STRING'|'LONG'|'BOOLEAN'|'INTEGER'|'DOUBLE'|'LIST'|'MAP', 'nestedType': {'... recursive ...'}, 'allowedValues': [ { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': {'... recursive ...'}, 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, ], 'unitOfMeasure': 'string', 'relationship': { 'targetComponentTypeId': 'string', 'relationshipType': 'string' } }, 'isRequiredInEntity': True|False, 'isExternalId': True|False, 'isStoredExternally': True|False, 'isTimeSeries': True|False, 'defaultValue': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, 'configuration': { 'string': 'string' } }, 'value': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, 'updateType': 'UPDATE'|'DELETE'|'CREATE' } }, 'propertyGroups': { 'string': { 'groupType': 'TABULAR', 'propertyNames': [ 'string', ], 'updateType': 'UPDATE'|'DELETE'|'CREATE' } } } }, parentEntityId='string', tags={ 'string': 'string' } )
string
[REQUIRED]
The ID of the workspace that contains the entity.
string
The ID of the entity.
string
[REQUIRED]
The name of the entity.
string
The description of the entity.
dict
An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
(string) --
(dict) --
An object that sets information about a component type create or update request.
description (string) --
The description of the component request.
componentTypeId (string) --
The ID of the component type.
properties (dict) --
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
(string) --
(dict) --
An object that sets information about a property.
definition (dict) --
An object that specifies information about a property.
dataType (dict) --
An object that contains information about the data type.
type (string) -- [REQUIRED]
The underlying type of the data type.
nestedType (dict) --
The nested type in the data type.
allowedValues (list) --
The allowed values for this data type.
(dict) --
An object that specifies a value for a property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
unitOfMeasure (string) --
The unit of measure used in this data type.
relationship (dict) --
A relationship that associates a component with another component.
targetComponentTypeId (string) --
The ID of the target component type associated with this relationship.
relationshipType (string) --
The type of the relationship.
isRequiredInEntity (boolean) --
A Boolean value that specifies whether the property is required.
isExternalId (boolean) --
A Boolean value that specifies whether the property ID comes from an external data store.
isStoredExternally (boolean) --
A Boolean value that specifies whether the property is stored externally.
isTimeSeries (boolean) --
A Boolean value that specifies whether the property consists of time series data.
defaultValue (dict) --
An object that contains the default value.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
configuration (dict) --
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.
(string) --
(string) --
value (dict) --
The value of the property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
updateType (string) --
The update type of the update property request.
propertyGroups (dict) --
The property groups.
(string) --
(dict) --
groupType (string) --
The group type.
propertyNames (list) --
The property names.
(string) --
updateType (string) --
The update type.
string
The ID of the entity's parent entity.
dict
Metadata that you can use to manage the entity.
(string) --
(string) --
dict
Response Syntax
{ 'entityId': 'string', 'arn': 'string', 'creationDateTime': datetime(2015, 1, 1), 'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'ERROR' }
Response Structure
(dict) --
entityId (string) --
The ID of the entity.
arn (string) --
The ARN of the entity.
creationDateTime (datetime) --
The date and time when the entity was created.
state (string) --
The current state of the entity.
{'propertyGroups': {'string': {'groupType': 'TABULAR', 'isInherited': 'boolean', 'propertyNames': ['string']}}}
Retrieves information about a component type.
See also: AWS API Documentation
Request Syntax
client.get_component_type( workspaceId='string', componentTypeId='string' )
string
[REQUIRED]
The ID of the workspace that contains the component type.
string
[REQUIRED]
The ID of the component type.
dict
Response Syntax
{ 'workspaceId': 'string', 'isSingleton': True|False, 'componentTypeId': 'string', 'description': 'string', 'propertyDefinitions': { 'string': { 'dataType': { 'type': 'RELATIONSHIP'|'STRING'|'LONG'|'BOOLEAN'|'INTEGER'|'DOUBLE'|'LIST'|'MAP', 'nestedType': {'... recursive ...'}, 'allowedValues': [ { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': {'... recursive ...'}, 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, ], 'unitOfMeasure': 'string', 'relationship': { 'targetComponentTypeId': 'string', 'relationshipType': 'string' } }, 'isTimeSeries': True|False, 'isRequiredInEntity': True|False, 'isExternalId': True|False, 'isStoredExternally': True|False, 'isImported': True|False, 'isFinal': True|False, 'isInherited': True|False, 'defaultValue': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, 'configuration': { 'string': 'string' } } }, 'extendsFrom': [ 'string', ], 'functions': { 'string': { 'requiredProperties': [ 'string', ], 'scope': 'ENTITY'|'WORKSPACE', 'implementedBy': { 'lambda': { 'arn': 'string' }, 'isNative': True|False }, 'isInherited': True|False } }, 'creationDateTime': datetime(2015, 1, 1), 'updateDateTime': datetime(2015, 1, 1), 'arn': 'string', 'isAbstract': True|False, 'isSchemaInitialized': True|False, 'status': { 'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'ERROR', 'error': { 'code': 'VALIDATION_ERROR'|'INTERNAL_FAILURE', 'message': 'string' } }, 'propertyGroups': { 'string': { 'groupType': 'TABULAR', 'propertyNames': [ 'string', ], 'isInherited': True|False } } }
Response Structure
(dict) --
workspaceId (string) --
The ID of the workspace that contains the component type.
isSingleton (boolean) --
A Boolean value that specifies whether an entity can have more than one component of this type.
componentTypeId (string) --
The ID of the component type.
description (string) --
The description of the component type.
propertyDefinitions (dict) --
An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
(string) --
(dict) --
An object that contains response data from a property definition request.
dataType (dict) --
An object that contains information about the data type.
type (string) --
The underlying type of the data type.
nestedType (dict) --
The nested type in the data type.
allowedValues (list) --
The allowed values for this data type.
(dict) --
An object that specifies a value for a property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
unitOfMeasure (string) --
The unit of measure used in this data type.
relationship (dict) --
A relationship that associates a component with another component.
targetComponentTypeId (string) --
The ID of the target component type associated with this relationship.
relationshipType (string) --
The type of the relationship.
isTimeSeries (boolean) --
A Boolean value that specifies whether the property consists of time series data.
isRequiredInEntity (boolean) --
A Boolean value that specifies whether the property is required in an entity.
isExternalId (boolean) --
A Boolean value that specifies whether the property ID comes from an external data store.
isStoredExternally (boolean) --
A Boolean value that specifies whether the property is stored externally.
isImported (boolean) --
A Boolean value that specifies whether the property definition is imported from an external data store.
isFinal (boolean) --
A Boolean value that specifies whether the property definition can be updated.
isInherited (boolean) --
A Boolean value that specifies whether the property definition is inherited from a parent entity.
defaultValue (dict) --
An object that contains the default value.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
configuration (dict) --
A mapping that specifies configuration information about the property.
(string) --
(string) --
extendsFrom (list) --
The name of the parent component type that this component type extends.
(string) --
functions (dict) --
An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
(string) --
(dict) --
The function response.
requiredProperties (list) --
The required properties of the function.
(string) --
scope (string) --
The scope of the function.
implementedBy (dict) --
The data connector.
lambda (dict) --
The Lambda function associated with this data connector.
arn (string) --
The ARN of the Lambda function.
isNative (boolean) --
A Boolean value that specifies whether the data connector is native to IoT TwinMaker.
isInherited (boolean) --
Indicates whether this function is inherited.
creationDateTime (datetime) --
The date and time when the component type was created.
updateDateTime (datetime) --
The date and time when the component was last updated.
arn (string) --
The ARN of the component type.
isAbstract (boolean) --
A Boolean value that specifies whether the component type is abstract.
isSchemaInitialized (boolean) --
A Boolean value that specifies whether the component type has a schema initializer and that the schema initializer has run.
status (dict) --
The current status of the component type.
state (string) --
The current state of the entity, component, component type, or workspace.
error (dict) --
The error message.
code (string) --
The error code.
message (string) --
The error message.
propertyGroups (dict) --
The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
(string) --
(dict) --
The property group response
groupType (string) --
The group types.
propertyNames (list) --
The names of properties.
(string) --
isInherited (boolean) --
A Boolean value that specifies whether the property group is inherited from a parent entity
{'components': {'propertyGroups': {'string': {'groupType': 'TABULAR', 'isInherited': 'boolean', 'propertyNames': ['string']}}}}
Retrieves information about an entity.
See also: AWS API Documentation
Request Syntax
client.get_entity( workspaceId='string', entityId='string' )
string
[REQUIRED]
The ID of the workspace.
string
[REQUIRED]
The ID of the entity.
dict
Response Syntax
{ 'entityId': 'string', 'entityName': 'string', 'arn': 'string', 'status': { 'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'ERROR', 'error': { 'code': 'VALIDATION_ERROR'|'INTERNAL_FAILURE', 'message': 'string' } }, 'workspaceId': 'string', 'description': 'string', 'components': { 'string': { 'componentName': 'string', 'description': 'string', 'componentTypeId': 'string', 'status': { 'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'ERROR', 'error': { 'code': 'VALIDATION_ERROR'|'INTERNAL_FAILURE', 'message': 'string' } }, 'definedIn': 'string', 'properties': { 'string': { 'definition': { 'dataType': { 'type': 'RELATIONSHIP'|'STRING'|'LONG'|'BOOLEAN'|'INTEGER'|'DOUBLE'|'LIST'|'MAP', 'nestedType': {'... recursive ...'}, 'allowedValues': [ { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': {'... recursive ...'}, 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, ], 'unitOfMeasure': 'string', 'relationship': { 'targetComponentTypeId': 'string', 'relationshipType': 'string' } }, 'isTimeSeries': True|False, 'isRequiredInEntity': True|False, 'isExternalId': True|False, 'isStoredExternally': True|False, 'isImported': True|False, 'isFinal': True|False, 'isInherited': True|False, 'defaultValue': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, 'configuration': { 'string': 'string' } }, 'value': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' } } }, 'propertyGroups': { 'string': { 'groupType': 'TABULAR', 'propertyNames': [ 'string', ], 'isInherited': True|False } } } }, 'parentEntityId': 'string', 'hasChildEntities': True|False, 'creationDateTime': datetime(2015, 1, 1), 'updateDateTime': datetime(2015, 1, 1) }
Response Structure
(dict) --
entityId (string) --
The ID of the entity.
entityName (string) --
The name of the entity.
arn (string) --
The ARN of the entity.
status (dict) --
The current status of the entity.
state (string) --
The current state of the entity, component, component type, or workspace.
error (dict) --
The error message.
code (string) --
The error code.
message (string) --
The error message.
workspaceId (string) --
The ID of the workspace.
description (string) --
The description of the entity.
components (dict) --
An object that maps strings to the components in the entity. Each string in the mapping must be unique to this object.
(string) --
(dict) --
An object that returns information about a component type create or update request.
componentName (string) --
The name of the component.
description (string) --
The description of the component type.
componentTypeId (string) --
The ID of the component type.
status (dict) --
The status of the component type.
state (string) --
The current state of the entity, component, component type, or workspace.
error (dict) --
The error message.
code (string) --
The error code.
message (string) --
The error message.
definedIn (string) --
The name of the property definition set in the request.
properties (dict) --
An object that maps strings to the properties to set in the component type. Each string in the mapping must be unique to this object.
(string) --
(dict) --
An object that contains information about a property response.
definition (dict) --
An object that specifies information about a property.
dataType (dict) --
An object that contains information about the data type.
type (string) --
The underlying type of the data type.
nestedType (dict) --
The nested type in the data type.
allowedValues (list) --
The allowed values for this data type.
(dict) --
An object that specifies a value for a property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
unitOfMeasure (string) --
The unit of measure used in this data type.
relationship (dict) --
A relationship that associates a component with another component.
targetComponentTypeId (string) --
The ID of the target component type associated with this relationship.
relationshipType (string) --
The type of the relationship.
isTimeSeries (boolean) --
A Boolean value that specifies whether the property consists of time series data.
isRequiredInEntity (boolean) --
A Boolean value that specifies whether the property is required in an entity.
isExternalId (boolean) --
A Boolean value that specifies whether the property ID comes from an external data store.
isStoredExternally (boolean) --
A Boolean value that specifies whether the property is stored externally.
isImported (boolean) --
A Boolean value that specifies whether the property definition is imported from an external data store.
isFinal (boolean) --
A Boolean value that specifies whether the property definition can be updated.
isInherited (boolean) --
A Boolean value that specifies whether the property definition is inherited from a parent entity.
defaultValue (dict) --
An object that contains the default value.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
configuration (dict) --
A mapping that specifies configuration information about the property.
(string) --
(string) --
value (dict) --
The value of the property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
propertyGroups (dict) --
The property groups.
(string) --
(dict) --
The component property group response.
groupType (string) --
The group type.
propertyNames (list) --
The names of properties
(string) --
isInherited (boolean) --
A Boolean value that specifies whether the property group is inherited from a parent entity
parentEntityId (string) --
The ID of the parent entity for this entity.
hasChildEntities (boolean) --
A Boolean value that specifies whether the entity has associated child entities.
creationDateTime (datetime) --
The date and time when the entity was created.
updateDateTime (datetime) --
The date and time when the entity was last updated.
{'maxResults': 'integer', 'nextToken': 'string', 'propertyGroupName': 'string', 'tabularConditions': {'orderBy': [{'order': 'ASCENDING | DESCENDING', 'propertyName': 'string'}], 'propertyFilters': [{'operator': 'string', 'propertyName': 'string', 'value': {'booleanValue': 'boolean', 'doubleValue': 'double', 'expression': 'string', 'integerValue': 'integer', 'listValue': [()], 'longValue': 'long', 'mapValue': {'string': ()}, 'relationshipValue': {'targetComponentName': 'string', 'targetEntityId': 'string'}, 'stringValue': 'string'}}]}}Response
{'nextToken': 'string', 'tabularPropertyValues': [[{'string': {'booleanValue': 'boolean', 'doubleValue': 'double', 'expression': 'string', 'integerValue': 'integer', 'listValue': [()], 'longValue': 'long', 'mapValue': {'string': ()}, 'relationshipValue': {'targetComponentName': 'string', 'targetEntityId': 'string'}, 'stringValue': 'string'}}]]}
Gets the property values for a component, component type, entity, or workspace.
You must specify a value for either componentName , componentTypeId , entityId , or workspaceId .
See also: AWS API Documentation
Request Syntax
client.get_property_value( componentName='string', componentTypeId='string', entityId='string', selectedProperties=[ 'string', ], workspaceId='string', maxResults=123, nextToken='string', propertyGroupName='string', tabularConditions={ 'orderBy': [ { 'order': 'ASCENDING'|'DESCENDING', 'propertyName': 'string' }, ], 'propertyFilters': [ { 'propertyName': 'string', 'operator': 'string', 'value': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' } }, ] } )
string
The name of the component whose property values the operation returns.
string
The ID of the component type whose property values the operation returns.
string
The ID of the entity whose property values the operation returns.
list
[REQUIRED]
The properties whose values the operation returns.
(string) --
string
[REQUIRED]
The ID of the workspace whose values the operation returns.
integer
The maximum number of results to return at one time. The default is 25.
Valid Range: Minimum value of 1. Maximum value of 250.
string
The string that specifies the next page of results.
string
The property group name.
dict
The tabular conditions.
orderBy (list) --
Filter criteria that orders the output. It can be sorted in ascending or descending order.
(dict) --
Filter criteria that orders the return output. It can be sorted in ascending or descending order.
order (string) --
The set order that filters results.
propertyName (string) -- [REQUIRED]
The property name.
propertyFilters (list) --
You can filter the request using various logical operators and a key-value format. For example:
{"key": "serverType", "value": "webServer"}
(dict) --
An object that filters items returned by a property request.
propertyName (string) --
The property name associated with this property filter.
operator (string) --
The operator associated with this property filter.
value (dict) --
The value associated with this property filter.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
dict
Response Syntax
{ 'propertyValues': { 'string': { 'propertyReference': { 'componentName': 'string', 'externalIdProperty': { 'string': 'string' }, 'entityId': 'string', 'propertyName': 'string' }, 'propertyValue': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' } } }, 'nextToken': 'string', 'tabularPropertyValues': [ [ { 'string': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' } }, ], ] }
Response Structure
(dict) --
propertyValues (dict) --
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.
(string) --
(dict) --
The latest value of the property.
propertyReference (dict) --
An object that specifies information about a property.>
componentName (string) --
The name of the component.
externalIdProperty (dict) --
A mapping of external IDs to property names. External IDs uniquely identify properties from external data stores.
(string) --
(string) --
entityId (string) --
The ID of the entity.
propertyName (string) --
The name of the property.
propertyValue (dict) --
The value of the property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
nextToken (string) --
The string that specifies the next page of results.
tabularPropertyValues (list) --
A table of property values.
(list) --
(dict) --
(string) --
(dict) --
An object that specifies a value for a property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
{'propertyGroups': {'string': {'groupType': 'TABULAR', 'propertyNames': ['string']}}}
Updates information in a component type.
See also: AWS API Documentation
Request Syntax
client.update_component_type( workspaceId='string', isSingleton=True|False, componentTypeId='string', description='string', propertyDefinitions={ 'string': { 'dataType': { 'type': 'RELATIONSHIP'|'STRING'|'LONG'|'BOOLEAN'|'INTEGER'|'DOUBLE'|'LIST'|'MAP', 'nestedType': {'... recursive ...'}, 'allowedValues': [ { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': {'... recursive ...'}, 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, ], 'unitOfMeasure': 'string', 'relationship': { 'targetComponentTypeId': 'string', 'relationshipType': 'string' } }, 'isRequiredInEntity': True|False, 'isExternalId': True|False, 'isStoredExternally': True|False, 'isTimeSeries': True|False, 'defaultValue': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, 'configuration': { 'string': 'string' } } }, extendsFrom=[ 'string', ], functions={ 'string': { 'requiredProperties': [ 'string', ], 'scope': 'ENTITY'|'WORKSPACE', 'implementedBy': { 'lambda': { 'arn': 'string' }, 'isNative': True|False } } }, propertyGroups={ 'string': { 'groupType': 'TABULAR', 'propertyNames': [ 'string', ] } } )
string
[REQUIRED]
The ID of the workspace that contains the component type.
boolean
A Boolean value that specifies whether an entity can have more than one component of this type.
string
[REQUIRED]
The ID of the component type.
string
The description of the component type.
dict
An object that maps strings to the property definitions in the component type. Each string in the mapping must be unique to this object.
(string) --
(dict) --
An object that sets information about a property.
dataType (dict) --
An object that contains information about the data type.
type (string) -- [REQUIRED]
The underlying type of the data type.
nestedType (dict) --
The nested type in the data type.
allowedValues (list) --
The allowed values for this data type.
(dict) --
An object that specifies a value for a property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
unitOfMeasure (string) --
The unit of measure used in this data type.
relationship (dict) --
A relationship that associates a component with another component.
targetComponentTypeId (string) --
The ID of the target component type associated with this relationship.
relationshipType (string) --
The type of the relationship.
isRequiredInEntity (boolean) --
A Boolean value that specifies whether the property is required.
isExternalId (boolean) --
A Boolean value that specifies whether the property ID comes from an external data store.
isStoredExternally (boolean) --
A Boolean value that specifies whether the property is stored externally.
isTimeSeries (boolean) --
A Boolean value that specifies whether the property consists of time series data.
defaultValue (dict) --
An object that contains the default value.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
configuration (dict) --
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.
(string) --
(string) --
list
Specifies the component type that this component type extends.
(string) --
dict
An object that maps strings to the functions in the component type. Each string in the mapping must be unique to this object.
(string) --
(dict) --
The function request body.
requiredProperties (list) --
The required properties of the function.
(string) --
scope (string) --
The scope of the function.
implementedBy (dict) --
The data connector.
lambda (dict) --
The Lambda function associated with this data connector.
arn (string) -- [REQUIRED]
The ARN of the Lambda function.
isNative (boolean) --
A Boolean value that specifies whether the data connector is native to IoT TwinMaker.
dict
The property groups
(string) --
(dict) --
groupType (string) --
The group type.
propertyNames (list) --
The names of properties.
(string) --
dict
Response Syntax
{ 'workspaceId': 'string', 'arn': 'string', 'componentTypeId': 'string', 'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'ERROR' }
Response Structure
(dict) --
workspaceId (string) --
The ID of the workspace that contains the component type.
arn (string) --
The ARN of the component type.
componentTypeId (string) --
The ID of the component type.
state (string) --
The current state of the component type.
{'componentUpdates': {'propertyGroupUpdates': {'string': {'groupType': 'TABULAR', 'propertyNames': ['string'], 'updateType': 'UPDATE ' '| ' 'DELETE ' '| ' 'CREATE'}}}}
Updates an entity.
See also: AWS API Documentation
Request Syntax
client.update_entity( workspaceId='string', entityId='string', entityName='string', description='string', componentUpdates={ 'string': { 'updateType': 'CREATE'|'UPDATE'|'DELETE', 'description': 'string', 'componentTypeId': 'string', 'propertyUpdates': { 'string': { 'definition': { 'dataType': { 'type': 'RELATIONSHIP'|'STRING'|'LONG'|'BOOLEAN'|'INTEGER'|'DOUBLE'|'LIST'|'MAP', 'nestedType': {'... recursive ...'}, 'allowedValues': [ { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': {'... recursive ...'}, 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, ], 'unitOfMeasure': 'string', 'relationship': { 'targetComponentTypeId': 'string', 'relationshipType': 'string' } }, 'isRequiredInEntity': True|False, 'isExternalId': True|False, 'isStoredExternally': True|False, 'isTimeSeries': True|False, 'defaultValue': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, 'configuration': { 'string': 'string' } }, 'value': { 'booleanValue': True|False, 'doubleValue': 123.0, 'integerValue': 123, 'longValue': 123, 'stringValue': 'string', 'listValue': [ {'... recursive ...'}, ], 'mapValue': { 'string': {'... recursive ...'} }, 'relationshipValue': { 'targetEntityId': 'string', 'targetComponentName': 'string' }, 'expression': 'string' }, 'updateType': 'UPDATE'|'DELETE'|'CREATE' } }, 'propertyGroupUpdates': { 'string': { 'groupType': 'TABULAR', 'propertyNames': [ 'string', ], 'updateType': 'UPDATE'|'DELETE'|'CREATE' } } } }, parentEntityUpdate={ 'updateType': 'UPDATE'|'DELETE', 'parentEntityId': 'string' } )
string
[REQUIRED]
The ID of the workspace that contains the entity.
string
[REQUIRED]
The ID of the entity.
string
The name of the entity.
string
The description of the entity.
dict
An object that maps strings to the component updates in the request. Each string in the mapping must be unique to this object.
(string) --
(dict) --
The component update request.
updateType (string) --
The update type of the component update request.
description (string) --
The description of the component type.
componentTypeId (string) --
The ID of the component type.
propertyUpdates (dict) --
An object that maps strings to the properties to set in the component type update. Each string in the mapping must be unique to this object.
(string) --
(dict) --
An object that sets information about a property.
definition (dict) --
An object that specifies information about a property.
dataType (dict) --
An object that contains information about the data type.
type (string) -- [REQUIRED]
The underlying type of the data type.
nestedType (dict) --
The nested type in the data type.
allowedValues (list) --
The allowed values for this data type.
(dict) --
An object that specifies a value for a property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
unitOfMeasure (string) --
The unit of measure used in this data type.
relationship (dict) --
A relationship that associates a component with another component.
targetComponentTypeId (string) --
The ID of the target component type associated with this relationship.
relationshipType (string) --
The type of the relationship.
isRequiredInEntity (boolean) --
A Boolean value that specifies whether the property is required.
isExternalId (boolean) --
A Boolean value that specifies whether the property ID comes from an external data store.
isStoredExternally (boolean) --
A Boolean value that specifies whether the property is stored externally.
isTimeSeries (boolean) --
A Boolean value that specifies whether the property consists of time series data.
defaultValue (dict) --
An object that contains the default value.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
configuration (dict) --
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.
(string) --
(string) --
value (dict) --
The value of the property.
booleanValue (boolean) --
A Boolean value.
doubleValue (float) --
A double value.
integerValue (integer) --
An integer value.
longValue (integer) --
A long value.
stringValue (string) --
A string value.
listValue (list) --
A list of multiple values.
(dict) --
An object that specifies a value for a property.
mapValue (dict) --
An object that maps strings to multiple DataValue objects.
(string) --
(dict) --
An object that specifies a value for a property.
relationshipValue (dict) --
A value that relates a component to another component.
targetEntityId (string) --
The ID of the target entity associated with this relationship value.
targetComponentName (string) --
The name of the target component associated with the relationship value.
expression (string) --
An expression that produces the value.
updateType (string) --
The update type of the update property request.
propertyGroupUpdates (dict) --
The property group updates.
(string) --
(dict) --
groupType (string) --
The group type.
propertyNames (list) --
The property names.
(string) --
updateType (string) --
The update type.
dict
An object that describes the update request for a parent entity.
updateType (string) -- [REQUIRED]
The type of the update.
parentEntityId (string) --
The ID of the parent entity.
dict
Response Syntax
{ 'updateDateTime': datetime(2015, 1, 1), 'state': 'CREATING'|'UPDATING'|'DELETING'|'ACTIVE'|'ERROR' }
Response Structure
(dict) --
updateDateTime (datetime) --
The date and time when the entity was last updated.
state (string) --
The current state of the entity update.