IoTTwinMakerClient#
Index > IoTTwinMaker > IoTTwinMakerClient
Auto-generated documentation for IoTTwinMaker type annotations stubs module mypy-boto3-iottwinmaker.
IoTTwinMakerClient#
Type annotations and code completion for boto3.client("iottwinmaker").
 boto3 documentation
# IoTTwinMakerClient usage example
from boto3.session import Session
from mypy_boto3_iottwinmaker.client import IoTTwinMakerClient
def get_iottwinmaker_client() -> IoTTwinMakerClient:
    return Session().client("iottwinmaker")Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("iottwinmaker").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("iottwinmaker")
try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.ConnectorFailureException,
    client.exceptions.ConnectorTimeoutException,
    client.exceptions.InternalServerException,
    client.exceptions.QueryTimeoutException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.TooManyTagsException,
    client.exceptions.ValidationException,
) as e:
    print(e)# Exceptions.exceptions type checking example
from mypy_boto3_iottwinmaker.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...Methods#
can_paginate#
Type annotations and code completion for boto3.client("iottwinmaker").can_paginate method.
 boto3 documentation
# can_paginate method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...generate_presigned_url#
Type annotations and code completion for boto3.client("iottwinmaker").generate_presigned_url method.
 boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...batch_put_property_values#
Sets values for multiple time series properties.
Type annotations and code completion for boto3.client("iottwinmaker").batch_put_property_values method.
 boto3 documentation
# batch_put_property_values method definition
def batch_put_property_values(
    self,
    *,
    workspaceId: str,
    entries: Sequence[PropertyValueEntryUnionTypeDef],  # (1)
) -> BatchPutPropertyValuesResponseTypeDef:  # (2)
    ...- See Sequence[PropertyValueEntryUnionTypeDef]
- See BatchPutPropertyValuesResponseTypeDef
# batch_put_property_values method usage example with argument unpacking
kwargs: BatchPutPropertyValuesRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "entries": ...,
}
parent.batch_put_property_values(**kwargs)cancel_metadata_transfer_job#
Cancels the metadata transfer job.
Type annotations and code completion for boto3.client("iottwinmaker").cancel_metadata_transfer_job method.
 boto3 documentation
# cancel_metadata_transfer_job method definition
def cancel_metadata_transfer_job(
    self,
    *,
    metadataTransferJobId: str,
) -> CancelMetadataTransferJobResponseTypeDef:  # (1)
    ...# cancel_metadata_transfer_job method usage example with argument unpacking
kwargs: CancelMetadataTransferJobRequestTypeDef = {  # (1)
    "metadataTransferJobId": ...,
}
parent.cancel_metadata_transfer_job(**kwargs)create_component_type#
Creates a component type.
Type annotations and code completion for boto3.client("iottwinmaker").create_component_type method.
 boto3 documentation
# create_component_type method definition
def create_component_type(
    self,
    *,
    workspaceId: str,
    componentTypeId: str,
    isSingleton: bool = ...,
    description: str = ...,
    propertyDefinitions: Mapping[str, PropertyDefinitionRequestTypeDef] = ...,  # (1)
    extendsFrom: Sequence[str] = ...,
    functions: Mapping[str, FunctionRequestTypeDef] = ...,  # (2)
    tags: Mapping[str, str] = ...,
    propertyGroups: Mapping[str, PropertyGroupRequestTypeDef] = ...,  # (3)
    componentTypeName: str = ...,
    compositeComponentTypes: Mapping[str, CompositeComponentTypeRequestTypeDef] = ...,  # (4)
) -> CreateComponentTypeResponseTypeDef:  # (5)
    ...- See Mapping[str, PropertyDefinitionRequestTypeDef]
- See Mapping[str, FunctionRequestTypeDef]
- See Mapping[str, PropertyGroupRequestTypeDef]
- See Mapping[str, CompositeComponentTypeRequestTypeDef]
- See CreateComponentTypeResponseTypeDef
# create_component_type method usage example with argument unpacking
kwargs: CreateComponentTypeRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "componentTypeId": ...,
}
parent.create_component_type(**kwargs)create_entity#
Creates an entity.
Type annotations and code completion for boto3.client("iottwinmaker").create_entity method.
 boto3 documentation
# create_entity method definition
def create_entity(
    self,
    *,
    workspaceId: str,
    entityName: str,
    entityId: str = ...,
    description: str = ...,
    components: Mapping[str, ComponentRequestTypeDef] = ...,  # (1)
    compositeComponents: Mapping[str, CompositeComponentRequestTypeDef] = ...,  # (2)
    parentEntityId: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateEntityResponseTypeDef:  # (3)
    ...- See Mapping[str, ComponentRequestTypeDef]
- See Mapping[str, CompositeComponentRequestTypeDef]
- See CreateEntityResponseTypeDef
# create_entity method usage example with argument unpacking
kwargs: CreateEntityRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "entityName": ...,
}
parent.create_entity(**kwargs)create_metadata_transfer_job#
Creates a new metadata transfer job.
Type annotations and code completion for boto3.client("iottwinmaker").create_metadata_transfer_job method.
 boto3 documentation
# create_metadata_transfer_job method definition
def create_metadata_transfer_job(
    self,
    *,
    sources: Sequence[SourceConfigurationUnionTypeDef],  # (1)
    destination: DestinationConfigurationTypeDef,  # (2)
    metadataTransferJobId: str = ...,
    description: str = ...,
) -> CreateMetadataTransferJobResponseTypeDef:  # (3)
    ...- See Sequence[SourceConfigurationUnionTypeDef]
- See DestinationConfigurationTypeDef
- See CreateMetadataTransferJobResponseTypeDef
# create_metadata_transfer_job method usage example with argument unpacking
kwargs: CreateMetadataTransferJobRequestTypeDef = {  # (1)
    "sources": ...,
    "destination": ...,
}
parent.create_metadata_transfer_job(**kwargs)create_scene#
Creates a scene.
Type annotations and code completion for boto3.client("iottwinmaker").create_scene method.
 boto3 documentation
# create_scene method definition
def create_scene(
    self,
    *,
    workspaceId: str,
    sceneId: str,
    contentLocation: str,
    description: str = ...,
    capabilities: Sequence[str] = ...,
    tags: Mapping[str, str] = ...,
    sceneMetadata: Mapping[str, str] = ...,
) -> CreateSceneResponseTypeDef:  # (1)
    ...# create_scene method usage example with argument unpacking
kwargs: CreateSceneRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "sceneId": ...,
    "contentLocation": ...,
}
parent.create_scene(**kwargs)create_sync_job#
This action creates a SyncJob.
Type annotations and code completion for boto3.client("iottwinmaker").create_sync_job method.
 boto3 documentation
# create_sync_job method definition
def create_sync_job(
    self,
    *,
    workspaceId: str,
    syncSource: str,
    syncRole: str,
    tags: Mapping[str, str] = ...,
) -> CreateSyncJobResponseTypeDef:  # (1)
    ...# create_sync_job method usage example with argument unpacking
kwargs: CreateSyncJobRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "syncSource": ...,
    "syncRole": ...,
}
parent.create_sync_job(**kwargs)create_workspace#
Creates a workplace.
Type annotations and code completion for boto3.client("iottwinmaker").create_workspace method.
 boto3 documentation
# create_workspace method definition
def create_workspace(
    self,
    *,
    workspaceId: str,
    description: str = ...,
    s3Location: str = ...,
    role: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateWorkspaceResponseTypeDef:  # (1)
    ...# create_workspace method usage example with argument unpacking
kwargs: CreateWorkspaceRequestTypeDef = {  # (1)
    "workspaceId": ...,
}
parent.create_workspace(**kwargs)delete_component_type#
Deletes a component type.
Type annotations and code completion for boto3.client("iottwinmaker").delete_component_type method.
 boto3 documentation
# delete_component_type method definition
def delete_component_type(
    self,
    *,
    workspaceId: str,
    componentTypeId: str,
) -> DeleteComponentTypeResponseTypeDef:  # (1)
    ...# delete_component_type method usage example with argument unpacking
kwargs: DeleteComponentTypeRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "componentTypeId": ...,
}
parent.delete_component_type(**kwargs)delete_entity#
Deletes an entity.
Type annotations and code completion for boto3.client("iottwinmaker").delete_entity method.
 boto3 documentation
# delete_entity method definition
def delete_entity(
    self,
    *,
    workspaceId: str,
    entityId: str,
    isRecursive: bool = ...,
) -> DeleteEntityResponseTypeDef:  # (1)
    ...# delete_entity method usage example with argument unpacking
kwargs: DeleteEntityRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "entityId": ...,
}
parent.delete_entity(**kwargs)delete_scene#
Deletes a scene.
Type annotations and code completion for boto3.client("iottwinmaker").delete_scene method.
 boto3 documentation
# delete_scene method definition
def delete_scene(
    self,
    *,
    workspaceId: str,
    sceneId: str,
) -> Dict[str, Any]:
    ...# delete_scene method usage example with argument unpacking
kwargs: DeleteSceneRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "sceneId": ...,
}
parent.delete_scene(**kwargs)delete_sync_job#
Delete the SyncJob.
Type annotations and code completion for boto3.client("iottwinmaker").delete_sync_job method.
 boto3 documentation
# delete_sync_job method definition
def delete_sync_job(
    self,
    *,
    workspaceId: str,
    syncSource: str,
) -> DeleteSyncJobResponseTypeDef:  # (1)
    ...# delete_sync_job method usage example with argument unpacking
kwargs: DeleteSyncJobRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "syncSource": ...,
}
parent.delete_sync_job(**kwargs)delete_workspace#
Deletes a workspace.
Type annotations and code completion for boto3.client("iottwinmaker").delete_workspace method.
 boto3 documentation
# delete_workspace method definition
def delete_workspace(
    self,
    *,
    workspaceId: str,
) -> DeleteWorkspaceResponseTypeDef:  # (1)
    ...# delete_workspace method usage example with argument unpacking
kwargs: DeleteWorkspaceRequestTypeDef = {  # (1)
    "workspaceId": ...,
}
parent.delete_workspace(**kwargs)execute_query#
Run queries to access information from your knowledge graph of entities within individual workspaces.
Type annotations and code completion for boto3.client("iottwinmaker").execute_query method.
 boto3 documentation
# execute_query method definition
def execute_query(
    self,
    *,
    workspaceId: str,
    queryStatement: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ExecuteQueryResponseTypeDef:  # (1)
    ...# execute_query method usage example with argument unpacking
kwargs: ExecuteQueryRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "queryStatement": ...,
}
parent.execute_query(**kwargs)get_component_type#
Retrieves information about a component type.
Type annotations and code completion for boto3.client("iottwinmaker").get_component_type method.
 boto3 documentation
# get_component_type method definition
def get_component_type(
    self,
    *,
    workspaceId: str,
    componentTypeId: str,
) -> GetComponentTypeResponseTypeDef:  # (1)
    ...# get_component_type method usage example with argument unpacking
kwargs: GetComponentTypeRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "componentTypeId": ...,
}
parent.get_component_type(**kwargs)get_entity#
Retrieves information about an entity.
Type annotations and code completion for boto3.client("iottwinmaker").get_entity method.
 boto3 documentation
# get_entity method definition
def get_entity(
    self,
    *,
    workspaceId: str,
    entityId: str,
) -> GetEntityResponseTypeDef:  # (1)
    ...# get_entity method usage example with argument unpacking
kwargs: GetEntityRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "entityId": ...,
}
parent.get_entity(**kwargs)get_metadata_transfer_job#
Gets a nmetadata transfer job.
Type annotations and code completion for boto3.client("iottwinmaker").get_metadata_transfer_job method.
 boto3 documentation
# get_metadata_transfer_job method definition
def get_metadata_transfer_job(
    self,
    *,
    metadataTransferJobId: str,
) -> GetMetadataTransferJobResponseTypeDef:  # (1)
    ...# get_metadata_transfer_job method usage example with argument unpacking
kwargs: GetMetadataTransferJobRequestTypeDef = {  # (1)
    "metadataTransferJobId": ...,
}
parent.get_metadata_transfer_job(**kwargs)get_pricing_plan#
Gets the pricing plan.
Type annotations and code completion for boto3.client("iottwinmaker").get_pricing_plan method.
 boto3 documentation
# get_pricing_plan method definition
def get_pricing_plan(
    self,
) -> GetPricingPlanResponseTypeDef:  # (1)
    ...get_property_value#
Gets the property values for a component, component type, entity, or workspace.
Type annotations and code completion for boto3.client("iottwinmaker").get_property_value method.
 boto3 documentation
# get_property_value method definition
def get_property_value(
    self,
    *,
    selectedProperties: Sequence[str],
    workspaceId: str,
    componentName: str = ...,
    componentPath: str = ...,
    componentTypeId: str = ...,
    entityId: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
    propertyGroupName: str = ...,
    tabularConditions: TabularConditionsTypeDef = ...,  # (1)
) -> GetPropertyValueResponseTypeDef:  # (2)
    ...# get_property_value method usage example with argument unpacking
kwargs: GetPropertyValueRequestTypeDef = {  # (1)
    "selectedProperties": ...,
    "workspaceId": ...,
}
parent.get_property_value(**kwargs)get_property_value_history#
Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.
Type annotations and code completion for boto3.client("iottwinmaker").get_property_value_history method.
 boto3 documentation
# get_property_value_history method definition
def get_property_value_history(
    self,
    *,
    workspaceId: str,
    selectedProperties: Sequence[str],
    entityId: str = ...,
    componentName: str = ...,
    componentPath: str = ...,
    componentTypeId: str = ...,
    propertyFilters: Sequence[PropertyFilterTypeDef] = ...,  # (1)
    startDateTime: TimestampTypeDef = ...,
    endDateTime: TimestampTypeDef = ...,
    interpolation: InterpolationParametersTypeDef = ...,  # (2)
    nextToken: str = ...,
    maxResults: int = ...,
    orderByTime: OrderByTimeType = ...,  # (3)
    startTime: str = ...,
    endTime: str = ...,
) -> GetPropertyValueHistoryResponseTypeDef:  # (4)
    ...- See Sequence[PropertyFilterTypeDef]
- See InterpolationParametersTypeDef
- See OrderByTimeType
- See GetPropertyValueHistoryResponseTypeDef
# get_property_value_history method usage example with argument unpacking
kwargs: GetPropertyValueHistoryRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "selectedProperties": ...,
}
parent.get_property_value_history(**kwargs)get_scene#
Retrieves information about a scene.
Type annotations and code completion for boto3.client("iottwinmaker").get_scene method.
 boto3 documentation
# get_scene method definition
def get_scene(
    self,
    *,
    workspaceId: str,
    sceneId: str,
) -> GetSceneResponseTypeDef:  # (1)
    ...# get_scene method usage example with argument unpacking
kwargs: GetSceneRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "sceneId": ...,
}
parent.get_scene(**kwargs)get_sync_job#
Gets the SyncJob.
Type annotations and code completion for boto3.client("iottwinmaker").get_sync_job method.
 boto3 documentation
# get_sync_job method definition
def get_sync_job(
    self,
    *,
    syncSource: str,
    workspaceId: str = ...,
) -> GetSyncJobResponseTypeDef:  # (1)
    ...# get_sync_job method usage example with argument unpacking
kwargs: GetSyncJobRequestTypeDef = {  # (1)
    "syncSource": ...,
}
parent.get_sync_job(**kwargs)get_workspace#
Retrieves information about a workspace.
Type annotations and code completion for boto3.client("iottwinmaker").get_workspace method.
 boto3 documentation
# get_workspace method definition
def get_workspace(
    self,
    *,
    workspaceId: str,
) -> GetWorkspaceResponseTypeDef:  # (1)
    ...# get_workspace method usage example with argument unpacking
kwargs: GetWorkspaceRequestTypeDef = {  # (1)
    "workspaceId": ...,
}
parent.get_workspace(**kwargs)list_component_types#
Lists all component types in a workspace.
Type annotations and code completion for boto3.client("iottwinmaker").list_component_types method.
 boto3 documentation
# list_component_types method definition
def list_component_types(
    self,
    *,
    workspaceId: str,
    filters: Sequence[ListComponentTypesFilterTypeDef] = ...,  # (1)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListComponentTypesResponseTypeDef:  # (2)
    ...- See Sequence[ListComponentTypesFilterTypeDef]
- See ListComponentTypesResponseTypeDef
# list_component_types method usage example with argument unpacking
kwargs: ListComponentTypesRequestTypeDef = {  # (1)
    "workspaceId": ...,
}
parent.list_component_types(**kwargs)list_components#
This API lists the components of an entity.
Type annotations and code completion for boto3.client("iottwinmaker").list_components method.
 boto3 documentation
# list_components method definition
def list_components(
    self,
    *,
    workspaceId: str,
    entityId: str,
    componentPath: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListComponentsResponseTypeDef:  # (1)
    ...# list_components method usage example with argument unpacking
kwargs: ListComponentsRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "entityId": ...,
}
parent.list_components(**kwargs)list_entities#
Lists all entities in a workspace.
Type annotations and code completion for boto3.client("iottwinmaker").list_entities method.
 boto3 documentation
# list_entities method definition
def list_entities(
    self,
    *,
    workspaceId: str,
    filters: Sequence[ListEntitiesFilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListEntitiesResponseTypeDef:  # (2)
    ...- See Sequence[ListEntitiesFilterTypeDef]
- See ListEntitiesResponseTypeDef
# list_entities method usage example with argument unpacking
kwargs: ListEntitiesRequestTypeDef = {  # (1)
    "workspaceId": ...,
}
parent.list_entities(**kwargs)list_metadata_transfer_jobs#
Lists the metadata transfer jobs.
Type annotations and code completion for boto3.client("iottwinmaker").list_metadata_transfer_jobs method.
 boto3 documentation
# list_metadata_transfer_jobs method definition
def list_metadata_transfer_jobs(
    self,
    *,
    sourceType: SourceTypeType,  # (1)
    destinationType: DestinationTypeType,  # (2)
    filters: Sequence[ListMetadataTransferJobsFilterTypeDef] = ...,  # (3)
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListMetadataTransferJobsResponseTypeDef:  # (4)
    ...- See SourceTypeType
- See DestinationTypeType
- See Sequence[ListMetadataTransferJobsFilterTypeDef]
- See ListMetadataTransferJobsResponseTypeDef
# list_metadata_transfer_jobs method usage example with argument unpacking
kwargs: ListMetadataTransferJobsRequestTypeDef = {  # (1)
    "sourceType": ...,
    "destinationType": ...,
}
parent.list_metadata_transfer_jobs(**kwargs)list_properties#
This API lists the properties of a component.
Type annotations and code completion for boto3.client("iottwinmaker").list_properties method.
 boto3 documentation
# list_properties method definition
def list_properties(
    self,
    *,
    workspaceId: str,
    entityId: str,
    componentName: str = ...,
    componentPath: str = ...,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListPropertiesResponseTypeDef:  # (1)
    ...# list_properties method usage example with argument unpacking
kwargs: ListPropertiesRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "entityId": ...,
}
parent.list_properties(**kwargs)list_scenes#
Lists all scenes in a workspace.
Type annotations and code completion for boto3.client("iottwinmaker").list_scenes method.
 boto3 documentation
# list_scenes method definition
def list_scenes(
    self,
    *,
    workspaceId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListScenesResponseTypeDef:  # (1)
    ...# list_scenes method usage example with argument unpacking
kwargs: ListScenesRequestTypeDef = {  # (1)
    "workspaceId": ...,
}
parent.list_scenes(**kwargs)list_sync_jobs#
List all SyncJobs.
Type annotations and code completion for boto3.client("iottwinmaker").list_sync_jobs method.
 boto3 documentation
# list_sync_jobs method definition
def list_sync_jobs(
    self,
    *,
    workspaceId: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListSyncJobsResponseTypeDef:  # (1)
    ...# list_sync_jobs method usage example with argument unpacking
kwargs: ListSyncJobsRequestTypeDef = {  # (1)
    "workspaceId": ...,
}
parent.list_sync_jobs(**kwargs)list_sync_resources#
Lists the sync resources.
Type annotations and code completion for boto3.client("iottwinmaker").list_sync_resources method.
 boto3 documentation
# list_sync_resources method definition
def list_sync_resources(
    self,
    *,
    workspaceId: str,
    syncSource: str,
    filters: Sequence[SyncResourceFilterTypeDef] = ...,  # (1)
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListSyncResourcesResponseTypeDef:  # (2)
    ...- See Sequence[SyncResourceFilterTypeDef]
- See ListSyncResourcesResponseTypeDef
# list_sync_resources method usage example with argument unpacking
kwargs: ListSyncResourcesRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "syncSource": ...,
}
parent.list_sync_resources(**kwargs)list_tags_for_resource#
Lists all tags associated with a resource.
Type annotations and code completion for boto3.client("iottwinmaker").list_tags_for_resource method.
 boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
    self,
    *,
    resourceARN: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestTypeDef = {  # (1)
    "resourceARN": ...,
}
parent.list_tags_for_resource(**kwargs)list_workspaces#
Retrieves information about workspaces in the current account.
Type annotations and code completion for boto3.client("iottwinmaker").list_workspaces method.
 boto3 documentation
# list_workspaces method definition
def list_workspaces(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListWorkspacesResponseTypeDef:  # (1)
    ...# list_workspaces method usage example with argument unpacking
kwargs: ListWorkspacesRequestTypeDef = {  # (1)
    "maxResults": ...,
}
parent.list_workspaces(**kwargs)tag_resource#
Adds tags to a resource.
Type annotations and code completion for boto3.client("iottwinmaker").tag_resource method.
 boto3 documentation
# tag_resource method definition
def tag_resource(
    self,
    *,
    resourceARN: str,
    tags: Mapping[str, str],
) -> Dict[str, Any]:
    ...# tag_resource method usage example with argument unpacking
kwargs: TagResourceRequestTypeDef = {  # (1)
    "resourceARN": ...,
    "tags": ...,
}
parent.tag_resource(**kwargs)untag_resource#
Removes tags from a resource.
Type annotations and code completion for boto3.client("iottwinmaker").untag_resource method.
 boto3 documentation
# untag_resource method definition
def untag_resource(
    self,
    *,
    resourceARN: str,
    tagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...# untag_resource method usage example with argument unpacking
kwargs: UntagResourceRequestTypeDef = {  # (1)
    "resourceARN": ...,
    "tagKeys": ...,
}
parent.untag_resource(**kwargs)update_component_type#
Updates information in a component type.
Type annotations and code completion for boto3.client("iottwinmaker").update_component_type method.
 boto3 documentation
# update_component_type method definition
def update_component_type(
    self,
    *,
    workspaceId: str,
    componentTypeId: str,
    isSingleton: bool = ...,
    description: str = ...,
    propertyDefinitions: Mapping[str, PropertyDefinitionRequestTypeDef] = ...,  # (1)
    extendsFrom: Sequence[str] = ...,
    functions: Mapping[str, FunctionRequestTypeDef] = ...,  # (2)
    propertyGroups: Mapping[str, PropertyGroupRequestTypeDef] = ...,  # (3)
    componentTypeName: str = ...,
    compositeComponentTypes: Mapping[str, CompositeComponentTypeRequestTypeDef] = ...,  # (4)
) -> UpdateComponentTypeResponseTypeDef:  # (5)
    ...- See Mapping[str, PropertyDefinitionRequestTypeDef]
- See Mapping[str, FunctionRequestTypeDef]
- See Mapping[str, PropertyGroupRequestTypeDef]
- See Mapping[str, CompositeComponentTypeRequestTypeDef]
- See UpdateComponentTypeResponseTypeDef
# update_component_type method usage example with argument unpacking
kwargs: UpdateComponentTypeRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "componentTypeId": ...,
}
parent.update_component_type(**kwargs)update_entity#
Updates an entity.
Type annotations and code completion for boto3.client("iottwinmaker").update_entity method.
 boto3 documentation
# update_entity method definition
def update_entity(
    self,
    *,
    workspaceId: str,
    entityId: str,
    entityName: str = ...,
    description: str = ...,
    componentUpdates: Mapping[str, ComponentUpdateRequestTypeDef] = ...,  # (1)
    compositeComponentUpdates: Mapping[str, CompositeComponentUpdateRequestTypeDef] = ...,  # (2)
    parentEntityUpdate: ParentEntityUpdateRequestTypeDef = ...,  # (3)
) -> UpdateEntityResponseTypeDef:  # (4)
    ...- See Mapping[str, ComponentUpdateRequestTypeDef]
- See Mapping[str, CompositeComponentUpdateRequestTypeDef]
- See ParentEntityUpdateRequestTypeDef
- See UpdateEntityResponseTypeDef
# update_entity method usage example with argument unpacking
kwargs: UpdateEntityRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "entityId": ...,
}
parent.update_entity(**kwargs)update_pricing_plan#
Update the pricing plan.
Type annotations and code completion for boto3.client("iottwinmaker").update_pricing_plan method.
 boto3 documentation
# update_pricing_plan method definition
def update_pricing_plan(
    self,
    *,
    pricingMode: PricingModeType,  # (1)
    bundleNames: Sequence[str] = ...,
) -> UpdatePricingPlanResponseTypeDef:  # (2)
    ...# update_pricing_plan method usage example with argument unpacking
kwargs: UpdatePricingPlanRequestTypeDef = {  # (1)
    "pricingMode": ...,
}
parent.update_pricing_plan(**kwargs)update_scene#
Updates a scene.
Type annotations and code completion for boto3.client("iottwinmaker").update_scene method.
 boto3 documentation
# update_scene method definition
def update_scene(
    self,
    *,
    workspaceId: str,
    sceneId: str,
    contentLocation: str = ...,
    description: str = ...,
    capabilities: Sequence[str] = ...,
    sceneMetadata: Mapping[str, str] = ...,
) -> UpdateSceneResponseTypeDef:  # (1)
    ...# update_scene method usage example with argument unpacking
kwargs: UpdateSceneRequestTypeDef = {  # (1)
    "workspaceId": ...,
    "sceneId": ...,
}
parent.update_scene(**kwargs)update_workspace#
Updates a workspace.
Type annotations and code completion for boto3.client("iottwinmaker").update_workspace method.
 boto3 documentation
# update_workspace method definition
def update_workspace(
    self,
    *,
    workspaceId: str,
    description: str = ...,
    role: str = ...,
    s3Location: str = ...,
) -> UpdateWorkspaceResponseTypeDef:  # (1)
    ...# update_workspace method usage example with argument unpacking
kwargs: UpdateWorkspaceRequestTypeDef = {  # (1)
    "workspaceId": ...,
}
parent.update_workspace(**kwargs)