View Source AWS.Bedrock (aws-elixir v1.0.0)
Describes the API operations for creating and managing Amazon Bedrock models.
Summary
Functions
Creates a fine-tuning job to customize a base model.
Creates a provisioned throughput with dedicated capacity for a foundation model or a fine-tuned model.
Deletes a custom model that you created earlier.
Delete the invocation logging.
Deletes a provisioned throughput.
Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see Custom models in the Bedrock User Guide.
Get details about a Amazon Bedrock foundation model.
Retrieves the properties associated with a model-customization job, including the status of the job.
Get the current configuration values for model invocation logging.
Get details for a provisioned throughput.
Returns a list of the custom models that you have created with the
CreateModelCustomizationJob
operation.
List of Amazon Bedrock foundation models that you can use.
Returns a list of model customization jobs that you have submitted.
List the provisioned capacities.
List the tags associated with the specified resource.
Set the configuration values for model invocation logging.
Stops an active model customization job.
Associate tags with a resource.
Remove one or more tags from a resource.
Update a provisioned throughput.
Functions
Creates 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.
Creates 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.
delete_custom_model(client, model_identifier, input, options \\ [])
View SourceDeletes a custom model that you created earlier.
For more information, see Custom models in the Bedrock User Guide.
delete_model_invocation_logging_configuration(client, input, options \\ [])
View SourceDelete the invocation logging.
delete_provisioned_model_throughput(client, provisioned_model_id, input, options \\ [])
View SourceDeletes a provisioned throughput.
For more information, see Provisioned throughput in the Bedrock User Guide.
Get the properties associated with a Amazon Bedrock custom model that you have created.For more information, see Custom models in the Bedrock User Guide.
Get details about a Amazon Bedrock foundation model.
get_model_customization_job(client, job_identifier, options \\ [])
View SourceRetrieves 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.
Get the current configuration values for model invocation logging.
get_provisioned_model_throughput(client, provisioned_model_id, options \\ [])
View SourceGet details for a provisioned throughput.
For more information, see Provisioned throughput in the Bedrock User Guide.
list_custom_models(client, base_model_arn_equals \\ nil, creation_time_after \\ nil, creation_time_before \\ nil, foundation_model_arn_equals \\ nil, max_results \\ nil, name_contains \\ nil, next_token \\ nil, sort_by \\ nil, sort_order \\ nil, options \\ [])
View SourceReturns 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.
list_foundation_models(client, by_customization_type \\ nil, by_inference_type \\ nil, by_output_modality \\ nil, by_provider \\ nil, options \\ [])
View SourceList of Amazon Bedrock foundation models that you can use.
For more information, see Foundation models in the Bedrock User Guide.
list_model_customization_jobs(client, creation_time_after \\ nil, creation_time_before \\ nil, max_results \\ nil, name_contains \\ nil, next_token \\ nil, sort_by \\ nil, sort_order \\ nil, status_equals \\ nil, options \\ [])
View SourceReturns 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.
list_provisioned_model_throughputs(client, creation_time_after \\ nil, creation_time_before \\ nil, max_results \\ nil, model_arn_equals \\ nil, name_contains \\ nil, next_token \\ nil, sort_by \\ nil, sort_order \\ nil, status_equals \\ nil, options \\ [])
View SourceList the provisioned capacities.
For more information, see Provisioned throughput in the Bedrock User Guide.
List the tags associated with the specified resource.
For more information, see Tagging resources in the Bedrock User Guide.
put_model_invocation_logging_configuration(client, input, options \\ [])
View SourceSet the configuration values for model invocation logging.
stop_model_customization_job(client, job_identifier, input, options \\ [])
View SourceStops an active model customization job.
For more information, see Custom models in the Bedrock User Guide.
Associate tags with a resource.
For more information, see Tagging resources in the Bedrock User Guide.
Remove one or more tags from a resource.
For more information, see Tagging resources in the Bedrock User Guide.
update_provisioned_model_throughput(client, provisioned_model_id, input, options \\ [])
View SourceUpdate a provisioned throughput.
For more information, see Provisioned throughput in the Bedrock User Guide.