@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSSupplyChainAsyncClient extends AWSSupplyChainClient implements AWSSupplyChainAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createBillOfMaterialsImportJob, getBillOfMaterialsImportJob, getCachedResponseMetadata
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createBillOfMaterialsImportJob, getBillOfMaterialsImportJob, getCachedResponseMetadata
public static AWSSupplyChainAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateBillOfMaterialsImportJobResult> createBillOfMaterialsImportJobAsync(CreateBillOfMaterialsImportJobRequest request)
AWSSupplyChainAsync
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.
createBillOfMaterialsImportJobAsync
in interface AWSSupplyChainAsync
request
- The request parameters for CreateBillOfMaterialsImportJob.public Future<CreateBillOfMaterialsImportJobResult> createBillOfMaterialsImportJobAsync(CreateBillOfMaterialsImportJobRequest request, AsyncHandler<CreateBillOfMaterialsImportJobRequest,CreateBillOfMaterialsImportJobResult> asyncHandler)
AWSSupplyChainAsync
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.
createBillOfMaterialsImportJobAsync
in interface AWSSupplyChainAsync
request
- The request parameters for CreateBillOfMaterialsImportJob.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<GetBillOfMaterialsImportJobResult> getBillOfMaterialsImportJobAsync(GetBillOfMaterialsImportJobRequest request)
AWSSupplyChainAsync
Get status and details of a BillOfMaterialsImportJob.
getBillOfMaterialsImportJobAsync
in interface AWSSupplyChainAsync
request
- The request parameters for GetBillOfMaterialsImportJob.public Future<GetBillOfMaterialsImportJobResult> getBillOfMaterialsImportJobAsync(GetBillOfMaterialsImportJobRequest request, AsyncHandler<GetBillOfMaterialsImportJobRequest,GetBillOfMaterialsImportJobResult> asyncHandler)
AWSSupplyChainAsync
Get status and details of a BillOfMaterialsImportJob.
getBillOfMaterialsImportJobAsync
in interface AWSSupplyChainAsync
request
- The request parameters for GetBillOfMaterialsImportJob.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSSupplyChain
shutdown
in class AWSSupplyChainClient