Interface SupplyChainAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported 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
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a builder that can be used to configure and create aSupplyChainAsyncClient
.static SupplyChainAsyncClient
create()
Create aSupplyChainAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.createBillOfMaterialsImportJob
(Consumer<CreateBillOfMaterialsImportJobRequest.Builder> createBillOfMaterialsImportJobRequest) CreateBillOfMaterialsImportJob creates an import job for the Product Bill Of Materials (BOM) entity.createBillOfMaterialsImportJob
(CreateBillOfMaterialsImportJobRequest createBillOfMaterialsImportJobRequest) CreateBillOfMaterialsImportJob creates an import job for the Product Bill Of Materials (BOM) entity.createDataIntegrationFlow
(Consumer<CreateDataIntegrationFlowRequest.Builder> createDataIntegrationFlowRequest) Enables you to programmatically create a data pipeline to ingest data from source systems such as Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.createDataIntegrationFlow
(CreateDataIntegrationFlowRequest createDataIntegrationFlowRequest) Enables you to programmatically create a data pipeline to ingest data from source systems such as Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.createDataLakeDataset
(Consumer<CreateDataLakeDatasetRequest.Builder> createDataLakeDatasetRequest) Enables you to programmatically create an Amazon Web Services Supply Chain data lake dataset.createDataLakeDataset
(CreateDataLakeDatasetRequest createDataLakeDatasetRequest) Enables you to programmatically create an Amazon Web Services Supply Chain data lake dataset.createDataLakeNamespace
(Consumer<CreateDataLakeNamespaceRequest.Builder> createDataLakeNamespaceRequest) Enables you to programmatically create an Amazon Web Services Supply Chain data lake namespace.createDataLakeNamespace
(CreateDataLakeNamespaceRequest createDataLakeNamespaceRequest) Enables you to programmatically create an Amazon Web Services Supply Chain data lake namespace.default CompletableFuture
<CreateInstanceResponse> createInstance
(Consumer<CreateInstanceRequest.Builder> createInstanceRequest) Enables you to programmatically create an Amazon Web Services Supply Chain instance by applying KMS keys and relevant information associated with the API without using the Amazon Web Services console.default CompletableFuture
<CreateInstanceResponse> createInstance
(CreateInstanceRequest createInstanceRequest) Enables you to programmatically create an Amazon Web Services Supply Chain instance by applying KMS keys and relevant information associated with the API without using the Amazon Web Services console.deleteDataIntegrationFlow
(Consumer<DeleteDataIntegrationFlowRequest.Builder> deleteDataIntegrationFlowRequest) Enable you to programmatically delete an existing data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.deleteDataIntegrationFlow
(DeleteDataIntegrationFlowRequest deleteDataIntegrationFlowRequest) Enable you to programmatically delete an existing data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.deleteDataLakeDataset
(Consumer<DeleteDataLakeDatasetRequest.Builder> deleteDataLakeDatasetRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain data lake dataset.deleteDataLakeDataset
(DeleteDataLakeDatasetRequest deleteDataLakeDatasetRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain data lake dataset.deleteDataLakeNamespace
(Consumer<DeleteDataLakeNamespaceRequest.Builder> deleteDataLakeNamespaceRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain data lake namespace and its underling datasets.deleteDataLakeNamespace
(DeleteDataLakeNamespaceRequest deleteDataLakeNamespaceRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain data lake namespace and its underling datasets.default CompletableFuture
<DeleteInstanceResponse> deleteInstance
(Consumer<DeleteInstanceRequest.Builder> deleteInstanceRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain instance by deleting the KMS keys and relevant information associated with the API without using the Amazon Web Services console.default CompletableFuture
<DeleteInstanceResponse> deleteInstance
(DeleteInstanceRequest deleteInstanceRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain instance by deleting the KMS keys and relevant information associated with the API without using the Amazon Web Services console.getBillOfMaterialsImportJob
(Consumer<GetBillOfMaterialsImportJobRequest.Builder> getBillOfMaterialsImportJobRequest) Get status and details of a BillOfMaterialsImportJob.getBillOfMaterialsImportJob
(GetBillOfMaterialsImportJobRequest getBillOfMaterialsImportJobRequest) Get status and details of a BillOfMaterialsImportJob.getDataIntegrationEvent
(Consumer<GetDataIntegrationEventRequest.Builder> getDataIntegrationEventRequest) Enables you to programmatically view an Amazon Web Services Supply Chain Data Integration Event.getDataIntegrationEvent
(GetDataIntegrationEventRequest getDataIntegrationEventRequest) Enables you to programmatically view an Amazon Web Services Supply Chain Data Integration Event.getDataIntegrationFlow
(Consumer<GetDataIntegrationFlowRequest.Builder> getDataIntegrationFlowRequest) Enables you to programmatically view a specific data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.getDataIntegrationFlow
(GetDataIntegrationFlowRequest getDataIntegrationFlowRequest) Enables you to programmatically view a specific data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.getDataIntegrationFlowExecution
(Consumer<GetDataIntegrationFlowExecutionRequest.Builder> getDataIntegrationFlowExecutionRequest) Get the flow execution.getDataIntegrationFlowExecution
(GetDataIntegrationFlowExecutionRequest getDataIntegrationFlowExecutionRequest) Get the flow execution.getDataLakeDataset
(Consumer<GetDataLakeDatasetRequest.Builder> getDataLakeDatasetRequest) Enables you to programmatically view an Amazon Web Services Supply Chain data lake dataset.getDataLakeDataset
(GetDataLakeDatasetRequest getDataLakeDatasetRequest) Enables you to programmatically view an Amazon Web Services Supply Chain data lake dataset.getDataLakeNamespace
(Consumer<GetDataLakeNamespaceRequest.Builder> getDataLakeNamespaceRequest) Enables you to programmatically view an Amazon Web Services Supply Chain data lake namespace.getDataLakeNamespace
(GetDataLakeNamespaceRequest getDataLakeNamespaceRequest) Enables you to programmatically view an Amazon Web Services Supply Chain data lake namespace.default CompletableFuture
<GetInstanceResponse> getInstance
(Consumer<GetInstanceRequest.Builder> getInstanceRequest) Enables you to programmatically retrieve the information related to an Amazon Web Services Supply Chain instance ID.default CompletableFuture
<GetInstanceResponse> getInstance
(GetInstanceRequest getInstanceRequest) Enables you to programmatically retrieve the information related to an Amazon Web Services Supply Chain instance ID.listDataIntegrationEvents
(Consumer<ListDataIntegrationEventsRequest.Builder> listDataIntegrationEventsRequest) Enables you to programmatically list all data integration events for the provided Amazon Web Services Supply Chain instance.listDataIntegrationEvents
(ListDataIntegrationEventsRequest listDataIntegrationEventsRequest) Enables you to programmatically list all data integration events for the provided Amazon Web Services Supply Chain instance.listDataIntegrationEventsPaginator
(Consumer<ListDataIntegrationEventsRequest.Builder> listDataIntegrationEventsRequest) This is a variant oflistDataIntegrationEvents(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationEventsRequest)
operation.listDataIntegrationEventsPaginator
(ListDataIntegrationEventsRequest listDataIntegrationEventsRequest) This is a variant oflistDataIntegrationEvents(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationEventsRequest)
operation.listDataIntegrationFlowExecutions
(Consumer<ListDataIntegrationFlowExecutionsRequest.Builder> listDataIntegrationFlowExecutionsRequest) List flow executions.listDataIntegrationFlowExecutions
(ListDataIntegrationFlowExecutionsRequest listDataIntegrationFlowExecutionsRequest) List flow executions.listDataIntegrationFlowExecutionsPaginator
(Consumer<ListDataIntegrationFlowExecutionsRequest.Builder> listDataIntegrationFlowExecutionsRequest) This is a variant oflistDataIntegrationFlowExecutions(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowExecutionsRequest)
operation.listDataIntegrationFlowExecutionsPaginator
(ListDataIntegrationFlowExecutionsRequest listDataIntegrationFlowExecutionsRequest) This is a variant oflistDataIntegrationFlowExecutions(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowExecutionsRequest)
operation.listDataIntegrationFlows
(Consumer<ListDataIntegrationFlowsRequest.Builder> listDataIntegrationFlowsRequest) Enables you to programmatically list all data pipelines for the provided Amazon Web Services Supply Chain instance.listDataIntegrationFlows
(ListDataIntegrationFlowsRequest listDataIntegrationFlowsRequest) Enables you to programmatically list all data pipelines for the provided Amazon Web Services Supply Chain instance.listDataIntegrationFlowsPaginator
(Consumer<ListDataIntegrationFlowsRequest.Builder> listDataIntegrationFlowsRequest) This is a variant oflistDataIntegrationFlows(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowsRequest)
operation.listDataIntegrationFlowsPaginator
(ListDataIntegrationFlowsRequest listDataIntegrationFlowsRequest) This is a variant oflistDataIntegrationFlows(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowsRequest)
operation.listDataLakeDatasets
(Consumer<ListDataLakeDatasetsRequest.Builder> listDataLakeDatasetsRequest) Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake datasets.listDataLakeDatasets
(ListDataLakeDatasetsRequest listDataLakeDatasetsRequest) Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake datasets.default ListDataLakeDatasetsPublisher
listDataLakeDatasetsPaginator
(Consumer<ListDataLakeDatasetsRequest.Builder> listDataLakeDatasetsRequest) This is a variant oflistDataLakeDatasets(software.amazon.awssdk.services.supplychain.model.ListDataLakeDatasetsRequest)
operation.default ListDataLakeDatasetsPublisher
listDataLakeDatasetsPaginator
(ListDataLakeDatasetsRequest listDataLakeDatasetsRequest) This is a variant oflistDataLakeDatasets(software.amazon.awssdk.services.supplychain.model.ListDataLakeDatasetsRequest)
operation.listDataLakeNamespaces
(Consumer<ListDataLakeNamespacesRequest.Builder> listDataLakeNamespacesRequest) Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake namespaces.listDataLakeNamespaces
(ListDataLakeNamespacesRequest listDataLakeNamespacesRequest) Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake namespaces.default ListDataLakeNamespacesPublisher
listDataLakeNamespacesPaginator
(Consumer<ListDataLakeNamespacesRequest.Builder> listDataLakeNamespacesRequest) This is a variant oflistDataLakeNamespaces(software.amazon.awssdk.services.supplychain.model.ListDataLakeNamespacesRequest)
operation.default ListDataLakeNamespacesPublisher
listDataLakeNamespacesPaginator
(ListDataLakeNamespacesRequest listDataLakeNamespacesRequest) This is a variant oflistDataLakeNamespaces(software.amazon.awssdk.services.supplychain.model.ListDataLakeNamespacesRequest)
operation.default CompletableFuture
<ListInstancesResponse> listInstances
(Consumer<ListInstancesRequest.Builder> listInstancesRequest) List all Amazon Web Services Supply Chain instances for a specific account.default CompletableFuture
<ListInstancesResponse> listInstances
(ListInstancesRequest listInstancesRequest) List all Amazon Web Services Supply Chain instances for a specific account.default ListInstancesPublisher
listInstancesPaginator
(Consumer<ListInstancesRequest.Builder> listInstancesRequest) This is a variant oflistInstances(software.amazon.awssdk.services.supplychain.model.ListInstancesRequest)
operation.default ListInstancesPublisher
listInstancesPaginator
(ListInstancesRequest listInstancesRequest) This is a variant oflistInstances(software.amazon.awssdk.services.supplychain.model.ListInstancesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all the tags for an Amazon Web ServicesSupply Chain resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) List all the tags for an Amazon Web ServicesSupply Chain resource.sendDataIntegrationEvent
(Consumer<SendDataIntegrationEventRequest.Builder> sendDataIntegrationEventRequest) Send the data payload for the event with real-time data for analysis or monitoring.sendDataIntegrationEvent
(SendDataIntegrationEventRequest sendDataIntegrationEventRequest) Send the data payload for the event with real-time data for analysis or monitoring.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) You can create tags during or after creating a resource such as instance, data flow, or dataset in AWS Supply chain.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) You can create tags during or after creating a resource such as instance, data flow, or dataset in AWS Supply chain.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) You can delete tags for an Amazon Web Services Supply chain resource such as instance, data flow, or dataset in AWS Supply Chain.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) You can delete tags for an Amazon Web Services Supply chain resource such as instance, data flow, or dataset in AWS Supply Chain.updateDataIntegrationFlow
(Consumer<UpdateDataIntegrationFlowRequest.Builder> updateDataIntegrationFlowRequest) Enables you to programmatically update an existing data pipeline to ingest data from the source systems such as, Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.updateDataIntegrationFlow
(UpdateDataIntegrationFlowRequest updateDataIntegrationFlowRequest) Enables you to programmatically update an existing data pipeline to ingest data from the source systems such as, Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.updateDataLakeDataset
(Consumer<UpdateDataLakeDatasetRequest.Builder> updateDataLakeDatasetRequest) Enables you to programmatically update an Amazon Web Services Supply Chain data lake dataset.updateDataLakeDataset
(UpdateDataLakeDatasetRequest updateDataLakeDatasetRequest) Enables you to programmatically update an Amazon Web Services Supply Chain data lake dataset.updateDataLakeNamespace
(Consumer<UpdateDataLakeNamespaceRequest.Builder> updateDataLakeNamespaceRequest) Enables you to programmatically update an Amazon Web Services Supply Chain data lake namespace.updateDataLakeNamespace
(UpdateDataLakeNamespaceRequest updateDataLakeNamespaceRequest) Enables you to programmatically update an Amazon Web Services Supply Chain data lake namespace.default CompletableFuture
<UpdateInstanceResponse> updateInstance
(Consumer<UpdateInstanceRequest.Builder> updateInstanceRequest) Enables you to programmatically update an Amazon Web Services Supply Chain instance description by providing all the relevant information such as account ID, instance ID and so on without using the AWS console.default CompletableFuture
<UpdateInstanceResponse> updateInstance
(UpdateInstanceRequest updateInstanceRequest) Enables you to programmatically update an Amazon Web Services Supply Chain instance description by providing all the relevant information such as account ID, instance ID and so on without using the AWS console.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
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:
-
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.Builder
avoiding the need to create one manually viaCreateBillOfMaterialsImportJobRequest.builder()
- Parameters:
createBillOfMaterialsImportJobRequest
- AConsumer
that will call methods onCreateBillOfMaterialsImportJobRequest.Builder
to 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:
-
createDataIntegrationFlow
default CompletableFuture<CreateDataIntegrationFlowResponse> createDataIntegrationFlow(CreateDataIntegrationFlowRequest createDataIntegrationFlowRequest) Enables you to programmatically create a data pipeline to ingest data from source systems such as Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.
- 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:
-
createDataIntegrationFlow
default CompletableFuture<CreateDataIntegrationFlowResponse> createDataIntegrationFlow(Consumer<CreateDataIntegrationFlowRequest.Builder> createDataIntegrationFlowRequest) Enables you to programmatically create a data pipeline to ingest data from source systems such as Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.
This is a convenience which creates an instance of the
CreateDataIntegrationFlowRequest.Builder
avoiding the need to create one manually viaCreateDataIntegrationFlowRequest.builder()
- Parameters:
createDataIntegrationFlowRequest
- AConsumer
that will call methods onCreateDataIntegrationFlowRequest.Builder
to 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:
-
createDataLakeDataset
default CompletableFuture<CreateDataLakeDatasetResponse> createDataLakeDataset(CreateDataLakeDatasetRequest createDataLakeDatasetRequest) Enables you to programmatically create an Amazon Web Services Supply Chain data lake dataset. Developers can create the datasets using their pre-defined or custom schema for a given instance ID, namespace, and dataset name.
- 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.
- 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:
-
createDataLakeDataset
default CompletableFuture<CreateDataLakeDatasetResponse> createDataLakeDataset(Consumer<CreateDataLakeDatasetRequest.Builder> createDataLakeDatasetRequest) Enables you to programmatically create an Amazon Web Services Supply Chain data lake dataset. Developers can create the datasets using their pre-defined or custom schema for a given instance ID, namespace, and dataset name.
This is a convenience which creates an instance of the
CreateDataLakeDatasetRequest.Builder
avoiding the need to create one manually viaCreateDataLakeDatasetRequest.builder()
- Parameters:
createDataLakeDatasetRequest
- AConsumer
that will call methods onCreateDataLakeDatasetRequest.Builder
to 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.
- 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:
-
createDataLakeNamespace
default CompletableFuture<CreateDataLakeNamespaceResponse> createDataLakeNamespace(CreateDataLakeNamespaceRequest createDataLakeNamespaceRequest) Enables you to programmatically create an Amazon Web Services Supply Chain data lake namespace. Developers can create the namespaces for a given instance ID.
- Parameters:
createDataLakeNamespaceRequest
- The request parameters for CreateDataLakeNamespace.- Returns:
- A Java Future containing the result of the CreateDataLakeNamespace 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:
-
createDataLakeNamespace
default CompletableFuture<CreateDataLakeNamespaceResponse> createDataLakeNamespace(Consumer<CreateDataLakeNamespaceRequest.Builder> createDataLakeNamespaceRequest) Enables you to programmatically create an Amazon Web Services Supply Chain data lake namespace. Developers can create the namespaces for a given instance ID.
This is a convenience which creates an instance of the
CreateDataLakeNamespaceRequest.Builder
avoiding the need to create one manually viaCreateDataLakeNamespaceRequest.builder()
- Parameters:
createDataLakeNamespaceRequest
- AConsumer
that will call methods onCreateDataLakeNamespaceRequest.Builder
to create a request. The request parameters for CreateDataLakeNamespace.- Returns:
- A Java Future containing the result of the CreateDataLakeNamespace 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:
-
createInstance
default CompletableFuture<CreateInstanceResponse> createInstance(CreateInstanceRequest createInstanceRequest) Enables you to programmatically create an Amazon Web Services Supply Chain instance by applying KMS keys and relevant information associated with the API without using the Amazon Web Services console.
This is an asynchronous operation. Upon receiving a CreateInstance request, Amazon Web Services Supply Chain immediately returns the instance resource, 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. If the instance results in an unhealthy state, you need to check the error message, delete the current instance, and recreate a new one based on the mitigation from the error message.
- 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:
-
createInstance
default CompletableFuture<CreateInstanceResponse> createInstance(Consumer<CreateInstanceRequest.Builder> createInstanceRequest) Enables you to programmatically create an Amazon Web Services Supply Chain instance by applying KMS keys and relevant information associated with the API without using the Amazon Web Services console.
This is an asynchronous operation. Upon receiving a CreateInstance request, Amazon Web Services Supply Chain immediately returns the instance resource, 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. If the instance results in an unhealthy state, you need to check the error message, delete the current instance, and recreate a new one based on the mitigation from the error message.
This is a convenience which creates an instance of the
CreateInstanceRequest.Builder
avoiding the need to create one manually viaCreateInstanceRequest.builder()
- Parameters:
createInstanceRequest
- AConsumer
that will call methods onCreateInstanceRequest.Builder
to 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:
-
deleteDataIntegrationFlow
default CompletableFuture<DeleteDataIntegrationFlowResponse> deleteDataIntegrationFlow(DeleteDataIntegrationFlowRequest deleteDataIntegrationFlowRequest) Enable you to programmatically delete an existing data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.
- 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:
-
deleteDataIntegrationFlow
default CompletableFuture<DeleteDataIntegrationFlowResponse> deleteDataIntegrationFlow(Consumer<DeleteDataIntegrationFlowRequest.Builder> deleteDataIntegrationFlowRequest) Enable you to programmatically delete an existing data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.
This is a convenience which creates an instance of the
DeleteDataIntegrationFlowRequest.Builder
avoiding the need to create one manually viaDeleteDataIntegrationFlowRequest.builder()
- Parameters:
deleteDataIntegrationFlowRequest
- AConsumer
that will call methods onDeleteDataIntegrationFlowRequest.Builder
to 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:
-
deleteDataLakeDataset
default CompletableFuture<DeleteDataLakeDatasetResponse> deleteDataLakeDataset(DeleteDataLakeDatasetRequest deleteDataLakeDatasetRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain data lake dataset. Developers can delete the existing datasets for a given instance ID, namespace, and instance name.
- 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:
-
deleteDataLakeDataset
default CompletableFuture<DeleteDataLakeDatasetResponse> deleteDataLakeDataset(Consumer<DeleteDataLakeDatasetRequest.Builder> deleteDataLakeDatasetRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain data lake dataset. Developers can delete the existing datasets for a given instance ID, namespace, and instance name.
This is a convenience which creates an instance of the
DeleteDataLakeDatasetRequest.Builder
avoiding the need to create one manually viaDeleteDataLakeDatasetRequest.builder()
- Parameters:
deleteDataLakeDatasetRequest
- AConsumer
that will call methods onDeleteDataLakeDatasetRequest.Builder
to 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:
-
deleteDataLakeNamespace
default CompletableFuture<DeleteDataLakeNamespaceResponse> deleteDataLakeNamespace(DeleteDataLakeNamespaceRequest deleteDataLakeNamespaceRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain data lake namespace and its underling datasets. Developers can delete the existing namespaces for a given instance ID and namespace name.
- Parameters:
deleteDataLakeNamespaceRequest
- The request parameters of DeleteDataLakeNamespace.- Returns:
- A Java Future containing the result of the DeleteDataLakeNamespace 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:
-
deleteDataLakeNamespace
default CompletableFuture<DeleteDataLakeNamespaceResponse> deleteDataLakeNamespace(Consumer<DeleteDataLakeNamespaceRequest.Builder> deleteDataLakeNamespaceRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain data lake namespace and its underling datasets. Developers can delete the existing namespaces for a given instance ID and namespace name.
This is a convenience which creates an instance of the
DeleteDataLakeNamespaceRequest.Builder
avoiding the need to create one manually viaDeleteDataLakeNamespaceRequest.builder()
- Parameters:
deleteDataLakeNamespaceRequest
- AConsumer
that will call methods onDeleteDataLakeNamespaceRequest.Builder
to create a request. The request parameters of DeleteDataLakeNamespace.- Returns:
- A Java Future containing the result of the DeleteDataLakeNamespace 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:
-
deleteInstance
default CompletableFuture<DeleteInstanceResponse> deleteInstance(DeleteInstanceRequest deleteInstanceRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain instance by deleting the KMS keys and relevant information associated with the API without using the Amazon Web Services console.
This is an asynchronous operation. Upon receiving a DeleteInstance request, Amazon Web Services 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:
-
deleteInstance
default CompletableFuture<DeleteInstanceResponse> deleteInstance(Consumer<DeleteInstanceRequest.Builder> deleteInstanceRequest) Enables you to programmatically delete an Amazon Web Services Supply Chain instance by deleting the KMS keys and relevant information associated with the API without using the Amazon Web Services console.
This is an asynchronous operation. Upon receiving a DeleteInstance request, Amazon Web Services 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.Builder
avoiding the need to create one manually viaDeleteInstanceRequest.builder()
- Parameters:
deleteInstanceRequest
- AConsumer
that will call methods onDeleteInstanceRequest.Builder
to 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:
-
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:
-
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.Builder
avoiding the need to create one manually viaGetBillOfMaterialsImportJobRequest.builder()
- Parameters:
getBillOfMaterialsImportJobRequest
- AConsumer
that will call methods onGetBillOfMaterialsImportJobRequest.Builder
to 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:
-
getDataIntegrationEvent
default CompletableFuture<GetDataIntegrationEventResponse> getDataIntegrationEvent(GetDataIntegrationEventRequest getDataIntegrationEventRequest) Enables you to programmatically view an Amazon Web Services Supply Chain Data Integration Event. Developers can view the eventType, eventGroupId, eventTimestamp, datasetTarget, datasetLoadExecution.
- Parameters:
getDataIntegrationEventRequest
- The request parameters for GetDataIntegrationEvent.- Returns:
- A Java Future containing the result of the GetDataIntegrationEvent 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:
-
getDataIntegrationEvent
default CompletableFuture<GetDataIntegrationEventResponse> getDataIntegrationEvent(Consumer<GetDataIntegrationEventRequest.Builder> getDataIntegrationEventRequest) Enables you to programmatically view an Amazon Web Services Supply Chain Data Integration Event. Developers can view the eventType, eventGroupId, eventTimestamp, datasetTarget, datasetLoadExecution.
This is a convenience which creates an instance of the
GetDataIntegrationEventRequest.Builder
avoiding the need to create one manually viaGetDataIntegrationEventRequest.builder()
- Parameters:
getDataIntegrationEventRequest
- AConsumer
that will call methods onGetDataIntegrationEventRequest.Builder
to create a request. The request parameters for GetDataIntegrationEvent.- Returns:
- A Java Future containing the result of the GetDataIntegrationEvent 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:
-
getDataIntegrationFlow
default CompletableFuture<GetDataIntegrationFlowResponse> getDataIntegrationFlow(GetDataIntegrationFlowRequest getDataIntegrationFlowRequest) Enables you to programmatically view a specific data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.
- 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:
-
getDataIntegrationFlow
default CompletableFuture<GetDataIntegrationFlowResponse> getDataIntegrationFlow(Consumer<GetDataIntegrationFlowRequest.Builder> getDataIntegrationFlowRequest) Enables you to programmatically view a specific data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.
This is a convenience which creates an instance of the
GetDataIntegrationFlowRequest.Builder
avoiding the need to create one manually viaGetDataIntegrationFlowRequest.builder()
- Parameters:
getDataIntegrationFlowRequest
- AConsumer
that will call methods onGetDataIntegrationFlowRequest.Builder
to 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:
-
getDataIntegrationFlowExecution
default CompletableFuture<GetDataIntegrationFlowExecutionResponse> getDataIntegrationFlowExecution(GetDataIntegrationFlowExecutionRequest getDataIntegrationFlowExecutionRequest) Get the flow execution.
- Parameters:
getDataIntegrationFlowExecutionRequest
- The request parameters of GetFlowExecution.- Returns:
- A Java Future containing the result of the GetDataIntegrationFlowExecution 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:
-
getDataIntegrationFlowExecution
default CompletableFuture<GetDataIntegrationFlowExecutionResponse> getDataIntegrationFlowExecution(Consumer<GetDataIntegrationFlowExecutionRequest.Builder> getDataIntegrationFlowExecutionRequest) Get the flow execution.
This is a convenience which creates an instance of the
GetDataIntegrationFlowExecutionRequest.Builder
avoiding the need to create one manually viaGetDataIntegrationFlowExecutionRequest.builder()
- Parameters:
getDataIntegrationFlowExecutionRequest
- AConsumer
that will call methods onGetDataIntegrationFlowExecutionRequest.Builder
to create a request. The request parameters of GetFlowExecution.- Returns:
- A Java Future containing the result of the GetDataIntegrationFlowExecution 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:
-
getDataLakeDataset
default CompletableFuture<GetDataLakeDatasetResponse> getDataLakeDataset(GetDataLakeDatasetRequest getDataLakeDatasetRequest) Enables you to programmatically view an Amazon Web Services Supply Chain data lake dataset. Developers can view the data lake dataset information such as namespace, schema, and so on for a given instance ID, namespace, and dataset name.
- 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:
-
getDataLakeDataset
default CompletableFuture<GetDataLakeDatasetResponse> getDataLakeDataset(Consumer<GetDataLakeDatasetRequest.Builder> getDataLakeDatasetRequest) Enables you to programmatically view an Amazon Web Services Supply Chain data lake dataset. Developers can view the data lake dataset information such as namespace, schema, and so on for a given instance ID, namespace, and dataset name.
This is a convenience which creates an instance of the
GetDataLakeDatasetRequest.Builder
avoiding the need to create one manually viaGetDataLakeDatasetRequest.builder()
- Parameters:
getDataLakeDatasetRequest
- AConsumer
that will call methods onGetDataLakeDatasetRequest.Builder
to 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:
-
getDataLakeNamespace
default CompletableFuture<GetDataLakeNamespaceResponse> getDataLakeNamespace(GetDataLakeNamespaceRequest getDataLakeNamespaceRequest) Enables you to programmatically view an Amazon Web Services Supply Chain data lake namespace. Developers can view the data lake namespace information such as description for a given instance ID and namespace name.
- Parameters:
getDataLakeNamespaceRequest
- The request parameters for GetDataLakeNamespace.- Returns:
- A Java Future containing the result of the GetDataLakeNamespace 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:
-
getDataLakeNamespace
default CompletableFuture<GetDataLakeNamespaceResponse> getDataLakeNamespace(Consumer<GetDataLakeNamespaceRequest.Builder> getDataLakeNamespaceRequest) Enables you to programmatically view an Amazon Web Services Supply Chain data lake namespace. Developers can view the data lake namespace information such as description for a given instance ID and namespace name.
This is a convenience which creates an instance of the
GetDataLakeNamespaceRequest.Builder
avoiding the need to create one manually viaGetDataLakeNamespaceRequest.builder()
- Parameters:
getDataLakeNamespaceRequest
- AConsumer
that will call methods onGetDataLakeNamespaceRequest.Builder
to create a request. The request parameters for GetDataLakeNamespace.- Returns:
- A Java Future containing the result of the GetDataLakeNamespace 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:
-
getInstance
Enables you to programmatically retrieve the information related to an Amazon Web Services Supply Chain instance ID.
- 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:
-
getInstance
default CompletableFuture<GetInstanceResponse> getInstance(Consumer<GetInstanceRequest.Builder> getInstanceRequest) Enables you to programmatically retrieve the information related to an Amazon Web Services Supply Chain instance ID.
This is a convenience which creates an instance of the
GetInstanceRequest.Builder
avoiding the need to create one manually viaGetInstanceRequest.builder()
- Parameters:
getInstanceRequest
- AConsumer
that will call methods onGetInstanceRequest.Builder
to 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:
-
listDataIntegrationEvents
default CompletableFuture<ListDataIntegrationEventsResponse> listDataIntegrationEvents(ListDataIntegrationEventsRequest listDataIntegrationEventsRequest) Enables you to programmatically list all data integration events for the provided Amazon Web Services Supply Chain instance.
- Parameters:
listDataIntegrationEventsRequest
- The request parameters for ListDataIntegrationEvents.- Returns:
- A Java Future containing the result of the ListDataIntegrationEvents 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:
-
listDataIntegrationEvents
default CompletableFuture<ListDataIntegrationEventsResponse> listDataIntegrationEvents(Consumer<ListDataIntegrationEventsRequest.Builder> listDataIntegrationEventsRequest) Enables you to programmatically list all data integration events for the provided Amazon Web Services Supply Chain instance.
This is a convenience which creates an instance of the
ListDataIntegrationEventsRequest.Builder
avoiding the need to create one manually viaListDataIntegrationEventsRequest.builder()
- Parameters:
listDataIntegrationEventsRequest
- AConsumer
that will call methods onListDataIntegrationEventsRequest.Builder
to create a request. The request parameters for ListDataIntegrationEvents.- Returns:
- A Java Future containing the result of the ListDataIntegrationEvents 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:
-
listDataIntegrationEventsPaginator
default ListDataIntegrationEventsPublisher listDataIntegrationEventsPaginator(ListDataIntegrationEventsRequest listDataIntegrationEventsRequest) This is a variant of
listDataIntegrationEvents(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationEventsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationEventsPublisher publisher = client.listDataIntegrationEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationEventsPublisher publisher = client.listDataIntegrationEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListDataIntegrationEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationEventsResponse 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
listDataIntegrationEvents(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationEventsRequest)
operation.- Parameters:
listDataIntegrationEventsRequest
- The request parameters for ListDataIntegrationEvents.- 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:
-
listDataIntegrationEventsPaginator
default ListDataIntegrationEventsPublisher listDataIntegrationEventsPaginator(Consumer<ListDataIntegrationEventsRequest.Builder> listDataIntegrationEventsRequest) This is a variant of
listDataIntegrationEvents(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationEventsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationEventsPublisher publisher = client.listDataIntegrationEventsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationEventsPublisher publisher = client.listDataIntegrationEventsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListDataIntegrationEventsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationEventsResponse 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
listDataIntegrationEvents(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationEventsRequest)
operation.
This is a convenience which creates an instance of the
ListDataIntegrationEventsRequest.Builder
avoiding the need to create one manually viaListDataIntegrationEventsRequest.builder()
- Parameters:
listDataIntegrationEventsRequest
- AConsumer
that will call methods onListDataIntegrationEventsRequest.Builder
to create a request. The request parameters for ListDataIntegrationEvents.- 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:
-
listDataIntegrationFlowExecutions
default CompletableFuture<ListDataIntegrationFlowExecutionsResponse> listDataIntegrationFlowExecutions(ListDataIntegrationFlowExecutionsRequest listDataIntegrationFlowExecutionsRequest) List flow executions.
- Parameters:
listDataIntegrationFlowExecutionsRequest
- The request parameters of ListFlowExecutions.- Returns:
- A Java Future containing the result of the ListDataIntegrationFlowExecutions 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:
-
listDataIntegrationFlowExecutions
default CompletableFuture<ListDataIntegrationFlowExecutionsResponse> listDataIntegrationFlowExecutions(Consumer<ListDataIntegrationFlowExecutionsRequest.Builder> listDataIntegrationFlowExecutionsRequest) List flow executions.
This is a convenience which creates an instance of the
ListDataIntegrationFlowExecutionsRequest.Builder
avoiding the need to create one manually viaListDataIntegrationFlowExecutionsRequest.builder()
- Parameters:
listDataIntegrationFlowExecutionsRequest
- AConsumer
that will call methods onListDataIntegrationFlowExecutionsRequest.Builder
to create a request. The request parameters of ListFlowExecutions.- Returns:
- A Java Future containing the result of the ListDataIntegrationFlowExecutions 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:
-
listDataIntegrationFlowExecutionsPaginator
default ListDataIntegrationFlowExecutionsPublisher listDataIntegrationFlowExecutionsPaginator(ListDataIntegrationFlowExecutionsRequest listDataIntegrationFlowExecutionsRequest) This is a variant of
listDataIntegrationFlowExecutions(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationFlowExecutionsPublisher publisher = client.listDataIntegrationFlowExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationFlowExecutionsPublisher publisher = client.listDataIntegrationFlowExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowExecutionsResponse 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
listDataIntegrationFlowExecutions(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowExecutionsRequest)
operation.- Parameters:
listDataIntegrationFlowExecutionsRequest
- The request parameters of ListFlowExecutions.- 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:
-
listDataIntegrationFlowExecutionsPaginator
default ListDataIntegrationFlowExecutionsPublisher listDataIntegrationFlowExecutionsPaginator(Consumer<ListDataIntegrationFlowExecutionsRequest.Builder> listDataIntegrationFlowExecutionsRequest) This is a variant of
listDataIntegrationFlowExecutions(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowExecutionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationFlowExecutionsPublisher publisher = client.listDataIntegrationFlowExecutionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationFlowExecutionsPublisher publisher = client.listDataIntegrationFlowExecutionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowExecutionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowExecutionsResponse 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
listDataIntegrationFlowExecutions(software.amazon.awssdk.services.supplychain.model.ListDataIntegrationFlowExecutionsRequest)
operation.
This is a convenience which creates an instance of the
ListDataIntegrationFlowExecutionsRequest.Builder
avoiding the need to create one manually viaListDataIntegrationFlowExecutionsRequest.builder()
- Parameters:
listDataIntegrationFlowExecutionsRequest
- AConsumer
that will call methods onListDataIntegrationFlowExecutionsRequest.Builder
to create a request. The request parameters of ListFlowExecutions.- 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:
-
listDataIntegrationFlows
default CompletableFuture<ListDataIntegrationFlowsResponse> listDataIntegrationFlows(ListDataIntegrationFlowsRequest listDataIntegrationFlowsRequest) Enables you to programmatically list all data pipelines for the provided Amazon Web Services Supply Chain instance.
- 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:
-
listDataIntegrationFlows
default CompletableFuture<ListDataIntegrationFlowsResponse> listDataIntegrationFlows(Consumer<ListDataIntegrationFlowsRequest.Builder> listDataIntegrationFlowsRequest) Enables you to programmatically list all data pipelines for the provided Amazon Web Services Supply Chain instance.
This is a convenience which creates an instance of the
ListDataIntegrationFlowsRequest.Builder
avoiding the need to create one manually viaListDataIntegrationFlowsRequest.builder()
- Parameters:
listDataIntegrationFlowsRequest
- AConsumer
that will call methods onListDataIntegrationFlowsRequest.Builder
to 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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationFlowsPublisher publisher = client.listDataIntegrationFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListDataIntegrationFlowsPublisher publisher = client.listDataIntegrationFlowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListDataIntegrationFlowsRequest.builder()
- Parameters:
listDataIntegrationFlowsRequest
- AConsumer
that will call methods onListDataIntegrationFlowsRequest.Builder
to 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:
-
listDataLakeDatasets
default CompletableFuture<ListDataLakeDatasetsResponse> listDataLakeDatasets(ListDataLakeDatasetsRequest listDataLakeDatasetsRequest) Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake datasets. Developers can view the datasets and the corresponding information such as namespace, schema, and so on for a given instance ID and namespace.
- 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:
-
listDataLakeDatasets
default CompletableFuture<ListDataLakeDatasetsResponse> listDataLakeDatasets(Consumer<ListDataLakeDatasetsRequest.Builder> listDataLakeDatasetsRequest) Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake datasets. Developers can view the datasets and the corresponding information such as namespace, schema, and so on for a given instance ID and namespace.
This is a convenience which creates an instance of the
ListDataLakeDatasetsRequest.Builder
avoiding the need to create one manually viaListDataLakeDatasetsRequest.builder()
- Parameters:
listDataLakeDatasetsRequest
- AConsumer
that will call methods onListDataLakeDatasetsRequest.Builder
to 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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListDataLakeDatasetsPublisher publisher = client.listDataLakeDatasetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListDataLakeDatasetsPublisher publisher = client.listDataLakeDatasetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListDataLakeDatasetsRequest.builder()
- Parameters:
listDataLakeDatasetsRequest
- AConsumer
that will call methods onListDataLakeDatasetsRequest.Builder
to 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:
-
listDataLakeNamespaces
default CompletableFuture<ListDataLakeNamespacesResponse> listDataLakeNamespaces(ListDataLakeNamespacesRequest listDataLakeNamespacesRequest) Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake namespaces. Developers can view the namespaces and the corresponding information such as description for a given instance ID. Note that this API only return custom namespaces, instance pre-defined namespaces are not included.
- Parameters:
listDataLakeNamespacesRequest
- The request parameters of ListDataLakeNamespaces.- Returns:
- A Java Future containing the result of the ListDataLakeNamespaces 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:
-
listDataLakeNamespaces
default CompletableFuture<ListDataLakeNamespacesResponse> listDataLakeNamespaces(Consumer<ListDataLakeNamespacesRequest.Builder> listDataLakeNamespacesRequest) Enables you to programmatically view the list of Amazon Web Services Supply Chain data lake namespaces. Developers can view the namespaces and the corresponding information such as description for a given instance ID. Note that this API only return custom namespaces, instance pre-defined namespaces are not included.
This is a convenience which creates an instance of the
ListDataLakeNamespacesRequest.Builder
avoiding the need to create one manually viaListDataLakeNamespacesRequest.builder()
- Parameters:
listDataLakeNamespacesRequest
- AConsumer
that will call methods onListDataLakeNamespacesRequest.Builder
to create a request. The request parameters of ListDataLakeNamespaces.- Returns:
- A Java Future containing the result of the ListDataLakeNamespaces 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:
-
listDataLakeNamespacesPaginator
default ListDataLakeNamespacesPublisher listDataLakeNamespacesPaginator(ListDataLakeNamespacesRequest listDataLakeNamespacesRequest) This is a variant of
listDataLakeNamespaces(software.amazon.awssdk.services.supplychain.model.ListDataLakeNamespacesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListDataLakeNamespacesPublisher publisher = client.listDataLakeNamespacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.supplychain.paginators.ListDataLakeNamespacesPublisher publisher = client.listDataLakeNamespacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListDataLakeNamespacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListDataLakeNamespacesResponse 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
listDataLakeNamespaces(software.amazon.awssdk.services.supplychain.model.ListDataLakeNamespacesRequest)
operation.- Parameters:
listDataLakeNamespacesRequest
- The request parameters of ListDataLakeNamespaces.- 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:
-
listDataLakeNamespacesPaginator
default ListDataLakeNamespacesPublisher listDataLakeNamespacesPaginator(Consumer<ListDataLakeNamespacesRequest.Builder> listDataLakeNamespacesRequest) This is a variant of
listDataLakeNamespaces(software.amazon.awssdk.services.supplychain.model.ListDataLakeNamespacesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListDataLakeNamespacesPublisher publisher = client.listDataLakeNamespacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.supplychain.paginators.ListDataLakeNamespacesPublisher publisher = client.listDataLakeNamespacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.supplychain.model.ListDataLakeNamespacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.supplychain.model.ListDataLakeNamespacesResponse 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
listDataLakeNamespaces(software.amazon.awssdk.services.supplychain.model.ListDataLakeNamespacesRequest)
operation.
This is a convenience which creates an instance of the
ListDataLakeNamespacesRequest.Builder
avoiding the need to create one manually viaListDataLakeNamespacesRequest.builder()
- Parameters:
listDataLakeNamespacesRequest
- AConsumer
that will call methods onListDataLakeNamespacesRequest.Builder
to create a request. The request parameters of ListDataLakeNamespaces.- 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:
-
listInstances
default CompletableFuture<ListInstancesResponse> listInstances(ListInstancesRequest listInstancesRequest) List all Amazon Web Services Supply Chain instances for a specific account. Enables you to programmatically list all Amazon Web Services Supply Chain instances based on their account ID, instance name, and state of the instance (active or delete).
- 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:
-
listInstances
default CompletableFuture<ListInstancesResponse> listInstances(Consumer<ListInstancesRequest.Builder> listInstancesRequest) List all Amazon Web Services Supply Chain instances for a specific account. Enables you to programmatically list all Amazon Web Services Supply Chain instances based on their account ID, instance name, and state of the instance (active or delete).
This is a convenience which creates an instance of the
ListInstancesRequest.Builder
avoiding the need to create one manually viaListInstancesRequest.builder()
- Parameters:
listInstancesRequest
- AConsumer
that will call methods onListInstancesRequest.Builder
to 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:
-
listInstancesPaginator
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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:
-
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 newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.supplychain.paginators.ListInstancesPublisher publisher = client.listInstancesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
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.Builder
avoiding the need to create one manually viaListInstancesRequest.builder()
- Parameters:
listInstancesRequest
- AConsumer
that will call methods onListInstancesRequest.Builder
to 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:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List all the tags for an Amazon Web ServicesSupply Chain resource. You can list all the tags added to a resource. By listing the tags, developers can view the tag level information on a resource and perform actions such as, deleting a resource associated with a particular tag.
- 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:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List all the tags for an Amazon Web ServicesSupply Chain resource. You can list all the tags added to a resource. By listing the tags, developers can view the tag level information on a resource and perform actions such as, deleting a resource associated with a particular tag.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request. 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:
-
sendDataIntegrationEvent
default CompletableFuture<SendDataIntegrationEventResponse> sendDataIntegrationEvent(SendDataIntegrationEventRequest sendDataIntegrationEventRequest) Send the 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.
- 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:
-
sendDataIntegrationEvent
default CompletableFuture<SendDataIntegrationEventResponse> sendDataIntegrationEvent(Consumer<SendDataIntegrationEventRequest.Builder> sendDataIntegrationEventRequest) Send the 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.
This is a convenience which creates an instance of the
SendDataIntegrationEventRequest.Builder
avoiding the need to create one manually viaSendDataIntegrationEventRequest.builder()
- Parameters:
sendDataIntegrationEventRequest
- AConsumer
that will call methods onSendDataIntegrationEventRequest.Builder
to 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:
-
tagResource
You can create tags during or after creating a resource such as instance, data flow, or dataset in AWS Supply chain. During the data ingestion process, you can add tags such as dev, test, or prod to data flows created during the data ingestion process in the AWS Supply Chain datasets. You can use these tags to identify a group of resources or a single resource used by the developer.
- 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:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) You can create tags during or after creating a resource such as instance, data flow, or dataset in AWS Supply chain. During the data ingestion process, you can add tags such as dev, test, or prod to data flows created during the data ingestion process in the AWS Supply Chain datasets. You can use these tags to identify a group of resources or a single resource used by the developer.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request. 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:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) You can delete tags for an Amazon Web Services Supply chain resource such as instance, data flow, or dataset in AWS Supply Chain. During the data ingestion process, you can delete tags such as dev, test, or prod to data flows created during the data ingestion process in the AWS Supply Chain datasets.
- 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:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) You can delete tags for an Amazon Web Services Supply chain resource such as instance, data flow, or dataset in AWS Supply Chain. During the data ingestion process, you can delete tags such as dev, test, or prod to data flows created during the data ingestion process in the AWS Supply Chain datasets.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request. 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:
-
updateDataIntegrationFlow
default CompletableFuture<UpdateDataIntegrationFlowResponse> updateDataIntegrationFlow(UpdateDataIntegrationFlowRequest updateDataIntegrationFlowRequest) Enables you to programmatically update an existing data pipeline to ingest data from the source systems such as, Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.
- 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:
-
updateDataIntegrationFlow
default CompletableFuture<UpdateDataIntegrationFlowResponse> updateDataIntegrationFlow(Consumer<UpdateDataIntegrationFlowRequest.Builder> updateDataIntegrationFlowRequest) Enables you to programmatically update an existing data pipeline to ingest data from the source systems such as, Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.
This is a convenience which creates an instance of the
UpdateDataIntegrationFlowRequest.Builder
avoiding the need to create one manually viaUpdateDataIntegrationFlowRequest.builder()
- Parameters:
updateDataIntegrationFlowRequest
- AConsumer
that will call methods onUpdateDataIntegrationFlowRequest.Builder
to 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:
-
updateDataLakeDataset
default CompletableFuture<UpdateDataLakeDatasetResponse> updateDataLakeDataset(UpdateDataLakeDatasetRequest updateDataLakeDatasetRequest) Enables you to programmatically update an Amazon Web Services Supply Chain data lake dataset. Developers can update the description of a data lake dataset for a given instance ID, namespace, and dataset name.
- 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:
-
updateDataLakeDataset
default CompletableFuture<UpdateDataLakeDatasetResponse> updateDataLakeDataset(Consumer<UpdateDataLakeDatasetRequest.Builder> updateDataLakeDatasetRequest) Enables you to programmatically update an Amazon Web Services Supply Chain data lake dataset. Developers can update the description of a data lake dataset for a given instance ID, namespace, and dataset name.
This is a convenience which creates an instance of the
UpdateDataLakeDatasetRequest.Builder
avoiding the need to create one manually viaUpdateDataLakeDatasetRequest.builder()
- Parameters:
updateDataLakeDatasetRequest
- AConsumer
that will call methods onUpdateDataLakeDatasetRequest.Builder
to 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:
-
updateDataLakeNamespace
default CompletableFuture<UpdateDataLakeNamespaceResponse> updateDataLakeNamespace(UpdateDataLakeNamespaceRequest updateDataLakeNamespaceRequest) Enables you to programmatically update an Amazon Web Services Supply Chain data lake namespace. Developers can update the description of a data lake namespace for a given instance ID and namespace name.
- Parameters:
updateDataLakeNamespaceRequest
- The request parameters of UpdateDataLakeNamespace.- Returns:
- A Java Future containing the result of the UpdateDataLakeNamespace 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:
-
updateDataLakeNamespace
default CompletableFuture<UpdateDataLakeNamespaceResponse> updateDataLakeNamespace(Consumer<UpdateDataLakeNamespaceRequest.Builder> updateDataLakeNamespaceRequest) Enables you to programmatically update an Amazon Web Services Supply Chain data lake namespace. Developers can update the description of a data lake namespace for a given instance ID and namespace name.
This is a convenience which creates an instance of the
UpdateDataLakeNamespaceRequest.Builder
avoiding the need to create one manually viaUpdateDataLakeNamespaceRequest.builder()
- Parameters:
updateDataLakeNamespaceRequest
- AConsumer
that will call methods onUpdateDataLakeNamespaceRequest.Builder
to create a request. The request parameters of UpdateDataLakeNamespace.- Returns:
- A Java Future containing the result of the UpdateDataLakeNamespace 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:
-
updateInstance
default CompletableFuture<UpdateInstanceResponse> updateInstance(UpdateInstanceRequest updateInstanceRequest) Enables you to programmatically update an Amazon Web Services Supply Chain instance description by providing all the relevant information such as account ID, instance ID and so on without using the AWS console.
- 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:
-
updateInstance
default CompletableFuture<UpdateInstanceResponse> updateInstance(Consumer<UpdateInstanceRequest.Builder> updateInstanceRequest) Enables you to programmatically update an Amazon Web Services Supply Chain instance description by providing all the relevant information such as account ID, instance ID and so on without using the AWS console.
This is a convenience which creates an instance of the
UpdateInstanceRequest.Builder
avoiding the need to create one manually viaUpdateInstanceRequest.builder()
- Parameters:
updateInstanceRequest
- AConsumer
that will call methods onUpdateInstanceRequest.Builder
to 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:
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aSupplyChainAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aSupplyChainAsyncClient
.
-