@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() |
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 CreateProvisionedModelThroughputResult createProvisionedModelThroughput(CreateProvisionedModelThroughputRequest request)
AmazonBedrockCreates 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.
createProvisionedModelThroughput 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 DeleteProvisionedModelThroughputResult deleteProvisionedModelThroughput(DeleteProvisionedModelThroughputRequest request)
AmazonBedrockDeletes a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.
deleteProvisionedModelThroughput 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 GetProvisionedModelThroughputResult getProvisionedModelThroughput(GetProvisionedModelThroughputRequest request)
AmazonBedrockGet details for a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.
getProvisionedModelThroughput 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 ListProvisionedModelThroughputsResult listProvisionedModelThroughputs(ListProvisionedModelThroughputsRequest request)
AmazonBedrockList the provisioned capacities. For more information, see Provisioned throughput in the Bedrock User Guide.
listProvisionedModelThroughputs 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 UpdateProvisionedModelThroughputResult updateProvisionedModelThroughput(UpdateProvisionedModelThroughputRequest request)
AmazonBedrockUpdate a provisioned throughput. For more information, see Provisioned throughput in the Bedrock User Guide.
updateProvisionedModelThroughput 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.