Interface IoTTwinMakerAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbatchPutPropertyValues
(Consumer<BatchPutPropertyValuesRequest.Builder> batchPutPropertyValuesRequest) Sets values for multiple time series properties.batchPutPropertyValues
(BatchPutPropertyValuesRequest batchPutPropertyValuesRequest) Sets values for multiple time series properties.builder()
Create a builder that can be used to configure and create aIoTTwinMakerAsyncClient
.static IoTTwinMakerAsyncClient
create()
Create aIoTTwinMakerAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createComponentType
(Consumer<CreateComponentTypeRequest.Builder> createComponentTypeRequest) Creates a component type.createComponentType
(CreateComponentTypeRequest createComponentTypeRequest) Creates a component type.default CompletableFuture
<CreateEntityResponse> createEntity
(Consumer<CreateEntityRequest.Builder> createEntityRequest) Creates an entity.default CompletableFuture
<CreateEntityResponse> createEntity
(CreateEntityRequest createEntityRequest) Creates an entity.default CompletableFuture
<CreateSceneResponse> createScene
(Consumer<CreateSceneRequest.Builder> createSceneRequest) Creates a scene.default CompletableFuture
<CreateSceneResponse> createScene
(CreateSceneRequest createSceneRequest) Creates a scene.default CompletableFuture
<CreateSyncJobResponse> createSyncJob
(Consumer<CreateSyncJobRequest.Builder> createSyncJobRequest) This action creates a SyncJob.default CompletableFuture
<CreateSyncJobResponse> createSyncJob
(CreateSyncJobRequest createSyncJobRequest) This action creates a SyncJob.default CompletableFuture
<CreateWorkspaceResponse> createWorkspace
(Consumer<CreateWorkspaceRequest.Builder> createWorkspaceRequest) Creates a workplace.default CompletableFuture
<CreateWorkspaceResponse> createWorkspace
(CreateWorkspaceRequest createWorkspaceRequest) Creates a workplace.deleteComponentType
(Consumer<DeleteComponentTypeRequest.Builder> deleteComponentTypeRequest) Deletes a component type.deleteComponentType
(DeleteComponentTypeRequest deleteComponentTypeRequest) Deletes a component type.default CompletableFuture
<DeleteEntityResponse> deleteEntity
(Consumer<DeleteEntityRequest.Builder> deleteEntityRequest) Deletes an entity.default CompletableFuture
<DeleteEntityResponse> deleteEntity
(DeleteEntityRequest deleteEntityRequest) Deletes an entity.default CompletableFuture
<DeleteSceneResponse> deleteScene
(Consumer<DeleteSceneRequest.Builder> deleteSceneRequest) Deletes a scene.default CompletableFuture
<DeleteSceneResponse> deleteScene
(DeleteSceneRequest deleteSceneRequest) Deletes a scene.default CompletableFuture
<DeleteSyncJobResponse> deleteSyncJob
(Consumer<DeleteSyncJobRequest.Builder> deleteSyncJobRequest) Delete the SyncJob.default CompletableFuture
<DeleteSyncJobResponse> deleteSyncJob
(DeleteSyncJobRequest deleteSyncJobRequest) Delete the SyncJob.default CompletableFuture
<DeleteWorkspaceResponse> deleteWorkspace
(Consumer<DeleteWorkspaceRequest.Builder> deleteWorkspaceRequest) Deletes a workspace.default CompletableFuture
<DeleteWorkspaceResponse> deleteWorkspace
(DeleteWorkspaceRequest deleteWorkspaceRequest) Deletes a workspace.default CompletableFuture
<ExecuteQueryResponse> executeQuery
(Consumer<ExecuteQueryRequest.Builder> executeQueryRequest) Run queries to access information from your knowledge graph of entities within individual workspaces.default CompletableFuture
<ExecuteQueryResponse> executeQuery
(ExecuteQueryRequest executeQueryRequest) Run queries to access information from your knowledge graph of entities within individual workspaces.default ExecuteQueryPublisher
executeQueryPaginator
(Consumer<ExecuteQueryRequest.Builder> executeQueryRequest) Run queries to access information from your knowledge graph of entities within individual workspaces.default ExecuteQueryPublisher
executeQueryPaginator
(ExecuteQueryRequest executeQueryRequest) Run queries to access information from your knowledge graph of entities within individual workspaces.getComponentType
(Consumer<GetComponentTypeRequest.Builder> getComponentTypeRequest) Retrieves information about a component type.getComponentType
(GetComponentTypeRequest getComponentTypeRequest) Retrieves information about a component type.default CompletableFuture
<GetEntityResponse> getEntity
(Consumer<GetEntityRequest.Builder> getEntityRequest) Retrieves information about an entity.default CompletableFuture
<GetEntityResponse> getEntity
(GetEntityRequest getEntityRequest) Retrieves information about an entity.default CompletableFuture
<GetPricingPlanResponse> getPricingPlan
(Consumer<GetPricingPlanRequest.Builder> getPricingPlanRequest) Gets the pricing plan.default CompletableFuture
<GetPricingPlanResponse> getPricingPlan
(GetPricingPlanRequest getPricingPlanRequest) Gets the pricing plan.getPropertyValue
(Consumer<GetPropertyValueRequest.Builder> getPropertyValueRequest) Gets the property values for a component, component type, entity, or workspace.getPropertyValue
(GetPropertyValueRequest getPropertyValueRequest) Gets the property values for a component, component type, entity, or workspace.getPropertyValueHistory
(Consumer<GetPropertyValueHistoryRequest.Builder> getPropertyValueHistoryRequest) Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.getPropertyValueHistory
(GetPropertyValueHistoryRequest getPropertyValueHistoryRequest) Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.default GetPropertyValueHistoryPublisher
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 GetPropertyValueHistoryPublisher
getPropertyValueHistoryPaginator
(GetPropertyValueHistoryRequest getPropertyValueHistoryRequest) Retrieves information about the history of a time series property value for a component, component type, entity, or workspace.default GetPropertyValuePublisher
getPropertyValuePaginator
(Consumer<GetPropertyValueRequest.Builder> getPropertyValueRequest) Gets the property values for a component, component type, entity, or workspace.default GetPropertyValuePublisher
getPropertyValuePaginator
(GetPropertyValueRequest getPropertyValueRequest) Gets the property values for a component, component type, entity, or workspace.default CompletableFuture
<GetSceneResponse> getScene
(Consumer<GetSceneRequest.Builder> getSceneRequest) Retrieves information about a scene.default CompletableFuture
<GetSceneResponse> getScene
(GetSceneRequest getSceneRequest) Retrieves information about a scene.default CompletableFuture
<GetSyncJobResponse> getSyncJob
(Consumer<GetSyncJobRequest.Builder> getSyncJobRequest) Gets the SyncJob.default CompletableFuture
<GetSyncJobResponse> getSyncJob
(GetSyncJobRequest getSyncJobRequest) Gets the SyncJob.default CompletableFuture
<GetWorkspaceResponse> getWorkspace
(Consumer<GetWorkspaceRequest.Builder> getWorkspaceRequest) Retrieves information about a workspace.default CompletableFuture
<GetWorkspaceResponse> getWorkspace
(GetWorkspaceRequest getWorkspaceRequest) Retrieves information about a workspace.listComponentTypes
(Consumer<ListComponentTypesRequest.Builder> listComponentTypesRequest) Lists all component types in a workspace.listComponentTypes
(ListComponentTypesRequest listComponentTypesRequest) Lists all component types in a workspace.default ListComponentTypesPublisher
listComponentTypesPaginator
(Consumer<ListComponentTypesRequest.Builder> listComponentTypesRequest) Lists all component types in a workspace.default ListComponentTypesPublisher
listComponentTypesPaginator
(ListComponentTypesRequest listComponentTypesRequest) Lists all component types in a workspace.default CompletableFuture
<ListEntitiesResponse> listEntities
(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest) Lists all entities in a workspace.default CompletableFuture
<ListEntitiesResponse> listEntities
(ListEntitiesRequest listEntitiesRequest) Lists all entities in a workspace.default ListEntitiesPublisher
listEntitiesPaginator
(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest) Lists all entities in a workspace.default ListEntitiesPublisher
listEntitiesPaginator
(ListEntitiesRequest listEntitiesRequest) Lists all entities in a workspace.default CompletableFuture
<ListScenesResponse> listScenes
(Consumer<ListScenesRequest.Builder> listScenesRequest) Lists all scenes in a workspace.default CompletableFuture
<ListScenesResponse> listScenes
(ListScenesRequest listScenesRequest) Lists all scenes in a workspace.default ListScenesPublisher
listScenesPaginator
(Consumer<ListScenesRequest.Builder> listScenesRequest) Lists all scenes in a workspace.default ListScenesPublisher
listScenesPaginator
(ListScenesRequest listScenesRequest) Lists all scenes in a workspace.default CompletableFuture
<ListSyncJobsResponse> listSyncJobs
(Consumer<ListSyncJobsRequest.Builder> listSyncJobsRequest) List all SyncJobs.default CompletableFuture
<ListSyncJobsResponse> listSyncJobs
(ListSyncJobsRequest listSyncJobsRequest) List all SyncJobs.default ListSyncJobsPublisher
listSyncJobsPaginator
(Consumer<ListSyncJobsRequest.Builder> listSyncJobsRequest) List all SyncJobs.default ListSyncJobsPublisher
listSyncJobsPaginator
(ListSyncJobsRequest listSyncJobsRequest) List all SyncJobs.listSyncResources
(Consumer<ListSyncResourcesRequest.Builder> listSyncResourcesRequest) Lists the sync resources.listSyncResources
(ListSyncResourcesRequest listSyncResourcesRequest) Lists the sync resources.default ListSyncResourcesPublisher
listSyncResourcesPaginator
(Consumer<ListSyncResourcesRequest.Builder> listSyncResourcesRequest) Lists the sync resources.default ListSyncResourcesPublisher
listSyncResourcesPaginator
(ListSyncResourcesRequest listSyncResourcesRequest) Lists the sync resources.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists all tags associated with a resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags associated with a resource.default CompletableFuture
<ListWorkspacesResponse> listWorkspaces
(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest) Retrieves information about workspaces in the current account.default CompletableFuture
<ListWorkspacesResponse> listWorkspaces
(ListWorkspacesRequest listWorkspacesRequest) Retrieves information about workspaces in the current account.default ListWorkspacesPublisher
listWorkspacesPaginator
(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest) Retrieves information about workspaces in the current account.default ListWorkspacesPublisher
listWorkspacesPaginator
(ListWorkspacesRequest listWorkspacesRequest) Retrieves information about workspaces in the current account.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a resource.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds tags to a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a resource.updateComponentType
(Consumer<UpdateComponentTypeRequest.Builder> updateComponentTypeRequest) Updates information in a component type.updateComponentType
(UpdateComponentTypeRequest updateComponentTypeRequest) Updates information in a component type.default CompletableFuture
<UpdateEntityResponse> updateEntity
(Consumer<UpdateEntityRequest.Builder> updateEntityRequest) Updates an entity.default CompletableFuture
<UpdateEntityResponse> updateEntity
(UpdateEntityRequest updateEntityRequest) Updates an entity.updatePricingPlan
(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest) Update the pricing plan.updatePricingPlan
(UpdatePricingPlanRequest updatePricingPlanRequest) Update the pricing plan.default CompletableFuture
<UpdateSceneResponse> updateScene
(Consumer<UpdateSceneRequest.Builder> updateSceneRequest) Updates a scene.default CompletableFuture
<UpdateSceneResponse> updateScene
(UpdateSceneRequest updateSceneRequest) Updates a scene.default CompletableFuture
<UpdateWorkspaceResponse> updateWorkspace
(Consumer<UpdateWorkspaceRequest.Builder> updateWorkspaceRequest) Updates a workspace.default CompletableFuture
<UpdateWorkspaceResponse> updateWorkspace
(UpdateWorkspaceRequest updateWorkspaceRequest) Updates a workspace.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
batchPutPropertyValues
default CompletableFuture<BatchPutPropertyValuesResponse> batchPutPropertyValues(BatchPutPropertyValuesRequest batchPutPropertyValuesRequest) Sets values for multiple time series properties.
- Parameters:
batchPutPropertyValuesRequest
-- Returns:
- A Java Future containing the result of the BatchPutPropertyValues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
batchPutPropertyValues
default CompletableFuture<BatchPutPropertyValuesResponse> batchPutPropertyValues(Consumer<BatchPutPropertyValuesRequest.Builder> batchPutPropertyValuesRequest) 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 viaBatchPutPropertyValuesRequest.builder()
- Parameters:
batchPutPropertyValuesRequest
- AConsumer
that will call methods onBatchPutPropertyValuesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchPutPropertyValues operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
createComponentType
default CompletableFuture<CreateComponentTypeResponse> createComponentType(CreateComponentTypeRequest createComponentTypeRequest) Creates a component type.
- Parameters:
createComponentTypeRequest
-- Returns:
- A Java Future containing the result of the CreateComponentType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
createComponentType
default CompletableFuture<CreateComponentTypeResponse> createComponentType(Consumer<CreateComponentTypeRequest.Builder> createComponentTypeRequest) Creates a component type.
This is a convenience which creates an instance of the
CreateComponentTypeRequest.Builder
avoiding the need to create one manually viaCreateComponentTypeRequest.builder()
- Parameters:
createComponentTypeRequest
- AConsumer
that will call methods onCreateComponentTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateComponentType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
createEntity
default CompletableFuture<CreateEntityResponse> createEntity(CreateEntityRequest createEntityRequest) Creates an entity.
- Parameters:
createEntityRequest
-- Returns:
- A Java Future containing the result of the CreateEntity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
createEntity
default CompletableFuture<CreateEntityResponse> createEntity(Consumer<CreateEntityRequest.Builder> createEntityRequest) Creates an entity.
This is a convenience which creates an instance of the
CreateEntityRequest.Builder
avoiding the need to create one manually viaCreateEntityRequest.builder()
- Parameters:
createEntityRequest
- AConsumer
that will call methods onCreateEntityRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateEntity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
createScene
Creates a scene.
- Parameters:
createSceneRequest
-- Returns:
- A Java Future containing the result of the CreateScene operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
createScene
default CompletableFuture<CreateSceneResponse> createScene(Consumer<CreateSceneRequest.Builder> createSceneRequest) Creates a scene.
This is a convenience which creates an instance of the
CreateSceneRequest.Builder
avoiding the need to create one manually viaCreateSceneRequest.builder()
- Parameters:
createSceneRequest
- AConsumer
that will call methods onCreateSceneRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateScene operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
createSyncJob
default CompletableFuture<CreateSyncJobResponse> createSyncJob(CreateSyncJobRequest createSyncJobRequest) This action creates a SyncJob.
- Parameters:
createSyncJobRequest
-- Returns:
- A Java Future containing the result of the CreateSyncJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
createSyncJob
default CompletableFuture<CreateSyncJobResponse> createSyncJob(Consumer<CreateSyncJobRequest.Builder> createSyncJobRequest) This action creates a SyncJob.
This is a convenience which creates an instance of the
CreateSyncJobRequest.Builder
avoiding the need to create one manually viaCreateSyncJobRequest.builder()
- Parameters:
createSyncJobRequest
- AConsumer
that will call methods onCreateSyncJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSyncJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
createWorkspace
default CompletableFuture<CreateWorkspaceResponse> createWorkspace(CreateWorkspaceRequest createWorkspaceRequest) Creates a workplace.
- Parameters:
createWorkspaceRequest
-- Returns:
- A Java Future containing the result of the CreateWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
createWorkspace
default CompletableFuture<CreateWorkspaceResponse> createWorkspace(Consumer<CreateWorkspaceRequest.Builder> createWorkspaceRequest) Creates a workplace.
This is a convenience which creates an instance of the
CreateWorkspaceRequest.Builder
avoiding the need to create one manually viaCreateWorkspaceRequest.builder()
- Parameters:
createWorkspaceRequest
- AConsumer
that will call methods onCreateWorkspaceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
deleteComponentType
default CompletableFuture<DeleteComponentTypeResponse> deleteComponentType(DeleteComponentTypeRequest deleteComponentTypeRequest) Deletes a component type.
- Parameters:
deleteComponentTypeRequest
-- Returns:
- A Java Future containing the result of the DeleteComponentType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
deleteComponentType
default CompletableFuture<DeleteComponentTypeResponse> deleteComponentType(Consumer<DeleteComponentTypeRequest.Builder> deleteComponentTypeRequest) Deletes a component type.
This is a convenience which creates an instance of the
DeleteComponentTypeRequest.Builder
avoiding the need to create one manually viaDeleteComponentTypeRequest.builder()
- Parameters:
deleteComponentTypeRequest
- AConsumer
that will call methods onDeleteComponentTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteComponentType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
deleteEntity
default CompletableFuture<DeleteEntityResponse> deleteEntity(DeleteEntityRequest deleteEntityRequest) Deletes an entity.
- Parameters:
deleteEntityRequest
-- Returns:
- A Java Future containing the result of the DeleteEntity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
deleteEntity
default CompletableFuture<DeleteEntityResponse> deleteEntity(Consumer<DeleteEntityRequest.Builder> deleteEntityRequest) Deletes an entity.
This is a convenience which creates an instance of the
DeleteEntityRequest.Builder
avoiding the need to create one manually viaDeleteEntityRequest.builder()
- Parameters:
deleteEntityRequest
- AConsumer
that will call methods onDeleteEntityRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteEntity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
deleteScene
Deletes a scene.
- Parameters:
deleteSceneRequest
-- Returns:
- A Java Future containing the result of the DeleteScene operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
deleteScene
default CompletableFuture<DeleteSceneResponse> deleteScene(Consumer<DeleteSceneRequest.Builder> deleteSceneRequest) Deletes a scene.
This is a convenience which creates an instance of the
DeleteSceneRequest.Builder
avoiding the need to create one manually viaDeleteSceneRequest.builder()
- Parameters:
deleteSceneRequest
- AConsumer
that will call methods onDeleteSceneRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteScene operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
deleteSyncJob
default CompletableFuture<DeleteSyncJobResponse> deleteSyncJob(DeleteSyncJobRequest deleteSyncJobRequest) Delete the SyncJob.
- Parameters:
deleteSyncJobRequest
-- Returns:
- A Java Future containing the result of the DeleteSyncJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
deleteSyncJob
default CompletableFuture<DeleteSyncJobResponse> deleteSyncJob(Consumer<DeleteSyncJobRequest.Builder> deleteSyncJobRequest) Delete the SyncJob.
This is a convenience which creates an instance of the
DeleteSyncJobRequest.Builder
avoiding the need to create one manually viaDeleteSyncJobRequest.builder()
- Parameters:
deleteSyncJobRequest
- AConsumer
that will call methods onDeleteSyncJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteSyncJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
deleteWorkspace
default CompletableFuture<DeleteWorkspaceResponse> deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest) Deletes a workspace.
- Parameters:
deleteWorkspaceRequest
-- Returns:
- A Java Future containing the result of the DeleteWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
deleteWorkspace
default CompletableFuture<DeleteWorkspaceResponse> deleteWorkspace(Consumer<DeleteWorkspaceRequest.Builder> deleteWorkspaceRequest) Deletes a workspace.
This is a convenience which creates an instance of the
DeleteWorkspaceRequest.Builder
avoiding the need to create one manually viaDeleteWorkspaceRequest.builder()
- Parameters:
deleteWorkspaceRequest
- AConsumer
that will call methods onDeleteWorkspaceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
executeQuery
default CompletableFuture<ExecuteQueryResponse> executeQuery(ExecuteQueryRequest executeQueryRequest) Run queries to access information from your knowledge graph of entities within individual workspaces.
- Parameters:
executeQueryRequest
-- Returns:
- A Java Future containing the result of the ExecuteQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- QueryTimeoutException The query timeout exception.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
executeQuery
default CompletableFuture<ExecuteQueryResponse> executeQuery(Consumer<ExecuteQueryRequest.Builder> executeQueryRequest) 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 viaExecuteQueryRequest.builder()
- Parameters:
executeQueryRequest
- AConsumer
that will call methods onExecuteQueryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ExecuteQuery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- QueryTimeoutException The query timeout exception.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
executeQueryPaginator
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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryPublisher publisher = client.executeQueryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryPublisher publisher = client.executeQueryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryResponse response) { //... }; });
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.- Parameters:
executeQueryRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- QueryTimeoutException The query timeout exception.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
executeQueryPaginator
default ExecuteQueryPublisher executeQueryPaginator(Consumer<ExecuteQueryRequest.Builder> executeQueryRequest) 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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryPublisher publisher = client.executeQueryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryPublisher publisher = client.executeQueryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryResponse response) { //... }; });
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 viaExecuteQueryRequest.builder()
- Parameters:
executeQueryRequest
- AConsumer
that will call methods onExecuteQueryRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- QueryTimeoutException The query timeout exception.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getComponentType
default CompletableFuture<GetComponentTypeResponse> getComponentType(GetComponentTypeRequest getComponentTypeRequest) Retrieves information about a component type.
- Parameters:
getComponentTypeRequest
-- Returns:
- A Java Future containing the result of the GetComponentType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getComponentType
default CompletableFuture<GetComponentTypeResponse> getComponentType(Consumer<GetComponentTypeRequest.Builder> getComponentTypeRequest) 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 viaGetComponentTypeRequest.builder()
- Parameters:
getComponentTypeRequest
- AConsumer
that will call methods onGetComponentTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetComponentType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getEntity
Retrieves information about an entity.
- Parameters:
getEntityRequest
-- Returns:
- A Java Future containing the result of the GetEntity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getEntity
default CompletableFuture<GetEntityResponse> getEntity(Consumer<GetEntityRequest.Builder> getEntityRequest) Retrieves information about an entity.
This is a convenience which creates an instance of the
GetEntityRequest.Builder
avoiding the need to create one manually viaGetEntityRequest.builder()
- Parameters:
getEntityRequest
- AConsumer
that will call methods onGetEntityRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetEntity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getPricingPlan
default CompletableFuture<GetPricingPlanResponse> getPricingPlan(GetPricingPlanRequest getPricingPlanRequest) Gets the pricing plan.
- Parameters:
getPricingPlanRequest
-- Returns:
- A Java Future containing the result of the GetPricingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getPricingPlan
default CompletableFuture<GetPricingPlanResponse> getPricingPlan(Consumer<GetPricingPlanRequest.Builder> getPricingPlanRequest) Gets the pricing plan.
This is a convenience which creates an instance of the
GetPricingPlanRequest.Builder
avoiding the need to create one manually viaGetPricingPlanRequest.builder()
- Parameters:
getPricingPlanRequest
- AConsumer
that will call methods onGetPricingPlanRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetPricingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getPropertyValue
default CompletableFuture<GetPropertyValueResponse> getPropertyValue(GetPropertyValueRequest getPropertyValueRequest) Gets the property values for a component, component type, entity, or workspace.
You must specify a value for either
componentName
,componentTypeId
,entityId
, orworkspaceId
.- Parameters:
getPropertyValueRequest
-- Returns:
- A Java Future containing the result of the GetPropertyValue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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 Failed
- ConnectorTimeoutException 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.
- See Also:
-
getPropertyValue
default CompletableFuture<GetPropertyValueResponse> getPropertyValue(Consumer<GetPropertyValueRequest.Builder> getPropertyValueRequest) Gets the property values for a component, component type, entity, or workspace.
You must specify a value for either
componentName
,componentTypeId
,entityId
, orworkspaceId
.
This is a convenience which creates an instance of the
GetPropertyValueRequest.Builder
avoiding the need to create one manually viaGetPropertyValueRequest.builder()
- Parameters:
getPropertyValueRequest
- AConsumer
that will call methods onGetPropertyValueRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetPropertyValue operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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 Failed
- ConnectorTimeoutException 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.
- See Also:
-
getPropertyValueHistory
default CompletableFuture<GetPropertyValueHistoryResponse> getPropertyValueHistory(GetPropertyValueHistoryRequest getPropertyValueHistoryRequest) 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 forcomponentName
andentityId
. For cross-entity quries, specify a value forcomponentTypeId
.- Parameters:
getPropertyValueHistoryRequest
-- Returns:
- A Java Future containing the result of the GetPropertyValueHistory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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 Failed
- ConnectorTimeoutException 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.
- See Also:
-
getPropertyValueHistory
default CompletableFuture<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.
You must specify a value for
workspaceId
. For entity-specific queries, specify values forcomponentName
andentityId
. For cross-entity quries, specify a value forcomponentTypeId
.
This is a convenience which creates an instance of the
GetPropertyValueHistoryRequest.Builder
avoiding the need to create one manually viaGetPropertyValueHistoryRequest.builder()
- Parameters:
getPropertyValueHistoryRequest
- AConsumer
that will call methods onGetPropertyValueHistoryRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetPropertyValueHistory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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 Failed
- ConnectorTimeoutException 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.
- See Also:
-
getPropertyValueHistoryPaginator
default GetPropertyValueHistoryPublisher getPropertyValueHistoryPaginator(GetPropertyValueHistoryRequest getPropertyValueHistoryRequest) 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 forcomponentName
andentityId
. For cross-entity quries, specify a value forcomponentTypeId
.
This is a variant of
getPropertyValueHistory(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryPublisher publisher = client.getPropertyValueHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryPublisher publisher = client.getPropertyValueHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryResponse response) { //... }; });
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.- Parameters:
getPropertyValueHistoryRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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 Failed
- ConnectorTimeoutException 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.
- See Also:
-
getPropertyValueHistoryPaginator
default GetPropertyValueHistoryPublisher getPropertyValueHistoryPaginator(Consumer<GetPropertyValueHistoryRequest.Builder> getPropertyValueHistoryRequest) 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 forcomponentName
andentityId
. For cross-entity quries, specify a value forcomponentTypeId
.
This is a variant of
getPropertyValueHistory(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryPublisher publisher = client.getPropertyValueHistoryPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryPublisher publisher = client.getPropertyValueHistoryPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryResponse response) { //... }; });
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 viaGetPropertyValueHistoryRequest.builder()
- Parameters:
getPropertyValueHistoryRequest
- AConsumer
that will call methods onGetPropertyValueHistoryRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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 Failed
- ConnectorTimeoutException 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.
- See Also:
-
getPropertyValuePaginator
default GetPropertyValuePublisher getPropertyValuePaginator(GetPropertyValueRequest getPropertyValueRequest) Gets the property values for a component, component type, entity, or workspace.
You must specify a value for either
componentName
,componentTypeId
,entityId
, orworkspaceId
.
This is a variant of
getPropertyValue(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValuePublisher publisher = client.getPropertyValuePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValuePublisher publisher = client.getPropertyValuePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueResponse response) { //... }; });
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.- Parameters:
getPropertyValueRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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 Failed
- ConnectorTimeoutException 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.
- See Also:
-
getPropertyValuePaginator
default GetPropertyValuePublisher getPropertyValuePaginator(Consumer<GetPropertyValueRequest.Builder> getPropertyValueRequest) Gets the property values for a component, component type, entity, or workspace.
You must specify a value for either
componentName
,componentTypeId
,entityId
, orworkspaceId
.
This is a variant of
getPropertyValue(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValuePublisher publisher = client.getPropertyValuePaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValuePublisher publisher = client.getPropertyValuePaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueResponse response) { //... }; });
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 viaGetPropertyValueRequest.builder()
- Parameters:
getPropertyValueRequest
- AConsumer
that will call methods onGetPropertyValueRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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 Failed
- ConnectorTimeoutException 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.
- See Also:
-
getScene
Retrieves information about a scene.
- Parameters:
getSceneRequest
-- Returns:
- A Java Future containing the result of the GetScene operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getScene
default CompletableFuture<GetSceneResponse> getScene(Consumer<GetSceneRequest.Builder> getSceneRequest) Retrieves information about a scene.
This is a convenience which creates an instance of the
GetSceneRequest.Builder
avoiding the need to create one manually viaGetSceneRequest.builder()
- Parameters:
getSceneRequest
- AConsumer
that will call methods onGetSceneRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetScene operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getSyncJob
Gets the SyncJob.
- Parameters:
getSyncJobRequest
-- Returns:
- A Java Future containing the result of the GetSyncJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getSyncJob
default CompletableFuture<GetSyncJobResponse> getSyncJob(Consumer<GetSyncJobRequest.Builder> getSyncJobRequest) Gets the SyncJob.
This is a convenience which creates an instance of the
GetSyncJobRequest.Builder
avoiding the need to create one manually viaGetSyncJobRequest.builder()
- Parameters:
getSyncJobRequest
- AConsumer
that will call methods onGetSyncJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSyncJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getWorkspace
default CompletableFuture<GetWorkspaceResponse> getWorkspace(GetWorkspaceRequest getWorkspaceRequest) Retrieves information about a workspace.
- Parameters:
getWorkspaceRequest
-- Returns:
- A Java Future containing the result of the GetWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
getWorkspace
default CompletableFuture<GetWorkspaceResponse> getWorkspace(Consumer<GetWorkspaceRequest.Builder> getWorkspaceRequest) Retrieves information about a workspace.
This is a convenience which creates an instance of the
GetWorkspaceRequest.Builder
avoiding the need to create one manually viaGetWorkspaceRequest.builder()
- Parameters:
getWorkspaceRequest
- AConsumer
that will call methods onGetWorkspaceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listComponentTypes
default CompletableFuture<ListComponentTypesResponse> listComponentTypes(ListComponentTypesRequest listComponentTypesRequest) Lists all component types in a workspace.
- Parameters:
listComponentTypesRequest
-- Returns:
- A Java Future containing the result of the ListComponentTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listComponentTypes
default CompletableFuture<ListComponentTypesResponse> listComponentTypes(Consumer<ListComponentTypesRequest.Builder> listComponentTypesRequest) 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 viaListComponentTypesRequest.builder()
- Parameters:
listComponentTypesRequest
- AConsumer
that will call methods onListComponentTypesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListComponentTypes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listComponentTypesPaginator
default ListComponentTypesPublisher listComponentTypesPaginator(ListComponentTypesRequest listComponentTypesRequest) 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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesPublisher publisher = client.listComponentTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesPublisher publisher = client.listComponentTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesResponse response) { //... }; });
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.- Parameters:
listComponentTypesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listComponentTypesPaginator
default ListComponentTypesPublisher listComponentTypesPaginator(Consumer<ListComponentTypesRequest.Builder> listComponentTypesRequest) 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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesPublisher publisher = client.listComponentTypesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesPublisher publisher = client.listComponentTypesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesResponse response) { //... }; });
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 viaListComponentTypesRequest.builder()
- Parameters:
listComponentTypesRequest
- AConsumer
that will call methods onListComponentTypesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listEntities
default CompletableFuture<ListEntitiesResponse> listEntities(ListEntitiesRequest listEntitiesRequest) Lists all entities in a workspace.
- Parameters:
listEntitiesRequest
-- Returns:
- A Java Future containing the result of the ListEntities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listEntities
default CompletableFuture<ListEntitiesResponse> listEntities(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest) 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 viaListEntitiesRequest.builder()
- Parameters:
listEntitiesRequest
- AConsumer
that will call methods onListEntitiesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListEntities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listEntitiesPaginator
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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesPublisher publisher = client.listEntitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesPublisher publisher = client.listEntitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesResponse response) { //... }; });
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.- Parameters:
listEntitiesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listEntitiesPaginator
default ListEntitiesPublisher listEntitiesPaginator(Consumer<ListEntitiesRequest.Builder> listEntitiesRequest) 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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesPublisher publisher = client.listEntitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesPublisher publisher = client.listEntitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesResponse response) { //... }; });
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 viaListEntitiesRequest.builder()
- Parameters:
listEntitiesRequest
- AConsumer
that will call methods onListEntitiesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listScenes
Lists all scenes in a workspace.
- Parameters:
listScenesRequest
-- Returns:
- A Java Future containing the result of the ListScenes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listScenes
default CompletableFuture<ListScenesResponse> listScenes(Consumer<ListScenesRequest.Builder> listScenesRequest) 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 viaListScenesRequest.builder()
- Parameters:
listScenesRequest
- AConsumer
that will call methods onListScenesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListScenes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listScenesPaginator
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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListScenesPublisher publisher = client.listScenesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesPublisher publisher = client.listScenesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListScenesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListScenesResponse response) { //... }; });
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.- Parameters:
listScenesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listScenesPaginator
default ListScenesPublisher listScenesPaginator(Consumer<ListScenesRequest.Builder> listScenesRequest) 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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListScenesPublisher publisher = client.listScenesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesPublisher publisher = client.listScenesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListScenesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListScenesResponse response) { //... }; });
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 viaListScenesRequest.builder()
- Parameters:
listScenesRequest
- AConsumer
that will call methods onListScenesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listSyncJobs
default CompletableFuture<ListSyncJobsResponse> listSyncJobs(ListSyncJobsRequest listSyncJobsRequest) List all SyncJobs.
- Parameters:
listSyncJobsRequest
-- Returns:
- A Java Future containing the result of the ListSyncJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listSyncJobs
default CompletableFuture<ListSyncJobsResponse> listSyncJobs(Consumer<ListSyncJobsRequest.Builder> listSyncJobsRequest) List all SyncJobs.
This is a convenience which creates an instance of the
ListSyncJobsRequest.Builder
avoiding the need to create one manually viaListSyncJobsRequest.builder()
- Parameters:
listSyncJobsRequest
- AConsumer
that will call methods onListSyncJobsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSyncJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listSyncJobsPaginator
List all SyncJobs.
This is a variant of
listSyncJobs(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsPublisher publisher = client.listSyncJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsPublisher publisher = client.listSyncJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsResponse response) { //... }; });
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.- Parameters:
listSyncJobsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listSyncJobsPaginator
default ListSyncJobsPublisher listSyncJobsPaginator(Consumer<ListSyncJobsRequest.Builder> listSyncJobsRequest) List all SyncJobs.
This is a variant of
listSyncJobs(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsPublisher publisher = client.listSyncJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsPublisher publisher = client.listSyncJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsResponse response) { //... }; });
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 viaListSyncJobsRequest.builder()
- Parameters:
listSyncJobsRequest
- AConsumer
that will call methods onListSyncJobsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listSyncResources
default CompletableFuture<ListSyncResourcesResponse> listSyncResources(ListSyncResourcesRequest listSyncResourcesRequest) Lists the sync resources.
- Parameters:
listSyncResourcesRequest
-- Returns:
- A Java Future containing the result of the ListSyncResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listSyncResources
default CompletableFuture<ListSyncResourcesResponse> listSyncResources(Consumer<ListSyncResourcesRequest.Builder> listSyncResourcesRequest) Lists the sync resources.
This is a convenience which creates an instance of the
ListSyncResourcesRequest.Builder
avoiding the need to create one manually viaListSyncResourcesRequest.builder()
- Parameters:
listSyncResourcesRequest
- AConsumer
that will call methods onListSyncResourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSyncResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listSyncResourcesPaginator
default ListSyncResourcesPublisher listSyncResourcesPaginator(ListSyncResourcesRequest listSyncResourcesRequest) Lists the sync resources.
This is a variant of
listSyncResources(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesPublisher publisher = client.listSyncResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesPublisher publisher = client.listSyncResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesResponse response) { //... }; });
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.- Parameters:
listSyncResourcesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listSyncResourcesPaginator
default ListSyncResourcesPublisher listSyncResourcesPaginator(Consumer<ListSyncResourcesRequest.Builder> listSyncResourcesRequest) Lists the sync resources.
This is a variant of
listSyncResources(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesPublisher publisher = client.listSyncResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesPublisher publisher = client.listSyncResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesResponse response) { //... }; });
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 viaListSyncResourcesRequest.builder()
- Parameters:
listSyncResourcesRequest
- AConsumer
that will call methods onListSyncResourcesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists all tags associated with a resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) 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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
listWorkspaces
default CompletableFuture<ListWorkspacesResponse> listWorkspaces(ListWorkspacesRequest listWorkspacesRequest) Retrieves information about workspaces in the current account.
- Parameters:
listWorkspacesRequest
-- Returns:
- A Java Future containing the result of the ListWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listWorkspaces
default CompletableFuture<ListWorkspacesResponse> listWorkspaces(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest) 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 viaListWorkspacesRequest.builder()
- Parameters:
listWorkspacesRequest
- AConsumer
that will call methods onListWorkspacesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listWorkspacesPaginator
default ListWorkspacesPublisher listWorkspacesPaginator(ListWorkspacesRequest listWorkspacesRequest) 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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesPublisher publisher = client.listWorkspacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesPublisher publisher = client.listWorkspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesResponse response) { //... }; });
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.- Parameters:
listWorkspacesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
listWorkspacesPaginator
default ListWorkspacesPublisher listWorkspacesPaginator(Consumer<ListWorkspacesRequest.Builder> listWorkspacesRequest) 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 publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesPublisher publisher = client.listWorkspacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesPublisher publisher = client.listWorkspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesResponse response) { //... }; });
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 viaListWorkspacesRequest.builder()
- Parameters:
listWorkspacesRequest
- AConsumer
that will call methods onListWorkspacesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
tagResource
Adds tags to a resource.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes tags from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- 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.
- See Also:
-
updateComponentType
default CompletableFuture<UpdateComponentTypeResponse> updateComponentType(UpdateComponentTypeRequest updateComponentTypeRequest) Updates information in a component type.
- Parameters:
updateComponentTypeRequest
-- Returns:
- A Java Future containing the result of the UpdateComponentType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
updateComponentType
default CompletableFuture<UpdateComponentTypeResponse> updateComponentType(Consumer<UpdateComponentTypeRequest.Builder> updateComponentTypeRequest) 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 viaUpdateComponentTypeRequest.builder()
- Parameters:
updateComponentTypeRequest
- AConsumer
that will call methods onUpdateComponentTypeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateComponentType operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
updateEntity
default CompletableFuture<UpdateEntityResponse> updateEntity(UpdateEntityRequest updateEntityRequest) Updates an entity.
- Parameters:
updateEntityRequest
-- Returns:
- A Java Future containing the result of the UpdateEntity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
updateEntity
default CompletableFuture<UpdateEntityResponse> updateEntity(Consumer<UpdateEntityRequest.Builder> updateEntityRequest) Updates an entity.
This is a convenience which creates an instance of the
UpdateEntityRequest.Builder
avoiding the need to create one manually viaUpdateEntityRequest.builder()
- Parameters:
updateEntityRequest
- AConsumer
that will call methods onUpdateEntityRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateEntity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- ConflictException 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.
- See Also:
-
updatePricingPlan
default CompletableFuture<UpdatePricingPlanResponse> updatePricingPlan(UpdatePricingPlanRequest updatePricingPlanRequest) Update the pricing plan.
- Parameters:
updatePricingPlanRequest
-- Returns:
- A Java Future containing the result of the UpdatePricingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
updatePricingPlan
default CompletableFuture<UpdatePricingPlanResponse> updatePricingPlan(Consumer<UpdatePricingPlanRequest.Builder> updatePricingPlanRequest) Update the pricing plan.
This is a convenience which creates an instance of the
UpdatePricingPlanRequest.Builder
avoiding the need to create one manually viaUpdatePricingPlanRequest.builder()
- Parameters:
updatePricingPlanRequest
- AConsumer
that will call methods onUpdatePricingPlanRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdatePricingPlan operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
updateScene
Updates a scene.
- Parameters:
updateSceneRequest
-- Returns:
- A Java Future containing the result of the UpdateScene operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
updateScene
default CompletableFuture<UpdateSceneResponse> updateScene(Consumer<UpdateSceneRequest.Builder> updateSceneRequest) Updates a scene.
This is a convenience which creates an instance of the
UpdateSceneRequest.Builder
avoiding the need to create one manually viaUpdateSceneRequest.builder()
- Parameters:
updateSceneRequest
- AConsumer
that will call methods onUpdateSceneRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateScene operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
updateWorkspace
default CompletableFuture<UpdateWorkspaceResponse> updateWorkspace(UpdateWorkspaceRequest updateWorkspaceRequest) Updates a workspace.
- Parameters:
updateWorkspaceRequest
-- Returns:
- A Java Future containing the result of the UpdateWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
updateWorkspace
default CompletableFuture<UpdateWorkspaceResponse> updateWorkspace(Consumer<UpdateWorkspaceRequest.Builder> updateWorkspaceRequest) Updates a workspace.
This is a convenience which creates an instance of the
UpdateWorkspaceRequest.Builder
avoiding the need to create one manually viaUpdateWorkspaceRequest.builder()
- Parameters:
updateWorkspaceRequest
- AConsumer
that will call methods onUpdateWorkspaceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- InternalServerException An unexpected error has occurred.
- AccessDeniedException Access is denied.
- ResourceNotFoundException The resource wasn't found.
- ThrottlingException The rate exceeds the limit.
- ValidationException Failed
- 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.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aIoTTwinMakerAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aIoTTwinMakerAsyncClient
.
-