@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonBedrockAsync extends AbstractAmazonBedrock implements AmazonBedrockAsync
AmazonBedrockAsync. Convenient method forms pass through to the corresponding
overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAmazonBedrockAsync() |
createModelCustomizationJob, createProvisionedModelThroughput, deleteCustomModel, deleteModelInvocationLoggingConfiguration, deleteProvisionedModelThroughput, getCachedResponseMetadata, getCustomModel, getFoundationModel, getModelCustomizationJob, getModelInvocationLoggingConfiguration, getProvisionedModelThroughput, listCustomModels, listFoundationModels, listModelCustomizationJobs, listProvisionedModelThroughputs, listTagsForResource, putModelInvocationLoggingConfiguration, shutdown, stopModelCustomizationJob, tagResource, untagResource, updateProvisionedModelThroughputclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateModelCustomizationJob, createProvisionedModelThroughput, deleteCustomModel, deleteModelInvocationLoggingConfiguration, deleteProvisionedModelThroughput, getCachedResponseMetadata, getCustomModel, getFoundationModel, getModelCustomizationJob, getModelInvocationLoggingConfiguration, getProvisionedModelThroughput, listCustomModels, listFoundationModels, listModelCustomizationJobs, listProvisionedModelThroughputs, listTagsForResource, putModelInvocationLoggingConfiguration, shutdown, stopModelCustomizationJob, tagResource, untagResource, updateProvisionedModelThroughputpublic Future<CreateModelCustomizationJobResult> createModelCustomizationJobAsync(CreateModelCustomizationJobRequest request)
AmazonBedrockAsyncCreates a fine-tuning job to customize a base model.
You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Training data contains input and output text for each record in a JSONL format. Optionally, you can specify validation data in the same format as the training data. Amazon Bedrock returns validation loss metrics and output generations after the job completes.
Model-customization jobs are asynchronous and the completion time depends on the base model and the
training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to
retrieve the job status.
For more information, see Custom models in the Bedrock User Guide.
createModelCustomizationJobAsync in interface AmazonBedrockAsyncpublic Future<CreateModelCustomizationJobResult> createModelCustomizationJobAsync(CreateModelCustomizationJobRequest request, AsyncHandler<CreateModelCustomizationJobRequest,CreateModelCustomizationJobResult> asyncHandler)
AmazonBedrockAsyncCreates a fine-tuning job to customize a base model.
You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Training data contains input and output text for each record in a JSONL format. Optionally, you can specify validation data in the same format as the training data. Amazon Bedrock returns validation loss metrics and output generations after the job completes.
Model-customization jobs are asynchronous and the completion time depends on the base model and the
training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to
retrieve the job status.
For more information, see Custom models in the Bedrock User Guide.
createModelCustomizationJobAsync in interface AmazonBedrockAsyncasyncHandler - 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<CreateProvisionedModelThroughputResult> createProvisionedModelThroughputAsync(CreateProvisionedModelThroughputRequest request)
AmazonBedrockAsyncCreates a provisioned throughput with dedicated capacity for a foundation model or a fine-tuned model.
For more information, see Provisioned throughput in the Bedrock User Guide.
createProvisionedModelThroughputAsync in interface AmazonBedrockAsyncpublic Future<CreateProvisionedModelThroughputResult> createProvisionedModelThroughputAsync(CreateProvisionedModelThroughputRequest request, AsyncHandler<CreateProvisionedModelThroughputRequest,CreateProvisionedModelThroughputResult> asyncHandler)
AmazonBedrockAsyncCreates a provisioned throughput with dedicated capacity for a foundation model or a fine-tuned model.
For more information, see Provisioned throughput in the Bedrock User Guide.
createProvisionedModelThroughputAsync in interface AmazonBedrockAsyncasyncHandler - 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<DeleteCustomModelResult> deleteCustomModelAsync(DeleteCustomModelRequest request)
AmazonBedrockAsyncDeletes a custom model that you created earlier. For more information, see Custom models in the Bedrock User Guide.
deleteCustomModelAsync in interface AmazonBedrockAsyncpublic Future<DeleteCustomModelResult> deleteCustomModelAsync(DeleteCustomModelRequest request, AsyncHandler<DeleteCustomModelRequest,DeleteCustomModelResult> asyncHandler)
AmazonBedrockAsyncDeletes a custom model that you created earlier. For more information, see Custom models in the Bedrock User Guide.
deleteCustomModelAsync in interface AmazonBedrockAsyncasyncHandler - 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<DeleteModelInvocationLoggingConfigurationResult> deleteModelInvocationLoggingConfigurationAsync(DeleteModelInvocationLoggingConfigurationRequest request)
AmazonBedrockAsyncDelete the invocation logging.
deleteModelInvocationLoggingConfigurationAsync in interface AmazonBedrockAsyncpublic Future<DeleteModelInvocationLoggingConfigurationResult> deleteModelInvocationLoggingConfigurationAsync(DeleteModelInvocationLoggingConfigurationRequest request, AsyncHandler<DeleteModelInvocationLoggingConfigurationRequest,DeleteModelInvocationLoggingConfigurationResult> asyncHandler)
AmazonBedrockAsyncDelete the invocation logging.
deleteModelInvocationLoggingConfigurationAsync in interface AmazonBedrockAsyncasyncHandler - 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<DeleteProvisionedModelThroughputResult> deleteProvisionedModelThroughputAsync(DeleteProvisionedModelThroughputRequest request)
AmazonBedrockAsyncDeletes a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.
deleteProvisionedModelThroughputAsync in interface AmazonBedrockAsyncpublic Future<DeleteProvisionedModelThroughputResult> deleteProvisionedModelThroughputAsync(DeleteProvisionedModelThroughputRequest request, AsyncHandler<DeleteProvisionedModelThroughputRequest,DeleteProvisionedModelThroughputResult> asyncHandler)
AmazonBedrockAsyncDeletes a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.
deleteProvisionedModelThroughputAsync in interface AmazonBedrockAsyncasyncHandler - 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<GetCustomModelResult> getCustomModelAsync(GetCustomModelRequest request)
AmazonBedrockAsyncGet the properties associated with a Amazon Bedrock custom model that you have created.For more information, see Custom models in the Bedrock User Guide.
getCustomModelAsync in interface AmazonBedrockAsyncpublic Future<GetCustomModelResult> getCustomModelAsync(GetCustomModelRequest request, AsyncHandler<GetCustomModelRequest,GetCustomModelResult> asyncHandler)
AmazonBedrockAsyncGet the properties associated with a Amazon Bedrock custom model that you have created.For more information, see Custom models in the Bedrock User Guide.
getCustomModelAsync in interface AmazonBedrockAsyncasyncHandler - 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<GetFoundationModelResult> getFoundationModelAsync(GetFoundationModelRequest request)
AmazonBedrockAsyncGet details about a Amazon Bedrock foundation model.
getFoundationModelAsync in interface AmazonBedrockAsyncpublic Future<GetFoundationModelResult> getFoundationModelAsync(GetFoundationModelRequest request, AsyncHandler<GetFoundationModelRequest,GetFoundationModelResult> asyncHandler)
AmazonBedrockAsyncGet details about a Amazon Bedrock foundation model.
getFoundationModelAsync in interface AmazonBedrockAsyncasyncHandler - 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<GetModelCustomizationJobResult> getModelCustomizationJobAsync(GetModelCustomizationJobRequest request)
AmazonBedrockAsyncRetrieves the properties associated with a model-customization job, including the status of the job. For more information, see Custom models in the Bedrock User Guide.
getModelCustomizationJobAsync in interface AmazonBedrockAsyncpublic Future<GetModelCustomizationJobResult> getModelCustomizationJobAsync(GetModelCustomizationJobRequest request, AsyncHandler<GetModelCustomizationJobRequest,GetModelCustomizationJobResult> asyncHandler)
AmazonBedrockAsyncRetrieves the properties associated with a model-customization job, including the status of the job. For more information, see Custom models in the Bedrock User Guide.
getModelCustomizationJobAsync in interface AmazonBedrockAsyncasyncHandler - 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<GetModelInvocationLoggingConfigurationResult> getModelInvocationLoggingConfigurationAsync(GetModelInvocationLoggingConfigurationRequest request)
AmazonBedrockAsyncGet the current configuration values for model invocation logging.
getModelInvocationLoggingConfigurationAsync in interface AmazonBedrockAsyncpublic Future<GetModelInvocationLoggingConfigurationResult> getModelInvocationLoggingConfigurationAsync(GetModelInvocationLoggingConfigurationRequest request, AsyncHandler<GetModelInvocationLoggingConfigurationRequest,GetModelInvocationLoggingConfigurationResult> asyncHandler)
AmazonBedrockAsyncGet the current configuration values for model invocation logging.
getModelInvocationLoggingConfigurationAsync in interface AmazonBedrockAsyncasyncHandler - 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<GetProvisionedModelThroughputResult> getProvisionedModelThroughputAsync(GetProvisionedModelThroughputRequest request)
AmazonBedrockAsyncGet details for a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.
getProvisionedModelThroughputAsync in interface AmazonBedrockAsyncpublic Future<GetProvisionedModelThroughputResult> getProvisionedModelThroughputAsync(GetProvisionedModelThroughputRequest request, AsyncHandler<GetProvisionedModelThroughputRequest,GetProvisionedModelThroughputResult> asyncHandler)
AmazonBedrockAsyncGet details for a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.
getProvisionedModelThroughputAsync in interface AmazonBedrockAsyncasyncHandler - 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<ListCustomModelsResult> listCustomModelsAsync(ListCustomModelsRequest request)
AmazonBedrockAsync
Returns a list of the custom models that you have created with the CreateModelCustomizationJob
operation.
For more information, see Custom models in the Bedrock User Guide.
listCustomModelsAsync in interface AmazonBedrockAsyncpublic Future<ListCustomModelsResult> listCustomModelsAsync(ListCustomModelsRequest request, AsyncHandler<ListCustomModelsRequest,ListCustomModelsResult> asyncHandler)
AmazonBedrockAsync
Returns a list of the custom models that you have created with the CreateModelCustomizationJob
operation.
For more information, see Custom models in the Bedrock User Guide.
listCustomModelsAsync in interface AmazonBedrockAsyncasyncHandler - 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<ListFoundationModelsResult> listFoundationModelsAsync(ListFoundationModelsRequest request)
AmazonBedrockAsyncList of Amazon Bedrock foundation models that you can use. For more information, see Foundation models in the Bedrock User Guide.
listFoundationModelsAsync in interface AmazonBedrockAsyncpublic Future<ListFoundationModelsResult> listFoundationModelsAsync(ListFoundationModelsRequest request, AsyncHandler<ListFoundationModelsRequest,ListFoundationModelsResult> asyncHandler)
AmazonBedrockAsyncList of Amazon Bedrock foundation models that you can use. For more information, see Foundation models in the Bedrock User Guide.
listFoundationModelsAsync in interface AmazonBedrockAsyncasyncHandler - 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<ListModelCustomizationJobsResult> listModelCustomizationJobsAsync(ListModelCustomizationJobsRequest request)
AmazonBedrockAsyncReturns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.
For more information, see Custom models in the Bedrock User Guide.
listModelCustomizationJobsAsync in interface AmazonBedrockAsyncpublic Future<ListModelCustomizationJobsResult> listModelCustomizationJobsAsync(ListModelCustomizationJobsRequest request, AsyncHandler<ListModelCustomizationJobsRequest,ListModelCustomizationJobsResult> asyncHandler)
AmazonBedrockAsyncReturns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria.
For more information, see Custom models in the Bedrock User Guide.
listModelCustomizationJobsAsync in interface AmazonBedrockAsyncasyncHandler - 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<ListProvisionedModelThroughputsResult> listProvisionedModelThroughputsAsync(ListProvisionedModelThroughputsRequest request)
AmazonBedrockAsyncList the provisioned capacities. For more information, see Provisioned throughput in the Bedrock User Guide.
listProvisionedModelThroughputsAsync in interface AmazonBedrockAsyncpublic Future<ListProvisionedModelThroughputsResult> listProvisionedModelThroughputsAsync(ListProvisionedModelThroughputsRequest request, AsyncHandler<ListProvisionedModelThroughputsRequest,ListProvisionedModelThroughputsResult> asyncHandler)
AmazonBedrockAsyncList the provisioned capacities. For more information, see Provisioned throughput in the Bedrock User Guide.
listProvisionedModelThroughputsAsync in interface AmazonBedrockAsyncasyncHandler - 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AmazonBedrockAsyncList the tags associated with the specified resource.
For more information, see Tagging resources in the Bedrock User Guide.
listTagsForResourceAsync in interface AmazonBedrockAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AmazonBedrockAsyncList the tags associated with the specified resource.
For more information, see Tagging resources in the Bedrock User Guide.
listTagsForResourceAsync in interface AmazonBedrockAsyncasyncHandler - 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<PutModelInvocationLoggingConfigurationResult> putModelInvocationLoggingConfigurationAsync(PutModelInvocationLoggingConfigurationRequest request)
AmazonBedrockAsyncSet the configuration values for model invocation logging.
putModelInvocationLoggingConfigurationAsync in interface AmazonBedrockAsyncpublic Future<PutModelInvocationLoggingConfigurationResult> putModelInvocationLoggingConfigurationAsync(PutModelInvocationLoggingConfigurationRequest request, AsyncHandler<PutModelInvocationLoggingConfigurationRequest,PutModelInvocationLoggingConfigurationResult> asyncHandler)
AmazonBedrockAsyncSet the configuration values for model invocation logging.
putModelInvocationLoggingConfigurationAsync in interface AmazonBedrockAsyncasyncHandler - 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<StopModelCustomizationJobResult> stopModelCustomizationJobAsync(StopModelCustomizationJobRequest request)
AmazonBedrockAsyncStops an active model customization job. For more information, see Custom models in the Bedrock User Guide.
stopModelCustomizationJobAsync in interface AmazonBedrockAsyncpublic Future<StopModelCustomizationJobResult> stopModelCustomizationJobAsync(StopModelCustomizationJobRequest request, AsyncHandler<StopModelCustomizationJobRequest,StopModelCustomizationJobResult> asyncHandler)
AmazonBedrockAsyncStops an active model customization job. For more information, see Custom models in the Bedrock User Guide.
stopModelCustomizationJobAsync in interface AmazonBedrockAsyncasyncHandler - 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<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AmazonBedrockAsyncAssociate tags with a resource. For more information, see Tagging resources in the Bedrock User Guide.
tagResourceAsync in interface AmazonBedrockAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AmazonBedrockAsyncAssociate tags with a resource. For more information, see Tagging resources in the Bedrock User Guide.
tagResourceAsync in interface AmazonBedrockAsyncasyncHandler - 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AmazonBedrockAsyncRemove one or more tags from a resource. For more information, see Tagging resources in the Bedrock User Guide.
untagResourceAsync in interface AmazonBedrockAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AmazonBedrockAsyncRemove one or more tags from a resource. For more information, see Tagging resources in the Bedrock User Guide.
untagResourceAsync in interface AmazonBedrockAsyncasyncHandler - 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<UpdateProvisionedModelThroughputResult> updateProvisionedModelThroughputAsync(UpdateProvisionedModelThroughputRequest request)
AmazonBedrockAsyncUpdate a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.
updateProvisionedModelThroughputAsync in interface AmazonBedrockAsyncpublic Future<UpdateProvisionedModelThroughputResult> updateProvisionedModelThroughputAsync(UpdateProvisionedModelThroughputRequest request, AsyncHandler<UpdateProvisionedModelThroughputRequest,UpdateProvisionedModelThroughputResult> asyncHandler)
AmazonBedrockAsyncUpdate a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.
updateProvisionedModelThroughputAsync in interface AmazonBedrockAsyncasyncHandler - 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.Copyright © 2023. All rights reserved.