Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion clients/aws-sdk-bedrock-runtime/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,25 @@

## Unreleased

* None Yet.

## v0.3.0

### API Changes
* Adds support for Audio Blocks and Streaming Image Output plus new Stop Reasons of malformed_model_output and malformed_tool_use.
* Adds support for Bedrock Runtime Reserved Service.

### Breaking
* Function signature for `resolve_retry_strategy` has been changed to prevent unnecessary code duplication in operation methods. This will affect all 0.3.0 clients.

### Dependencies
* **Updated**: `smithy_aws_core[eventstream, json]` from `~=0.2.0` to `~=0.3.0`.
* **Updated**: `smithy_core` from `~=0.2.0` to `~=0.3.0`.

### Enhancements
* Add comprehensive integration tests for non-streaming, output streaming, and bidirectional streaming operations.


## v0.2.0

### API Changes
Expand All @@ -26,7 +45,7 @@
* New stop reason for Converse and ConverseStream

### Enhancements
* Improvements to the underlying AWS CRT HTTP client result in a signifigant decrease in CPU usage. Addresses [aws-sdk-python#11](https://github.com/awslabs/aws-sdk-python/issues/11).
* Improvements to the underlying AWS CRT HTTP client result in a significant decrease in CPU usage. Addresses [aws-sdk-python#11](https://github.com/awslabs/aws-sdk-python/issues/11).

### Dependencies

Expand Down
2 changes: 1 addition & 1 deletion clients/aws-sdk-bedrock-runtime/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

project = "Amazon Bedrock Runtime"
author = "Amazon Web Services"
release = "0.2.0"
release = "0.3.0"

extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode"]

Expand Down
8 changes: 8 additions & 0 deletions clients/aws-sdk-bedrock-runtime/docs/models/AudioBlock.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

AudioBlock
==========

.. autoclass:: aws_sdk_bedrock_runtime.models.AudioBlock
:members:
9 changes: 9 additions & 0 deletions clients/aws-sdk-bedrock-runtime/docs/models/AudioSource.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

.. _AudioSource:

AudioSource
===========

.. autodata:: aws_sdk_bedrock_runtime.models.AudioSource
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

.. _AudioSourceBytes:

AudioSourceBytes
================

.. autoclass:: aws_sdk_bedrock_runtime.models.AudioSourceBytes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

.. _AudioSourceS3Location:

AudioSourceS3Location
=====================

.. autoclass:: aws_sdk_bedrock_runtime.models.AudioSourceS3Location
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

.. _AudioSourceUnknown:

AudioSourceUnknown
==================

.. autoclass:: aws_sdk_bedrock_runtime.models.AudioSourceUnknown
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

.. _ContentBlockAudio:

ContentBlockAudio
=================

.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockAudio
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

.. _ContentBlockDeltaImage:

ContentBlockDeltaImage
======================

.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockDeltaImage
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

.. _ContentBlockStartImage:

ContentBlockStartImage
======================

.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockStartImage
8 changes: 8 additions & 0 deletions clients/aws-sdk-bedrock-runtime/docs/models/ErrorBlock.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

ErrorBlock
==========

.. autoclass:: aws_sdk_bedrock_runtime.models.ErrorBlock
:members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

ImageBlockDelta
===============

.. autoclass:: aws_sdk_bedrock_runtime.models.ImageBlockDelta
:members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

ImageBlockStart
===============

.. autoclass:: aws_sdk_bedrock_runtime.models.ImageBlockStart
:members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
..
Code generated by smithy-python-codegen DO NOT EDIT.

.. _ToolResultBlockDeltaJson:

ToolResultBlockDeltaJson
========================

.. autoclass:: aws_sdk_bedrock_runtime.models.ToolResultBlockDeltaJson
10 changes: 5 additions & 5 deletions clients/aws-sdk-bedrock-runtime/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[project]
name = "aws_sdk_bedrock_runtime"
version = "0.2.0"
version = "0.3.0"
description = "aws_sdk_bedrock_runtime client"
readme = "README.md"
requires-python = ">=3.12"
Expand All @@ -24,15 +24,15 @@ classifiers = [
]

dependencies = [
"smithy_aws_core[eventstream, json]~=0.2.0",
"smithy_core~=0.2.0",
"smithy_aws_core[eventstream, json]~=0.3.0",
"smithy_core~=0.3.0",
"smithy_http[awscrt]~=0.3.0"
]

[dependency-groups]
test = [
"pytest>=7.2.0,<8.0.0",
"pytest-asyncio>=0.20.3,<0.21.0"
"pytest>=9.0.1,<10.0.0",
"pytest-asyncio>=1.3.0,<1.4.0"
]

docs = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Code generated by smithy-python-codegen DO NOT EDIT.

__version__: str = "0.2.0"
__version__: str = "0.3.0"
Loading