@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonBedrock extends Object implements AmazonBedrock
AmazonBedrock. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAmazonBedrock() |
| Modifier and Type | Method and Description |
|---|---|
CreateModelCustomizationJobResult |
createModelCustomizationJob(CreateModelCustomizationJobRequest request)
Creates a fine-tuning job to customize a base model.
|
DeleteCustomModelResult |
deleteCustomModel(DeleteCustomModelRequest request)
Deletes a custom model that you created earlier.
|
DeleteModelInvocationLoggingConfigurationResult |
deleteModelInvocationLoggingConfiguration(DeleteModelInvocationLoggingConfigurationRequest request)
Delete the invocation logging.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetCustomModelResult |
getCustomModel(GetCustomModelRequest request)
Get the properties associated with a Bedrock custom model that you have created.For more information, see Custom models in the Bedrock
User Guide.
|
GetFoundationModelResult |
getFoundationModel(GetFoundationModelRequest request)
Get details about a Bedrock foundation model.
|
GetModelCustomizationJobResult |
getModelCustomizationJob(GetModelCustomizationJobRequest request)
Retrieves the properties associated with a model-customization job, including the status of the job.
|
GetModelInvocationLoggingConfigurationResult |
getModelInvocationLoggingConfiguration(GetModelInvocationLoggingConfigurationRequest request)
Get the current configuration values for model invocation logging.
|
ListCustomModelsResult |
listCustomModels(ListCustomModelsRequest request)
Returns a list of the custom models that you have created with the
CreateModelCustomizationJob
operation. |
ListFoundationModelsResult |
listFoundationModels(ListFoundationModelsRequest request)
List of Bedrock foundation models that you can use.
|
ListModelCustomizationJobsResult |
listModelCustomizationJobs(ListModelCustomizationJobsRequest request)
Returns a list of model customization jobs that you have submitted.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
List the tags associated with the specified resource.
|
PutModelInvocationLoggingConfigurationResult |
putModelInvocationLoggingConfiguration(PutModelInvocationLoggingConfigurationRequest request)
Set the configuration values for model invocation logging.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StopModelCustomizationJobResult |
stopModelCustomizationJob(StopModelCustomizationJobRequest request)
Stops an active model customization job.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Associate tags with a resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Remove one or more tags from a resource.
|
public CreateModelCustomizationJobResult createModelCustomizationJob(CreateModelCustomizationJobRequest request)
AmazonBedrockCreates 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. 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.
createModelCustomizationJob in interface AmazonBedrockpublic DeleteCustomModelResult deleteCustomModel(DeleteCustomModelRequest request)
AmazonBedrockDeletes a custom model that you created earlier. For more information, see Custom models in the Bedrock User Guide.
deleteCustomModel in interface AmazonBedrockpublic DeleteModelInvocationLoggingConfigurationResult deleteModelInvocationLoggingConfiguration(DeleteModelInvocationLoggingConfigurationRequest request)
AmazonBedrockDelete the invocation logging.
deleteModelInvocationLoggingConfiguration in interface AmazonBedrockpublic GetCustomModelResult getCustomModel(GetCustomModelRequest request)
AmazonBedrockGet the properties associated with a Bedrock custom model that you have created.For more information, see Custom models in the Bedrock User Guide.
getCustomModel in interface AmazonBedrockpublic GetFoundationModelResult getFoundationModel(GetFoundationModelRequest request)
AmazonBedrockGet details about a Bedrock foundation model.
getFoundationModel in interface AmazonBedrockpublic GetModelCustomizationJobResult getModelCustomizationJob(GetModelCustomizationJobRequest request)
AmazonBedrockRetrieves 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.
getModelCustomizationJob in interface AmazonBedrockpublic GetModelInvocationLoggingConfigurationResult getModelInvocationLoggingConfiguration(GetModelInvocationLoggingConfigurationRequest request)
AmazonBedrockGet the current configuration values for model invocation logging.
getModelInvocationLoggingConfiguration in interface AmazonBedrockpublic ListCustomModelsResult listCustomModels(ListCustomModelsRequest request)
AmazonBedrock
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.
listCustomModels in interface AmazonBedrockpublic ListFoundationModelsResult listFoundationModels(ListFoundationModelsRequest request)
AmazonBedrockList of Bedrock foundation models that you can use. For more information, see Foundation models in the Bedrock User Guide.
listFoundationModels in interface AmazonBedrockpublic ListModelCustomizationJobsResult listModelCustomizationJobs(ListModelCustomizationJobsRequest request)
AmazonBedrockReturns 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.
listModelCustomizationJobs in interface AmazonBedrockpublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonBedrockList the tags associated with the specified resource.
For more information, see Tagging resources in the Bedrock User Guide.
listTagsForResource in interface AmazonBedrockpublic PutModelInvocationLoggingConfigurationResult putModelInvocationLoggingConfiguration(PutModelInvocationLoggingConfigurationRequest request)
AmazonBedrockSet the configuration values for model invocation logging.
putModelInvocationLoggingConfiguration in interface AmazonBedrockpublic StopModelCustomizationJobResult stopModelCustomizationJob(StopModelCustomizationJobRequest request)
AmazonBedrockStops an active model customization job. For more information, see Custom models in the Bedrock User Guide.
stopModelCustomizationJob in interface AmazonBedrockpublic TagResourceResult tagResource(TagResourceRequest request)
AmazonBedrockAssociate tags with a resource. For more information, see Tagging resources in the Bedrock User Guide.
tagResource in interface AmazonBedrockpublic UntagResourceResult untagResource(UntagResourceRequest request)
AmazonBedrockRemove one or more tags from a resource. For more information, see Tagging resources in the Bedrock User Guide.
untagResource in interface AmazonBedrockpublic void shutdown()
AmazonBedrockshutdown in interface AmazonBedrockpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonBedrockResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AmazonBedrockrequest - The originally executed request.Copyright © 2023. All rights reserved.