@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface IoTTwinMakerClient extends AwsClient
builder() method.
IoT TwinMaker is a service with which you can build operational digital twins of physical systems. IoT TwinMaker overlays measurements and analysis from real-world sensors, cameras, and enterprise applications so you can create data visualizations to monitor your physical factory, building, or industrial plant. You can use this real-world data to monitor operations and diagnose and repair errors.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default BatchPutPropertyValuesResponse |
batchPutPropertyValues(BatchPutPropertyValuesRequest batchPutPropertyValuesRequest)
Sets values for multiple time series properties.
|
default BatchPutPropertyValuesResponse |
batchPutPropertyValues(Consumer<BatchPutPropertyValuesRequest.Builder> batchPutPropertyValuesRequest)
Sets values for multiple time series properties.
|
static IoTTwinMakerClientBuilder |
builder()
Create a builder that can be used to configure and create a
IoTTwinMakerClient. |
static IoTTwinMakerClient |
create()
Create a
IoTTwinMakerClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateComponentTypeResponse |
createComponentType(Consumer<CreateComponentTypeRequest.Builder> createComponentTypeRequest)
Creates a component type.
|
default CreateComponentTypeResponse |
createComponentType(CreateComponentTypeRequest createComponentTypeRequest)
Creates a component type.
|
default CreateEntityResponse |
createEntity(Consumer<CreateEntityRequest.Builder> createEntityRequest)
Creates an entity.
|
default CreateEntityResponse |
createEntity(CreateEntityRequest createEntityRequest)
Creates an entity.
|
default CreateSceneResponse |
createScene(Consumer<CreateSceneRequest.Builder> createSceneRequest)
Creates a scene.
|
default CreateSceneResponse |
createScene(CreateSceneRequest createSceneRequest)
Creates a scene.
|
default CreateSyncJobResponse |
createSyncJob(Consumer<CreateSyncJobRequest.Builder> createSyncJobRequest)
This action creates a SyncJob.
|
default CreateSyncJobResponse |
createSyncJob(CreateSyncJobRequest createSyncJobRequest)
This action creates a SyncJob.
|
default CreateWorkspaceResponse |
createWorkspace(Consumer<CreateWorkspaceRequest.Builder> createWorkspaceRequest)
Creates a workplace.
|
default CreateWorkspaceResponse |
createWorkspace(CreateWorkspaceRequest createWorkspaceRequest)
Creates a workplace.
|
default DeleteComponentTypeResponse |
deleteComponentType(Consumer<DeleteComponentTypeRequest.Builder> deleteComponentTypeRequest)
Deletes a component type.
|
default DeleteComponentTypeResponse |
deleteComponentType(DeleteComponentTypeRequest deleteComponentTypeRequest)
Deletes a component type.
|
default DeleteEntityResponse |
deleteEntity(Consumer<DeleteEntityRequest.Builder> deleteEntityRequest)
Deletes an entity.
|
default DeleteEntityResponse |
deleteEntity(DeleteEntityRequest deleteEntityRequest)
Deletes an entity.
|
default DeleteSceneResponse |
deleteScene(Consumer<DeleteSceneRequest.Builder> deleteSceneRequest)
Deletes a scene.
|
default DeleteSceneResponse |
deleteScene(DeleteSceneRequest deleteSceneRequest)
Deletes a scene.
|
default DeleteSyncJobResponse |
deleteSyncJob(Consumer<DeleteSyncJobRequest.Builder> deleteSyncJobRequest)
Delete the SyncJob.
|
default DeleteSyncJobResponse |
deleteSyncJob(DeleteSyncJobRequest deleteSyncJobRequest)
Delete the SyncJob.
|
default DeleteWorkspaceResponse |
deleteWorkspace(Consumer<DeleteWorkspaceRequest.Builder> deleteWorkspaceRequest)
Deletes a workspace.
|
default DeleteWorkspaceResponse |
deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest)
Deletes a workspace.
|
default ExecuteQueryResponse |
executeQuery(Consumer<ExecuteQueryRequest.Builder> executeQueryRequest)
Run queries to access information from your knowledge graph of entities within individual workspaces.
|
default ExecuteQueryResponse |
executeQuery(ExecuteQueryRequest executeQueryRequest)
Run queries to access information from your knowledge graph of entities within individual workspaces.
|
default ExecuteQueryIterable |
executeQueryPaginator(Consumer<ExecuteQueryRequest.Builder> executeQueryRequest)
Run queries to access information from your knowledge graph of entities within individual workspaces.
|
default ExecuteQueryIterable |
executeQueryPaginator(ExecuteQueryRequest executeQueryRequest)
Run queries to access information from your knowledge graph of entities within individual workspaces.
|
default GetComponentTypeResponse |
getComponentType(Consumer<GetComponentTypeRequest.Builder> getComponentTypeRequest)
Retrieves information about a component type.
|
default GetComponentTypeResponse |
getComponentType(GetComponentTypeRequest getComponentTypeRequest)
Retrieves information about a component type.
|
default GetEntityResponse |
getEntity(Consumer<GetEntityRequest.Builder> getEntityRequest)
Retrieves information about an entity.
|
default GetEntityResponse |
getEntity(GetEntityRequest getEntityRequest)
Retrieves information about an entity.
|
default GetPricingPlanResponse |
getPricingPlan(Consumer<GetPricingPlanRequest.Builder> getPricingPlanRequest)
Gets the pricing plan.
|
default GetPricingPlanResponse |
getPricingPlan(GetPricingPlanRequest getPricingPlanRequest)
Gets the pricing plan.
|
default GetPropertyValueResponse |
getPropertyValue(Consumer<GetPropertyValueRequest.Builder> getPropertyValueRequest)
Gets the property values for a component, component type, entity, or workspace.
|
default GetPropertyValueResponse |
getPropertyValue(GetPropertyValueRequest getPropertyValueRequest)
Gets the property values for a component, component type, entity, or workspace.
|
default GetPropertyValueHistoryResponse |
getPropertyValueHistory(Consumer<GetPropertyValueHistoryRequest.Builder> getPropertyValueHistoryRequest)
Retrieves information about the history of a time series property value for a component, component type, entity,
or workspace.
|
default GetPropertyValueHistoryResponse |
getPropertyValueHistory(GetPropertyValueHistoryRequest getPropertyValueHistoryRequest)
Retrieves information about the history of a time series property value for a component, component type, entity,
or workspace.
|
default GetPropertyValueHistoryIterable |
getPropertyValueHistoryPaginator(Consumer<GetPropertyValueHistoryRequest.Builder> getPropertyValueHistoryRequest)
Retrieves information about the history of a time series property value for a component, component type, entity,
or workspace.
|
default GetPropertyValueHistoryIterable |
getPropertyValueHistoryPaginator(GetPropertyValueHistoryRequest getPropertyValueHistoryRequest)
Retrieves information about the history of a time series property value for a component, component type, entity,
or workspace.
|
default GetPropertyValueIterable |
getPropertyValuePaginator(Consumer<GetPropertyValueRequest.Builder> getPropertyValueRequest)
Gets the property values for a component, component type, entity, or workspace.
|
default GetPropertyValueIterable |
getPropertyValuePaginator(GetPropertyValueRequest getPropertyValueRequest)
Gets the property values for a component, component type, entity, or workspace.
|
default GetSceneResponse |
getScene(Consumer<GetSceneRequest.Builder> getSceneRequest)
Retrieves information about a scene.
|
default GetSceneResponse |
getScene(GetSceneRequest getSceneRequest)
Retrieves information about a scene.
|
default GetSyncJobResponse |
getSyncJob(Consumer<GetSyncJobRequest.Builder> getSyncJobRequest)
Gets the SyncJob.
|
default GetSyncJobResponse |
getSyncJob(GetSyncJobRequest getSyncJobRequest)
Gets the SyncJob.
|
default GetWorkspaceResponse |
getWorkspace(Consumer<GetWorkspaceRequest.Builder> getWorkspaceRequest)
Retrieves information about a workspace.
|
default GetWorkspaceResponse |
getWorkspace(GetWorkspaceRequest getWorkspaceRequest)
Retrieves information about a workspace.
|
default ListComponentTypesResponse |
listComponentTypes(Consumer<ListComponentTypesRequest.Builder> listComponentTypesRequest)
Lists all component types in a workspace.
|
default ListComponentTypesResponse |
listComponentTypes(ListComponentTypesRequest listComponentTypesRequest)
Lists all component types in a workspace.
|
default ListComponentTypesIterable |
listComponentTypesPaginator(Consumer<ListComponentTypesRequest.Builder> listComponentTypesRequest)
Lists all component types in a workspace.
|
default ListComponentTypesIterable |
listComponentTypesPaginator(ListComponentTypesRequest listComponentTypesRequest)
Lists all component types in a workspace.
|
default ListEntitiesResponse |
listEntities(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest)
Lists all entities in a workspace.
|
default ListEntitiesResponse |
listEntities(ListEntitiesRequest listEntitiesRequest)
Lists all entities in a workspace.
|
default ListEntitiesIterable |
listEntitiesPaginator(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest)
Lists all entities in a workspace.
|
default ListEntitiesIterable |
listEntitiesPaginator(ListEntitiesRequest listEntitiesRequest)
Lists all entities in a workspace.
|
default ListScenesResponse |
listScenes(Consumer<ListScenesRequest.Builder> listScenesRequest)
Lists all scenes in a workspace.
|
default ListScenesResponse |
listScenes(ListScenesRequest listScenesRequest)
Lists all scenes in a workspace.
|
default ListScenesIterable |
listScenesPaginator(Consumer<ListScenesRequest.Builder> listScenesRequest)
Lists all scenes in a workspace.
|
default ListScenesIterable |
listScenesPaginator(ListScenesRequest listScenesRequest)
Lists all scenes in a workspace.
|
default ListSyncJobsResponse |
listSyncJobs(Consumer<ListSyncJobsRequest.Builder> listSyncJobsRequest)
List all SyncJobs.
|
default ListSyncJobsResponse |
listSyncJobs(ListSyncJobsRequest listSyncJobsRequest)
List all SyncJobs.
|
default ListSyncJobsIterable |
listSyncJobsPaginator(Consumer<ListSyncJobsRequest.Builder> listSyncJobsRequest)
List all SyncJobs.
|
default ListSyncJobsIterable |
listSyncJobsPaginator(ListSyncJobsRequest listSyncJobsRequest)
List all SyncJobs.
|
default ListSyncResourcesResponse |
listSyncResources(Consumer<ListSyncResourcesRequest.Builder> listSyncResourcesRequest)
Lists the sync resources.
|
default ListSyncResourcesResponse |
listSyncResources(ListSyncResourcesRequest listSyncResourcesRequest)
Lists the sync resources.
|
default ListSyncResourcesIterable |
listSyncResourcesPaginator(Consumer<ListSyncResourcesRequest.Builder> listSyncResourcesRequest)
Lists the sync resources.
|
default ListSyncResourcesIterable |
listSyncResourcesPaginator(ListSyncResourcesRequest listSyncResourcesRequest)
Lists the sync resources.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists all tags associated with a resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists all tags associated with a resource.
|
default ListWorkspacesResponse |
listWorkspaces(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest)
Retrieves information about workspaces in the current account.
|
default ListWorkspacesResponse |
listWorkspaces(ListWorkspacesRequest listWorkspacesRequest)
Retrieves information about workspaces in the current account.
|
default ListWorkspacesIterable |
listWorkspacesPaginator(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest)
Retrieves information about workspaces in the current account.
|
default ListWorkspacesIterable |
listWorkspacesPaginator(ListWorkspacesRequest listWorkspacesRequest)
Retrieves information about workspaces in the current account.
|
default IoTTwinMakerServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to a resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds tags to a resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a resource.
|
default UpdateComponentTypeResponse |
updateComponentType(Consumer<UpdateComponentTypeRequest.Builder> updateComponentTypeRequest)
Updates information in a component type.
|
default UpdateComponentTypeResponse |
updateComponentType(UpdateComponentTypeRequest updateComponentTypeRequest)
Updates information in a component type.
|
default UpdateEntityResponse |
updateEntity(Consumer<UpdateEntityRequest.Builder> updateEntityRequest)
Updates an entity.
|
default UpdateEntityResponse |
updateEntity(UpdateEntityRequest updateEntityRequest)
Updates an entity.
|
default UpdatePricingPlanResponse |
updatePricingPlan(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest)
Update the pricing plan.
|
default UpdatePricingPlanResponse |
updatePricingPlan(UpdatePricingPlanRequest updatePricingPlanRequest)
Update the pricing plan.
|
default UpdateSceneResponse |
updateScene(Consumer<UpdateSceneRequest.Builder> updateSceneRequest)
Updates a scene.
|
default UpdateSceneResponse |
updateScene(UpdateSceneRequest updateSceneRequest)
Updates a scene.
|
default UpdateWorkspaceResponse |
updateWorkspace(Consumer<UpdateWorkspaceRequest.Builder> updateWorkspaceRequest)
Updates a workspace.
|
default UpdateWorkspaceResponse |
updateWorkspace(UpdateWorkspaceRequest updateWorkspaceRequest)
Updates a workspace.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default BatchPutPropertyValuesResponse batchPutPropertyValues(BatchPutPropertyValuesRequest batchPutPropertyValuesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Sets values for multiple time series properties.
batchPutPropertyValuesRequest - InternalServerException - An unexpected error has occurred.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchPutPropertyValuesResponse batchPutPropertyValues(Consumer<BatchPutPropertyValuesRequest.Builder> batchPutPropertyValuesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Sets values for multiple time series properties.
This is a convenience which creates an instance of the BatchPutPropertyValuesRequest.Builder avoiding the
need to create one manually via BatchPutPropertyValuesRequest.builder()
batchPutPropertyValuesRequest - A Consumer that will call methods on BatchPutPropertyValuesRequest.Builder to create a
request.InternalServerException - An unexpected error has occurred.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateComponentTypeResponse createComponentType(CreateComponentTypeRequest createComponentTypeRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Creates a component type.
createComponentTypeRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateComponentTypeResponse createComponentType(Consumer<CreateComponentTypeRequest.Builder> createComponentTypeRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Creates a component type.
This is a convenience which creates an instance of the CreateComponentTypeRequest.Builder avoiding the
need to create one manually via CreateComponentTypeRequest.builder()
createComponentTypeRequest - A Consumer that will call methods on CreateComponentTypeRequest.Builder to create a
request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateEntityResponse createEntity(CreateEntityRequest createEntityRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Creates an entity.
createEntityRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateEntityResponse createEntity(Consumer<CreateEntityRequest.Builder> createEntityRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Creates an entity.
This is a convenience which creates an instance of the CreateEntityRequest.Builder avoiding the need to
create one manually via CreateEntityRequest.builder()
createEntityRequest - A Consumer that will call methods on CreateEntityRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSceneResponse createScene(CreateSceneRequest createSceneRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Creates a scene.
createSceneRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSceneResponse createScene(Consumer<CreateSceneRequest.Builder> createSceneRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Creates a scene.
This is a convenience which creates an instance of the CreateSceneRequest.Builder avoiding the need to
create one manually via CreateSceneRequest.builder()
createSceneRequest - A Consumer that will call methods on CreateSceneRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSyncJobResponse createSyncJob(CreateSyncJobRequest createSyncJobRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
This action creates a SyncJob.
createSyncJobRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSyncJobResponse createSyncJob(Consumer<CreateSyncJobRequest.Builder> createSyncJobRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
This action creates a SyncJob.
This is a convenience which creates an instance of the CreateSyncJobRequest.Builder avoiding the need to
create one manually via CreateSyncJobRequest.builder()
createSyncJobRequest - A Consumer that will call methods on CreateSyncJobRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateWorkspaceResponse createWorkspace(CreateWorkspaceRequest createWorkspaceRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Creates a workplace.
createWorkspaceRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateWorkspaceResponse createWorkspace(Consumer<CreateWorkspaceRequest.Builder> createWorkspaceRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Creates a workplace.
This is a convenience which creates an instance of the CreateWorkspaceRequest.Builder avoiding the need
to create one manually via CreateWorkspaceRequest.builder()
createWorkspaceRequest - A Consumer that will call methods on CreateWorkspaceRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteComponentTypeResponse deleteComponentType(DeleteComponentTypeRequest deleteComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Deletes a component type.
deleteComponentTypeRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteComponentTypeResponse deleteComponentType(Consumer<DeleteComponentTypeRequest.Builder> deleteComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Deletes a component type.
This is a convenience which creates an instance of the DeleteComponentTypeRequest.Builder avoiding the
need to create one manually via DeleteComponentTypeRequest.builder()
deleteComponentTypeRequest - A Consumer that will call methods on DeleteComponentTypeRequest.Builder to create a
request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteEntityResponse deleteEntity(DeleteEntityRequest deleteEntityRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Deletes an entity.
deleteEntityRequest - InternalServerException - An unexpected error has occurred.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteEntityResponse deleteEntity(Consumer<DeleteEntityRequest.Builder> deleteEntityRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Deletes an entity.
This is a convenience which creates an instance of the DeleteEntityRequest.Builder avoiding the need to
create one manually via DeleteEntityRequest.builder()
deleteEntityRequest - A Consumer that will call methods on DeleteEntityRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSceneResponse deleteScene(DeleteSceneRequest deleteSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Deletes a scene.
deleteSceneRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSceneResponse deleteScene(Consumer<DeleteSceneRequest.Builder> deleteSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Deletes a scene.
This is a convenience which creates an instance of the DeleteSceneRequest.Builder avoiding the need to
create one manually via DeleteSceneRequest.builder()
deleteSceneRequest - A Consumer that will call methods on DeleteSceneRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSyncJobResponse deleteSyncJob(DeleteSyncJobRequest deleteSyncJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Delete the SyncJob.
deleteSyncJobRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteSyncJobResponse deleteSyncJob(Consumer<DeleteSyncJobRequest.Builder> deleteSyncJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Delete the SyncJob.
This is a convenience which creates an instance of the DeleteSyncJobRequest.Builder avoiding the need to
create one manually via DeleteSyncJobRequest.builder()
deleteSyncJobRequest - A Consumer that will call methods on DeleteSyncJobRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteWorkspaceResponse deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Deletes a workspace.
deleteWorkspaceRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteWorkspaceResponse deleteWorkspace(Consumer<DeleteWorkspaceRequest.Builder> deleteWorkspaceRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Deletes a workspace.
This is a convenience which creates an instance of the DeleteWorkspaceRequest.Builder avoiding the need
to create one manually via DeleteWorkspaceRequest.builder()
deleteWorkspaceRequest - A Consumer that will call methods on DeleteWorkspaceRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExecuteQueryResponse executeQuery(ExecuteQueryRequest executeQueryRequest) throws InternalServerException, AccessDeniedException, QueryTimeoutException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Run queries to access information from your knowledge graph of entities within individual workspaces.
executeQueryRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.QueryTimeoutException - The query timeout exception.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExecuteQueryResponse executeQuery(Consumer<ExecuteQueryRequest.Builder> executeQueryRequest) throws InternalServerException, AccessDeniedException, QueryTimeoutException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Run queries to access information from your knowledge graph of entities within individual workspaces.
This is a convenience which creates an instance of the ExecuteQueryRequest.Builder avoiding the need to
create one manually via ExecuteQueryRequest.builder()
executeQueryRequest - A Consumer that will call methods on ExecuteQueryRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.QueryTimeoutException - The query timeout exception.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExecuteQueryIterable executeQueryPaginator(ExecuteQueryRequest executeQueryRequest) throws InternalServerException, AccessDeniedException, QueryTimeoutException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Run queries to access information from your knowledge graph of entities within individual workspaces.
This is a variant of
executeQuery(software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client.executeQueryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client
.executeQueryPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client.executeQueryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
executeQuery(software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest) operation.
executeQueryRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.QueryTimeoutException - The query timeout exception.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExecuteQueryIterable executeQueryPaginator(Consumer<ExecuteQueryRequest.Builder> executeQueryRequest) throws InternalServerException, AccessDeniedException, QueryTimeoutException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Run queries to access information from your knowledge graph of entities within individual workspaces.
This is a variant of
executeQuery(software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client.executeQueryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client
.executeQueryPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client.executeQueryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
executeQuery(software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest) operation.
This is a convenience which creates an instance of the ExecuteQueryRequest.Builder avoiding the need to
create one manually via ExecuteQueryRequest.builder()
executeQueryRequest - A Consumer that will call methods on ExecuteQueryRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.QueryTimeoutException - The query timeout exception.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetComponentTypeResponse getComponentType(GetComponentTypeRequest getComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about a component type.
getComponentTypeRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetComponentTypeResponse getComponentType(Consumer<GetComponentTypeRequest.Builder> getComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about a component type.
This is a convenience which creates an instance of the GetComponentTypeRequest.Builder avoiding the need
to create one manually via GetComponentTypeRequest.builder()
getComponentTypeRequest - A Consumer that will call methods on GetComponentTypeRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetEntityResponse getEntity(GetEntityRequest getEntityRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about an entity.
getEntityRequest - InternalServerException - An unexpected error has occurred.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetEntityResponse getEntity(Consumer<GetEntityRequest.Builder> getEntityRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about an entity.
This is a convenience which creates an instance of the GetEntityRequest.Builder avoiding the need to
create one manually via GetEntityRequest.builder()
getEntityRequest - A Consumer that will call methods on GetEntityRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPricingPlanResponse getPricingPlan(GetPricingPlanRequest getPricingPlanRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Gets the pricing plan.
getPricingPlanRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPricingPlanResponse getPricingPlan(Consumer<GetPricingPlanRequest.Builder> getPricingPlanRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Gets the pricing plan.
This is a convenience which creates an instance of the GetPricingPlanRequest.Builder avoiding the need to
create one manually via GetPricingPlanRequest.builder()
getPricingPlanRequest - A Consumer that will call methods on GetPricingPlanRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPropertyValueResponse getPropertyValue(GetPropertyValueRequest getPropertyValueRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException
Gets the property values for a component, component type, entity, or workspace.
You must specify a value for either componentName, componentTypeId,
entityId, or workspaceId.
getPropertyValueRequest - InternalServerException - An unexpected error has occurred.ConnectorFailureException - The connector failed.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConnectorTimeoutException - The connector timed out.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPropertyValueResponse getPropertyValue(Consumer<GetPropertyValueRequest.Builder> getPropertyValueRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException
Gets the property values for a component, component type, entity, or workspace.
You must specify a value for either componentName, componentTypeId,
entityId, or workspaceId.
This is a convenience which creates an instance of the GetPropertyValueRequest.Builder avoiding the need
to create one manually via GetPropertyValueRequest.builder()
getPropertyValueRequest - A Consumer that will call methods on GetPropertyValueRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.ConnectorFailureException - The connector failed.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConnectorTimeoutException - The connector timed out.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPropertyValueIterable getPropertyValuePaginator(GetPropertyValueRequest getPropertyValueRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException
Gets the property values for a component, component type, entity, or workspace.
You must specify a value for either componentName, componentTypeId,
entityId, or workspaceId.
This is a variant of
getPropertyValue(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client.getPropertyValuePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client
.getPropertyValuePaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client.getPropertyValuePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getPropertyValue(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest)
operation.
getPropertyValueRequest - InternalServerException - An unexpected error has occurred.ConnectorFailureException - The connector failed.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConnectorTimeoutException - The connector timed out.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPropertyValueIterable getPropertyValuePaginator(Consumer<GetPropertyValueRequest.Builder> getPropertyValueRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException
Gets the property values for a component, component type, entity, or workspace.
You must specify a value for either componentName, componentTypeId,
entityId, or workspaceId.
This is a variant of
getPropertyValue(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client.getPropertyValuePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client
.getPropertyValuePaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client.getPropertyValuePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getPropertyValue(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest)
operation.
This is a convenience which creates an instance of the GetPropertyValueRequest.Builder avoiding the need
to create one manually via GetPropertyValueRequest.builder()
getPropertyValueRequest - A Consumer that will call methods on GetPropertyValueRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.ConnectorFailureException - The connector failed.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConnectorTimeoutException - The connector timed out.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPropertyValueHistoryResponse getPropertyValueHistory(GetPropertyValueHistoryRequest getPropertyValueHistoryRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.
You must specify a value for workspaceId. For entity-specific queries, specify values for
componentName and entityId. For cross-entity quries, specify a value for
componentTypeId.
getPropertyValueHistoryRequest - InternalServerException - An unexpected error has occurred.ConnectorFailureException - The connector failed.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConnectorTimeoutException - The connector timed out.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPropertyValueHistoryResponse getPropertyValueHistory(Consumer<GetPropertyValueHistoryRequest.Builder> getPropertyValueHistoryRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.
You must specify a value for workspaceId. For entity-specific queries, specify values for
componentName and entityId. For cross-entity quries, specify a value for
componentTypeId.
This is a convenience which creates an instance of the GetPropertyValueHistoryRequest.Builder avoiding
the need to create one manually via GetPropertyValueHistoryRequest.builder()
getPropertyValueHistoryRequest - A Consumer that will call methods on GetPropertyValueHistoryRequest.Builder to create a
request.InternalServerException - An unexpected error has occurred.ConnectorFailureException - The connector failed.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConnectorTimeoutException - The connector timed out.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPropertyValueHistoryIterable getPropertyValueHistoryPaginator(GetPropertyValueHistoryRequest getPropertyValueHistoryRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.
You must specify a value for workspaceId. For entity-specific queries, specify values for
componentName and entityId. For cross-entity quries, specify a value for
componentTypeId.
This is a variant of
getPropertyValueHistory(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client.getPropertyValueHistoryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client
.getPropertyValueHistoryPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client.getPropertyValueHistoryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getPropertyValueHistory(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest)
operation.
getPropertyValueHistoryRequest - InternalServerException - An unexpected error has occurred.ConnectorFailureException - The connector failed.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConnectorTimeoutException - The connector timed out.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetPropertyValueHistoryIterable getPropertyValueHistoryPaginator(Consumer<GetPropertyValueHistoryRequest.Builder> getPropertyValueHistoryRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.
You must specify a value for workspaceId. For entity-specific queries, specify values for
componentName and entityId. For cross-entity quries, specify a value for
componentTypeId.
This is a variant of
getPropertyValueHistory(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client.getPropertyValueHistoryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client
.getPropertyValueHistoryPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client.getPropertyValueHistoryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getPropertyValueHistory(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest)
operation.
This is a convenience which creates an instance of the GetPropertyValueHistoryRequest.Builder avoiding
the need to create one manually via GetPropertyValueHistoryRequest.builder()
getPropertyValueHistoryRequest - A Consumer that will call methods on GetPropertyValueHistoryRequest.Builder to create a
request.InternalServerException - An unexpected error has occurred.ConnectorFailureException - The connector failed.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConnectorTimeoutException - The connector timed out.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSceneResponse getScene(GetSceneRequest getSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about a scene.
getSceneRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSceneResponse getScene(Consumer<GetSceneRequest.Builder> getSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about a scene.
This is a convenience which creates an instance of the GetSceneRequest.Builder avoiding the need to
create one manually via GetSceneRequest.builder()
getSceneRequest - A Consumer that will call methods on GetSceneRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSyncJobResponse getSyncJob(GetSyncJobRequest getSyncJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Gets the SyncJob.
getSyncJobRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSyncJobResponse getSyncJob(Consumer<GetSyncJobRequest.Builder> getSyncJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Gets the SyncJob.
This is a convenience which creates an instance of the GetSyncJobRequest.Builder avoiding the need to
create one manually via GetSyncJobRequest.builder()
getSyncJobRequest - A Consumer that will call methods on GetSyncJobRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetWorkspaceResponse getWorkspace(GetWorkspaceRequest getWorkspaceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about a workspace.
getWorkspaceRequest - InternalServerException - An unexpected error has occurred.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetWorkspaceResponse getWorkspace(Consumer<GetWorkspaceRequest.Builder> getWorkspaceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about a workspace.
This is a convenience which creates an instance of the GetWorkspaceRequest.Builder avoiding the need to
create one manually via GetWorkspaceRequest.builder()
getWorkspaceRequest - A Consumer that will call methods on GetWorkspaceRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComponentTypesResponse listComponentTypes(ListComponentTypesRequest listComponentTypesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all component types in a workspace.
listComponentTypesRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComponentTypesResponse listComponentTypes(Consumer<ListComponentTypesRequest.Builder> listComponentTypesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all component types in a workspace.
This is a convenience which creates an instance of the ListComponentTypesRequest.Builder avoiding the
need to create one manually via ListComponentTypesRequest.builder()
listComponentTypesRequest - A Consumer that will call methods on ListComponentTypesRequest.Builder to create a
request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComponentTypesIterable listComponentTypesPaginator(ListComponentTypesRequest listComponentTypesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all component types in a workspace.
This is a variant of
listComponentTypes(software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client.listComponentTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client
.listComponentTypesPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client.listComponentTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponentTypes(software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest)
operation.
listComponentTypesRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListComponentTypesIterable listComponentTypesPaginator(Consumer<ListComponentTypesRequest.Builder> listComponentTypesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all component types in a workspace.
This is a variant of
listComponentTypes(software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client.listComponentTypesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client
.listComponentTypesPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client.listComponentTypesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listComponentTypes(software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest)
operation.
This is a convenience which creates an instance of the ListComponentTypesRequest.Builder avoiding the
need to create one manually via ListComponentTypesRequest.builder()
listComponentTypesRequest - A Consumer that will call methods on ListComponentTypesRequest.Builder to create a
request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEntitiesResponse listEntities(ListEntitiesRequest listEntitiesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all entities in a workspace.
listEntitiesRequest - InternalServerException - An unexpected error has occurred.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEntitiesResponse listEntities(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all entities in a workspace.
This is a convenience which creates an instance of the ListEntitiesRequest.Builder avoiding the need to
create one manually via ListEntitiesRequest.builder()
listEntitiesRequest - A Consumer that will call methods on ListEntitiesRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEntitiesIterable listEntitiesPaginator(ListEntitiesRequest listEntitiesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all entities in a workspace.
This is a variant of
listEntities(software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client
.listEntitiesPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntities(software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest) operation.
listEntitiesRequest - InternalServerException - An unexpected error has occurred.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListEntitiesIterable listEntitiesPaginator(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all entities in a workspace.
This is a variant of
listEntities(software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client
.listEntitiesPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listEntities(software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest) operation.
This is a convenience which creates an instance of the ListEntitiesRequest.Builder avoiding the need to
create one manually via ListEntitiesRequest.builder()
listEntitiesRequest - A Consumer that will call methods on ListEntitiesRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListScenesResponse listScenes(ListScenesRequest listScenesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all scenes in a workspace.
listScenesRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListScenesResponse listScenes(Consumer<ListScenesRequest.Builder> listScenesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all scenes in a workspace.
This is a convenience which creates an instance of the ListScenesRequest.Builder avoiding the need to
create one manually via ListScenesRequest.builder()
listScenesRequest - A Consumer that will call methods on ListScenesRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListScenesIterable listScenesPaginator(ListScenesRequest listScenesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all scenes in a workspace.
This is a variant of listScenes(software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListScenesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScenes(software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest) operation.
listScenesRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListScenesIterable listScenesPaginator(Consumer<ListScenesRequest.Builder> listScenesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all scenes in a workspace.
This is a variant of listScenes(software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListScenesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScenes(software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest) operation.
This is a convenience which creates an instance of the ListScenesRequest.Builder avoiding the need to
create one manually via ListScenesRequest.builder()
listScenesRequest - A Consumer that will call methods on ListScenesRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSyncJobsResponse listSyncJobs(ListSyncJobsRequest listSyncJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
List all SyncJobs.
listSyncJobsRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSyncJobsResponse listSyncJobs(Consumer<ListSyncJobsRequest.Builder> listSyncJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
List all SyncJobs.
This is a convenience which creates an instance of the ListSyncJobsRequest.Builder avoiding the need to
create one manually via ListSyncJobsRequest.builder()
listSyncJobsRequest - A Consumer that will call methods on ListSyncJobsRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSyncJobsIterable listSyncJobsPaginator(ListSyncJobsRequest listSyncJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
List all SyncJobs.
This is a variant of
listSyncJobs(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client.listSyncJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client
.listSyncJobsPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client.listSyncJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSyncJobs(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest) operation.
listSyncJobsRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSyncJobsIterable listSyncJobsPaginator(Consumer<ListSyncJobsRequest.Builder> listSyncJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
List all SyncJobs.
This is a variant of
listSyncJobs(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client.listSyncJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client
.listSyncJobsPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client.listSyncJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSyncJobs(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest) operation.
This is a convenience which creates an instance of the ListSyncJobsRequest.Builder avoiding the need to
create one manually via ListSyncJobsRequest.builder()
listSyncJobsRequest - A Consumer that will call methods on ListSyncJobsRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSyncResourcesResponse listSyncResources(ListSyncResourcesRequest listSyncResourcesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists the sync resources.
listSyncResourcesRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSyncResourcesResponse listSyncResources(Consumer<ListSyncResourcesRequest.Builder> listSyncResourcesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists the sync resources.
This is a convenience which creates an instance of the ListSyncResourcesRequest.Builder avoiding the need
to create one manually via ListSyncResourcesRequest.builder()
listSyncResourcesRequest - A Consumer that will call methods on ListSyncResourcesRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSyncResourcesIterable listSyncResourcesPaginator(ListSyncResourcesRequest listSyncResourcesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists the sync resources.
This is a variant of
listSyncResources(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client.listSyncResourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client
.listSyncResourcesPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client.listSyncResourcesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSyncResources(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest)
operation.
listSyncResourcesRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSyncResourcesIterable listSyncResourcesPaginator(Consumer<ListSyncResourcesRequest.Builder> listSyncResourcesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists the sync resources.
This is a variant of
listSyncResources(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client.listSyncResourcesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client
.listSyncResourcesPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client.listSyncResourcesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSyncResources(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest)
operation.
This is a convenience which creates an instance of the ListSyncResourcesRequest.Builder avoiding the need
to create one manually via ListSyncResourcesRequest.builder()
listSyncResourcesRequest - A Consumer that will call methods on ListSyncResourcesRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all tags associated with a resource.
listTagsForResourceRequest - AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException
Lists all tags associated with a resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkspacesResponse listWorkspaces(ListWorkspacesRequest listWorkspacesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about workspaces in the current account.
listWorkspacesRequest - InternalServerException - An unexpected error has occurred.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkspacesResponse listWorkspaces(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about workspaces in the current account.
This is a convenience which creates an instance of the ListWorkspacesRequest.Builder avoiding the need to
create one manually via ListWorkspacesRequest.builder()
listWorkspacesRequest - A Consumer that will call methods on ListWorkspacesRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkspacesIterable listWorkspacesPaginator(ListWorkspacesRequest listWorkspacesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about workspaces in the current account.
This is a variant of
listWorkspaces(software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client
.listWorkspacesPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkspaces(software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest) operation.
listWorkspacesRequest - InternalServerException - An unexpected error has occurred.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListWorkspacesIterable listWorkspacesPaginator(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Retrieves information about workspaces in the current account.
This is a variant of
listWorkspaces(software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client
.listWorkspacesPaginator(request);
for (software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkspaces(software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest) operation.
This is a convenience which creates an instance of the ListWorkspacesRequest.Builder avoiding the need to
create one manually via ListWorkspacesRequest.builder()
listWorkspacesRequest - A Consumer that will call methods on ListWorkspacesRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws TooManyTagsException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException
Adds tags to a resource.
tagResourceRequest - TooManyTagsException - The number of tags exceeds the limit.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws TooManyTagsException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException
Adds tags to a resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.TooManyTagsException - The number of tags exceeds the limit.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException
Removes tags from a resource.
untagResourceRequest - AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException
Removes tags from a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateComponentTypeResponse updateComponentType(UpdateComponentTypeRequest updateComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Updates information in a component type.
updateComponentTypeRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateComponentTypeResponse updateComponentType(Consumer<UpdateComponentTypeRequest.Builder> updateComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Updates information in a component type.
This is a convenience which creates an instance of the UpdateComponentTypeRequest.Builder avoiding the
need to create one manually via UpdateComponentTypeRequest.builder()
updateComponentTypeRequest - A Consumer that will call methods on UpdateComponentTypeRequest.Builder to create a
request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateEntityResponse updateEntity(UpdateEntityRequest updateEntityRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Updates an entity.
updateEntityRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateEntityResponse updateEntity(Consumer<UpdateEntityRequest.Builder> updateEntityRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Updates an entity.
This is a convenience which creates an instance of the UpdateEntityRequest.Builder avoiding the need to
create one manually via UpdateEntityRequest.builder()
updateEntityRequest - A Consumer that will call methods on UpdateEntityRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedConflictException - A conflict occurred.ServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdatePricingPlanResponse updatePricingPlan(UpdatePricingPlanRequest updatePricingPlanRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Update the pricing plan.
updatePricingPlanRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdatePricingPlanResponse updatePricingPlan(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Update the pricing plan.
This is a convenience which creates an instance of the UpdatePricingPlanRequest.Builder avoiding the need
to create one manually via UpdatePricingPlanRequest.builder()
updatePricingPlanRequest - A Consumer that will call methods on UpdatePricingPlanRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSceneResponse updateScene(UpdateSceneRequest updateSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Updates a scene.
updateSceneRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSceneResponse updateScene(Consumer<UpdateSceneRequest.Builder> updateSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException
Updates a scene.
This is a convenience which creates an instance of the UpdateSceneRequest.Builder avoiding the need to
create one manually via UpdateSceneRequest.builder()
updateSceneRequest - A Consumer that will call methods on UpdateSceneRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedSdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateWorkspaceResponse updateWorkspace(UpdateWorkspaceRequest updateWorkspaceRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Updates a workspace.
updateWorkspaceRequest - InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateWorkspaceResponse updateWorkspace(Consumer<UpdateWorkspaceRequest.Builder> updateWorkspaceRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException
Updates a workspace.
This is a convenience which creates an instance of the UpdateWorkspaceRequest.Builder avoiding the need
to create one manually via UpdateWorkspaceRequest.builder()
updateWorkspaceRequest - A Consumer that will call methods on UpdateWorkspaceRequest.Builder to create a request.InternalServerException - An unexpected error has occurred.AccessDeniedException - Access is denied.ResourceNotFoundException - The resource wasn't found.ThrottlingException - The rate exceeds the limit.ValidationException - FailedServiceQuotaExceededException - The service quota was exceeded.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.IoTTwinMakerException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic IoTTwinMakerClient create()
IoTTwinMakerClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static IoTTwinMakerClientBuilder builder()
IoTTwinMakerClient.static ServiceMetadata serviceMetadata()
default IoTTwinMakerServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.