Interface SupplyChainAsyncClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface SupplyChainAsyncClient extends AwsClient
Service client for accessing AWS Supply Chain asynchronously. This can be created using the staticbuilder()method.The asynchronous client performs non-blocking I/O when configured with anySdkAsyncHttpClientsupported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.AWS Supply Chain is a cloud-based application that works with your enterprise resource planning (ERP) and supply chain management systems. Using AWS Supply Chain, you can connect and extract your inventory, supply, and demand related data from existing ERP or supply chain systems into a single data model.
The AWS Supply Chain API supports configuration data import for Supply Planning.
All AWS Supply chain API operations are Amazon-authenticated and certificate-signed. They not only require the use of the AWS SDK, but also allow for the exclusive use of AWS Identity and Access Management users and roles to help facilitate access, trust, and permission policies.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
createBillOfMaterialsImportJob
default CompletableFuture<CreateBillOfMaterialsImportJobResponse> createBillOfMaterialsImportJob(CreateBillOfMaterialsImportJobRequest createBillOfMaterialsImportJobRequest)
CreateBillOfMaterialsImportJob creates an import job for the Product Bill Of Materials (BOM) entity. For information on the product_bom entity, see the AWS Supply Chain User Guide.
The CSV file must be located in an Amazon S3 location accessible to AWS Supply Chain. It is recommended to use the same Amazon S3 bucket created during your AWS Supply Chain instance creation.
- Parameters:
createBillOfMaterialsImportJobRequest- The request parameters for CreateBillOfMaterialsImportJob.- Returns:
- A Java Future containing the result of the CreateBillOfMaterialsImportJob operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createBillOfMaterialsImportJob
default CompletableFuture<CreateBillOfMaterialsImportJobResponse> createBillOfMaterialsImportJob(Consumer<CreateBillOfMaterialsImportJobRequest.Builder> createBillOfMaterialsImportJobRequest)
CreateBillOfMaterialsImportJob creates an import job for the Product Bill Of Materials (BOM) entity. For information on the product_bom entity, see the AWS Supply Chain User Guide.
The CSV file must be located in an Amazon S3 location accessible to AWS Supply Chain. It is recommended to use the same Amazon S3 bucket created during your AWS Supply Chain instance creation.
This is a convenience which creates an instance of the
CreateBillOfMaterialsImportJobRequest.Builderavoiding the need to create one manually viaCreateBillOfMaterialsImportJobRequest.builder()- Parameters:
createBillOfMaterialsImportJobRequest- AConsumerthat will call methods onCreateBillOfMaterialsImportJobRequest.Builderto create a request. The request parameters for CreateBillOfMaterialsImportJob.- Returns:
- A Java Future containing the result of the CreateBillOfMaterialsImportJob operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createDataIntegrationFlow
default CompletableFuture<CreateDataIntegrationFlowResponse> createDataIntegrationFlow(CreateDataIntegrationFlowRequest createDataIntegrationFlowRequest)
Create DataIntegrationFlow to map one or more different sources to one target using the SQL transformation query.
- Parameters:
createDataIntegrationFlowRequest- The request parameters for CreateDataIntegrationFlow.- Returns:
- A Java Future containing the result of the CreateDataIntegrationFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createDataIntegrationFlow
default CompletableFuture<CreateDataIntegrationFlowResponse> createDataIntegrationFlow(Consumer<CreateDataIntegrationFlowRequest.Builder> createDataIntegrationFlowRequest)
Create DataIntegrationFlow to map one or more different sources to one target using the SQL transformation query.
This is a convenience which creates an instance of the
CreateDataIntegrationFlowRequest.Builderavoiding the need to create one manually viaCreateDataIntegrationFlowRequest.builder()- Parameters:
createDataIntegrationFlowRequest- AConsumerthat will call methods onCreateDataIntegrationFlowRequest.Builderto create a request. The request parameters for CreateDataIntegrationFlow.- Returns:
- A Java Future containing the result of the CreateDataIntegrationFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createDataLakeDataset
default CompletableFuture<CreateDataLakeDatasetResponse> createDataLakeDataset(CreateDataLakeDatasetRequest createDataLakeDatasetRequest)
Create a data lake dataset.
- Parameters:
createDataLakeDatasetRequest- The request parameters for CreateDataLakeDataset.- Returns:
- A Java Future containing the result of the CreateDataLakeDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createDataLakeDataset
default CompletableFuture<CreateDataLakeDatasetResponse> createDataLakeDataset(Consumer<CreateDataLakeDatasetRequest.Builder> createDataLakeDatasetRequest)
Create a data lake dataset.
This is a convenience which creates an instance of the
CreateDataLakeDatasetRequest.Builderavoiding the need to create one manually viaCreateDataLakeDatasetRequest.builder()- Parameters:
createDataLakeDatasetRequest- AConsumerthat will call methods onCreateDataLakeDatasetRequest.Builderto create a request. The request parameters for CreateDataLakeDataset.- Returns:
- A Java Future containing the result of the CreateDataLakeDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createInstance
default CompletableFuture<CreateInstanceResponse> createInstance(CreateInstanceRequest createInstanceRequest)
Create a new instance for AWS Supply Chain. This is an asynchronous operation. Upon receiving a CreateInstance request, AWS Supply Chain immediately returns the instance resource, with instance ID, and the initializing state while simultaneously creating all required Amazon Web Services resources for an instance creation. You can use GetInstance to check the status of the instance.
- Parameters:
createInstanceRequest- The request parameters for CreateInstance.- Returns:
- A Java Future containing the result of the CreateInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createInstance
default CompletableFuture<CreateInstanceResponse> createInstance(Consumer<CreateInstanceRequest.Builder> createInstanceRequest)
Create a new instance for AWS Supply Chain. This is an asynchronous operation. Upon receiving a CreateInstance request, AWS Supply Chain immediately returns the instance resource, with instance ID, and the initializing state while simultaneously creating all required Amazon Web Services resources for an instance creation. You can use GetInstance to check the status of the instance.
This is a convenience which creates an instance of the
CreateInstanceRequest.Builderavoiding the need to create one manually viaCreateInstanceRequest.builder()- Parameters:
createInstanceRequest- AConsumerthat will call methods onCreateInstanceRequest.Builderto create a request. The request parameters for CreateInstance.- Returns:
- A Java Future containing the result of the CreateInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteDataIntegrationFlow
default CompletableFuture<DeleteDataIntegrationFlowResponse> deleteDataIntegrationFlow(DeleteDataIntegrationFlowRequest deleteDataIntegrationFlowRequest)
Delete the DataIntegrationFlow.
- Parameters:
deleteDataIntegrationFlowRequest- The request parameters for DeleteDataIntegrationFlow.- Returns:
- A Java Future containing the result of the DeleteDataIntegrationFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteDataIntegrationFlow
default CompletableFuture<DeleteDataIntegrationFlowResponse> deleteDataIntegrationFlow(Consumer<DeleteDataIntegrationFlowRequest.Builder> deleteDataIntegrationFlowRequest)
Delete the DataIntegrationFlow.
This is a convenience which creates an instance of the
DeleteDataIntegrationFlowRequest.Builderavoiding the need to create one manually viaDeleteDataIntegrationFlowRequest.builder()- Parameters:
deleteDataIntegrationFlowRequest- AConsumerthat will call methods onDeleteDataIntegrationFlowRequest.Builderto create a request. The request parameters for DeleteDataIntegrationFlow.- Returns:
- A Java Future containing the result of the DeleteDataIntegrationFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteDataLakeDataset
default CompletableFuture<DeleteDataLakeDatasetResponse> deleteDataLakeDataset(DeleteDataLakeDatasetRequest deleteDataLakeDatasetRequest)
Delete a data lake dataset.
- Parameters:
deleteDataLakeDatasetRequest- The request parameters of DeleteDataLakeDataset.- Returns:
- A Java Future containing the result of the DeleteDataLakeDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteDataLakeDataset
default CompletableFuture<DeleteDataLakeDatasetResponse> deleteDataLakeDataset(Consumer<DeleteDataLakeDatasetRequest.Builder> deleteDataLakeDatasetRequest)
Delete a data lake dataset.
This is a convenience which creates an instance of the
DeleteDataLakeDatasetRequest.Builderavoiding the need to create one manually viaDeleteDataLakeDatasetRequest.builder()- Parameters:
deleteDataLakeDatasetRequest- AConsumerthat will call methods onDeleteDataLakeDatasetRequest.Builderto create a request. The request parameters of DeleteDataLakeDataset.- Returns:
- A Java Future containing the result of the DeleteDataLakeDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteInstance
default CompletableFuture<DeleteInstanceResponse> deleteInstance(DeleteInstanceRequest deleteInstanceRequest)
Delete the instance. This is an asynchronous operation. Upon receiving a DeleteInstance request, AWS Supply Chain immediately returns a response with the instance resource, delete state while cleaning up all Amazon Web Services resources created during the instance creation process. You can use the GetInstance action to check the instance status.
- Parameters:
deleteInstanceRequest- The request parameters for DeleteInstance.- Returns:
- A Java Future containing the result of the DeleteInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteInstance
default CompletableFuture<DeleteInstanceResponse> deleteInstance(Consumer<DeleteInstanceRequest.Builder> deleteInstanceRequest)
Delete the instance. This is an asynchronous operation. Upon receiving a DeleteInstance request, AWS Supply Chain immediately returns a response with the instance resource, delete state while cleaning up all Amazon Web Services resources created during the instance creation process. You can use the GetInstance action to check the instance status.
This is a convenience which creates an instance of the
DeleteInstanceRequest.Builderavoiding the need to create one manually viaDeleteInstanceRequest.builder()- Parameters:
deleteInstanceRequest- AConsumerthat will call methods onDeleteInstanceRequest.Builderto create a request. The request parameters for DeleteInstance.- Returns:
- A Java Future containing the result of the DeleteInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getBillOfMaterialsImportJob
default CompletableFuture<GetBillOfMaterialsImportJobResponse> getBillOfMaterialsImportJob(GetBillOfMaterialsImportJobRequest getBillOfMaterialsImportJobRequest)
Get status and details of a BillOfMaterialsImportJob.
- Parameters:
getBillOfMaterialsImportJobRequest- The request parameters for GetBillOfMaterialsImportJob.- Returns:
- A Java Future containing the result of the GetBillOfMaterialsImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getBillOfMaterialsImportJob
default CompletableFuture<GetBillOfMaterialsImportJobResponse> getBillOfMaterialsImportJob(Consumer<GetBillOfMaterialsImportJobRequest.Builder> getBillOfMaterialsImportJobRequest)
Get status and details of a BillOfMaterialsImportJob.
This is a convenience which creates an instance of the
GetBillOfMaterialsImportJobRequest.Builderavoiding the need to create one manually viaGetBillOfMaterialsImportJobRequest.builder()- Parameters:
getBillOfMaterialsImportJobRequest- AConsumerthat will call methods onGetBillOfMaterialsImportJobRequest.Builderto create a request. The request parameters for GetBillOfMaterialsImportJob.- Returns:
- A Java Future containing the result of the GetBillOfMaterialsImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDataIntegrationFlow
default CompletableFuture<GetDataIntegrationFlowResponse> getDataIntegrationFlow(GetDataIntegrationFlowRequest getDataIntegrationFlowRequest)
View the DataIntegrationFlow details.
- Parameters:
getDataIntegrationFlowRequest- The request parameters for GetDataIntegrationFlow.- Returns:
- A Java Future containing the result of the GetDataIntegrationFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDataIntegrationFlow
default CompletableFuture<GetDataIntegrationFlowResponse> getDataIntegrationFlow(Consumer<GetDataIntegrationFlowRequest.Builder> getDataIntegrationFlowRequest)
View the DataIntegrationFlow details.
This is a convenience which creates an instance of the
GetDataIntegrationFlowRequest.Builderavoiding the need to create one manually viaGetDataIntegrationFlowRequest.builder()- Parameters:
getDataIntegrationFlowRequest- AConsumerthat will call methods onGetDataIntegrationFlowRequest.Builderto create a request. The request parameters for GetDataIntegrationFlow.- Returns:
- A Java Future containing the result of the GetDataIntegrationFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDataLakeDataset
default CompletableFuture<GetDataLakeDatasetResponse> getDataLakeDataset(GetDataLakeDatasetRequest getDataLakeDatasetRequest)
Get a data lake dataset.
- Parameters:
getDataLakeDatasetRequest- The request parameters for GetDataLakeDataset.- Returns:
- A Java Future containing the result of the GetDataLakeDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDataLakeDataset
default CompletableFuture<GetDataLakeDatasetResponse> getDataLakeDataset(Consumer<GetDataLakeDatasetRequest.Builder> getDataLakeDatasetRequest)
Get a data lake dataset.
This is a convenience which creates an instance of the
GetDataLakeDatasetRequest.Builderavoiding the need to create one manually viaGetDataLakeDatasetRequest.builder()- Parameters:
getDataLakeDatasetRequest- AConsumerthat will call methods onGetDataLakeDatasetRequest.Builderto create a request. The request parameters for GetDataLakeDataset.- Returns:
- A Java Future containing the result of the GetDataLakeDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getInstance
default CompletableFuture<GetInstanceResponse> getInstance(GetInstanceRequest getInstanceRequest)
Get the AWS Supply Chain instance details.
- Parameters:
getInstanceRequest- The request parameters for GetInstance.- Returns:
- A Java Future containing the result of the GetInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getInstance
default CompletableFuture<GetInstanceResponse> getInstance(Consumer<GetInstanceRequest.Builder> getInstanceRequest)
Get the AWS Supply Chain instance details.
This is a convenience which creates an instance of the
GetInstanceRequest.Builderavoiding the need to create one manually viaGetInstanceRequest.builder()- Parameters:
getInstanceRequest- AConsumerthat will call methods onGetInstanceRequest.Builderto create a request. The request parameters for GetInstance.- Returns:
- A Java Future containing the result of the GetInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrationFlows
default CompletableFuture<ListDataIntegrationFlowsResponse> listDataIntegrationFlows(ListDataIntegrationFlowsRequest listDataIntegrationFlowsRequest)
Lists all the DataIntegrationFlows in a paginated way.
- Parameters:
listDataIntegrationFlowsRequest- The request parameters for ListDataIntegrationFlows.- Returns:
- A Java Future containing the result of the ListDataIntegrationFlows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrationFlows
default CompletableFuture<ListDataIntegrationFlowsResponse> listDataIntegrationFlows(Consumer<ListDataIntegrationFlowsRequest.Builder> listDataIntegrationFlowsRequest)
Lists all the DataIntegrationFlows in a paginated way.
This is a convenience which creates an instance of the
ListDataIntegrationFlowsRequest.Builderavoiding the need to create one manually viaListDataIntegrationFlowsRequest.builder()- Parameters:
listDataIntegrationFlowsRequest- AConsumerthat will call methods onListDataIntegrationFlowsRequest.Builderto create a request. The request parameters for ListDataIntegrationFlows.- Returns:
- A Java Future containing the result of the ListDataIntegrationFlows operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrationFlowsPaginator
default ListDataIntegrationFlowsPublisher listDataIntegrationFlowsPaginator(ListDataIntegrationFlowsRequest listDataIntegrationFlowsRequest)
This is a variant of
listDataIntegrationFlows(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationFlowsPublisher publisher = client.listDataIntegrationFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationFlowsPublisher publisher = client.listDataIntegrationFlowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataIntegrationFlows(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowsRequest)operation.- Parameters:
listDataIntegrationFlowsRequest- The request parameters for ListDataIntegrationFlows.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataIntegrationFlowsPaginator
default ListDataIntegrationFlowsPublisher listDataIntegrationFlowsPaginator(Consumer<ListDataIntegrationFlowsRequest.Builder> listDataIntegrationFlowsRequest)
This is a variant of
listDataIntegrationFlows(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationFlowsPublisher publisher = client.listDataIntegrationFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationFlowsPublisher publisher = client.listDataIntegrationFlowsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataIntegrationFlows(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowsRequest)operation.
This is a convenience which creates an instance of the
ListDataIntegrationFlowsRequest.Builderavoiding the need to create one manually viaListDataIntegrationFlowsRequest.builder()- Parameters:
listDataIntegrationFlowsRequest- AConsumerthat will call methods onListDataIntegrationFlowsRequest.Builderto create a request. The request parameters for ListDataIntegrationFlows.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataLakeDatasets
default CompletableFuture<ListDataLakeDatasetsResponse> listDataLakeDatasets(ListDataLakeDatasetsRequest listDataLakeDatasetsRequest)
List the data lake datasets for a specific instance and name space.
- Parameters:
listDataLakeDatasetsRequest- The request parameters of ListDataLakeDatasets.- Returns:
- A Java Future containing the result of the ListDataLakeDatasets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataLakeDatasets
default CompletableFuture<ListDataLakeDatasetsResponse> listDataLakeDatasets(Consumer<ListDataLakeDatasetsRequest.Builder> listDataLakeDatasetsRequest)
List the data lake datasets for a specific instance and name space.
This is a convenience which creates an instance of the
ListDataLakeDatasetsRequest.Builderavoiding the need to create one manually viaListDataLakeDatasetsRequest.builder()- Parameters:
listDataLakeDatasetsRequest- AConsumerthat will call methods onListDataLakeDatasetsRequest.Builderto create a request. The request parameters of ListDataLakeDatasets.- Returns:
- A Java Future containing the result of the ListDataLakeDatasets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataLakeDatasetsPaginator
default ListDataLakeDatasetsPublisher listDataLakeDatasetsPaginator(ListDataLakeDatasetsRequest listDataLakeDatasetsRequest)
This is a variant of
listDataLakeDatasets(software.amazon.awssdk.services.supplychain.model.ListDataLakeDatasetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.supplychain.paginators.ListDataLakeDatasetsPublisher publisher = client.listDataLakeDatasetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.supplychain.paginators.ListDataLakeDatasetsPublisher publisher = client.listDataLakeDatasetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListDataLakeDatasetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListDataLakeDatasetsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataLakeDatasets(software.amazon.awssdk.services.supplychain.model.ListDataLakeDatasetsRequest)operation.- Parameters:
listDataLakeDatasetsRequest- The request parameters of ListDataLakeDatasets.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDataLakeDatasetsPaginator
default ListDataLakeDatasetsPublisher listDataLakeDatasetsPaginator(Consumer<ListDataLakeDatasetsRequest.Builder> listDataLakeDatasetsRequest)
This is a variant of
listDataLakeDatasets(software.amazon.awssdk.services.supplychain.model.ListDataLakeDatasetsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.supplychain.paginators.ListDataLakeDatasetsPublisher publisher = client.listDataLakeDatasetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.supplychain.paginators.ListDataLakeDatasetsPublisher publisher = client.listDataLakeDatasetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListDataLakeDatasetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListDataLakeDatasetsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDataLakeDatasets(software.amazon.awssdk.services.supplychain.model.ListDataLakeDatasetsRequest)operation.
This is a convenience which creates an instance of the
ListDataLakeDatasetsRequest.Builderavoiding the need to create one manually viaListDataLakeDatasetsRequest.builder()- Parameters:
listDataLakeDatasetsRequest- AConsumerthat will call methods onListDataLakeDatasetsRequest.Builderto create a request. The request parameters of ListDataLakeDatasets.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listInstances
default CompletableFuture<ListInstancesResponse> listInstances(ListInstancesRequest listInstancesRequest)
List all the AWS Supply Chain instances in a paginated way.
- Parameters:
listInstancesRequest- The request parameters for ListInstances.- Returns:
- A Java Future containing the result of the ListInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listInstances
default CompletableFuture<ListInstancesResponse> listInstances(Consumer<ListInstancesRequest.Builder> listInstancesRequest)
List all the AWS Supply Chain instances in a paginated way.
This is a convenience which creates an instance of the
ListInstancesRequest.Builderavoiding the need to create one manually viaListInstancesRequest.builder()- Parameters:
listInstancesRequest- AConsumerthat will call methods onListInstancesRequest.Builderto create a request. The request parameters for ListInstances.- Returns:
- A Java Future containing the result of the ListInstances operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listInstancesPaginator
default ListInstancesPublisher listInstancesPaginator(ListInstancesRequest listInstancesRequest)
This is a variant of
listInstances(software.amazon.awssdk.services.supplychain.model.ListInstancesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.supplychain.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.supplychain.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListInstancesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstances(software.amazon.awssdk.services.supplychain.model.ListInstancesRequest)operation.- Parameters:
listInstancesRequest- The request parameters for ListInstances.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listInstancesPaginator
default ListInstancesPublisher listInstancesPaginator(Consumer<ListInstancesRequest.Builder> listInstancesRequest)
This is a variant of
listInstances(software.amazon.awssdk.services.supplychain.model.ListInstancesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.supplychain.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.supplychain.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListInstancesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListInstancesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInstances(software.amazon.awssdk.services.supplychain.model.ListInstancesRequest)operation.
This is a convenience which creates an instance of the
ListInstancesRequest.Builderavoiding the need to create one manually viaListInstancesRequest.builder()- Parameters:
listInstancesRequest- AConsumerthat will call methods onListInstancesRequest.Builderto create a request. The request parameters for ListInstances.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ThrottlingException Request was denied due to request throttling.
- ResourceNotFoundException Request references a resource which does not exist.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List all the tags for an Amazon Web ServicesSupply Chain resource.
- Parameters:
listTagsForResourceRequest- The request parameters of ListTagsForResource.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
List all the tags for an Amazon Web ServicesSupply Chain resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request. The request parameters of ListTagsForResource.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
sendDataIntegrationEvent
default CompletableFuture<SendDataIntegrationEventResponse> sendDataIntegrationEvent(SendDataIntegrationEventRequest sendDataIntegrationEventRequest)
Send the transactional data payload for the event with real-time data for analysis or monitoring. The real-time data events are stored in an Amazon Web Services service before being processed and stored in data lake. New data events are synced with data lake at 5 PM GMT everyday. The updated transactional data is available in data lake after ingestion.
- Parameters:
sendDataIntegrationEventRequest- The request parameters for SendDataIntegrationEvent.- Returns:
- A Java Future containing the result of the SendDataIntegrationEvent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
sendDataIntegrationEvent
default CompletableFuture<SendDataIntegrationEventResponse> sendDataIntegrationEvent(Consumer<SendDataIntegrationEventRequest.Builder> sendDataIntegrationEventRequest)
Send the transactional data payload for the event with real-time data for analysis or monitoring. The real-time data events are stored in an Amazon Web Services service before being processed and stored in data lake. New data events are synced with data lake at 5 PM GMT everyday. The updated transactional data is available in data lake after ingestion.
This is a convenience which creates an instance of the
SendDataIntegrationEventRequest.Builderavoiding the need to create one manually viaSendDataIntegrationEventRequest.builder()- Parameters:
sendDataIntegrationEventRequest- AConsumerthat will call methods onSendDataIntegrationEventRequest.Builderto create a request. The request parameters for SendDataIntegrationEvent.- Returns:
- A Java Future containing the result of the SendDataIntegrationEvent operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Create tags for an Amazon Web Services Supply chain resource.
- Parameters:
tagResourceRequest- The request parameters of TagResource.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Create tags for an Amazon Web Services Supply chain resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request. The request parameters of TagResource.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Delete tags for an Amazon Web Services Supply chain resource.
- Parameters:
untagResourceRequest- The request parameters of UntagResource.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Delete tags for an Amazon Web Services Supply chain resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request. The request parameters of UntagResource.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateDataIntegrationFlow
default CompletableFuture<UpdateDataIntegrationFlowResponse> updateDataIntegrationFlow(UpdateDataIntegrationFlowRequest updateDataIntegrationFlowRequest)
Update the DataIntegrationFlow.
- Parameters:
updateDataIntegrationFlowRequest- The request parameters for UpdateDataIntegrationFlow.- Returns:
- A Java Future containing the result of the UpdateDataIntegrationFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateDataIntegrationFlow
default CompletableFuture<UpdateDataIntegrationFlowResponse> updateDataIntegrationFlow(Consumer<UpdateDataIntegrationFlowRequest.Builder> updateDataIntegrationFlowRequest)
Update the DataIntegrationFlow.
This is a convenience which creates an instance of the
UpdateDataIntegrationFlowRequest.Builderavoiding the need to create one manually viaUpdateDataIntegrationFlowRequest.builder()- Parameters:
updateDataIntegrationFlowRequest- AConsumerthat will call methods onUpdateDataIntegrationFlowRequest.Builderto create a request. The request parameters for UpdateDataIntegrationFlow.- Returns:
- A Java Future containing the result of the UpdateDataIntegrationFlow operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateDataLakeDataset
default CompletableFuture<UpdateDataLakeDatasetResponse> updateDataLakeDataset(UpdateDataLakeDatasetRequest updateDataLakeDatasetRequest)
Update a data lake dataset.
- Parameters:
updateDataLakeDatasetRequest- The request parameters of UpdateDataLakeDataset.- Returns:
- A Java Future containing the result of the UpdateDataLakeDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateDataLakeDataset
default CompletableFuture<UpdateDataLakeDatasetResponse> updateDataLakeDataset(Consumer<UpdateDataLakeDatasetRequest.Builder> updateDataLakeDatasetRequest)
Update a data lake dataset.
This is a convenience which creates an instance of the
UpdateDataLakeDatasetRequest.Builderavoiding the need to create one manually viaUpdateDataLakeDatasetRequest.builder()- Parameters:
updateDataLakeDatasetRequest- AConsumerthat will call methods onUpdateDataLakeDatasetRequest.Builderto create a request. The request parameters of UpdateDataLakeDataset.- Returns:
- A Java Future containing the result of the UpdateDataLakeDataset operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateInstance
default CompletableFuture<UpdateInstanceResponse> updateInstance(UpdateInstanceRequest updateInstanceRequest)
Update the instance.
- Parameters:
updateInstanceRequest- The request parameters for UpdateInstance.- Returns:
- A Java Future containing the result of the UpdateInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateInstance
default CompletableFuture<UpdateInstanceResponse> updateInstance(Consumer<UpdateInstanceRequest.Builder> updateInstanceRequest)
Update the instance.
This is a convenience which creates an instance of the
UpdateInstanceRequest.Builderavoiding the need to create one manually viaUpdateInstanceRequest.builder()- Parameters:
updateInstanceRequest- AConsumerthat will call methods onUpdateInstanceRequest.Builderto create a request. The request parameters for UpdateInstance.- Returns:
- A Java Future containing the result of the UpdateInstance operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ServiceQuotaExceededException Request would cause a service quota to be exceeded.
- ResourceNotFoundException Request references a resource which does not exist.
- ThrottlingException Request was denied due to request throttling.
- AccessDeniedException You do not have the required privileges to perform this action.
- ValidationException The input does not satisfy the constraints specified by an AWS service.
- InternalServerException Unexpected error during processing of request.
- ConflictException Updating or deleting a resource can cause an inconsistent state.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- SupplyChainException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default SupplyChainServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
create
static SupplyChainAsyncClient create()
Create aSupplyChainAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static SupplyChainAsyncClientBuilder builder()
Create a builder that can be used to configure and create aSupplyChainAsyncClient.
-
-