Skip to content

Commit d1372f6

Browse files
authored
Release: AWS SDK for Python v0.1.0 (#19)
1 parent a5fe8bc commit d1372f6

File tree

77 files changed

+12471
-9051
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+12471
-9051
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Changelog
2+
3+
## v0.1.0
4+
5+
### API Changes
6+
* Fixed stop sequence limit for converse API.
7+
* Launch CountTokens API to allow token counting
8+
* This release adds support for Automated Reasoning checks output models for the Amazon Bedrock Guardrails ApplyGuardrail API.
9+
* document update to support on demand custom model.
10+
* Add API Key and document citations support for Bedrock Runtime APIs
11+
* This release adds native h2 support for the bedrock runtime API, the support is only limited to SDKs that support h2 requests natively.
12+
* You can now reference images and documents stored in Amazon S3 when using InvokeModel and Converse APIs with Amazon Nova Lite and Nova Pro. This enables direct integration of S3-stored multimedia assets in your model requests without manual downloading or base64 encoding.
13+
14+
### Dependencies
15+
16+
* Updated support for all smithy dependencies in the 0.1.x minor version.
17+
18+
## v0.0.2
19+
20+
### Dependencies
21+
22+
* Updated support for all smithy dependencies in the 0.0.x minor version.
23+
24+
## v0.0.1
25+
26+
### Features
27+
* Initial Client Release with support for current Amazon Bedrock Runtime operations.
28+
* Added support for new InvokeModelWithBidirectionalStream API

clients/aws-sdk-bedrock-runtime/CHANGES.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

clients/aws-sdk-bedrock-runtime/docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Sphinx is used for documentation. You can generate HTML locally with the
44
following:
55

66
```
7-
$ uv pip install ".[docs]"
7+
$ uv pip install --group docs .
88
$ cd docs
99
$ make html
1010
```
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
..
2+
Code generated by smithy-python-codegen DO NOT EDIT.
3+
4+
converse_stream
5+
===============
6+
7+
.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.converse_stream
8+
9+
.. toctree::
10+
:hidden:
11+
:maxdepth: 2
12+
13+
=================
14+
Input:
15+
=================
16+
17+
.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamInput
18+
:members:
19+
20+
=================
21+
Output:
22+
=================
23+
24+
.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOperationOutput
25+
:members:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
..
2+
Code generated by smithy-python-codegen DO NOT EDIT.
3+
4+
count_tokens
5+
============
6+
7+
.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.count_tokens
8+
9+
.. toctree::
10+
:hidden:
11+
:maxdepth: 2
12+
13+
=================
14+
Input:
15+
=================
16+
17+
.. autoclass:: aws_sdk_bedrock_runtime.models.CountTokensOperationInput
18+
:members:
19+
20+
=================
21+
Output:
22+
=================
23+
24+
.. autoclass:: aws_sdk_bedrock_runtime.models.CountTokensOutput
25+
:members:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
..
2+
Code generated by smithy-python-codegen DO NOT EDIT.
3+
4+
invoke_model_with_bidirectional_stream
5+
======================================
6+
7+
.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.invoke_model_with_bidirectional_stream
8+
9+
.. toctree::
10+
:hidden:
11+
:maxdepth: 2
12+
13+
=================
14+
Input:
15+
=================
16+
17+
.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOperationInput
18+
:members:
19+
20+
=================
21+
Output:
22+
=================
23+
24+
.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOperationOutput
25+
:members:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
..
2+
Code generated by smithy-python-codegen DO NOT EDIT.
3+
4+
invoke_model_with_response_stream
5+
=================================
6+
7+
.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.invoke_model_with_response_stream
8+
9+
.. toctree::
10+
:hidden:
11+
:maxdepth: 2
12+
13+
=================
14+
Input:
15+
=================
16+
17+
.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithResponseStreamInput
18+
:members:
19+
20+
=================
21+
Output:
22+
=================
23+
24+
.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithResponseStreamOutput
25+
:members:

clients/aws-sdk-bedrock-runtime/docs/conf.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@
77

88
project = "Amazon Bedrock Runtime"
99
author = "Amazon Web Services"
10-
release = "0.0.1"
10+
release = "0.1.0"
1111

12-
extensions = [
13-
"sphinx.ext.autodoc",
14-
"sphinx.ext.viewcode",
15-
]
12+
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode"]
1613

1714
templates_path = ["_templates"]
1815
exclude_patterns = []
@@ -22,10 +19,6 @@
2219
}
2320

2421
html_theme = "pydata_sphinx_theme"
25-
html_theme_options = {
26-
"logo": {
27-
"text": "Amazon Bedrock Runtime",
28-
}
29-
}
22+
html_theme_options = {"logo": {"text": "Amazon Bedrock Runtime"}}
3023

3124
autodoc_typehints = "description"
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
..
2+
Code generated by smithy-python-codegen DO NOT EDIT.
3+
4+
Citation
5+
========
6+
7+
.. autoclass:: aws_sdk_bedrock_runtime.models.Citation
8+
:members:
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
..
2+
Code generated by smithy-python-codegen DO NOT EDIT.
3+
4+
.. _CitationGeneratedContent:
5+
6+
CitationGeneratedContent
7+
========================
8+
9+
.. autodata:: aws_sdk_bedrock_runtime.models.CitationGeneratedContent

0 commit comments

Comments
 (0)