All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.iottwinmaker.IoTTwinMakerClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Io T Twin Maker module holds the client classes that are used for communicating with Io T Twin Maker.

The newest version!
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.iottwinmaker;

import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.awscore.exception.AwsServiceException;
import software.amazon.awssdk.core.exception.SdkClientException;
import software.amazon.awssdk.regions.ServiceMetadata;
import software.amazon.awssdk.services.iottwinmaker.model.AccessDeniedException;
import software.amazon.awssdk.services.iottwinmaker.model.BatchPutPropertyValuesRequest;
import software.amazon.awssdk.services.iottwinmaker.model.BatchPutPropertyValuesResponse;
import software.amazon.awssdk.services.iottwinmaker.model.CancelMetadataTransferJobRequest;
import software.amazon.awssdk.services.iottwinmaker.model.CancelMetadataTransferJobResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ConflictException;
import software.amazon.awssdk.services.iottwinmaker.model.ConnectorFailureException;
import software.amazon.awssdk.services.iottwinmaker.model.ConnectorTimeoutException;
import software.amazon.awssdk.services.iottwinmaker.model.CreateComponentTypeRequest;
import software.amazon.awssdk.services.iottwinmaker.model.CreateComponentTypeResponse;
import software.amazon.awssdk.services.iottwinmaker.model.CreateEntityRequest;
import software.amazon.awssdk.services.iottwinmaker.model.CreateEntityResponse;
import software.amazon.awssdk.services.iottwinmaker.model.CreateMetadataTransferJobRequest;
import software.amazon.awssdk.services.iottwinmaker.model.CreateMetadataTransferJobResponse;
import software.amazon.awssdk.services.iottwinmaker.model.CreateSceneRequest;
import software.amazon.awssdk.services.iottwinmaker.model.CreateSceneResponse;
import software.amazon.awssdk.services.iottwinmaker.model.CreateSyncJobRequest;
import software.amazon.awssdk.services.iottwinmaker.model.CreateSyncJobResponse;
import software.amazon.awssdk.services.iottwinmaker.model.CreateWorkspaceRequest;
import software.amazon.awssdk.services.iottwinmaker.model.CreateWorkspaceResponse;
import software.amazon.awssdk.services.iottwinmaker.model.DeleteComponentTypeRequest;
import software.amazon.awssdk.services.iottwinmaker.model.DeleteComponentTypeResponse;
import software.amazon.awssdk.services.iottwinmaker.model.DeleteEntityRequest;
import software.amazon.awssdk.services.iottwinmaker.model.DeleteEntityResponse;
import software.amazon.awssdk.services.iottwinmaker.model.DeleteSceneRequest;
import software.amazon.awssdk.services.iottwinmaker.model.DeleteSceneResponse;
import software.amazon.awssdk.services.iottwinmaker.model.DeleteSyncJobRequest;
import software.amazon.awssdk.services.iottwinmaker.model.DeleteSyncJobResponse;
import software.amazon.awssdk.services.iottwinmaker.model.DeleteWorkspaceRequest;
import software.amazon.awssdk.services.iottwinmaker.model.DeleteWorkspaceResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryResponse;
import software.amazon.awssdk.services.iottwinmaker.model.GetComponentTypeRequest;
import software.amazon.awssdk.services.iottwinmaker.model.GetComponentTypeResponse;
import software.amazon.awssdk.services.iottwinmaker.model.GetEntityRequest;
import software.amazon.awssdk.services.iottwinmaker.model.GetEntityResponse;
import software.amazon.awssdk.services.iottwinmaker.model.GetMetadataTransferJobRequest;
import software.amazon.awssdk.services.iottwinmaker.model.GetMetadataTransferJobResponse;
import software.amazon.awssdk.services.iottwinmaker.model.GetPricingPlanRequest;
import software.amazon.awssdk.services.iottwinmaker.model.GetPricingPlanResponse;
import software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest;
import software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryResponse;
import software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest;
import software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueResponse;
import software.amazon.awssdk.services.iottwinmaker.model.GetSceneRequest;
import software.amazon.awssdk.services.iottwinmaker.model.GetSceneResponse;
import software.amazon.awssdk.services.iottwinmaker.model.GetSyncJobRequest;
import software.amazon.awssdk.services.iottwinmaker.model.GetSyncJobResponse;
import software.amazon.awssdk.services.iottwinmaker.model.GetWorkspaceRequest;
import software.amazon.awssdk.services.iottwinmaker.model.GetWorkspaceResponse;
import software.amazon.awssdk.services.iottwinmaker.model.InternalServerException;
import software.amazon.awssdk.services.iottwinmaker.model.IoTTwinMakerException;
import software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ListComponentsRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ListComponentsResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ListMetadataTransferJobsRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ListMetadataTransferJobsResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ListPropertiesRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ListPropertiesResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ListScenesResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest;
import software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesResponse;
import software.amazon.awssdk.services.iottwinmaker.model.QueryTimeoutException;
import software.amazon.awssdk.services.iottwinmaker.model.ResourceNotFoundException;
import software.amazon.awssdk.services.iottwinmaker.model.ServiceQuotaExceededException;
import software.amazon.awssdk.services.iottwinmaker.model.TagResourceRequest;
import software.amazon.awssdk.services.iottwinmaker.model.TagResourceResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ThrottlingException;
import software.amazon.awssdk.services.iottwinmaker.model.TooManyTagsException;
import software.amazon.awssdk.services.iottwinmaker.model.UntagResourceRequest;
import software.amazon.awssdk.services.iottwinmaker.model.UntagResourceResponse;
import software.amazon.awssdk.services.iottwinmaker.model.UpdateComponentTypeRequest;
import software.amazon.awssdk.services.iottwinmaker.model.UpdateComponentTypeResponse;
import software.amazon.awssdk.services.iottwinmaker.model.UpdateEntityRequest;
import software.amazon.awssdk.services.iottwinmaker.model.UpdateEntityResponse;
import software.amazon.awssdk.services.iottwinmaker.model.UpdatePricingPlanRequest;
import software.amazon.awssdk.services.iottwinmaker.model.UpdatePricingPlanResponse;
import software.amazon.awssdk.services.iottwinmaker.model.UpdateSceneRequest;
import software.amazon.awssdk.services.iottwinmaker.model.UpdateSceneResponse;
import software.amazon.awssdk.services.iottwinmaker.model.UpdateWorkspaceRequest;
import software.amazon.awssdk.services.iottwinmaker.model.UpdateWorkspaceResponse;
import software.amazon.awssdk.services.iottwinmaker.model.ValidationException;
import software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentsIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.ListMetadataTransferJobsIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.ListPropertiesIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable;
import software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable;

/**
 * Service client for accessing AWS IoT TwinMaker. This can be created using the static {@link #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. *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface IoTTwinMakerClient extends AwsClient { String SERVICE_NAME = "iottwinmaker"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "iottwinmaker"; /** *

* Sets values for multiple time series properties. *

* * @param batchPutPropertyValuesRequest * @return Result of the BatchPutPropertyValues operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.BatchPutPropertyValues * @see AWS API Documentation */ default BatchPutPropertyValuesResponse batchPutPropertyValues(BatchPutPropertyValuesRequest batchPutPropertyValuesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Sets values for multiple time series properties. *

*
*

* This is a convenience which creates an instance of the {@link BatchPutPropertyValuesRequest.Builder} avoiding the * need to create one manually via {@link BatchPutPropertyValuesRequest#builder()} *

* * @param batchPutPropertyValuesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.BatchPutPropertyValuesRequest.Builder} to create * a request. * @return Result of the BatchPutPropertyValues operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.BatchPutPropertyValues * @see AWS API Documentation */ default BatchPutPropertyValuesResponse batchPutPropertyValues( Consumer batchPutPropertyValuesRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return batchPutPropertyValues(BatchPutPropertyValuesRequest.builder().applyMutation(batchPutPropertyValuesRequest) .build()); } /** *

* Cancels the metadata transfer job. *

* * @param cancelMetadataTransferJobRequest * @return Result of the CancelMetadataTransferJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CancelMetadataTransferJob * @see AWS API Documentation */ default CancelMetadataTransferJobResponse cancelMetadataTransferJob( CancelMetadataTransferJobRequest cancelMetadataTransferJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConflictException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Cancels the metadata transfer job. *

*
*

* This is a convenience which creates an instance of the {@link CancelMetadataTransferJobRequest.Builder} avoiding * the need to create one manually via {@link CancelMetadataTransferJobRequest#builder()} *

* * @param cancelMetadataTransferJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.CancelMetadataTransferJobRequest.Builder} to * create a request. * @return Result of the CancelMetadataTransferJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CancelMetadataTransferJob * @see AWS API Documentation */ default CancelMetadataTransferJobResponse cancelMetadataTransferJob( Consumer cancelMetadataTransferJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConflictException, AwsServiceException, SdkClientException, IoTTwinMakerException { return cancelMetadataTransferJob(CancelMetadataTransferJobRequest.builder() .applyMutation(cancelMetadataTransferJobRequest).build()); } /** *

* Creates a component type. *

* * @param createComponentTypeRequest * @return Result of the CreateComponentType operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateComponentType * @see AWS API Documentation */ default CreateComponentTypeResponse createComponentType(CreateComponentTypeRequest createComponentTypeRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Creates a component type. *

*
*

* This is a convenience which creates an instance of the {@link CreateComponentTypeRequest.Builder} avoiding the * need to create one manually via {@link CreateComponentTypeRequest#builder()} *

* * @param createComponentTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.CreateComponentTypeRequest.Builder} to create a * request. * @return Result of the CreateComponentType operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateComponentType * @see AWS API Documentation */ default CreateComponentTypeResponse createComponentType( Consumer createComponentTypeRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return createComponentType(CreateComponentTypeRequest.builder().applyMutation(createComponentTypeRequest).build()); } /** *

* Creates an entity. *

* * @param createEntityRequest * @return Result of the CreateEntity operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateEntity * @see AWS API * Documentation */ default CreateEntityResponse createEntity(CreateEntityRequest createEntityRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Creates an entity. *

*
*

* This is a convenience which creates an instance of the {@link CreateEntityRequest.Builder} avoiding the need to * create one manually via {@link CreateEntityRequest#builder()} *

* * @param createEntityRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.CreateEntityRequest.Builder} to create a * request. * @return Result of the CreateEntity operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateEntity * @see AWS API * Documentation */ default CreateEntityResponse createEntity(Consumer createEntityRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return createEntity(CreateEntityRequest.builder().applyMutation(createEntityRequest).build()); } /** *

* Creates a new metadata transfer job. *

* * @param createMetadataTransferJobRequest * @return Result of the CreateMetadataTransferJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateMetadataTransferJob * @see AWS API Documentation */ default CreateMetadataTransferJobResponse createMetadataTransferJob( CreateMetadataTransferJobRequest createMetadataTransferJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Creates a new metadata transfer job. *

*
*

* This is a convenience which creates an instance of the {@link CreateMetadataTransferJobRequest.Builder} avoiding * the need to create one manually via {@link CreateMetadataTransferJobRequest#builder()} *

* * @param createMetadataTransferJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.CreateMetadataTransferJobRequest.Builder} to * create a request. * @return Result of the CreateMetadataTransferJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateMetadataTransferJob * @see AWS API Documentation */ default CreateMetadataTransferJobResponse createMetadataTransferJob( Consumer createMetadataTransferJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return createMetadataTransferJob(CreateMetadataTransferJobRequest.builder() .applyMutation(createMetadataTransferJobRequest).build()); } /** *

* Creates a scene. *

* * @param createSceneRequest * @return Result of the CreateScene operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateScene * @see AWS API * Documentation */ default CreateSceneResponse createScene(CreateSceneRequest createSceneRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Creates a scene. *

*
*

* This is a convenience which creates an instance of the {@link CreateSceneRequest.Builder} avoiding the need to * create one manually via {@link CreateSceneRequest#builder()} *

* * @param createSceneRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.CreateSceneRequest.Builder} to create a request. * @return Result of the CreateScene operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateScene * @see AWS API * Documentation */ default CreateSceneResponse createScene(Consumer createSceneRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return createScene(CreateSceneRequest.builder().applyMutation(createSceneRequest).build()); } /** *

* This action creates a SyncJob. *

* * @param createSyncJobRequest * @return Result of the CreateSyncJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateSyncJob * @see AWS * API Documentation */ default CreateSyncJobResponse createSyncJob(CreateSyncJobRequest createSyncJobRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* This action creates a SyncJob. *

*
*

* This is a convenience which creates an instance of the {@link CreateSyncJobRequest.Builder} avoiding the need to * create one manually via {@link CreateSyncJobRequest#builder()} *

* * @param createSyncJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.CreateSyncJobRequest.Builder} to create a * request. * @return Result of the CreateSyncJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateSyncJob * @see AWS * API Documentation */ default CreateSyncJobResponse createSyncJob(Consumer createSyncJobRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return createSyncJob(CreateSyncJobRequest.builder().applyMutation(createSyncJobRequest).build()); } /** *

* Creates a workplace. *

* * @param createWorkspaceRequest * @return Result of the CreateWorkspace operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateWorkspace * @see AWS * API Documentation */ default CreateWorkspaceResponse createWorkspace(CreateWorkspaceRequest createWorkspaceRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Creates a workplace. *

*
*

* This is a convenience which creates an instance of the {@link CreateWorkspaceRequest.Builder} avoiding the need * to create one manually via {@link CreateWorkspaceRequest#builder()} *

* * @param createWorkspaceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.CreateWorkspaceRequest.Builder} to create a * request. * @return Result of the CreateWorkspace operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.CreateWorkspace * @see AWS * API Documentation */ default CreateWorkspaceResponse createWorkspace(Consumer createWorkspaceRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return createWorkspace(CreateWorkspaceRequest.builder().applyMutation(createWorkspaceRequest).build()); } /** *

* Deletes a component type. *

* * @param deleteComponentTypeRequest * @return Result of the DeleteComponentType operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.DeleteComponentType * @see AWS API Documentation */ default DeleteComponentTypeResponse deleteComponentType(DeleteComponentTypeRequest deleteComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Deletes a component type. *

*
*

* This is a convenience which creates an instance of the {@link DeleteComponentTypeRequest.Builder} avoiding the * need to create one manually via {@link DeleteComponentTypeRequest#builder()} *

* * @param deleteComponentTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.DeleteComponentTypeRequest.Builder} to create a * request. * @return Result of the DeleteComponentType operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.DeleteComponentType * @see AWS API Documentation */ default DeleteComponentTypeResponse deleteComponentType( Consumer deleteComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return deleteComponentType(DeleteComponentTypeRequest.builder().applyMutation(deleteComponentTypeRequest).build()); } /** *

* Deletes an entity. *

* * @param deleteEntityRequest * @return Result of the DeleteEntity operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.DeleteEntity * @see AWS API * Documentation */ default DeleteEntityResponse deleteEntity(DeleteEntityRequest deleteEntityRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Deletes an entity. *

*
*

* This is a convenience which creates an instance of the {@link DeleteEntityRequest.Builder} avoiding the need to * create one manually via {@link DeleteEntityRequest#builder()} *

* * @param deleteEntityRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.DeleteEntityRequest.Builder} to create a * request. * @return Result of the DeleteEntity operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.DeleteEntity * @see AWS API * Documentation */ default DeleteEntityResponse deleteEntity(Consumer deleteEntityRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return deleteEntity(DeleteEntityRequest.builder().applyMutation(deleteEntityRequest).build()); } /** *

* Deletes a scene. *

* * @param deleteSceneRequest * @return Result of the DeleteScene operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.DeleteScene * @see AWS API * Documentation */ default DeleteSceneResponse deleteScene(DeleteSceneRequest deleteSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Deletes a scene. *

*
*

* This is a convenience which creates an instance of the {@link DeleteSceneRequest.Builder} avoiding the need to * create one manually via {@link DeleteSceneRequest#builder()} *

* * @param deleteSceneRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.DeleteSceneRequest.Builder} to create a request. * @return Result of the DeleteScene operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.DeleteScene * @see AWS API * Documentation */ default DeleteSceneResponse deleteScene(Consumer deleteSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return deleteScene(DeleteSceneRequest.builder().applyMutation(deleteSceneRequest).build()); } /** *

* Delete the SyncJob. *

* * @param deleteSyncJobRequest * @return Result of the DeleteSyncJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.DeleteSyncJob * @see AWS * API Documentation */ default DeleteSyncJobResponse deleteSyncJob(DeleteSyncJobRequest deleteSyncJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Delete the SyncJob. *

*
*

* This is a convenience which creates an instance of the {@link DeleteSyncJobRequest.Builder} avoiding the need to * create one manually via {@link DeleteSyncJobRequest#builder()} *

* * @param deleteSyncJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.DeleteSyncJobRequest.Builder} to create a * request. * @return Result of the DeleteSyncJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.DeleteSyncJob * @see AWS * API Documentation */ default DeleteSyncJobResponse deleteSyncJob(Consumer deleteSyncJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return deleteSyncJob(DeleteSyncJobRequest.builder().applyMutation(deleteSyncJobRequest).build()); } /** *

* Deletes a workspace. *

* * @param deleteWorkspaceRequest * @return Result of the DeleteWorkspace operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.DeleteWorkspace * @see AWS * API Documentation */ default DeleteWorkspaceResponse deleteWorkspace(DeleteWorkspaceRequest deleteWorkspaceRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Deletes a workspace. *

*
*

* This is a convenience which creates an instance of the {@link DeleteWorkspaceRequest.Builder} avoiding the need * to create one manually via {@link DeleteWorkspaceRequest#builder()} *

* * @param deleteWorkspaceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.DeleteWorkspaceRequest.Builder} to create a * request. * @return Result of the DeleteWorkspace operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.DeleteWorkspace * @see AWS * API Documentation */ default DeleteWorkspaceResponse deleteWorkspace(Consumer deleteWorkspaceRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return deleteWorkspace(DeleteWorkspaceRequest.builder().applyMutation(deleteWorkspaceRequest).build()); } /** *

* Run queries to access information from your knowledge graph of entities within individual workspaces. *

* *

* The ExecuteQuery action only works with Amazon Web Services Java * SDK2. ExecuteQuery will not work with any Amazon Web Services Java SDK version < 2.x. *

*
* * @param executeQueryRequest * @return Result of the ExecuteQuery operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws QueryTimeoutException * The query timeout exception. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ExecuteQuery * @see AWS API * Documentation */ default ExecuteQueryResponse executeQuery(ExecuteQueryRequest executeQueryRequest) throws InternalServerException, AccessDeniedException, QueryTimeoutException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Run queries to access information from your knowledge graph of entities within individual workspaces. *

* *

* The ExecuteQuery action only works with Amazon Web Services Java * SDK2. ExecuteQuery will not work with any Amazon Web Services Java SDK version < 2.x. *

*

*

* This is a convenience which creates an instance of the {@link ExecuteQueryRequest.Builder} avoiding the need to * create one manually via {@link ExecuteQueryRequest#builder()} *

* * @param executeQueryRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest.Builder} to create a * request. * @return Result of the ExecuteQuery operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws QueryTimeoutException * The query timeout exception. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ExecuteQuery * @see AWS API * Documentation */ default ExecuteQueryResponse executeQuery(Consumer executeQueryRequest) throws InternalServerException, AccessDeniedException, QueryTimeoutException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return executeQuery(ExecuteQueryRequest.builder().applyMutation(executeQueryRequest).build()); } /** *

* This is a variant of * {@link #executeQuery(software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client.executeQueryPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client
     *             .executeQueryPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client.executeQueryPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #executeQuery(software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest)} operation. *

* * @param executeQueryRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws QueryTimeoutException * The query timeout exception. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ExecuteQuery * @see AWS API * Documentation */ default ExecuteQueryIterable executeQueryPaginator(ExecuteQueryRequest executeQueryRequest) throws InternalServerException, AccessDeniedException, QueryTimeoutException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new ExecuteQueryIterable(this, executeQueryRequest); } /** *

* This is a variant of * {@link #executeQuery(software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client.executeQueryPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client
     *             .executeQueryPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ExecuteQueryIterable responses = client.executeQueryPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #executeQuery(software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ExecuteQueryRequest.Builder} avoiding the need to * create one manually via {@link ExecuteQueryRequest#builder()} *

* * @param executeQueryRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ExecuteQueryRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws QueryTimeoutException * The query timeout exception. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ExecuteQuery * @see AWS API * Documentation */ default ExecuteQueryIterable executeQueryPaginator(Consumer executeQueryRequest) throws InternalServerException, AccessDeniedException, QueryTimeoutException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return executeQueryPaginator(ExecuteQueryRequest.builder().applyMutation(executeQueryRequest).build()); } /** *

* Retrieves information about a component type. *

* * @param getComponentTypeRequest * @return Result of the GetComponentType operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetComponentType * @see AWS * API Documentation */ default GetComponentTypeResponse getComponentType(GetComponentTypeRequest getComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Retrieves information about a component type. *

*
*

* This is a convenience which creates an instance of the {@link GetComponentTypeRequest.Builder} avoiding the need * to create one manually via {@link GetComponentTypeRequest#builder()} *

* * @param getComponentTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetComponentTypeRequest.Builder} to create a * request. * @return Result of the GetComponentType operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetComponentType * @see AWS * API Documentation */ default GetComponentTypeResponse getComponentType(Consumer getComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getComponentType(GetComponentTypeRequest.builder().applyMutation(getComponentTypeRequest).build()); } /** *

* Retrieves information about an entity. *

* * @param getEntityRequest * @return Result of the GetEntity operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetEntity * @see AWS API * Documentation */ default GetEntityResponse getEntity(GetEntityRequest getEntityRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Retrieves information about an entity. *

*
*

* This is a convenience which creates an instance of the {@link GetEntityRequest.Builder} avoiding the need to * create one manually via {@link GetEntityRequest#builder()} *

* * @param getEntityRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetEntityRequest.Builder} to create a request. * @return Result of the GetEntity operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetEntity * @see AWS API * Documentation */ default GetEntityResponse getEntity(Consumer getEntityRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getEntity(GetEntityRequest.builder().applyMutation(getEntityRequest).build()); } /** *

* Gets a nmetadata transfer job. *

* * @param getMetadataTransferJobRequest * @return Result of the GetMetadataTransferJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetMetadataTransferJob * @see AWS API Documentation */ default GetMetadataTransferJobResponse getMetadataTransferJob(GetMetadataTransferJobRequest getMetadataTransferJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Gets a nmetadata transfer job. *

*
*

* This is a convenience which creates an instance of the {@link GetMetadataTransferJobRequest.Builder} avoiding the * need to create one manually via {@link GetMetadataTransferJobRequest#builder()} *

* * @param getMetadataTransferJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetMetadataTransferJobRequest.Builder} to create * a request. * @return Result of the GetMetadataTransferJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetMetadataTransferJob * @see AWS API Documentation */ default GetMetadataTransferJobResponse getMetadataTransferJob( Consumer getMetadataTransferJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getMetadataTransferJob(GetMetadataTransferJobRequest.builder().applyMutation(getMetadataTransferJobRequest) .build()); } /** *

* Gets the pricing plan. *

* * @param getPricingPlanRequest * @return Result of the GetPricingPlan operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetPricingPlan * @see AWS * API Documentation */ default GetPricingPlanResponse getPricingPlan(GetPricingPlanRequest getPricingPlanRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Gets the pricing plan. *

*
*

* This is a convenience which creates an instance of the {@link GetPricingPlanRequest.Builder} avoiding the need to * create one manually via {@link GetPricingPlanRequest#builder()} *

* * @param getPricingPlanRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetPricingPlanRequest.Builder} to create a * request. * @return Result of the GetPricingPlan operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetPricingPlan * @see AWS * API Documentation */ default GetPricingPlanResponse getPricingPlan(Consumer getPricingPlanRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getPricingPlan(GetPricingPlanRequest.builder().applyMutation(getPricingPlanRequest).build()); } /** *

* Gets the property values for a component, component type, entity, or workspace. *

*

* You must specify a value for either componentName, componentTypeId, * entityId, or workspaceId. *

* * @param getPropertyValueRequest * @return Result of the GetPropertyValue operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ConnectorFailureException * The connector failed. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConnectorTimeoutException * The connector timed out. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetPropertyValue * @see AWS * API Documentation */ default GetPropertyValueResponse getPropertyValue(GetPropertyValueRequest getPropertyValueRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Gets the property values for a component, component type, entity, or workspace. *

*

* You must specify a value for either componentName, componentTypeId, * entityId, or workspaceId. *

*
*

* This is a convenience which creates an instance of the {@link GetPropertyValueRequest.Builder} avoiding the need * to create one manually via {@link GetPropertyValueRequest#builder()} *

* * @param getPropertyValueRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest.Builder} to create a * request. * @return Result of the GetPropertyValue operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ConnectorFailureException * The connector failed. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConnectorTimeoutException * The connector timed out. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetPropertyValue * @see AWS * API Documentation */ default GetPropertyValueResponse getPropertyValue(Consumer getPropertyValueRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getPropertyValue(GetPropertyValueRequest.builder().applyMutation(getPropertyValueRequest).build()); } /** *

* This is a variant of * {@link #getPropertyValue(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client.getPropertyValuePaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client
     *             .getPropertyValuePaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client.getPropertyValuePaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getPropertyValue(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest)} * operation. *

* * @param getPropertyValueRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws ConnectorFailureException * The connector failed. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConnectorTimeoutException * The connector timed out. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetPropertyValue * @see AWS * API Documentation */ default GetPropertyValueIterable getPropertyValuePaginator(GetPropertyValueRequest getPropertyValueRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new GetPropertyValueIterable(this, getPropertyValueRequest); } /** *

* This is a variant of * {@link #getPropertyValue(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest)} operation. * The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally * handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client.getPropertyValuePaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client
     *             .getPropertyValuePaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueIterable responses = client.getPropertyValuePaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getPropertyValue(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link GetPropertyValueRequest.Builder} avoiding the need * to create one manually via {@link GetPropertyValueRequest#builder()} *

* * @param getPropertyValueRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws ConnectorFailureException * The connector failed. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConnectorTimeoutException * The connector timed out. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetPropertyValue * @see AWS * API Documentation */ default GetPropertyValueIterable getPropertyValuePaginator(Consumer getPropertyValueRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getPropertyValuePaginator(GetPropertyValueRequest.builder().applyMutation(getPropertyValueRequest).build()); } /** *

* Retrieves information about the history of a time series property value for a component, component type, entity, * or workspace. *

*

* You must specify a value for workspaceId. For entity-specific queries, specify values for * componentName and entityId. For cross-entity quries, specify a value for * componentTypeId. *

* * @param getPropertyValueHistoryRequest * @return Result of the GetPropertyValueHistory operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ConnectorFailureException * The connector failed. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConnectorTimeoutException * The connector timed out. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetPropertyValueHistory * @see AWS API Documentation */ default GetPropertyValueHistoryResponse getPropertyValueHistory(GetPropertyValueHistoryRequest getPropertyValueHistoryRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Retrieves information about the history of a time series property value for a component, component type, entity, * or workspace. *

*

* You must specify a value for workspaceId. For entity-specific queries, specify values for * componentName and entityId. For cross-entity quries, specify a value for * componentTypeId. *

*
*

* This is a convenience which creates an instance of the {@link GetPropertyValueHistoryRequest.Builder} avoiding * the need to create one manually via {@link GetPropertyValueHistoryRequest#builder()} *

* * @param getPropertyValueHistoryRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest.Builder} to * create a request. * @return Result of the GetPropertyValueHistory operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ConnectorFailureException * The connector failed. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConnectorTimeoutException * The connector timed out. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetPropertyValueHistory * @see AWS API Documentation */ default GetPropertyValueHistoryResponse getPropertyValueHistory( Consumer getPropertyValueHistoryRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getPropertyValueHistory(GetPropertyValueHistoryRequest.builder().applyMutation(getPropertyValueHistoryRequest) .build()); } /** *

* This is a variant of * {@link #getPropertyValueHistory(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client.getPropertyValueHistoryPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client
     *             .getPropertyValueHistoryPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client.getPropertyValueHistoryPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getPropertyValueHistory(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest)} * operation. *

* * @param getPropertyValueHistoryRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws ConnectorFailureException * The connector failed. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConnectorTimeoutException * The connector timed out. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetPropertyValueHistory * @see AWS API Documentation */ default GetPropertyValueHistoryIterable getPropertyValueHistoryPaginator( GetPropertyValueHistoryRequest getPropertyValueHistoryRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new GetPropertyValueHistoryIterable(this, getPropertyValueHistoryRequest); } /** *

* This is a variant of * {@link #getPropertyValueHistory(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client.getPropertyValueHistoryPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client
     *             .getPropertyValueHistoryPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.GetPropertyValueHistoryIterable responses = client.getPropertyValueHistoryPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getPropertyValueHistory(software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link GetPropertyValueHistoryRequest.Builder} avoiding * the need to create one manually via {@link GetPropertyValueHistoryRequest#builder()} *

* * @param getPropertyValueHistoryRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetPropertyValueHistoryRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws ConnectorFailureException * The connector failed. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConnectorTimeoutException * The connector timed out. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetPropertyValueHistory * @see AWS API Documentation */ default GetPropertyValueHistoryIterable getPropertyValueHistoryPaginator( Consumer getPropertyValueHistoryRequest) throws InternalServerException, ConnectorFailureException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConnectorTimeoutException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getPropertyValueHistoryPaginator(GetPropertyValueHistoryRequest.builder() .applyMutation(getPropertyValueHistoryRequest).build()); } /** *

* Retrieves information about a scene. *

* * @param getSceneRequest * @return Result of the GetScene operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetScene * @see AWS API * Documentation */ default GetSceneResponse getScene(GetSceneRequest getSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Retrieves information about a scene. *

*
*

* This is a convenience which creates an instance of the {@link GetSceneRequest.Builder} avoiding the need to * create one manually via {@link GetSceneRequest#builder()} *

* * @param getSceneRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetSceneRequest.Builder} to create a request. * @return Result of the GetScene operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetScene * @see AWS API * Documentation */ default GetSceneResponse getScene(Consumer getSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getScene(GetSceneRequest.builder().applyMutation(getSceneRequest).build()); } /** *

* Gets the SyncJob. *

* * @param getSyncJobRequest * @return Result of the GetSyncJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetSyncJob * @see AWS API * Documentation */ default GetSyncJobResponse getSyncJob(GetSyncJobRequest getSyncJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Gets the SyncJob. *

*
*

* This is a convenience which creates an instance of the {@link GetSyncJobRequest.Builder} avoiding the need to * create one manually via {@link GetSyncJobRequest#builder()} *

* * @param getSyncJobRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetSyncJobRequest.Builder} to create a request. * @return Result of the GetSyncJob operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetSyncJob * @see AWS API * Documentation */ default GetSyncJobResponse getSyncJob(Consumer getSyncJobRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getSyncJob(GetSyncJobRequest.builder().applyMutation(getSyncJobRequest).build()); } /** *

* Retrieves information about a workspace. *

* * @param getWorkspaceRequest * @return Result of the GetWorkspace operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetWorkspace * @see AWS API * Documentation */ default GetWorkspaceResponse getWorkspace(GetWorkspaceRequest getWorkspaceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Retrieves information about a workspace. *

*
*

* This is a convenience which creates an instance of the {@link GetWorkspaceRequest.Builder} avoiding the need to * create one manually via {@link GetWorkspaceRequest#builder()} *

* * @param getWorkspaceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.GetWorkspaceRequest.Builder} to create a * request. * @return Result of the GetWorkspace operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.GetWorkspace * @see AWS API * Documentation */ default GetWorkspaceResponse getWorkspace(Consumer getWorkspaceRequest) throws InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return getWorkspace(GetWorkspaceRequest.builder().applyMutation(getWorkspaceRequest).build()); } /** *

* Lists all component types in a workspace. *

* * @param listComponentTypesRequest * @return Result of the ListComponentTypes operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListComponentTypes * @see AWS API Documentation */ default ListComponentTypesResponse listComponentTypes(ListComponentTypesRequest listComponentTypesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Lists all component types in a workspace. *

*
*

* This is a convenience which creates an instance of the {@link ListComponentTypesRequest.Builder} avoiding the * need to create one manually via {@link ListComponentTypesRequest#builder()} *

* * @param listComponentTypesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest.Builder} to create a * request. * @return Result of the ListComponentTypes operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListComponentTypes * @see AWS API Documentation */ default ListComponentTypesResponse listComponentTypes(Consumer listComponentTypesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listComponentTypes(ListComponentTypesRequest.builder().applyMutation(listComponentTypesRequest).build()); } /** *

* This is a variant of * {@link #listComponentTypes(software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client.listComponentTypesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client
     *             .listComponentTypesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client.listComponentTypesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listComponentTypes(software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest)} * operation. *

* * @param listComponentTypesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListComponentTypes * @see AWS API Documentation */ default ListComponentTypesIterable listComponentTypesPaginator(ListComponentTypesRequest listComponentTypesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new ListComponentTypesIterable(this, listComponentTypesRequest); } /** *

* This is a variant of * {@link #listComponentTypes(software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client.listComponentTypesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client
     *             .listComponentTypesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentTypesIterable responses = client.listComponentTypesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listComponentTypes(software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListComponentTypesRequest.Builder} avoiding the * need to create one manually via {@link ListComponentTypesRequest#builder()} *

* * @param listComponentTypesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListComponentTypesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListComponentTypes * @see AWS API Documentation */ default ListComponentTypesIterable listComponentTypesPaginator( Consumer listComponentTypesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listComponentTypesPaginator(ListComponentTypesRequest.builder().applyMutation(listComponentTypesRequest).build()); } /** *

* This API lists the components of an entity. *

* * @param listComponentsRequest * @return Result of the ListComponents operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListComponents * @see AWS * API Documentation */ default ListComponentsResponse listComponents(ListComponentsRequest listComponentsRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* This API lists the components of an entity. *

*
*

* This is a convenience which creates an instance of the {@link ListComponentsRequest.Builder} avoiding the need to * create one manually via {@link ListComponentsRequest#builder()} *

* * @param listComponentsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListComponentsRequest.Builder} to create a * request. * @return Result of the ListComponents operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListComponents * @see AWS * API Documentation */ default ListComponentsResponse listComponents(Consumer listComponentsRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listComponents(ListComponentsRequest.builder().applyMutation(listComponentsRequest).build()); } /** *

* This is a variant of * {@link #listComponents(software.amazon.awssdk.services.iottwinmaker.model.ListComponentsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentsIterable responses = client
     *             .listComponentsPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListComponentsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listComponents(software.amazon.awssdk.services.iottwinmaker.model.ListComponentsRequest)} operation. *

* * @param listComponentsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListComponents * @see AWS * API Documentation */ default ListComponentsIterable listComponentsPaginator(ListComponentsRequest listComponentsRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new ListComponentsIterable(this, listComponentsRequest); } /** *

* This is a variant of * {@link #listComponents(software.amazon.awssdk.services.iottwinmaker.model.ListComponentsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentsIterable responses = client
     *             .listComponentsPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListComponentsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListComponentsIterable responses = client.listComponentsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listComponents(software.amazon.awssdk.services.iottwinmaker.model.ListComponentsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListComponentsRequest.Builder} avoiding the need to * create one manually via {@link ListComponentsRequest#builder()} *

* * @param listComponentsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListComponentsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListComponents * @see AWS * API Documentation */ default ListComponentsIterable listComponentsPaginator(Consumer listComponentsRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listComponentsPaginator(ListComponentsRequest.builder().applyMutation(listComponentsRequest).build()); } /** *

* Lists all entities in a workspace. *

* * @param listEntitiesRequest * @return Result of the ListEntities operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListEntities * @see AWS API * Documentation */ default ListEntitiesResponse listEntities(ListEntitiesRequest listEntitiesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Lists all entities in a workspace. *

*
*

* This is a convenience which creates an instance of the {@link ListEntitiesRequest.Builder} avoiding the need to * create one manually via {@link ListEntitiesRequest#builder()} *

* * @param listEntitiesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest.Builder} to create a * request. * @return Result of the ListEntities operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListEntities * @see AWS API * Documentation */ default ListEntitiesResponse listEntities(Consumer listEntitiesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listEntities(ListEntitiesRequest.builder().applyMutation(listEntitiesRequest).build()); } /** *

* This is a variant of * {@link #listEntities(software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client
     *             .listEntitiesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listEntities(software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest)} operation. *

* * @param listEntitiesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListEntities * @see AWS API * Documentation */ default ListEntitiesIterable listEntitiesPaginator(ListEntitiesRequest listEntitiesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new ListEntitiesIterable(this, listEntitiesRequest); } /** *

* This is a variant of * {@link #listEntities(software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client
     *             .listEntitiesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListEntitiesIterable responses = client.listEntitiesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listEntities(software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListEntitiesRequest.Builder} avoiding the need to * create one manually via {@link ListEntitiesRequest#builder()} *

* * @param listEntitiesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListEntitiesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListEntities * @see AWS API * Documentation */ default ListEntitiesIterable listEntitiesPaginator(Consumer listEntitiesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listEntitiesPaginator(ListEntitiesRequest.builder().applyMutation(listEntitiesRequest).build()); } /** *

* Lists the metadata transfer jobs. *

* * @param listMetadataTransferJobsRequest * @return Result of the ListMetadataTransferJobs operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListMetadataTransferJobs * @see AWS API Documentation */ default ListMetadataTransferJobsResponse listMetadataTransferJobs( ListMetadataTransferJobsRequest listMetadataTransferJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Lists the metadata transfer jobs. *

*
*

* This is a convenience which creates an instance of the {@link ListMetadataTransferJobsRequest.Builder} avoiding * the need to create one manually via {@link ListMetadataTransferJobsRequest#builder()} *

* * @param listMetadataTransferJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListMetadataTransferJobsRequest.Builder} to * create a request. * @return Result of the ListMetadataTransferJobs operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListMetadataTransferJobs * @see AWS API Documentation */ default ListMetadataTransferJobsResponse listMetadataTransferJobs( Consumer listMetadataTransferJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listMetadataTransferJobs(ListMetadataTransferJobsRequest.builder().applyMutation(listMetadataTransferJobsRequest) .build()); } /** *

* This is a variant of * {@link #listMetadataTransferJobs(software.amazon.awssdk.services.iottwinmaker.model.ListMetadataTransferJobsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListMetadataTransferJobsIterable responses = client.listMetadataTransferJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListMetadataTransferJobsIterable responses = client
     *             .listMetadataTransferJobsPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListMetadataTransferJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListMetadataTransferJobsIterable responses = client.listMetadataTransferJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listMetadataTransferJobs(software.amazon.awssdk.services.iottwinmaker.model.ListMetadataTransferJobsRequest)} * operation. *

* * @param listMetadataTransferJobsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListMetadataTransferJobs * @see AWS API Documentation */ default ListMetadataTransferJobsIterable listMetadataTransferJobsPaginator( ListMetadataTransferJobsRequest listMetadataTransferJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new ListMetadataTransferJobsIterable(this, listMetadataTransferJobsRequest); } /** *

* This is a variant of * {@link #listMetadataTransferJobs(software.amazon.awssdk.services.iottwinmaker.model.ListMetadataTransferJobsRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListMetadataTransferJobsIterable responses = client.listMetadataTransferJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListMetadataTransferJobsIterable responses = client
     *             .listMetadataTransferJobsPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListMetadataTransferJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListMetadataTransferJobsIterable responses = client.listMetadataTransferJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listMetadataTransferJobs(software.amazon.awssdk.services.iottwinmaker.model.ListMetadataTransferJobsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListMetadataTransferJobsRequest.Builder} avoiding * the need to create one manually via {@link ListMetadataTransferJobsRequest#builder()} *

* * @param listMetadataTransferJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListMetadataTransferJobsRequest.Builder} to * create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListMetadataTransferJobs * @see AWS API Documentation */ default ListMetadataTransferJobsIterable listMetadataTransferJobsPaginator( Consumer listMetadataTransferJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listMetadataTransferJobsPaginator(ListMetadataTransferJobsRequest.builder() .applyMutation(listMetadataTransferJobsRequest).build()); } /** *

* This API lists the properties of a component. *

* * @param listPropertiesRequest * @return Result of the ListProperties operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListProperties * @see AWS * API Documentation */ default ListPropertiesResponse listProperties(ListPropertiesRequest listPropertiesRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* This API lists the properties of a component. *

*
*

* This is a convenience which creates an instance of the {@link ListPropertiesRequest.Builder} avoiding the need to * create one manually via {@link ListPropertiesRequest#builder()} *

* * @param listPropertiesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListPropertiesRequest.Builder} to create a * request. * @return Result of the ListProperties operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListProperties * @see AWS * API Documentation */ default ListPropertiesResponse listProperties(Consumer listPropertiesRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listProperties(ListPropertiesRequest.builder().applyMutation(listPropertiesRequest).build()); } /** *

* This is a variant of * {@link #listProperties(software.amazon.awssdk.services.iottwinmaker.model.ListPropertiesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListPropertiesIterable responses = client.listPropertiesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListPropertiesIterable responses = client
     *             .listPropertiesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListPropertiesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListPropertiesIterable responses = client.listPropertiesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listProperties(software.amazon.awssdk.services.iottwinmaker.model.ListPropertiesRequest)} operation. *

* * @param listPropertiesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListProperties * @see AWS * API Documentation */ default ListPropertiesIterable listPropertiesPaginator(ListPropertiesRequest listPropertiesRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new ListPropertiesIterable(this, listPropertiesRequest); } /** *

* This is a variant of * {@link #listProperties(software.amazon.awssdk.services.iottwinmaker.model.ListPropertiesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListPropertiesIterable responses = client.listPropertiesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListPropertiesIterable responses = client
     *             .listPropertiesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListPropertiesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListPropertiesIterable responses = client.listPropertiesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listProperties(software.amazon.awssdk.services.iottwinmaker.model.ListPropertiesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListPropertiesRequest.Builder} avoiding the need to * create one manually via {@link ListPropertiesRequest#builder()} *

* * @param listPropertiesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListPropertiesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListProperties * @see AWS * API Documentation */ default ListPropertiesIterable listPropertiesPaginator(Consumer listPropertiesRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listPropertiesPaginator(ListPropertiesRequest.builder().applyMutation(listPropertiesRequest).build()); } /** *

* Lists all scenes in a workspace. *

* * @param listScenesRequest * @return Result of the ListScenes operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListScenes * @see AWS API * Documentation */ default ListScenesResponse listScenes(ListScenesRequest listScenesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Lists all scenes in a workspace. *

*
*

* This is a convenience which creates an instance of the {@link ListScenesRequest.Builder} avoiding the need to * create one manually via {@link ListScenesRequest#builder()} *

* * @param listScenesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest.Builder} to create a request. * @return Result of the ListScenes operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListScenes * @see AWS API * Documentation */ default ListScenesResponse listScenes(Consumer listScenesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listScenes(ListScenesRequest.builder().applyMutation(listScenesRequest).build()); } /** *

* This is a variant of {@link #listScenes(software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListScenesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listScenes(software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest)} operation. *

* * @param listScenesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListScenes * @see AWS API * Documentation */ default ListScenesIterable listScenesPaginator(ListScenesRequest listScenesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new ListScenesIterable(this, listScenesRequest); } /** *

* This is a variant of {@link #listScenes(software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListScenesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListScenesIterable responses = client.listScenesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listScenes(software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListScenesRequest.Builder} avoiding the need to * create one manually via {@link ListScenesRequest#builder()} *

* * @param listScenesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListScenesRequest.Builder} to create a request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListScenes * @see AWS API * Documentation */ default ListScenesIterable listScenesPaginator(Consumer listScenesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listScenesPaginator(ListScenesRequest.builder().applyMutation(listScenesRequest).build()); } /** *

* List all SyncJobs. *

* * @param listSyncJobsRequest * @return Result of the ListSyncJobs operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListSyncJobs * @see AWS API * Documentation */ default ListSyncJobsResponse listSyncJobs(ListSyncJobsRequest listSyncJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* List all SyncJobs. *

*
*

* This is a convenience which creates an instance of the {@link ListSyncJobsRequest.Builder} avoiding the need to * create one manually via {@link ListSyncJobsRequest#builder()} *

* * @param listSyncJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest.Builder} to create a * request. * @return Result of the ListSyncJobs operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListSyncJobs * @see AWS API * Documentation */ default ListSyncJobsResponse listSyncJobs(Consumer listSyncJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listSyncJobs(ListSyncJobsRequest.builder().applyMutation(listSyncJobsRequest).build()); } /** *

* This is a variant of * {@link #listSyncJobs(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client.listSyncJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client
     *             .listSyncJobsPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client.listSyncJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSyncJobs(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest)} operation. *

* * @param listSyncJobsRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListSyncJobs * @see AWS API * Documentation */ default ListSyncJobsIterable listSyncJobsPaginator(ListSyncJobsRequest listSyncJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new ListSyncJobsIterable(this, listSyncJobsRequest); } /** *

* This is a variant of * {@link #listSyncJobs(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client.listSyncJobsPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client
     *             .listSyncJobsPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncJobsIterable responses = client.listSyncJobsPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSyncJobs(software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListSyncJobsRequest.Builder} avoiding the need to * create one manually via {@link ListSyncJobsRequest#builder()} *

* * @param listSyncJobsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListSyncJobsRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListSyncJobs * @see AWS API * Documentation */ default ListSyncJobsIterable listSyncJobsPaginator(Consumer listSyncJobsRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listSyncJobsPaginator(ListSyncJobsRequest.builder().applyMutation(listSyncJobsRequest).build()); } /** *

* Lists the sync resources. *

* * @param listSyncResourcesRequest * @return Result of the ListSyncResources operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListSyncResources * @see AWS API Documentation */ default ListSyncResourcesResponse listSyncResources(ListSyncResourcesRequest listSyncResourcesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Lists the sync resources. *

*
*

* This is a convenience which creates an instance of the {@link ListSyncResourcesRequest.Builder} avoiding the need * to create one manually via {@link ListSyncResourcesRequest#builder()} *

* * @param listSyncResourcesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest.Builder} to create a * request. * @return Result of the ListSyncResources operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListSyncResources * @see AWS API Documentation */ default ListSyncResourcesResponse listSyncResources(Consumer listSyncResourcesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listSyncResources(ListSyncResourcesRequest.builder().applyMutation(listSyncResourcesRequest).build()); } /** *

* This is a variant of * {@link #listSyncResources(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client.listSyncResourcesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client
     *             .listSyncResourcesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client.listSyncResourcesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSyncResources(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest)} * operation. *

* * @param listSyncResourcesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListSyncResources * @see AWS API Documentation */ default ListSyncResourcesIterable listSyncResourcesPaginator(ListSyncResourcesRequest listSyncResourcesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new ListSyncResourcesIterable(this, listSyncResourcesRequest); } /** *

* This is a variant of * {@link #listSyncResources(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest)} * operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will * internally handle making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client.listSyncResourcesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client
     *             .listSyncResourcesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListSyncResourcesIterable responses = client.listSyncResourcesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSyncResources(software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListSyncResourcesRequest.Builder} avoiding the need * to create one manually via {@link ListSyncResourcesRequest#builder()} *

* * @param listSyncResourcesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListSyncResourcesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListSyncResources * @see AWS API Documentation */ default ListSyncResourcesIterable listSyncResourcesPaginator( Consumer listSyncResourcesRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listSyncResourcesPaginator(ListSyncResourcesRequest.builder().applyMutation(listSyncResourcesRequest).build()); } /** *

* Lists all tags associated with a resource. *

* * @param listTagsForResourceRequest * @return Result of the ListTagsForResource operation returned by the service. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Lists all tags associated with a resource. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListTagsForResourceRequest.Builder} to create a * request. * @return Result of the ListTagsForResource operation returned by the service. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListTagsForResource * @see AWS API Documentation */ default ListTagsForResourceResponse listTagsForResource( Consumer listTagsForResourceRequest) throws AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Retrieves information about workspaces in the current account. *

* * @param listWorkspacesRequest * @return Result of the ListWorkspaces operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListWorkspaces * @see AWS * API Documentation */ default ListWorkspacesResponse listWorkspaces(ListWorkspacesRequest listWorkspacesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Retrieves information about workspaces in the current account. *

*
*

* This is a convenience which creates an instance of the {@link ListWorkspacesRequest.Builder} avoiding the need to * create one manually via {@link ListWorkspacesRequest#builder()} *

* * @param listWorkspacesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest.Builder} to create a * request. * @return Result of the ListWorkspaces operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListWorkspaces * @see AWS * API Documentation */ default ListWorkspacesResponse listWorkspaces(Consumer listWorkspacesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listWorkspaces(ListWorkspacesRequest.builder().applyMutation(listWorkspacesRequest).build()); } /** *

* This is a variant of * {@link #listWorkspaces(software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client
     *             .listWorkspacesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listWorkspaces(software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest)} operation. *

* * @param listWorkspacesRequest * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListWorkspaces * @see AWS * API Documentation */ default ListWorkspacesIterable listWorkspacesPaginator(ListWorkspacesRequest listWorkspacesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return new ListWorkspacesIterable(this, listWorkspacesRequest); } /** *

* This is a variant of * {@link #listWorkspaces(software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest)} operation. The * return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle * making service calls for you. *

*

* When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no * guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response * pages by making service calls until there are no pages left or your iteration stops. If there are errors in your * request, you will see the failures only after you start iterating through the iterable. *

* *

* The following are few ways to iterate through the response pages: *

* 1) Using a Stream * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
     * responses.stream().forEach(....);
     * }
     * 
* * 2) Using For loop * *
     * {
     *     @code
     *     software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client
     *             .listWorkspacesPaginator(request);
     *     for (software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesResponse response : responses) {
     *         // do something;
     *     }
     * }
     * 
* * 3) Use iterator directly * *
     * {@code
     * software.amazon.awssdk.services.iottwinmaker.paginators.ListWorkspacesIterable responses = client.listWorkspacesPaginator(request);
     * responses.iterator().forEachRemaining(....);
     * }
     * 
*

* Please notice that the configuration of maxResults won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listWorkspaces(software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListWorkspacesRequest.Builder} avoiding the need to * create one manually via {@link ListWorkspacesRequest#builder()} *

* * @param listWorkspacesRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.ListWorkspacesRequest.Builder} to create a * request. * @return A custom iterable that can be used to iterate through all the response pages. * @throws InternalServerException * An unexpected error has occurred. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.ListWorkspaces * @see AWS * API Documentation */ default ListWorkspacesIterable listWorkspacesPaginator(Consumer listWorkspacesRequest) throws InternalServerException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return listWorkspacesPaginator(ListWorkspacesRequest.builder().applyMutation(listWorkspacesRequest).build()); } /** *

* Adds tags to a resource. *

* * @param tagResourceRequest * @return Result of the TagResource operation returned by the service. * @throws TooManyTagsException * The number of tags exceeds the limit. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws TooManyTagsException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Adds tags to a resource. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.TagResourceRequest.Builder} to create a request. * @return Result of the TagResource operation returned by the service. * @throws TooManyTagsException * The number of tags exceeds the limit. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.TagResource * @see AWS API * Documentation */ default TagResourceResponse tagResource(Consumer tagResourceRequest) throws TooManyTagsException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Removes tags from a resource. *

* * @param untagResourceRequest * @return Result of the UntagResource operation returned by the service. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UntagResource * @see AWS * API Documentation */ default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Removes tags from a resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.UntagResourceRequest.Builder} to create a * request. * @return Result of the UntagResource operation returned by the service. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UntagResource * @see AWS * API Documentation */ default UntagResourceResponse untagResource(Consumer untagResourceRequest) throws AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, IoTTwinMakerException { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates information in a component type. *

* * @param updateComponentTypeRequest * @return Result of the UpdateComponentType operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UpdateComponentType * @see AWS API Documentation */ default UpdateComponentTypeResponse updateComponentType(UpdateComponentTypeRequest updateComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Updates information in a component type. *

*
*

* This is a convenience which creates an instance of the {@link UpdateComponentTypeRequest.Builder} avoiding the * need to create one manually via {@link UpdateComponentTypeRequest#builder()} *

* * @param updateComponentTypeRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.UpdateComponentTypeRequest.Builder} to create a * request. * @return Result of the UpdateComponentType operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UpdateComponentType * @see AWS API Documentation */ default UpdateComponentTypeResponse updateComponentType( Consumer updateComponentTypeRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return updateComponentType(UpdateComponentTypeRequest.builder().applyMutation(updateComponentTypeRequest).build()); } /** *

* Updates an entity. *

* * @param updateEntityRequest * @return Result of the UpdateEntity operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UpdateEntity * @see AWS API * Documentation */ default UpdateEntityResponse updateEntity(UpdateEntityRequest updateEntityRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Updates an entity. *

*
*

* This is a convenience which creates an instance of the {@link UpdateEntityRequest.Builder} avoiding the need to * create one manually via {@link UpdateEntityRequest#builder()} *

* * @param updateEntityRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.UpdateEntityRequest.Builder} to create a * request. * @return Result of the UpdateEntity operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ConflictException * A conflict occurred. * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UpdateEntity * @see AWS API * Documentation */ default UpdateEntityResponse updateEntity(Consumer updateEntityRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return updateEntity(UpdateEntityRequest.builder().applyMutation(updateEntityRequest).build()); } /** *

* Update the pricing plan. *

* * @param updatePricingPlanRequest * @return Result of the UpdatePricingPlan operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UpdatePricingPlan * @see AWS API Documentation */ default UpdatePricingPlanResponse updatePricingPlan(UpdatePricingPlanRequest updatePricingPlanRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Update the pricing plan. *

*
*

* This is a convenience which creates an instance of the {@link UpdatePricingPlanRequest.Builder} avoiding the need * to create one manually via {@link UpdatePricingPlanRequest#builder()} *

* * @param updatePricingPlanRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.UpdatePricingPlanRequest.Builder} to create a * request. * @return Result of the UpdatePricingPlan operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UpdatePricingPlan * @see AWS API Documentation */ default UpdatePricingPlanResponse updatePricingPlan(Consumer updatePricingPlanRequest) throws InternalServerException, AccessDeniedException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return updatePricingPlan(UpdatePricingPlanRequest.builder().applyMutation(updatePricingPlanRequest).build()); } /** *

* Updates a scene. *

* * @param updateSceneRequest * @return Result of the UpdateScene operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UpdateScene * @see AWS API * Documentation */ default UpdateSceneResponse updateScene(UpdateSceneRequest updateSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Updates a scene. *

*
*

* This is a convenience which creates an instance of the {@link UpdateSceneRequest.Builder} avoiding the need to * create one manually via {@link UpdateSceneRequest#builder()} *

* * @param updateSceneRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.UpdateSceneRequest.Builder} to create a request. * @return Result of the UpdateScene operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UpdateScene * @see AWS API * Documentation */ default UpdateSceneResponse updateScene(Consumer updateSceneRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, AwsServiceException, SdkClientException, IoTTwinMakerException { return updateScene(UpdateSceneRequest.builder().applyMutation(updateSceneRequest).build()); } /** *

* Updates a workspace. *

* * @param updateWorkspaceRequest * @return Result of the UpdateWorkspace operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UpdateWorkspace * @see AWS * API Documentation */ default UpdateWorkspaceResponse updateWorkspace(UpdateWorkspaceRequest updateWorkspaceRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { throw new UnsupportedOperationException(); } /** *

* Updates a workspace. *

*
*

* This is a convenience which creates an instance of the {@link UpdateWorkspaceRequest.Builder} avoiding the need * to create one manually via {@link UpdateWorkspaceRequest#builder()} *

* * @param updateWorkspaceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.iottwinmaker.model.UpdateWorkspaceRequest.Builder} to create a * request. * @return Result of the UpdateWorkspace operation returned by the service. * @throws InternalServerException * An unexpected error has occurred. * @throws AccessDeniedException * Access is denied. * @throws ResourceNotFoundException * The resource wasn't found. * @throws ThrottlingException * The rate exceeds the limit. * @throws ValidationException * Failed * @throws ServiceQuotaExceededException * The service quota was exceeded. * @throws SdkException * Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for * catch all scenarios. * @throws SdkClientException * If any client side error occurs such as an IO related failure, failure to get credentials, etc. * @throws IoTTwinMakerException * Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type. * @sample IoTTwinMakerClient.UpdateWorkspace * @see AWS * API Documentation */ default UpdateWorkspaceResponse updateWorkspace(Consumer updateWorkspaceRequest) throws InternalServerException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ValidationException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, IoTTwinMakerException { return updateWorkspace(UpdateWorkspaceRequest.builder().applyMutation(updateWorkspaceRequest).build()); } /** * Create a {@link IoTTwinMakerClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static IoTTwinMakerClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link IoTTwinMakerClient}. */ static IoTTwinMakerClientBuilder builder() { return new DefaultIoTTwinMakerClientBuilder(); } static ServiceMetadata serviceMetadata() { return ServiceMetadata.of(SERVICE_METADATA_ID); } @Override default IoTTwinMakerServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy