Skip to content

Type definitions#

Index > IoTTwinMaker > Type definitions

Auto-generated documentation for IoTTwinMaker type annotations stubs module mypy-boto3-iottwinmaker.

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

BundleInformationTypeDef#

# BundleInformationTypeDef definition

class BundleInformationTypeDef(TypedDict):
    bundleNames: List[str],
    pricingTier: NotRequired[PricingTierType],  # (1)
  1. See PricingTierType

CancelMetadataTransferJobRequestRequestTypeDef#

# CancelMetadataTransferJobRequestRequestTypeDef definition

class CancelMetadataTransferJobRequestRequestTypeDef(TypedDict):
    metadataTransferJobId: str,

MetadataTransferJobProgressTypeDef#

# MetadataTransferJobProgressTypeDef definition

class MetadataTransferJobProgressTypeDef(TypedDict):
    totalCount: NotRequired[int],
    succeededCount: NotRequired[int],
    skippedCount: NotRequired[int],
    failedCount: NotRequired[int],

ColumnDescriptionTypeDef#

# ColumnDescriptionTypeDef definition

class ColumnDescriptionTypeDef(TypedDict):
    name: NotRequired[str],
    type: NotRequired[ColumnTypeType],  # (1)
  1. See ColumnTypeType

ComponentPropertyGroupRequestTypeDef#

# ComponentPropertyGroupRequestTypeDef definition

class ComponentPropertyGroupRequestTypeDef(TypedDict):
    groupType: NotRequired[GroupTypeType],  # (1)
    propertyNames: NotRequired[Sequence[str]],
    updateType: NotRequired[PropertyGroupUpdateTypeType],  # (2)
  1. See GroupTypeType
  2. See PropertyGroupUpdateTypeType

ComponentPropertyGroupResponseTypeDef#

# ComponentPropertyGroupResponseTypeDef definition

class ComponentPropertyGroupResponseTypeDef(TypedDict):
    groupType: GroupTypeType,  # (1)
    propertyNames: List[str],
    isInherited: bool,
  1. See GroupTypeType

CompositeComponentTypeRequestTypeDef#

# CompositeComponentTypeRequestTypeDef definition

class CompositeComponentTypeRequestTypeDef(TypedDict):
    componentTypeId: NotRequired[str],

CompositeComponentTypeResponseTypeDef#

# CompositeComponentTypeResponseTypeDef definition

class CompositeComponentTypeResponseTypeDef(TypedDict):
    componentTypeId: NotRequired[str],
    isInherited: NotRequired[bool],

PropertyDefinitionRequestTypeDef#

# PropertyDefinitionRequestTypeDef definition

class PropertyDefinitionRequestTypeDef(TypedDict):
    dataType: NotRequired[DataTypeTypeDef],  # (1)
    isRequiredInEntity: NotRequired[bool],
    isExternalId: NotRequired[bool],
    isStoredExternally: NotRequired[bool],
    isTimeSeries: NotRequired[bool],
    defaultValue: NotRequired[DataValueTypeDef],  # (2)
    configuration: NotRequired[Mapping[str, str]],
    displayName: NotRequired[str],
  1. See DataTypeTypeDef
  2. See DataValueTypeDef

PropertyGroupRequestTypeDef#

# PropertyGroupRequestTypeDef definition

class PropertyGroupRequestTypeDef(TypedDict):
    groupType: NotRequired[GroupTypeType],  # (1)
    propertyNames: NotRequired[Sequence[str]],
  1. See GroupTypeType

CreateSceneRequestRequestTypeDef#

# CreateSceneRequestRequestTypeDef definition

class CreateSceneRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    sceneId: str,
    contentLocation: str,
    description: NotRequired[str],
    capabilities: NotRequired[Sequence[str]],
    tags: NotRequired[Mapping[str, str]],
    sceneMetadata: NotRequired[Mapping[str, str]],

CreateSyncJobRequestRequestTypeDef#

# CreateSyncJobRequestRequestTypeDef definition

class CreateSyncJobRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    syncSource: str,
    syncRole: str,
    tags: NotRequired[Mapping[str, str]],

CreateWorkspaceRequestRequestTypeDef#

# CreateWorkspaceRequestRequestTypeDef definition

class CreateWorkspaceRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    description: NotRequired[str],
    s3Location: NotRequired[str],
    role: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],

LambdaFunctionTypeDef#

# LambdaFunctionTypeDef definition

class LambdaFunctionTypeDef(TypedDict):
    arn: str,

RelationshipTypeDef#

# RelationshipTypeDef definition

class RelationshipTypeDef(TypedDict):
    targetComponentTypeId: NotRequired[str],
    relationshipType: NotRequired[str],

RelationshipValueTypeDef#

# RelationshipValueTypeDef definition

class RelationshipValueTypeDef(TypedDict):
    targetEntityId: NotRequired[str],
    targetComponentName: NotRequired[str],

DeleteComponentTypeRequestRequestTypeDef#

# DeleteComponentTypeRequestRequestTypeDef definition

class DeleteComponentTypeRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    componentTypeId: str,

DeleteEntityRequestRequestTypeDef#

# DeleteEntityRequestRequestTypeDef definition

class DeleteEntityRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    entityId: str,
    isRecursive: NotRequired[bool],

DeleteSceneRequestRequestTypeDef#

# DeleteSceneRequestRequestTypeDef definition

class DeleteSceneRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    sceneId: str,

DeleteSyncJobRequestRequestTypeDef#

# DeleteSyncJobRequestRequestTypeDef definition

class DeleteSyncJobRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    syncSource: str,

DeleteWorkspaceRequestRequestTypeDef#

# DeleteWorkspaceRequestRequestTypeDef definition

class DeleteWorkspaceRequestRequestTypeDef(TypedDict):
    workspaceId: str,

IotTwinMakerDestinationConfigurationTypeDef#

# IotTwinMakerDestinationConfigurationTypeDef definition

class IotTwinMakerDestinationConfigurationTypeDef(TypedDict):
    workspace: str,

S3DestinationConfigurationTypeDef#

# S3DestinationConfigurationTypeDef definition

class S3DestinationConfigurationTypeDef(TypedDict):
    location: str,

EntityPropertyReferenceTypeDef#

# EntityPropertyReferenceTypeDef definition

class EntityPropertyReferenceTypeDef(TypedDict):
    propertyName: str,
    componentName: NotRequired[str],
    componentPath: NotRequired[str],
    externalIdProperty: NotRequired[Mapping[str, str]],
    entityId: NotRequired[str],

ErrorDetailsTypeDef#

# ErrorDetailsTypeDef definition

class ErrorDetailsTypeDef(TypedDict):
    code: NotRequired[ErrorCodeType],  # (1)
    message: NotRequired[str],
  1. See ErrorCodeType

ExecuteQueryRequestRequestTypeDef#

# ExecuteQueryRequestRequestTypeDef definition

class ExecuteQueryRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    queryStatement: str,
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

RowTypeDef#

# RowTypeDef definition

class RowTypeDef(TypedDict):
    rowData: NotRequired[List[Dict[str, Any]]],

FilterByAssetModelTypeDef#

# FilterByAssetModelTypeDef definition

class FilterByAssetModelTypeDef(TypedDict):
    assetModelId: NotRequired[str],
    assetModelExternalId: NotRequired[str],
    includeOffspring: NotRequired[bool],
    includeAssets: NotRequired[bool],

FilterByAssetTypeDef#

# FilterByAssetTypeDef definition

class FilterByAssetTypeDef(TypedDict):
    assetId: NotRequired[str],
    assetExternalId: NotRequired[str],
    includeOffspring: NotRequired[bool],
    includeAssetModel: NotRequired[bool],

FilterByComponentTypeTypeDef#

# FilterByComponentTypeTypeDef definition

class FilterByComponentTypeTypeDef(TypedDict):
    componentTypeId: str,

FilterByEntityTypeDef#

# FilterByEntityTypeDef definition

class FilterByEntityTypeDef(TypedDict):
    entityId: str,

GetComponentTypeRequestRequestTypeDef#

# GetComponentTypeRequestRequestTypeDef definition

class GetComponentTypeRequestRequestTypeDef(TypedDict):
    workspaceId: str,
    componentTypeId: str,

PropertyDefinitionResponseTypeDef#

# PropertyDefinitionResponseTypeDef definition

class PropertyDefinitionResponseTypeDef(TypedDict):
    dataType: DataTypeTypeD