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.

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.

List the tags associated with the specified resource.

Set the configuration values for model invocation logging.

Associate tags with a resource.

Remove one or more tags from a resource.

Functions

Link to this function

create_model_customization_job(client, input, options \\ [])

View Source

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.

Link to this function

create_provisioned_model_throughput(client, input, options \\ [])

View Source

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.

Link to this function

delete_custom_model(client, model_identifier, input, options \\ [])

View Source

Deletes a custom model that you created earlier.

For more information, see Custom models in the Bedrock User Guide.

Link to this function

delete_model_invocation_logging_configuration(client, input, options \\ [])

View Source

Delete the invocation logging.

Link to this function

delete_provisioned_model_throughput(client, provisioned_model_id, input, options \\ [])

View Source

Deletes a provisioned throughput.

For more information, see Provisioned throughput in the Bedrock User Guide.

Link to this function

get_custom_model(client, model_identifier, options \\ [])

View Source

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.

Link to this function

get_foundation_model(client, model_identifier, options \\ [])

View Source

Get details about a Amazon Bedrock foundation model.

Link to this function

get_model_customization_job(client, job_identifier, options \\ [])

View Source

Retrieves 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.

Link to this function

get_model_invocation_logging_configuration(client, options \\ [])

View Source

Get the current configuration values for model invocation logging.

Link to this function

get_provisioned_model_throughput(client, provisioned_model_id, options \\ [])

View Source

Get details for a provisioned throughput.

For more information, see Provisioned throughput in the Bedrock User Guide.

Link to this function

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 Source

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.

Link to this function

list_foundation_models(client, by_customization_type \\ nil, by_inference_type \\ nil, by_output_modality \\ nil, by_provider \\ nil, options \\ [])

View Source

List of Amazon Bedrock foundation models that you can use.

For more information, see Foundation models in the Bedrock User Guide.

Link to this function

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 Source

Returns 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.

Link to this function

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 Source

List the provisioned capacities.

For more information, see Provisioned throughput in the Bedrock User Guide.

Link to this function

list_tags_for_resource(client, input, options \\ [])

View Source

List the tags associated with the specified resource.

For more information, see Tagging resources in the Bedrock User Guide.

Link to this function

put_model_invocation_logging_configuration(client, input, options \\ [])

View Source

Set the configuration values for model invocation logging.

Link to this function

stop_model_customization_job(client, job_identifier, input, options \\ [])

View Source

Stops an active model customization job.

For more information, see Custom models in the Bedrock User Guide.

Link to this function

tag_resource(client, input, options \\ [])

View Source

Associate tags with a resource.

For more information, see Tagging resources in the Bedrock User Guide.

Link to this function

untag_resource(client, input, options \\ [])

View Source

Remove one or more tags from a resource.

For more information, see Tagging resources in the Bedrock User Guide.

Link to this function

update_provisioned_model_throughput(client, provisioned_model_id, input, options \\ [])

View Source

Update a provisioned throughput.

For more information, see Provisioned throughput in the Bedrock User Guide.