diff --git a/clients/aws-sdk-bedrock-runtime/docs/Makefile b/clients/aws-sdk-bedrock-runtime/docs/Makefile deleted file mode 100644 index 59458fa..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# Code generated by smithy-python-codegen DO NOT EDIT. - -SPHINXBUILD = sphinx-build -BUILDDIR = build -SERVICESDIR = source/reference/services -SPHINXOPTS = -j auto -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) . - -clean: - -rm -rf $(BUILDDIR)/* - -html: - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html - @echo - @echo "Build finished. The HTML pages are in $(BUILDDIR)/html." diff --git a/clients/aws-sdk-bedrock-runtime/docs/README.md b/clients/aws-sdk-bedrock-runtime/docs/README.md index 141b2c7..228cf94 100644 --- a/clients/aws-sdk-bedrock-runtime/docs/README.md +++ b/clients/aws-sdk-bedrock-runtime/docs/README.md @@ -1,10 +1,15 @@ ## Generating Documentation -Sphinx is used for documentation. You can generate HTML locally with the +Material for MkDocs is used for documentation. You can generate HTML locally with the following: -``` -$ uv pip install --group docs . -$ cd docs -$ make html +```bash +# Install documentation dependencies +uv pip install --group docs + +# Serve documentation locally +mkdocs serve + +# OR build static HTML documentation +mkdocs build ``` diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/apply_guardrail.rst b/clients/aws-sdk-bedrock-runtime/docs/client/apply_guardrail.rst deleted file mode 100644 index b1d59c8..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/apply_guardrail.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -apply_guardrail -=============== - -.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.apply_guardrail - -.. toctree:: - :hidden: - :maxdepth: 2 - -================= -Input: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ApplyGuardrailInput - :members: - -================= -Output: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ApplyGuardrailOutput - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/converse.rst b/clients/aws-sdk-bedrock-runtime/docs/client/converse.rst deleted file mode 100644 index 22c01eb..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/converse.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -converse -======== - -.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.converse - -.. toctree:: - :hidden: - :maxdepth: 2 - -================= -Input: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseInput - :members: - -================= -Output: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseOperationOutput - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/converse_stream.rst b/clients/aws-sdk-bedrock-runtime/docs/client/converse_stream.rst deleted file mode 100644 index 56edb60..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/converse_stream.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -converse_stream -=============== - -.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.converse_stream - -.. toctree:: - :hidden: - :maxdepth: 2 - -================= -Input: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamInput - :members: - -================= -Output: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOperationOutput - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/count_tokens.rst b/clients/aws-sdk-bedrock-runtime/docs/client/count_tokens.rst deleted file mode 100644 index 3891ee9..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/count_tokens.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -count_tokens -============ - -.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.count_tokens - -.. toctree:: - :hidden: - :maxdepth: 2 - -================= -Input: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.CountTokensOperationInput - :members: - -================= -Output: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.CountTokensOutput - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/get_async_invoke.rst b/clients/aws-sdk-bedrock-runtime/docs/client/get_async_invoke.rst deleted file mode 100644 index 709637f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/get_async_invoke.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -get_async_invoke -================ - -.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.get_async_invoke - -.. toctree:: - :hidden: - :maxdepth: 2 - -================= -Input: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GetAsyncInvokeInput - :members: - -================= -Output: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GetAsyncInvokeOutput - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/index.rst b/clients/aws-sdk-bedrock-runtime/docs/client/index.rst deleted file mode 100644 index 371f32a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/index.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -Client -======= -.. toctree:: - :maxdepth: 1 - :titlesonly: - :glob: - - * diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/invoke_model.rst b/clients/aws-sdk-bedrock-runtime/docs/client/invoke_model.rst deleted file mode 100644 index d32c743..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/invoke_model.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -invoke_model -============ - -.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.invoke_model - -.. toctree:: - :hidden: - :maxdepth: 2 - -================= -Input: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelInput - :members: - -================= -Output: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelOutput - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/invoke_model_with_bidirectional_stream.rst b/clients/aws-sdk-bedrock-runtime/docs/client/invoke_model_with_bidirectional_stream.rst deleted file mode 100644 index e688299..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/invoke_model_with_bidirectional_stream.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -invoke_model_with_bidirectional_stream -====================================== - -.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.invoke_model_with_bidirectional_stream - -.. toctree:: - :hidden: - :maxdepth: 2 - -================= -Input: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOperationInput - :members: - -================= -Output: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOperationOutput - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/invoke_model_with_response_stream.rst b/clients/aws-sdk-bedrock-runtime/docs/client/invoke_model_with_response_stream.rst deleted file mode 100644 index d971a2a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/invoke_model_with_response_stream.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -invoke_model_with_response_stream -================================= - -.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.invoke_model_with_response_stream - -.. toctree:: - :hidden: - :maxdepth: 2 - -================= -Input: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithResponseStreamInput - :members: - -================= -Output: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithResponseStreamOutput - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/list_async_invokes.rst b/clients/aws-sdk-bedrock-runtime/docs/client/list_async_invokes.rst deleted file mode 100644 index 65f65dd..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/list_async_invokes.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -list_async_invokes -================== - -.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.list_async_invokes - -.. toctree:: - :hidden: - :maxdepth: 2 - -================= -Input: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ListAsyncInvokesInput - :members: - -================= -Output: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ListAsyncInvokesOutput - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/start_async_invoke.rst b/clients/aws-sdk-bedrock-runtime/docs/client/start_async_invoke.rst deleted file mode 100644 index b782631..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/client/start_async_invoke.rst +++ /dev/null @@ -1,25 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -start_async_invoke -================== - -.. automethod:: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.start_async_invoke - -.. toctree:: - :hidden: - :maxdepth: 2 - -================= -Input: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.StartAsyncInvokeInput - :members: - -================= -Output: -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.StartAsyncInvokeOutput - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/conf.py b/clients/aws-sdk-bedrock-runtime/docs/conf.py deleted file mode 100644 index ca1e0d3..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/conf.py +++ /dev/null @@ -1,24 +0,0 @@ -# Code generated by smithy-python-codegen DO NOT EDIT. - -import os -import sys - -sys.path.insert(0, os.path.abspath("..")) - -project = "Amazon Bedrock Runtime" -author = "Amazon Web Services" -release = "0.1.1" - -extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode"] - -templates_path = ["_templates"] -exclude_patterns = [] - -autodoc_default_options = { - "exclude-members": "deserialize,deserialize_kwargs,serialize,serialize_members" -} - -html_theme = "pydata_sphinx_theme" -html_theme_options = {"logo": {"text": "Amazon Bedrock Runtime"}} - -autodoc_typehints = "description" diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/AsyncInvokeStatus.md b/clients/aws-sdk-bedrock-runtime/docs/enums/AsyncInvokeStatus.md new file mode 100644 index 0000000..f871599 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/AsyncInvokeStatus.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.AsyncInvokeStatus + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/CachePointType.md b/clients/aws-sdk-bedrock-runtime/docs/enums/CachePointType.md new file mode 100644 index 0000000..1f0c742 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/CachePointType.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.CachePointType + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/ConversationRole.md b/clients/aws-sdk-bedrock-runtime/docs/enums/ConversationRole.md new file mode 100644 index 0000000..b945110 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/ConversationRole.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.ConversationRole + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/DocumentFormat.md b/clients/aws-sdk-bedrock-runtime/docs/enums/DocumentFormat.md new file mode 100644 index 0000000..f64fa34 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/DocumentFormat.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.DocumentFormat + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailAction.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailAction.md new file mode 100644 index 0000000..a4e13a3 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailAction.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAction + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailAutomatedReasoningLogicWarningType.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailAutomatedReasoningLogicWarningType.md new file mode 100644 index 0000000..e6742d6 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailAutomatedReasoningLogicWarningType.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningLogicWarningType + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentFilterConfidence.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentFilterConfidence.md new file mode 100644 index 0000000..102da7d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentFilterConfidence.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContentFilterConfidence + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentFilterStrength.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentFilterStrength.md new file mode 100644 index 0000000..0ebfe47 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentFilterStrength.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContentFilterStrength + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentFilterType.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentFilterType.md new file mode 100644 index 0000000..d6b49db --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentFilterType.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContentFilterType + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentPolicyAction.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentPolicyAction.md new file mode 100644 index 0000000..df580f5 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentPolicyAction.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContentPolicyAction + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentQualifier.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentQualifier.md new file mode 100644 index 0000000..f4cbd6d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentQualifier.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContentQualifier + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentSource.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentSource.md new file mode 100644 index 0000000..0c481dd --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContentSource.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContentSource + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContextualGroundingFilterType.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContextualGroundingFilterType.md new file mode 100644 index 0000000..3c0be0d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContextualGroundingFilterType.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContextualGroundingFilterType + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContextualGroundingPolicyAction.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContextualGroundingPolicyAction.md new file mode 100644 index 0000000..6edec4e --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailContextualGroundingPolicyAction.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContextualGroundingPolicyAction + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailConverseContentQualifier.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailConverseContentQualifier.md new file mode 100644 index 0000000..cdd8261 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailConverseContentQualifier.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailConverseContentQualifier + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailConverseImageFormat.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailConverseImageFormat.md new file mode 100644 index 0000000..8340734 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailConverseImageFormat.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailConverseImageFormat + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailImageFormat.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailImageFormat.md new file mode 100644 index 0000000..0747d8b --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailImageFormat.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailImageFormat + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailManagedWordType.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailManagedWordType.md new file mode 100644 index 0000000..f6cf7ba --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailManagedWordType.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailManagedWordType + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailOutputScope.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailOutputScope.md new file mode 100644 index 0000000..9fdaea5 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailOutputScope.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailOutputScope + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailPiiEntityType.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailPiiEntityType.md new file mode 100644 index 0000000..442645c --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailPiiEntityType.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailPiiEntityType + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailSensitiveInformationPolicyAction.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailSensitiveInformationPolicyAction.md new file mode 100644 index 0000000..fc0683a --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailSensitiveInformationPolicyAction.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailSensitiveInformationPolicyAction + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailStreamProcessingMode.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailStreamProcessingMode.md new file mode 100644 index 0000000..7df719d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailStreamProcessingMode.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailStreamProcessingMode + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailTopicPolicyAction.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailTopicPolicyAction.md new file mode 100644 index 0000000..baad9d8 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailTopicPolicyAction.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailTopicPolicyAction + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailTopicType.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailTopicType.md new file mode 100644 index 0000000..c630a1b --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailTopicType.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailTopicType + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailTrace.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailTrace.md new file mode 100644 index 0000000..b38c579 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailTrace.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailTrace + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailWordPolicyAction.md b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailWordPolicyAction.md new file mode 100644 index 0000000..beb3292 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/GuardrailWordPolicyAction.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailWordPolicyAction + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/ImageFormat.md b/clients/aws-sdk-bedrock-runtime/docs/enums/ImageFormat.md new file mode 100644 index 0000000..4f995d5 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/ImageFormat.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.ImageFormat + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/PerformanceConfigLatency.md b/clients/aws-sdk-bedrock-runtime/docs/enums/PerformanceConfigLatency.md new file mode 100644 index 0000000..b61f527 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/PerformanceConfigLatency.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.PerformanceConfigLatency + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/SortAsyncInvocationBy.md b/clients/aws-sdk-bedrock-runtime/docs/enums/SortAsyncInvocationBy.md new file mode 100644 index 0000000..e0aba55 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/SortAsyncInvocationBy.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.SortAsyncInvocationBy + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/SortOrder.md b/clients/aws-sdk-bedrock-runtime/docs/enums/SortOrder.md new file mode 100644 index 0000000..b367c30 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/SortOrder.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.SortOrder + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/StopReason.md b/clients/aws-sdk-bedrock-runtime/docs/enums/StopReason.md new file mode 100644 index 0000000..5cecdcf --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/StopReason.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.StopReason + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/ToolResultStatus.md b/clients/aws-sdk-bedrock-runtime/docs/enums/ToolResultStatus.md new file mode 100644 index 0000000..99a369a --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/ToolResultStatus.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.ToolResultStatus + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/ToolUseType.md b/clients/aws-sdk-bedrock-runtime/docs/enums/ToolUseType.md new file mode 100644 index 0000000..ddd02f6 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/ToolUseType.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.ToolUseType + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/Trace.md b/clients/aws-sdk-bedrock-runtime/docs/enums/Trace.md new file mode 100644 index 0000000..cc4616c --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/Trace.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.Trace + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/enums/VideoFormat.md b/clients/aws-sdk-bedrock-runtime/docs/enums/VideoFormat.md new file mode 100644 index 0000000..adfb5f6 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/enums/VideoFormat.md @@ -0,0 +1,4 @@ +::: aws_sdk_bedrock_runtime.models.VideoFormat + options: + heading_level: 1 + members: true diff --git a/clients/aws-sdk-bedrock-runtime/docs/client/__init__.py b/clients/aws-sdk-bedrock-runtime/docs/enums/__init__.py similarity index 100% rename from clients/aws-sdk-bedrock-runtime/docs/client/__init__.py rename to clients/aws-sdk-bedrock-runtime/docs/enums/__init__.py diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/AccessDeniedException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/AccessDeniedException.md new file mode 100644 index 0000000..067e7fa --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/AccessDeniedException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.AccessDeniedException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/ConflictException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/ConflictException.md new file mode 100644 index 0000000..03340f5 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/ConflictException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ConflictException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/InternalServerException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/InternalServerException.md new file mode 100644 index 0000000..c033879 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/InternalServerException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.InternalServerException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/ModelErrorException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/ModelErrorException.md new file mode 100644 index 0000000..620d140 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/ModelErrorException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ModelErrorException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/ModelNotReadyException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/ModelNotReadyException.md new file mode 100644 index 0000000..d81871c --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/ModelNotReadyException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ModelNotReadyException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/ModelStreamErrorException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/ModelStreamErrorException.md new file mode 100644 index 0000000..7e951c5 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/ModelStreamErrorException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ModelStreamErrorException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/ModelTimeoutException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/ModelTimeoutException.md new file mode 100644 index 0000000..455d493 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/ModelTimeoutException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ModelTimeoutException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/ResourceNotFoundException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/ResourceNotFoundException.md new file mode 100644 index 0000000..7cfc6cb --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/ResourceNotFoundException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ResourceNotFoundException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/ServiceQuotaExceededException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/ServiceQuotaExceededException.md new file mode 100644 index 0000000..5082427 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/ServiceQuotaExceededException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ServiceQuotaExceededException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/ServiceUnavailableException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/ServiceUnavailableException.md new file mode 100644 index 0000000..3231b7c --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/ServiceUnavailableException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ServiceUnavailableException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/ThrottlingException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/ThrottlingException.md new file mode 100644 index 0000000..12b2bbf --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/ThrottlingException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ThrottlingException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/errors/ValidationException.md b/clients/aws-sdk-bedrock-runtime/docs/errors/ValidationException.md new file mode 100644 index 0000000..76dcded --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/errors/ValidationException.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ValidationException + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/__init__.py b/clients/aws-sdk-bedrock-runtime/docs/errors/__init__.py similarity index 100% rename from clients/aws-sdk-bedrock-runtime/docs/models/__init__.py rename to clients/aws-sdk-bedrock-runtime/docs/errors/__init__.py diff --git a/clients/aws-sdk-bedrock-runtime/docs/index.md b/clients/aws-sdk-bedrock-runtime/docs/index.md new file mode 100644 index 0000000..2f10d8b --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/index.md @@ -0,0 +1,386 @@ +# Bedrock Runtime + +## Client + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient + options: + merge_init_into_class: true + docstring_options: + ignore_init_summary: true + members: false + heading_level: 3 + +## Available Operations + +- [`apply_guardrail`](operations/apply_guardrail.md) + +- [`converse`](operations/converse.md) + +- [`converse_stream`](operations/converse_stream.md) + +- [`count_tokens`](operations/count_tokens.md) + +- [`get_async_invoke`](operations/get_async_invoke.md) + +- [`invoke_model`](operations/invoke_model.md) + +- [`invoke_model_with_bidirectional_stream`](operations/invoke_model_with_bidirectional_stream.md) + +- [`invoke_model_with_response_stream`](operations/invoke_model_with_response_stream.md) + +- [`list_async_invokes`](operations/list_async_invokes.md) + +- [`start_async_invoke`](operations/start_async_invoke.md) + +## Configuration + +::: aws_sdk_bedrock_runtime.config.Config + options: + merge_init_into_class: true + docstring_options: + ignore_init_summary: true + heading_level: 3 + +## Errors + +- [`AccessDeniedException`](errors/AccessDeniedException.md) + +- [`ConflictException`](errors/ConflictException.md) + +- [`InternalServerException`](errors/InternalServerException.md) + +- [`ModelErrorException`](errors/ModelErrorException.md) + +- [`ModelNotReadyException`](errors/ModelNotReadyException.md) + +- [`ModelStreamErrorException`](errors/ModelStreamErrorException.md) + +- [`ModelTimeoutException`](errors/ModelTimeoutException.md) + +- [`ResourceNotFoundException`](errors/ResourceNotFoundException.md) + +- [`ServiceQuotaExceededException`](errors/ServiceQuotaExceededException.md) + +- [`ServiceUnavailableException`](errors/ServiceUnavailableException.md) + +- [`ThrottlingException`](errors/ThrottlingException.md) + +- [`ValidationException`](errors/ValidationException.md) + +## Structures + +- [`AnyToolChoice`](structures/AnyToolChoice.md) + +- [`AsyncInvokeS3OutputDataConfig`](structures/AsyncInvokeS3OutputDataConfig.md) + +- [`AsyncInvokeSummary`](structures/AsyncInvokeSummary.md) + +- [`AutoToolChoice`](structures/AutoToolChoice.md) + +- [`BidirectionalInputPayloadPart`](structures/BidirectionalInputPayloadPart.md) + +- [`BidirectionalOutputPayloadPart`](structures/BidirectionalOutputPayloadPart.md) + +- [`CachePointBlock`](structures/CachePointBlock.md) + +- [`Citation`](structures/Citation.md) + +- [`CitationSourceContentDelta`](structures/CitationSourceContentDelta.md) + +- [`CitationsConfig`](structures/CitationsConfig.md) + +- [`CitationsContentBlock`](structures/CitationsContentBlock.md) + +- [`CitationsDelta`](structures/CitationsDelta.md) + +- [`ContentBlockDeltaEvent`](structures/ContentBlockDeltaEvent.md) + +- [`ContentBlockStartEvent`](structures/ContentBlockStartEvent.md) + +- [`ContentBlockStopEvent`](structures/ContentBlockStopEvent.md) + +- [`ConverseMetrics`](structures/ConverseMetrics.md) + +- [`ConverseStreamMetadataEvent`](structures/ConverseStreamMetadataEvent.md) + +- [`ConverseStreamMetrics`](structures/ConverseStreamMetrics.md) + +- [`ConverseStreamTrace`](structures/ConverseStreamTrace.md) + +- [`ConverseTokensRequest`](structures/ConverseTokensRequest.md) + +- [`ConverseTrace`](structures/ConverseTrace.md) + +- [`DocumentBlock`](structures/DocumentBlock.md) + +- [`DocumentCharLocation`](structures/DocumentCharLocation.md) + +- [`DocumentChunkLocation`](structures/DocumentChunkLocation.md) + +- [`DocumentPageLocation`](structures/DocumentPageLocation.md) + +- [`GuardrailAssessment`](structures/GuardrailAssessment.md) + +- [`GuardrailAutomatedReasoningImpossibleFinding`](structures/GuardrailAutomatedReasoningImpossibleFinding.md) + +- [`GuardrailAutomatedReasoningInputTextReference`](structures/GuardrailAutomatedReasoningInputTextReference.md) + +- [`GuardrailAutomatedReasoningInvalidFinding`](structures/GuardrailAutomatedReasoningInvalidFinding.md) + +- [`GuardrailAutomatedReasoningLogicWarning`](structures/GuardrailAutomatedReasoningLogicWarning.md) + +- [`GuardrailAutomatedReasoningNoTranslationsFinding`](structures/GuardrailAutomatedReasoningNoTranslationsFinding.md) + +- [`GuardrailAutomatedReasoningPolicyAssessment`](structures/GuardrailAutomatedReasoningPolicyAssessment.md) + +- [`GuardrailAutomatedReasoningRule`](structures/GuardrailAutomatedReasoningRule.md) + +- [`GuardrailAutomatedReasoningSatisfiableFinding`](structures/GuardrailAutomatedReasoningSatisfiableFinding.md) + +- [`GuardrailAutomatedReasoningScenario`](structures/GuardrailAutomatedReasoningScenario.md) + +- [`GuardrailAutomatedReasoningStatement`](structures/GuardrailAutomatedReasoningStatement.md) + +- [`GuardrailAutomatedReasoningTooComplexFinding`](structures/GuardrailAutomatedReasoningTooComplexFinding.md) + +- [`GuardrailAutomatedReasoningTranslation`](structures/GuardrailAutomatedReasoningTranslation.md) + +- [`GuardrailAutomatedReasoningTranslationAmbiguousFinding`](structures/GuardrailAutomatedReasoningTranslationAmbiguousFinding.md) + +- [`GuardrailAutomatedReasoningTranslationOption`](structures/GuardrailAutomatedReasoningTranslationOption.md) + +- [`GuardrailAutomatedReasoningValidFinding`](structures/GuardrailAutomatedReasoningValidFinding.md) + +- [`GuardrailConfiguration`](structures/GuardrailConfiguration.md) + +- [`GuardrailContentFilter`](structures/GuardrailContentFilter.md) + +- [`GuardrailContentPolicyAssessment`](structures/GuardrailContentPolicyAssessment.md) + +- [`GuardrailContextualGroundingFilter`](structures/GuardrailContextualGroundingFilter.md) + +- [`GuardrailContextualGroundingPolicyAssessment`](structures/GuardrailContextualGroundingPolicyAssessment.md) + +- [`GuardrailConverseImageBlock`](structures/GuardrailConverseImageBlock.md) + +- [`GuardrailConverseTextBlock`](structures/GuardrailConverseTextBlock.md) + +- [`GuardrailCoverage`](structures/GuardrailCoverage.md) + +- [`GuardrailCustomWord`](structures/GuardrailCustomWord.md) + +- [`GuardrailImageBlock`](structures/GuardrailImageBlock.md) + +- [`GuardrailImageCoverage`](structures/GuardrailImageCoverage.md) + +- [`GuardrailInvocationMetrics`](structures/GuardrailInvocationMetrics.md) + +- [`GuardrailManagedWord`](structures/GuardrailManagedWord.md) + +- [`GuardrailOutputContent`](structures/GuardrailOutputContent.md) + +- [`GuardrailPiiEntityFilter`](structures/GuardrailPiiEntityFilter.md) + +- [`GuardrailRegexFilter`](structures/GuardrailRegexFilter.md) + +- [`GuardrailSensitiveInformationPolicyAssessment`](structures/GuardrailSensitiveInformationPolicyAssessment.md) + +- [`GuardrailStreamConfiguration`](structures/GuardrailStreamConfiguration.md) + +- [`GuardrailTextBlock`](structures/GuardrailTextBlock.md) + +- [`GuardrailTextCharactersCoverage`](structures/GuardrailTextCharactersCoverage.md) + +- [`GuardrailTopic`](structures/GuardrailTopic.md) + +- [`GuardrailTopicPolicyAssessment`](structures/GuardrailTopicPolicyAssessment.md) + +- [`GuardrailTraceAssessment`](structures/GuardrailTraceAssessment.md) + +- [`GuardrailUsage`](structures/GuardrailUsage.md) + +- [`GuardrailWordPolicyAssessment`](structures/GuardrailWordPolicyAssessment.md) + +- [`ImageBlock`](structures/ImageBlock.md) + +- [`InferenceConfiguration`](structures/InferenceConfiguration.md) + +- [`InvokeModelTokensRequest`](structures/InvokeModelTokensRequest.md) + +- [`Message`](structures/Message.md) + +- [`MessageStartEvent`](structures/MessageStartEvent.md) + +- [`MessageStopEvent`](structures/MessageStopEvent.md) + +- [`PayloadPart`](structures/PayloadPart.md) + +- [`PerformanceConfiguration`](structures/PerformanceConfiguration.md) + +- [`PromptRouterTrace`](structures/PromptRouterTrace.md) + +- [`ReasoningTextBlock`](structures/ReasoningTextBlock.md) + +- [`S3Location`](structures/S3Location.md) + +- [`SpecificToolChoice`](structures/SpecificToolChoice.md) + +- [`SystemTool`](structures/SystemTool.md) + +- [`Tag`](structures/Tag.md) + +- [`TokenUsage`](structures/TokenUsage.md) + +- [`ToolConfiguration`](structures/ToolConfiguration.md) + +- [`ToolResultBlock`](structures/ToolResultBlock.md) + +- [`ToolResultBlockStart`](structures/ToolResultBlockStart.md) + +- [`ToolSpecification`](structures/ToolSpecification.md) + +- [`ToolUseBlock`](structures/ToolUseBlock.md) + +- [`ToolUseBlockDelta`](structures/ToolUseBlockDelta.md) + +- [`ToolUseBlockStart`](structures/ToolUseBlockStart.md) + +- [`VideoBlock`](structures/VideoBlock.md) + +- [`WebLocation`](structures/WebLocation.md) + +## Unions + +- [`AsyncInvokeOutputDataConfig`](unions/AsyncInvokeOutputDataConfig.md) + +- [`CitationGeneratedContent`](unions/CitationGeneratedContent.md) + +- [`CitationLocation`](unions/CitationLocation.md) + +- [`CitationSourceContent`](unions/CitationSourceContent.md) + +- [`ContentBlock`](unions/ContentBlock.md) + +- [`ContentBlockDelta`](unions/ContentBlockDelta.md) + +- [`ContentBlockStart`](unions/ContentBlockStart.md) + +- [`ConverseOutput`](unions/ConverseOutput.md) + +- [`ConverseStreamOutput`](unions/ConverseStreamOutput.md) + +- [`CountTokensInput`](unions/CountTokensInput.md) + +- [`DocumentContentBlock`](unions/DocumentContentBlock.md) + +- [`DocumentSource`](unions/DocumentSource.md) + +- [`GuardrailAutomatedReasoningFinding`](unions/GuardrailAutomatedReasoningFinding.md) + +- [`GuardrailContentBlock`](unions/GuardrailContentBlock.md) + +- [`GuardrailConverseContentBlock`](unions/GuardrailConverseContentBlock.md) + +- [`GuardrailConverseImageSource`](unions/GuardrailConverseImageSource.md) + +- [`GuardrailImageSource`](unions/GuardrailImageSource.md) + +- [`ImageSource`](unions/ImageSource.md) + +- [`InvokeModelWithBidirectionalStreamInput`](unions/InvokeModelWithBidirectionalStreamInput.md) + +- [`InvokeModelWithBidirectionalStreamOutput`](unions/InvokeModelWithBidirectionalStreamOutput.md) + +- [`PromptVariableValues`](unions/PromptVariableValues.md) + +- [`ReasoningContentBlock`](unions/ReasoningContentBlock.md) + +- [`ReasoningContentBlockDelta`](unions/ReasoningContentBlockDelta.md) + +- [`ResponseStream`](unions/ResponseStream.md) + +- [`SystemContentBlock`](unions/SystemContentBlock.md) + +- [`Tool`](unions/Tool.md) + +- [`ToolChoice`](unions/ToolChoice.md) + +- [`ToolInputSchema`](unions/ToolInputSchema.md) + +- [`ToolResultBlockDelta`](unions/ToolResultBlockDelta.md) + +- [`ToolResultContentBlock`](unions/ToolResultContentBlock.md) + +- [`VideoSource`](unions/VideoSource.md) + +## Enums + +- [`AsyncInvokeStatus`](enums/AsyncInvokeStatus.md) + +- [`CachePointType`](enums/CachePointType.md) + +- [`ConversationRole`](enums/ConversationRole.md) + +- [`DocumentFormat`](enums/DocumentFormat.md) + +- [`GuardrailAction`](enums/GuardrailAction.md) + +- [`GuardrailAutomatedReasoningLogicWarningType`](enums/GuardrailAutomatedReasoningLogicWarningType.md) + +- [`GuardrailContentFilterConfidence`](enums/GuardrailContentFilterConfidence.md) + +- [`GuardrailContentFilterStrength`](enums/GuardrailContentFilterStrength.md) + +- [`GuardrailContentFilterType`](enums/GuardrailContentFilterType.md) + +- [`GuardrailContentPolicyAction`](enums/GuardrailContentPolicyAction.md) + +- [`GuardrailContentQualifier`](enums/GuardrailContentQualifier.md) + +- [`GuardrailContentSource`](enums/GuardrailContentSource.md) + +- [`GuardrailContextualGroundingFilterType`](enums/GuardrailContextualGroundingFilterType.md) + +- [`GuardrailContextualGroundingPolicyAction`](enums/GuardrailContextualGroundingPolicyAction.md) + +- [`GuardrailConverseContentQualifier`](enums/GuardrailConverseContentQualifier.md) + +- [`GuardrailConverseImageFormat`](enums/GuardrailConverseImageFormat.md) + +- [`GuardrailImageFormat`](enums/GuardrailImageFormat.md) + +- [`GuardrailManagedWordType`](enums/GuardrailManagedWordType.md) + +- [`GuardrailOutputScope`](enums/GuardrailOutputScope.md) + +- [`GuardrailPiiEntityType`](enums/GuardrailPiiEntityType.md) + +- [`GuardrailSensitiveInformationPolicyAction`](enums/GuardrailSensitiveInformationPolicyAction.md) + +- [`GuardrailStreamProcessingMode`](enums/GuardrailStreamProcessingMode.md) + +- [`GuardrailTopicPolicyAction`](enums/GuardrailTopicPolicyAction.md) + +- [`GuardrailTopicType`](enums/GuardrailTopicType.md) + +- [`GuardrailTrace`](enums/GuardrailTrace.md) + +- [`GuardrailWordPolicyAction`](enums/GuardrailWordPolicyAction.md) + +- [`ImageFormat`](enums/ImageFormat.md) + +- [`PerformanceConfigLatency`](enums/PerformanceConfigLatency.md) + +- [`SortAsyncInvocationBy`](enums/SortAsyncInvocationBy.md) + +- [`SortOrder`](enums/SortOrder.md) + +- [`StopReason`](enums/StopReason.md) + +- [`ToolResultStatus`](enums/ToolResultStatus.md) + +- [`ToolUseType`](enums/ToolUseType.md) + +- [`Trace`](enums/Trace.md) + +- [`VideoFormat`](enums/VideoFormat.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/index.rst b/clients/aws-sdk-bedrock-runtime/docs/index.rst deleted file mode 100644 index 8d8fb3f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/index.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -Amazon Bedrock Runtime -====================== - -.. toctree:: - :maxdepth: 2 - :titlesonly: - :glob: - - */index diff --git a/clients/aws-sdk-bedrock-runtime/docs/make.bat b/clients/aws-sdk-bedrock-runtime/docs/make.bat deleted file mode 100644 index 3245132..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/make.bat +++ /dev/null @@ -1,35 +0,0 @@ -REM Code generated by smithy-python-codegen DO NOT EDIT. - -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set BUILDDIR=build -set SERVICESDIR=source/reference/services -set SPHINXOPTS=-j auto -set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% . - -if "%1" == "" goto help - -if "%1" == "clean" ( - rmdir /S /Q %BUILDDIR% - goto end -) - -if "%1" == "html" ( - %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html - echo. - echo "Build finished. The HTML pages are in %BUILDDIR%/html." - goto end -) - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% - -:end -popd diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/AccessDeniedException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/AccessDeniedException.rst deleted file mode 100644 index 2a56317..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/AccessDeniedException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -AccessDeniedException -===================== - -.. autoexception:: aws_sdk_bedrock_runtime.models.AccessDeniedException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/AnyToolChoice.rst b/clients/aws-sdk-bedrock-runtime/docs/models/AnyToolChoice.rst deleted file mode 100644 index 4929d37..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/AnyToolChoice.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -AnyToolChoice -============= - -.. autoclass:: aws_sdk_bedrock_runtime.models.AnyToolChoice - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeOutputDataConfig.rst b/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeOutputDataConfig.rst deleted file mode 100644 index a4b2945..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeOutputDataConfig.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _AsyncInvokeOutputDataConfig: - -AsyncInvokeOutputDataConfig -=========================== - -.. autodata:: aws_sdk_bedrock_runtime.models.AsyncInvokeOutputDataConfig diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeOutputDataConfigS3OutputDataConfig.rst b/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeOutputDataConfigS3OutputDataConfig.rst deleted file mode 100644 index 2dc4a64..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeOutputDataConfigS3OutputDataConfig.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _AsyncInvokeOutputDataConfigS3OutputDataConfig: - -AsyncInvokeOutputDataConfigS3OutputDataConfig -============================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.AsyncInvokeOutputDataConfigS3OutputDataConfig diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeOutputDataConfigUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeOutputDataConfigUnknown.rst deleted file mode 100644 index 44ba487..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeOutputDataConfigUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _AsyncInvokeOutputDataConfigUnknown: - -AsyncInvokeOutputDataConfigUnknown -================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.AsyncInvokeOutputDataConfigUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeS3OutputDataConfig.rst b/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeS3OutputDataConfig.rst deleted file mode 100644 index 20c05e8..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeS3OutputDataConfig.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -AsyncInvokeS3OutputDataConfig -============================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.AsyncInvokeS3OutputDataConfig - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeSummary.rst b/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeSummary.rst deleted file mode 100644 index b521ecb..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/AsyncInvokeSummary.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -AsyncInvokeSummary -================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.AsyncInvokeSummary - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/AutoToolChoice.rst b/clients/aws-sdk-bedrock-runtime/docs/models/AutoToolChoice.rst deleted file mode 100644 index 2daf886..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/AutoToolChoice.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -AutoToolChoice -============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.AutoToolChoice - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/BidirectionalInputPayloadPart.rst b/clients/aws-sdk-bedrock-runtime/docs/models/BidirectionalInputPayloadPart.rst deleted file mode 100644 index 76a1eef..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/BidirectionalInputPayloadPart.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -BidirectionalInputPayloadPart -============================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.BidirectionalInputPayloadPart - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/BidirectionalOutputPayloadPart.rst b/clients/aws-sdk-bedrock-runtime/docs/models/BidirectionalOutputPayloadPart.rst deleted file mode 100644 index 6c20a50..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/BidirectionalOutputPayloadPart.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -BidirectionalOutputPayloadPart -============================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.BidirectionalOutputPayloadPart - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CachePointBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CachePointBlock.rst deleted file mode 100644 index 555af58..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CachePointBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -CachePointBlock -=============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.CachePointBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/Citation.rst b/clients/aws-sdk-bedrock-runtime/docs/models/Citation.rst deleted file mode 100644 index 8402260..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/Citation.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -Citation -======== - -.. autoclass:: aws_sdk_bedrock_runtime.models.Citation - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationGeneratedContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationGeneratedContent.rst deleted file mode 100644 index e6550d8..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationGeneratedContent.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationGeneratedContent: - -CitationGeneratedContent -======================== - -.. autodata:: aws_sdk_bedrock_runtime.models.CitationGeneratedContent diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationGeneratedContentText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationGeneratedContentText.rst deleted file mode 100644 index a9057fa..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationGeneratedContentText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationGeneratedContentText: - -CitationGeneratedContentText -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationGeneratedContentText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationGeneratedContentUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationGeneratedContentUnknown.rst deleted file mode 100644 index 377bed0..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationGeneratedContentUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationGeneratedContentUnknown: - -CitationGeneratedContentUnknown -=============================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationGeneratedContentUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocation.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocation.rst deleted file mode 100644 index 05c8ea0..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocation.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationLocation: - -CitationLocation -================ - -.. autodata:: aws_sdk_bedrock_runtime.models.CitationLocation diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationDocumentChar.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationDocumentChar.rst deleted file mode 100644 index 652066f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationDocumentChar.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationLocationDocumentChar: - -CitationLocationDocumentChar -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationLocationDocumentChar diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationDocumentChunk.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationDocumentChunk.rst deleted file mode 100644 index 1a05b2c..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationDocumentChunk.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationLocationDocumentChunk: - -CitationLocationDocumentChunk -============================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationLocationDocumentChunk diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationDocumentPage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationDocumentPage.rst deleted file mode 100644 index deaec36..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationDocumentPage.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationLocationDocumentPage: - -CitationLocationDocumentPage -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationLocationDocumentPage diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationUnknown.rst deleted file mode 100644 index 7102545..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationLocationUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationLocationUnknown: - -CitationLocationUnknown -======================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationLocationUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContent.rst deleted file mode 100644 index 3e3f814..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContent.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationSourceContent: - -CitationSourceContent -===================== - -.. autodata:: aws_sdk_bedrock_runtime.models.CitationSourceContent diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContentDelta.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContentDelta.rst deleted file mode 100644 index e2376df..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContentDelta.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -CitationSourceContentDelta -========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationSourceContentDelta - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContentText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContentText.rst deleted file mode 100644 index c0f39cf..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContentText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationSourceContentText: - -CitationSourceContentText -========================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationSourceContentText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContentUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContentUnknown.rst deleted file mode 100644 index fe7928c..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationSourceContentUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CitationSourceContentUnknown: - -CitationSourceContentUnknown -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationSourceContentUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationsConfig.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationsConfig.rst deleted file mode 100644 index f53ee31..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationsConfig.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -CitationsConfig -=============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationsConfig - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationsContentBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationsContentBlock.rst deleted file mode 100644 index 7e6ff3d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationsContentBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -CitationsContentBlock -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationsContentBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CitationsDelta.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CitationsDelta.rst deleted file mode 100644 index c498f6d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CitationsDelta.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -CitationsDelta -============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.CitationsDelta - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConflictException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConflictException.rst deleted file mode 100644 index c967482..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConflictException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ConflictException -================= - -.. autoexception:: aws_sdk_bedrock_runtime.models.ConflictException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlock.rst deleted file mode 100644 index 7884ab4..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlock.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlock: - -ContentBlock -============ - -.. autodata:: aws_sdk_bedrock_runtime.models.ContentBlock diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockCachePoint.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockCachePoint.rst deleted file mode 100644 index 57fa676..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockCachePoint.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockCachePoint: - -ContentBlockCachePoint -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockCachePoint diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockCitationsContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockCitationsContent.rst deleted file mode 100644 index b2406a2..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockCitationsContent.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockCitationsContent: - -ContentBlockCitationsContent -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockCitationsContent diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDelta.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDelta.rst deleted file mode 100644 index 5e87458..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDelta.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockDelta: - -ContentBlockDelta -================= - -.. autodata:: aws_sdk_bedrock_runtime.models.ContentBlockDelta diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaCitation.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaCitation.rst deleted file mode 100644 index 9d4349a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaCitation.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockDeltaCitation: - -ContentBlockDeltaCitation -========================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockDeltaCitation diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaEvent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaEvent.rst deleted file mode 100644 index d67f1b2..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaEvent.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ContentBlockDeltaEvent -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockDeltaEvent - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaReasoningContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaReasoningContent.rst deleted file mode 100644 index 202a6a0..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaReasoningContent.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockDeltaReasoningContent: - -ContentBlockDeltaReasoningContent -================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockDeltaReasoningContent diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaText.rst deleted file mode 100644 index df0dce1..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockDeltaText: - -ContentBlockDeltaText -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockDeltaText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaToolUse.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaToolUse.rst deleted file mode 100644 index 5c1964f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaToolUse.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockDeltaToolUse: - -ContentBlockDeltaToolUse -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockDeltaToolUse diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaUnknown.rst deleted file mode 100644 index dcf99d5..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDeltaUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockDeltaUnknown: - -ContentBlockDeltaUnknown -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockDeltaUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDocument.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDocument.rst deleted file mode 100644 index 10eef28..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockDocument.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockDocument: - -ContentBlockDocument -==================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockDocument diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockGuardContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockGuardContent.rst deleted file mode 100644 index 05d191f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockGuardContent.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockGuardContent: - -ContentBlockGuardContent -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockGuardContent diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockImage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockImage.rst deleted file mode 100644 index 19696c5..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockImage.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockImage: - -ContentBlockImage -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockImage diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockReasoningContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockReasoningContent.rst deleted file mode 100644 index 1798eb4..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockReasoningContent.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockReasoningContent: - -ContentBlockReasoningContent -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockReasoningContent diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStart.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStart.rst deleted file mode 100644 index a1169f0..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStart.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockStart: - -ContentBlockStart -================= - -.. autodata:: aws_sdk_bedrock_runtime.models.ContentBlockStart diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStartEvent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStartEvent.rst deleted file mode 100644 index 4e2af6a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStartEvent.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ContentBlockStartEvent -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockStartEvent - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStartToolUse.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStartToolUse.rst deleted file mode 100644 index 5619a0d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStartToolUse.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockStartToolUse: - -ContentBlockStartToolUse -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockStartToolUse diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStartUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStartUnknown.rst deleted file mode 100644 index 74615c2..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStartUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockStartUnknown: - -ContentBlockStartUnknown -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockStartUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStopEvent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStopEvent.rst deleted file mode 100644 index c7cec1d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockStopEvent.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ContentBlockStopEvent -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockStopEvent - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockText.rst deleted file mode 100644 index 571892c..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockText: - -ContentBlockText -================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockToolResult.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockToolResult.rst deleted file mode 100644 index f21157c..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockToolResult.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockToolResult: - -ContentBlockToolResult -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockToolResult diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockToolUse.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockToolUse.rst deleted file mode 100644 index 4120c0b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockToolUse.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockToolUse: - -ContentBlockToolUse -=================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockToolUse diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockUnknown.rst deleted file mode 100644 index 365c274..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockUnknown: - -ContentBlockUnknown -=================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockVideo.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockVideo.rst deleted file mode 100644 index c352a88..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ContentBlockVideo.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ContentBlockVideo: - -ContentBlockVideo -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ContentBlockVideo diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseMetrics.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseMetrics.rst deleted file mode 100644 index c592a0b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseMetrics.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ConverseMetrics -=============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseMetrics - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseOutput.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseOutput.rst deleted file mode 100644 index 9e3e84f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseOutput.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseOutput: - -ConverseOutput -============== - -.. autodata:: aws_sdk_bedrock_runtime.models.ConverseOutput diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseOutputMessage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseOutputMessage.rst deleted file mode 100644 index 67ee967..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseOutputMessage.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseOutputMessage: - -ConverseOutputMessage -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseOutputMessage diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseOutputUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseOutputUnknown.rst deleted file mode 100644 index 980accf..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseOutputUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseOutputUnknown: - -ConverseOutputUnknown -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseOutputUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamMetadataEvent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamMetadataEvent.rst deleted file mode 100644 index 6c18461..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamMetadataEvent.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ConverseStreamMetadataEvent -=========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamMetadataEvent - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamMetrics.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamMetrics.rst deleted file mode 100644 index 9f4cfad..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamMetrics.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ConverseStreamMetrics -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamMetrics - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutput.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutput.rst deleted file mode 100644 index 564202f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutput.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutput: - -ConverseStreamOutput -==================== - -.. autodata:: aws_sdk_bedrock_runtime.models.ConverseStreamOutput diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputContentBlockDelta.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputContentBlockDelta.rst deleted file mode 100644 index 3eb660e..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputContentBlockDelta.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputContentBlockDelta: - -ConverseStreamOutputContentBlockDelta -===================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputContentBlockDelta diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputContentBlockStart.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputContentBlockStart.rst deleted file mode 100644 index 393dee9..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputContentBlockStart.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputContentBlockStart: - -ConverseStreamOutputContentBlockStart -===================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputContentBlockStart diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputContentBlockStop.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputContentBlockStop.rst deleted file mode 100644 index 23cf1af..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputContentBlockStop.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputContentBlockStop: - -ConverseStreamOutputContentBlockStop -==================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputContentBlockStop diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputInternalServerException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputInternalServerException.rst deleted file mode 100644 index b078958..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputInternalServerException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputInternalServerException: - -ConverseStreamOutputInternalServerException -=========================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputInternalServerException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputMessageStart.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputMessageStart.rst deleted file mode 100644 index 1926594..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputMessageStart.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputMessageStart: - -ConverseStreamOutputMessageStart -================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputMessageStart diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputMessageStop.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputMessageStop.rst deleted file mode 100644 index 7af89a5..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputMessageStop.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputMessageStop: - -ConverseStreamOutputMessageStop -=============================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputMessageStop diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputMetadata.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputMetadata.rst deleted file mode 100644 index 921c50e..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputMetadata.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputMetadata: - -ConverseStreamOutputMetadata -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputMetadata diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputModelStreamErrorException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputModelStreamErrorException.rst deleted file mode 100644 index 5e8a6a9..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputModelStreamErrorException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputModelStreamErrorException: - -ConverseStreamOutputModelStreamErrorException -============================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputModelStreamErrorException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputServiceUnavailableException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputServiceUnavailableException.rst deleted file mode 100644 index 6b3c44d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputServiceUnavailableException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputServiceUnavailableException: - -ConverseStreamOutputServiceUnavailableException -=============================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputServiceUnavailableException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputThrottlingException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputThrottlingException.rst deleted file mode 100644 index ec8c5f7..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputThrottlingException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputThrottlingException: - -ConverseStreamOutputThrottlingException -======================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputThrottlingException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputUnknown.rst deleted file mode 100644 index 72da278..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputUnknown: - -ConverseStreamOutputUnknown -=========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputValidationException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputValidationException.rst deleted file mode 100644 index d172ad4..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamOutputValidationException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ConverseStreamOutputValidationException: - -ConverseStreamOutputValidationException -======================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamOutputValidationException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamTrace.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamTrace.rst deleted file mode 100644 index 848eeab..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseStreamTrace.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ConverseStreamTrace -=================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseStreamTrace - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseTokensRequest.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseTokensRequest.rst deleted file mode 100644 index 00d4c64..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseTokensRequest.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ConverseTokensRequest -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseTokensRequest - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseTrace.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ConverseTrace.rst deleted file mode 100644 index a8da8d5..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ConverseTrace.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ConverseTrace -============= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ConverseTrace - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInput.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInput.rst deleted file mode 100644 index 0fee59f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInput.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CountTokensInput: - -CountTokensInput -================ - -.. autodata:: aws_sdk_bedrock_runtime.models.CountTokensInput diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInputConverse.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInputConverse.rst deleted file mode 100644 index b96d33a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInputConverse.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CountTokensInputConverse: - -CountTokensInputConverse -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.CountTokensInputConverse diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInputInvokeModel.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInputInvokeModel.rst deleted file mode 100644 index 23e80b8..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInputInvokeModel.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CountTokensInputInvokeModel: - -CountTokensInputInvokeModel -=========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.CountTokensInputInvokeModel diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInputUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInputUnknown.rst deleted file mode 100644 index ccb9692..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/CountTokensInputUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _CountTokensInputUnknown: - -CountTokensInputUnknown -======================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.CountTokensInputUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentBlock.rst deleted file mode 100644 index 98287d7..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -DocumentBlock -============= - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentCharLocation.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentCharLocation.rst deleted file mode 100644 index 84a596e..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentCharLocation.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -DocumentCharLocation -==================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentCharLocation - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentChunkLocation.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentChunkLocation.rst deleted file mode 100644 index fe442fd..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentChunkLocation.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -DocumentChunkLocation -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentChunkLocation - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentContentBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentContentBlock.rst deleted file mode 100644 index dd5d13f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentContentBlock.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _DocumentContentBlock: - -DocumentContentBlock -==================== - -.. autodata:: aws_sdk_bedrock_runtime.models.DocumentContentBlock diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentContentBlockText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentContentBlockText.rst deleted file mode 100644 index 776e7ee..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentContentBlockText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _DocumentContentBlockText: - -DocumentContentBlockText -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentContentBlockText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentContentBlockUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentContentBlockUnknown.rst deleted file mode 100644 index 22ce953..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentContentBlockUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _DocumentContentBlockUnknown: - -DocumentContentBlockUnknown -=========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentContentBlockUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentPageLocation.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentPageLocation.rst deleted file mode 100644 index 4bcef38..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentPageLocation.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -DocumentPageLocation -==================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentPageLocation - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSource.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSource.rst deleted file mode 100644 index 547b919..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSource.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _DocumentSource: - -DocumentSource -============== - -.. autodata:: aws_sdk_bedrock_runtime.models.DocumentSource diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceBytes.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceBytes.rst deleted file mode 100644 index be564d6..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceBytes.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _DocumentSourceBytes: - -DocumentSourceBytes -=================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentSourceBytes diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceContent.rst deleted file mode 100644 index b8a5939..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceContent.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _DocumentSourceContent: - -DocumentSourceContent -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentSourceContent diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceS3Location.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceS3Location.rst deleted file mode 100644 index 1956d70..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceS3Location.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _DocumentSourceS3Location: - -DocumentSourceS3Location -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentSourceS3Location diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceText.rst deleted file mode 100644 index 50ce90f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _DocumentSourceText: - -DocumentSourceText -================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentSourceText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceUnknown.rst deleted file mode 100644 index 0cdcba0..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/DocumentSourceUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _DocumentSourceUnknown: - -DocumentSourceUnknown -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.DocumentSourceUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAssessment.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAssessment.rst deleted file mode 100644 index ee239a3..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAssessment.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAssessment -=================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAssessment - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFinding.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFinding.rst deleted file mode 100644 index b9b3a54..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFinding.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailAutomatedReasoningFinding: - -GuardrailAutomatedReasoningFinding -================================== - -.. autodata:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFinding diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingImpossible.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingImpossible.rst deleted file mode 100644 index 0d75006..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingImpossible.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailAutomatedReasoningFindingImpossible: - -GuardrailAutomatedReasoningFindingImpossible -============================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingImpossible diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingInvalid.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingInvalid.rst deleted file mode 100644 index 2c689a7..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingInvalid.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailAutomatedReasoningFindingInvalid: - -GuardrailAutomatedReasoningFindingInvalid -========================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingInvalid diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingNoTranslations.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingNoTranslations.rst deleted file mode 100644 index 14c206b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingNoTranslations.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailAutomatedReasoningFindingNoTranslations: - -GuardrailAutomatedReasoningFindingNoTranslations -================================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingNoTranslations diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingSatisfiable.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingSatisfiable.rst deleted file mode 100644 index c231dc3..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingSatisfiable.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailAutomatedReasoningFindingSatisfiable: - -GuardrailAutomatedReasoningFindingSatisfiable -============================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingSatisfiable diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingTooComplex.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingTooComplex.rst deleted file mode 100644 index 0be78ea..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingTooComplex.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailAutomatedReasoningFindingTooComplex: - -GuardrailAutomatedReasoningFindingTooComplex -============================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingTooComplex diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingTranslationAmbiguous.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingTranslationAmbiguous.rst deleted file mode 100644 index 5ad5208..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingTranslationAmbiguous.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailAutomatedReasoningFindingTranslationAmbiguous: - -GuardrailAutomatedReasoningFindingTranslationAmbiguous -====================================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingTranslationAmbiguous diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingUnknown.rst deleted file mode 100644 index bf2f198..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailAutomatedReasoningFindingUnknown: - -GuardrailAutomatedReasoningFindingUnknown -========================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingValid.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingValid.rst deleted file mode 100644 index 76da39e..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningFindingValid.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailAutomatedReasoningFindingValid: - -GuardrailAutomatedReasoningFindingValid -======================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingValid diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningImpossibleFinding.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningImpossibleFinding.rst deleted file mode 100644 index 08bcc44..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningImpossibleFinding.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningImpossibleFinding -============================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningImpossibleFinding - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningInputTextReference.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningInputTextReference.rst deleted file mode 100644 index c82096c..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningInputTextReference.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningInputTextReference -============================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningInputTextReference - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningInvalidFinding.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningInvalidFinding.rst deleted file mode 100644 index 566dfde..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningInvalidFinding.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningInvalidFinding -========================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningInvalidFinding - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningLogicWarning.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningLogicWarning.rst deleted file mode 100644 index 023c6cd..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningLogicWarning.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningLogicWarning -======================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningLogicWarning - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningNoTranslationsFinding.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningNoTranslationsFinding.rst deleted file mode 100644 index 73027b5..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningNoTranslationsFinding.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningNoTranslationsFinding -================================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningNoTranslationsFinding - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningPolicyAssessment.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningPolicyAssessment.rst deleted file mode 100644 index dae19df..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningPolicyAssessment.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningPolicyAssessment -=========================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningPolicyAssessment - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningRule.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningRule.rst deleted file mode 100644 index 6e84eea..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningRule.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningRule -=============================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningRule - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningSatisfiableFinding.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningSatisfiableFinding.rst deleted file mode 100644 index 8d75da6..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningSatisfiableFinding.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningSatisfiableFinding -============================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningSatisfiableFinding - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningScenario.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningScenario.rst deleted file mode 100644 index 448c6d8..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningScenario.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningScenario -=================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningScenario - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningStatement.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningStatement.rst deleted file mode 100644 index 40720de..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningStatement.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningStatement -==================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningStatement - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTooComplexFinding.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTooComplexFinding.rst deleted file mode 100644 index 3efede1..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTooComplexFinding.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningTooComplexFinding -============================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningTooComplexFinding - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTranslation.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTranslation.rst deleted file mode 100644 index ef8d59c..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTranslation.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningTranslation -====================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningTranslation - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTranslationAmbiguousFinding.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTranslationAmbiguousFinding.rst deleted file mode 100644 index d166b10..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTranslationAmbiguousFinding.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningTranslationAmbiguousFinding -====================================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningTranslationAmbiguousFinding - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTranslationOption.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTranslationOption.rst deleted file mode 100644 index 83a59ec..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningTranslationOption.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningTranslationOption -============================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningTranslationOption - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningValidFinding.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningValidFinding.rst deleted file mode 100644 index c3880df..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailAutomatedReasoningValidFinding.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailAutomatedReasoningValidFinding -======================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningValidFinding - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConfiguration.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConfiguration.rst deleted file mode 100644 index 427c653..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConfiguration.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailConfiguration -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailConfiguration - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlock.rst deleted file mode 100644 index 7044071..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlock.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailContentBlock: - -GuardrailContentBlock -===================== - -.. autodata:: aws_sdk_bedrock_runtime.models.GuardrailContentBlock diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlockImage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlockImage.rst deleted file mode 100644 index bf9718f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlockImage.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailContentBlockImage: - -GuardrailContentBlockImage -========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailContentBlockImage diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlockText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlockText.rst deleted file mode 100644 index 39d601b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlockText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailContentBlockText: - -GuardrailContentBlockText -========================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailContentBlockText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlockUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlockUnknown.rst deleted file mode 100644 index a73bf75..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentBlockUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailContentBlockUnknown: - -GuardrailContentBlockUnknown -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailContentBlockUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentFilter.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentFilter.rst deleted file mode 100644 index 5290cda..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentFilter.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailContentFilter -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailContentFilter - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentPolicyAssessment.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentPolicyAssessment.rst deleted file mode 100644 index e6f53eb..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContentPolicyAssessment.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailContentPolicyAssessment -================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailContentPolicyAssessment - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContextualGroundingFilter.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContextualGroundingFilter.rst deleted file mode 100644 index f5adb91..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContextualGroundingFilter.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailContextualGroundingFilter -================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailContextualGroundingFilter - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContextualGroundingPolicyAssessment.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContextualGroundingPolicyAssessment.rst deleted file mode 100644 index 3e57695..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailContextualGroundingPolicyAssessment.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailContextualGroundingPolicyAssessment -============================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailContextualGroundingPolicyAssessment - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlock.rst deleted file mode 100644 index d6d1525..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlock.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailConverseContentBlock: - -GuardrailConverseContentBlock -============================= - -.. autodata:: aws_sdk_bedrock_runtime.models.GuardrailConverseContentBlock diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlockImage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlockImage.rst deleted file mode 100644 index c253256..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlockImage.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailConverseContentBlockImage: - -GuardrailConverseContentBlockImage -================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailConverseContentBlockImage diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlockText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlockText.rst deleted file mode 100644 index 5d91aa3..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlockText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailConverseContentBlockText: - -GuardrailConverseContentBlockText -================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailConverseContentBlockText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlockUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlockUnknown.rst deleted file mode 100644 index af405d6..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseContentBlockUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailConverseContentBlockUnknown: - -GuardrailConverseContentBlockUnknown -==================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailConverseContentBlockUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageBlock.rst deleted file mode 100644 index c20a5c5..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailConverseImageBlock -=========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailConverseImageBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageSource.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageSource.rst deleted file mode 100644 index e3cf4d5..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageSource.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailConverseImageSource: - -GuardrailConverseImageSource -============================ - -.. autodata:: aws_sdk_bedrock_runtime.models.GuardrailConverseImageSource diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageSourceBytes.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageSourceBytes.rst deleted file mode 100644 index 694cb25..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageSourceBytes.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailConverseImageSourceBytes: - -GuardrailConverseImageSourceBytes -================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailConverseImageSourceBytes diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageSourceUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageSourceUnknown.rst deleted file mode 100644 index 0ca1af7..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseImageSourceUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailConverseImageSourceUnknown: - -GuardrailConverseImageSourceUnknown -=================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailConverseImageSourceUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseTextBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseTextBlock.rst deleted file mode 100644 index 865e8d3..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailConverseTextBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailConverseTextBlock -========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailConverseTextBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailCoverage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailCoverage.rst deleted file mode 100644 index 1932629..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailCoverage.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailCoverage -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailCoverage - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailCustomWord.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailCustomWord.rst deleted file mode 100644 index 775fe4d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailCustomWord.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailCustomWord -=================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailCustomWord - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageBlock.rst deleted file mode 100644 index c3c9c31..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailImageBlock -=================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailImageBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageCoverage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageCoverage.rst deleted file mode 100644 index 1f62948..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageCoverage.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailImageCoverage -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailImageCoverage - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageSource.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageSource.rst deleted file mode 100644 index e9d4080..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageSource.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailImageSource: - -GuardrailImageSource -==================== - -.. autodata:: aws_sdk_bedrock_runtime.models.GuardrailImageSource diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageSourceBytes.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageSourceBytes.rst deleted file mode 100644 index 5455c76..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageSourceBytes.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailImageSourceBytes: - -GuardrailImageSourceBytes -========================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailImageSourceBytes diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageSourceUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageSourceUnknown.rst deleted file mode 100644 index 9311747..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailImageSourceUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _GuardrailImageSourceUnknown: - -GuardrailImageSourceUnknown -=========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailImageSourceUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailInvocationMetrics.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailInvocationMetrics.rst deleted file mode 100644 index 590d7af..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailInvocationMetrics.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailInvocationMetrics -========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailInvocationMetrics - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailManagedWord.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailManagedWord.rst deleted file mode 100644 index 2ba02cd..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailManagedWord.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailManagedWord -==================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailManagedWord - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailOutputContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailOutputContent.rst deleted file mode 100644 index 5899fcc..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailOutputContent.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailOutputContent -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailOutputContent - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailPiiEntityFilter.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailPiiEntityFilter.rst deleted file mode 100644 index c51ee94..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailPiiEntityFilter.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailPiiEntityFilter -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailPiiEntityFilter - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailRegexFilter.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailRegexFilter.rst deleted file mode 100644 index c9350fc..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailRegexFilter.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailRegexFilter -==================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailRegexFilter - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailSensitiveInformationPolicyAssessment.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailSensitiveInformationPolicyAssessment.rst deleted file mode 100644 index 21f78da..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailSensitiveInformationPolicyAssessment.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailSensitiveInformationPolicyAssessment -============================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailSensitiveInformationPolicyAssessment - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailStreamConfiguration.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailStreamConfiguration.rst deleted file mode 100644 index d5bdc6e..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailStreamConfiguration.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailStreamConfiguration -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailStreamConfiguration - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTextBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTextBlock.rst deleted file mode 100644 index 2f2a01d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTextBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailTextBlock -================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailTextBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTextCharactersCoverage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTextCharactersCoverage.rst deleted file mode 100644 index ad3305e..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTextCharactersCoverage.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailTextCharactersCoverage -=============================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailTextCharactersCoverage - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTopic.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTopic.rst deleted file mode 100644 index 6183629..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTopic.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailTopic -============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailTopic - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTopicPolicyAssessment.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTopicPolicyAssessment.rst deleted file mode 100644 index d7eaa0d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTopicPolicyAssessment.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailTopicPolicyAssessment -============================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailTopicPolicyAssessment - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTraceAssessment.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTraceAssessment.rst deleted file mode 100644 index 6bb680b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailTraceAssessment.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailTraceAssessment -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailTraceAssessment - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailUsage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailUsage.rst deleted file mode 100644 index 3a7bb8a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailUsage.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailUsage -============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailUsage - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailWordPolicyAssessment.rst b/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailWordPolicyAssessment.rst deleted file mode 100644 index ec41897..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/GuardrailWordPolicyAssessment.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -GuardrailWordPolicyAssessment -============================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.GuardrailWordPolicyAssessment - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ImageBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ImageBlock.rst deleted file mode 100644 index 932a8f2..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ImageBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ImageBlock -========== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ImageBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ImageSource.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ImageSource.rst deleted file mode 100644 index 73fb43f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ImageSource.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ImageSource: - -ImageSource -=========== - -.. autodata:: aws_sdk_bedrock_runtime.models.ImageSource diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ImageSourceBytes.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ImageSourceBytes.rst deleted file mode 100644 index c508cc5..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ImageSourceBytes.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ImageSourceBytes: - -ImageSourceBytes -================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.ImageSourceBytes diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ImageSourceS3Location.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ImageSourceS3Location.rst deleted file mode 100644 index 40671cb..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ImageSourceS3Location.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ImageSourceS3Location: - -ImageSourceS3Location -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ImageSourceS3Location diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ImageSourceUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ImageSourceUnknown.rst deleted file mode 100644 index 4db8e9b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ImageSourceUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ImageSourceUnknown: - -ImageSourceUnknown -================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ImageSourceUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InferenceConfiguration.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InferenceConfiguration.rst deleted file mode 100644 index bb8d4b3..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InferenceConfiguration.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -InferenceConfiguration -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.InferenceConfiguration - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InternalServerException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InternalServerException.rst deleted file mode 100644 index 6d51ab6..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InternalServerException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -InternalServerException -======================= - -.. autoexception:: aws_sdk_bedrock_runtime.models.InternalServerException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelTokensRequest.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelTokensRequest.rst deleted file mode 100644 index 02d1cdb..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelTokensRequest.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -InvokeModelTokensRequest -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelTokensRequest - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamInput.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamInput.rst deleted file mode 100644 index ef73a25..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamInput.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamInput: - -InvokeModelWithBidirectionalStreamInput -======================================= - -.. autodata:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamInput diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamInputChunk.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamInputChunk.rst deleted file mode 100644 index 0f8c3eb..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamInputChunk.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamInputChunk: - -InvokeModelWithBidirectionalStreamInputChunk -============================================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamInputChunk diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamInputUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamInputUnknown.rst deleted file mode 100644 index b588a0b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamInputUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamInputUnknown: - -InvokeModelWithBidirectionalStreamInputUnknown -============================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamInputUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutput.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutput.rst deleted file mode 100644 index 49e1312..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutput.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamOutput: - -InvokeModelWithBidirectionalStreamOutput -======================================== - -.. autodata:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutput diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputChunk.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputChunk.rst deleted file mode 100644 index 8e1af1e..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputChunk.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamOutputChunk: - -InvokeModelWithBidirectionalStreamOutputChunk -============================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputChunk diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputInternalServerException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputInternalServerException.rst deleted file mode 100644 index 6addd58..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputInternalServerException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamOutputInternalServerException: - -InvokeModelWithBidirectionalStreamOutputInternalServerException -=============================================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputInternalServerException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputModelStreamErrorException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputModelStreamErrorException.rst deleted file mode 100644 index 8addc9e..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputModelStreamErrorException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamOutputModelStreamErrorException: - -InvokeModelWithBidirectionalStreamOutputModelStreamErrorException -================================================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputModelStreamErrorException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputModelTimeoutException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputModelTimeoutException.rst deleted file mode 100644 index 0c46b1b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputModelTimeoutException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamOutputModelTimeoutException: - -InvokeModelWithBidirectionalStreamOutputModelTimeoutException -============================================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputModelTimeoutException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputServiceUnavailableException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputServiceUnavailableException.rst deleted file mode 100644 index aadcac1..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputServiceUnavailableException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamOutputServiceUnavailableException: - -InvokeModelWithBidirectionalStreamOutputServiceUnavailableException -=================================================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputServiceUnavailableException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputThrottlingException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputThrottlingException.rst deleted file mode 100644 index d590204..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputThrottlingException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamOutputThrottlingException: - -InvokeModelWithBidirectionalStreamOutputThrottlingException -=========================================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputThrottlingException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputUnknown.rst deleted file mode 100644 index 2e19a67..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamOutputUnknown: - -InvokeModelWithBidirectionalStreamOutputUnknown -=============================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputValidationException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputValidationException.rst deleted file mode 100644 index 0350b5b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/InvokeModelWithBidirectionalStreamOutputValidationException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _InvokeModelWithBidirectionalStreamOutputValidationException: - -InvokeModelWithBidirectionalStreamOutputValidationException -=========================================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputValidationException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/Message.rst b/clients/aws-sdk-bedrock-runtime/docs/models/Message.rst deleted file mode 100644 index 63123be..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/Message.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -Message -======= - -.. autoclass:: aws_sdk_bedrock_runtime.models.Message - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/MessageStartEvent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/MessageStartEvent.rst deleted file mode 100644 index 87a90d7..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/MessageStartEvent.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -MessageStartEvent -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.MessageStartEvent - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/MessageStopEvent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/MessageStopEvent.rst deleted file mode 100644 index 29292c3..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/MessageStopEvent.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -MessageStopEvent -================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.MessageStopEvent - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ModelErrorException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ModelErrorException.rst deleted file mode 100644 index f2b340f..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ModelErrorException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ModelErrorException -=================== - -.. autoexception:: aws_sdk_bedrock_runtime.models.ModelErrorException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ModelNotReadyException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ModelNotReadyException.rst deleted file mode 100644 index e5a2dbc..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ModelNotReadyException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ModelNotReadyException -====================== - -.. autoexception:: aws_sdk_bedrock_runtime.models.ModelNotReadyException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ModelStreamErrorException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ModelStreamErrorException.rst deleted file mode 100644 index c743d6a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ModelStreamErrorException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ModelStreamErrorException -========================= - -.. autoexception:: aws_sdk_bedrock_runtime.models.ModelStreamErrorException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ModelTimeoutException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ModelTimeoutException.rst deleted file mode 100644 index edd1705..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ModelTimeoutException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ModelTimeoutException -===================== - -.. autoexception:: aws_sdk_bedrock_runtime.models.ModelTimeoutException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/PayloadPart.rst b/clients/aws-sdk-bedrock-runtime/docs/models/PayloadPart.rst deleted file mode 100644 index 1b3bd85..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/PayloadPart.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -PayloadPart -=========== - -.. autoclass:: aws_sdk_bedrock_runtime.models.PayloadPart - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/PerformanceConfiguration.rst b/clients/aws-sdk-bedrock-runtime/docs/models/PerformanceConfiguration.rst deleted file mode 100644 index c0a3a3a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/PerformanceConfiguration.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -PerformanceConfiguration -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.PerformanceConfiguration - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/PromptRouterTrace.rst b/clients/aws-sdk-bedrock-runtime/docs/models/PromptRouterTrace.rst deleted file mode 100644 index 92fa674..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/PromptRouterTrace.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -PromptRouterTrace -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.PromptRouterTrace - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/PromptVariableValues.rst b/clients/aws-sdk-bedrock-runtime/docs/models/PromptVariableValues.rst deleted file mode 100644 index 3625953..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/PromptVariableValues.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _PromptVariableValues: - -PromptVariableValues -==================== - -.. autodata:: aws_sdk_bedrock_runtime.models.PromptVariableValues diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/PromptVariableValuesText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/PromptVariableValuesText.rst deleted file mode 100644 index e6fb06c..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/PromptVariableValuesText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _PromptVariableValuesText: - -PromptVariableValuesText -======================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.PromptVariableValuesText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/PromptVariableValuesUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/PromptVariableValuesUnknown.rst deleted file mode 100644 index 7e6a5f3..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/PromptVariableValuesUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _PromptVariableValuesUnknown: - -PromptVariableValuesUnknown -=========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.PromptVariableValuesUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlock.rst deleted file mode 100644 index e9e4edd..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlock.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ReasoningContentBlock: - -ReasoningContentBlock -===================== - -.. autodata:: aws_sdk_bedrock_runtime.models.ReasoningContentBlock diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDelta.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDelta.rst deleted file mode 100644 index 57b690a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDelta.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ReasoningContentBlockDelta: - -ReasoningContentBlockDelta -========================== - -.. autodata:: aws_sdk_bedrock_runtime.models.ReasoningContentBlockDelta diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaRedactedContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaRedactedContent.rst deleted file mode 100644 index e8a4951..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaRedactedContent.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ReasoningContentBlockDeltaRedactedContent: - -ReasoningContentBlockDeltaRedactedContent -========================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ReasoningContentBlockDeltaRedactedContent diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaSignature.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaSignature.rst deleted file mode 100644 index d6f6174..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaSignature.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ReasoningContentBlockDeltaSignature: - -ReasoningContentBlockDeltaSignature -=================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ReasoningContentBlockDeltaSignature diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaText.rst deleted file mode 100644 index daf4023..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ReasoningContentBlockDeltaText: - -ReasoningContentBlockDeltaText -============================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ReasoningContentBlockDeltaText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaUnknown.rst deleted file mode 100644 index bc34156..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockDeltaUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ReasoningContentBlockDeltaUnknown: - -ReasoningContentBlockDeltaUnknown -================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ReasoningContentBlockDeltaUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockReasoningText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockReasoningText.rst deleted file mode 100644 index 94ebc72..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockReasoningText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ReasoningContentBlockReasoningText: - -ReasoningContentBlockReasoningText -================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ReasoningContentBlockReasoningText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockRedactedContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockRedactedContent.rst deleted file mode 100644 index 987e902..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockRedactedContent.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ReasoningContentBlockRedactedContent: - -ReasoningContentBlockRedactedContent -==================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ReasoningContentBlockRedactedContent diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockUnknown.rst deleted file mode 100644 index 983447b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningContentBlockUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ReasoningContentBlockUnknown: - -ReasoningContentBlockUnknown -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.ReasoningContentBlockUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningTextBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningTextBlock.rst deleted file mode 100644 index 444ad3d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ReasoningTextBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ReasoningTextBlock -================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ReasoningTextBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ResourceNotFoundException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ResourceNotFoundException.rst deleted file mode 100644 index 4444865..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ResourceNotFoundException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ResourceNotFoundException -========================= - -.. autoexception:: aws_sdk_bedrock_runtime.models.ResourceNotFoundException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStream.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStream.rst deleted file mode 100644 index 12413b3..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStream.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ResponseStream: - -ResponseStream -============== - -.. autodata:: aws_sdk_bedrock_runtime.models.ResponseStream diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamChunk.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamChunk.rst deleted file mode 100644 index 41cf601..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamChunk.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ResponseStreamChunk: - -ResponseStreamChunk -=================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ResponseStreamChunk diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamInternalServerException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamInternalServerException.rst deleted file mode 100644 index e257015..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamInternalServerException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ResponseStreamInternalServerException: - -ResponseStreamInternalServerException -===================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ResponseStreamInternalServerException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamModelStreamErrorException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamModelStreamErrorException.rst deleted file mode 100644 index 4639669..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamModelStreamErrorException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ResponseStreamModelStreamErrorException: - -ResponseStreamModelStreamErrorException -======================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ResponseStreamModelStreamErrorException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamModelTimeoutException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamModelTimeoutException.rst deleted file mode 100644 index a930a15..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamModelTimeoutException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ResponseStreamModelTimeoutException: - -ResponseStreamModelTimeoutException -=================================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ResponseStreamModelTimeoutException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamServiceUnavailableException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamServiceUnavailableException.rst deleted file mode 100644 index 0deeeeb..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamServiceUnavailableException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ResponseStreamServiceUnavailableException: - -ResponseStreamServiceUnavailableException -========================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ResponseStreamServiceUnavailableException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamThrottlingException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamThrottlingException.rst deleted file mode 100644 index f75a57c..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamThrottlingException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ResponseStreamThrottlingException: - -ResponseStreamThrottlingException -================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ResponseStreamThrottlingException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamUnknown.rst deleted file mode 100644 index 2d24960..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ResponseStreamUnknown: - -ResponseStreamUnknown -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ResponseStreamUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamValidationException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamValidationException.rst deleted file mode 100644 index 9030929..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ResponseStreamValidationException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ResponseStreamValidationException: - -ResponseStreamValidationException -================================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ResponseStreamValidationException diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/S3Location.rst b/clients/aws-sdk-bedrock-runtime/docs/models/S3Location.rst deleted file mode 100644 index 30ee62e..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/S3Location.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -S3Location -========== - -.. autoclass:: aws_sdk_bedrock_runtime.models.S3Location - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ServiceQuotaExceededException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ServiceQuotaExceededException.rst deleted file mode 100644 index f89199a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ServiceQuotaExceededException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ServiceQuotaExceededException -============================= - -.. autoexception:: aws_sdk_bedrock_runtime.models.ServiceQuotaExceededException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ServiceUnavailableException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ServiceUnavailableException.rst deleted file mode 100644 index 0cce1af..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ServiceUnavailableException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ServiceUnavailableException -=========================== - -.. autoexception:: aws_sdk_bedrock_runtime.models.ServiceUnavailableException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/SpecificToolChoice.rst b/clients/aws-sdk-bedrock-runtime/docs/models/SpecificToolChoice.rst deleted file mode 100644 index 1d1e095..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/SpecificToolChoice.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -SpecificToolChoice -================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.SpecificToolChoice - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlock.rst deleted file mode 100644 index bc0affa..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlock.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _SystemContentBlock: - -SystemContentBlock -================== - -.. autodata:: aws_sdk_bedrock_runtime.models.SystemContentBlock diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockCachePoint.rst b/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockCachePoint.rst deleted file mode 100644 index 815bab2..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockCachePoint.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _SystemContentBlockCachePoint: - -SystemContentBlockCachePoint -============================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.SystemContentBlockCachePoint diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockGuardContent.rst b/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockGuardContent.rst deleted file mode 100644 index b13f4f1..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockGuardContent.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _SystemContentBlockGuardContent: - -SystemContentBlockGuardContent -============================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.SystemContentBlockGuardContent diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockText.rst deleted file mode 100644 index d683f3d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _SystemContentBlockText: - -SystemContentBlockText -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.SystemContentBlockText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockUnknown.rst deleted file mode 100644 index 875b849..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/SystemContentBlockUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _SystemContentBlockUnknown: - -SystemContentBlockUnknown -========================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.SystemContentBlockUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/Tag.rst b/clients/aws-sdk-bedrock-runtime/docs/models/Tag.rst deleted file mode 100644 index 1bd811a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/Tag.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -Tag -=== - -.. autoclass:: aws_sdk_bedrock_runtime.models.Tag - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ThrottlingException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ThrottlingException.rst deleted file mode 100644 index e9d6e99..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ThrottlingException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ThrottlingException -=================== - -.. autoexception:: aws_sdk_bedrock_runtime.models.ThrottlingException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/TokenUsage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/TokenUsage.rst deleted file mode 100644 index 90f47a0..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/TokenUsage.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -TokenUsage -========== - -.. autoclass:: aws_sdk_bedrock_runtime.models.TokenUsage - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/Tool.rst b/clients/aws-sdk-bedrock-runtime/docs/models/Tool.rst deleted file mode 100644 index 5c10016..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/Tool.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _Tool: - -Tool -==== - -.. autodata:: aws_sdk_bedrock_runtime.models.Tool diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolCachePoint.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolCachePoint.rst deleted file mode 100644 index 5e77fa4..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolCachePoint.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolCachePoint: - -ToolCachePoint -============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolCachePoint diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoice.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoice.rst deleted file mode 100644 index 7070d2a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoice.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolChoice: - -ToolChoice -========== - -.. autodata:: aws_sdk_bedrock_runtime.models.ToolChoice diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceAny.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceAny.rst deleted file mode 100644 index a85d53d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceAny.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolChoiceAny: - -ToolChoiceAny -============= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolChoiceAny diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceAuto.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceAuto.rst deleted file mode 100644 index 393479b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceAuto.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolChoiceAuto: - -ToolChoiceAuto -============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolChoiceAuto diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceTool.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceTool.rst deleted file mode 100644 index 0fd05e8..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceTool.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolChoiceTool: - -ToolChoiceTool -============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolChoiceTool diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceUnknown.rst deleted file mode 100644 index 71716bb..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolChoiceUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolChoiceUnknown: - -ToolChoiceUnknown -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolChoiceUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolConfiguration.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolConfiguration.rst deleted file mode 100644 index aed2dab..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolConfiguration.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ToolConfiguration -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolConfiguration - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolInputSchema.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolInputSchema.rst deleted file mode 100644 index d55d131..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolInputSchema.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolInputSchema: - -ToolInputSchema -=============== - -.. autodata:: aws_sdk_bedrock_runtime.models.ToolInputSchema diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolInputSchemaJson.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolInputSchemaJson.rst deleted file mode 100644 index 4a61440..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolInputSchemaJson.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolInputSchemaJson: - -ToolInputSchemaJson -=================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolInputSchemaJson diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolInputSchemaUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolInputSchemaUnknown.rst deleted file mode 100644 index 8a5c249..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolInputSchemaUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolInputSchemaUnknown: - -ToolInputSchemaUnknown -====================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolInputSchemaUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultBlock.rst deleted file mode 100644 index 178ae5c..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ToolResultBlock -=============== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolResultBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlock.rst deleted file mode 100644 index 5e63d0d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlock.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolResultContentBlock: - -ToolResultContentBlock -====================== - -.. autodata:: aws_sdk_bedrock_runtime.models.ToolResultContentBlock diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockDocument.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockDocument.rst deleted file mode 100644 index 69f675b..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockDocument.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolResultContentBlockDocument: - -ToolResultContentBlockDocument -============================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolResultContentBlockDocument diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockImage.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockImage.rst deleted file mode 100644 index a900728..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockImage.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolResultContentBlockImage: - -ToolResultContentBlockImage -=========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolResultContentBlockImage diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockJson.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockJson.rst deleted file mode 100644 index 9c40307..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockJson.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolResultContentBlockJson: - -ToolResultContentBlockJson -========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolResultContentBlockJson diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockText.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockText.rst deleted file mode 100644 index a28a68a..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockText.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolResultContentBlockText: - -ToolResultContentBlockText -========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolResultContentBlockText diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockUnknown.rst deleted file mode 100644 index d44cc05..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolResultContentBlockUnknown: - -ToolResultContentBlockUnknown -============================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolResultContentBlockUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockVideo.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockVideo.rst deleted file mode 100644 index 35eef9e..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolResultContentBlockVideo.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolResultContentBlockVideo: - -ToolResultContentBlockVideo -=========================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolResultContentBlockVideo diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolSpecification.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolSpecification.rst deleted file mode 100644 index d8606c3..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolSpecification.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ToolSpecification -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolSpecification - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolToolSpec.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolToolSpec.rst deleted file mode 100644 index 3e40d45..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolToolSpec.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolToolSpec: - -ToolToolSpec -============ - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolToolSpec diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolUnknown.rst deleted file mode 100644 index e930183..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _ToolUnknown: - -ToolUnknown -=========== - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolUseBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolUseBlock.rst deleted file mode 100644 index 25e6957..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolUseBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ToolUseBlock -============ - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolUseBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolUseBlockDelta.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolUseBlockDelta.rst deleted file mode 100644 index 98c1fbd..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolUseBlockDelta.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ToolUseBlockDelta -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolUseBlockDelta - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ToolUseBlockStart.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ToolUseBlockStart.rst deleted file mode 100644 index 44872cf..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ToolUseBlockStart.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ToolUseBlockStart -================= - -.. autoclass:: aws_sdk_bedrock_runtime.models.ToolUseBlockStart - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/ValidationException.rst b/clients/aws-sdk-bedrock-runtime/docs/models/ValidationException.rst deleted file mode 100644 index f0648a9..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/ValidationException.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -ValidationException -=================== - -.. autoexception:: aws_sdk_bedrock_runtime.models.ValidationException - :members: - :show-inheritance: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/VideoBlock.rst b/clients/aws-sdk-bedrock-runtime/docs/models/VideoBlock.rst deleted file mode 100644 index 03f536d..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/VideoBlock.rst +++ /dev/null @@ -1,8 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -VideoBlock -========== - -.. autoclass:: aws_sdk_bedrock_runtime.models.VideoBlock - :members: diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/VideoSource.rst b/clients/aws-sdk-bedrock-runtime/docs/models/VideoSource.rst deleted file mode 100644 index 43551dc..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/VideoSource.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _VideoSource: - -VideoSource -=========== - -.. autodata:: aws_sdk_bedrock_runtime.models.VideoSource diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/VideoSourceBytes.rst b/clients/aws-sdk-bedrock-runtime/docs/models/VideoSourceBytes.rst deleted file mode 100644 index 61aa347..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/VideoSourceBytes.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _VideoSourceBytes: - -VideoSourceBytes -================ - -.. autoclass:: aws_sdk_bedrock_runtime.models.VideoSourceBytes diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/VideoSourceS3Location.rst b/clients/aws-sdk-bedrock-runtime/docs/models/VideoSourceS3Location.rst deleted file mode 100644 index 759b551..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/VideoSourceS3Location.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _VideoSourceS3Location: - -VideoSourceS3Location -===================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.VideoSourceS3Location diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/VideoSourceUnknown.rst b/clients/aws-sdk-bedrock-runtime/docs/models/VideoSourceUnknown.rst deleted file mode 100644 index 9748ead..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/VideoSourceUnknown.rst +++ /dev/null @@ -1,9 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -.. _VideoSourceUnknown: - -VideoSourceUnknown -================== - -.. autoclass:: aws_sdk_bedrock_runtime.models.VideoSourceUnknown diff --git a/clients/aws-sdk-bedrock-runtime/docs/models/index.rst b/clients/aws-sdk-bedrock-runtime/docs/models/index.rst deleted file mode 100644 index c403929..0000000 --- a/clients/aws-sdk-bedrock-runtime/docs/models/index.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. - Code generated by smithy-python-codegen DO NOT EDIT. - -Models -======= -.. toctree:: - :maxdepth: 1 - :titlesonly: - :glob: - - * diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/__init__.py b/clients/aws-sdk-bedrock-runtime/docs/operations/__init__.py new file mode 100644 index 0000000..247be3e --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/__init__.py @@ -0,0 +1 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/apply_guardrail.md b/clients/aws-sdk-bedrock-runtime/docs/operations/apply_guardrail.md new file mode 100644 index 0000000..9c8df10 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/apply_guardrail.md @@ -0,0 +1,35 @@ +# apply_guardrail + +## Operation + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.apply_guardrail + options: + heading_level: 3 + +## Input + +::: aws_sdk_bedrock_runtime.models.ApplyGuardrailInput + options: + heading_level: 3 + +## Output + +::: aws_sdk_bedrock_runtime.models.ApplyGuardrailOutput + options: + heading_level: 3 + +## Errors + +- [`AccessDeniedException`](../errors/AccessDeniedException.md) + +- [`InternalServerException`](../errors/InternalServerException.md) + +- [`ResourceNotFoundException`](../errors/ResourceNotFoundException.md) + +- [`ServiceQuotaExceededException`](../errors/ServiceQuotaExceededException.md) + +- [`ServiceUnavailableException`](../errors/ServiceUnavailableException.md) + +- [`ThrottlingException`](../errors/ThrottlingException.md) + +- [`ValidationException`](../errors/ValidationException.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/converse.md b/clients/aws-sdk-bedrock-runtime/docs/operations/converse.md new file mode 100644 index 0000000..9872a71 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/converse.md @@ -0,0 +1,39 @@ +# converse + +## Operation + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.converse + options: + heading_level: 3 + +## Input + +::: aws_sdk_bedrock_runtime.models.ConverseInput + options: + heading_level: 3 + +## Output + +::: aws_sdk_bedrock_runtime.models.ConverseOperationOutput + options: + heading_level: 3 + +## Errors + +- [`AccessDeniedException`](../errors/AccessDeniedException.md) + +- [`InternalServerException`](../errors/InternalServerException.md) + +- [`ModelErrorException`](../errors/ModelErrorException.md) + +- [`ModelNotReadyException`](../errors/ModelNotReadyException.md) + +- [`ModelTimeoutException`](../errors/ModelTimeoutException.md) + +- [`ResourceNotFoundException`](../errors/ResourceNotFoundException.md) + +- [`ServiceUnavailableException`](../errors/ServiceUnavailableException.md) + +- [`ThrottlingException`](../errors/ThrottlingException.md) + +- [`ValidationException`](../errors/ValidationException.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/converse_stream.md b/clients/aws-sdk-bedrock-runtime/docs/operations/converse_stream.md new file mode 100644 index 0000000..763e87b --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/converse_stream.md @@ -0,0 +1,49 @@ +# converse_stream + +## Operation + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.converse_stream + options: + heading_level: 3 + +## Input + +::: aws_sdk_bedrock_runtime.models.ConverseStreamInput + options: + heading_level: 3 + +## Output + +This operation returns an `OutputEventStream` for server-to-client streaming. + +### Event Stream Structure + +#### Output Event Type + +[`ConverseStreamOutput`](../unions/ConverseStreamOutput.md) + +### Initial Response Structure + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOperationOutput + options: + heading_level: 4 + +## Errors + +- [`AccessDeniedException`](../errors/AccessDeniedException.md) + +- [`InternalServerException`](../errors/InternalServerException.md) + +- [`ModelErrorException`](../errors/ModelErrorException.md) + +- [`ModelNotReadyException`](../errors/ModelNotReadyException.md) + +- [`ModelTimeoutException`](../errors/ModelTimeoutException.md) + +- [`ResourceNotFoundException`](../errors/ResourceNotFoundException.md) + +- [`ServiceUnavailableException`](../errors/ServiceUnavailableException.md) + +- [`ThrottlingException`](../errors/ThrottlingException.md) + +- [`ValidationException`](../errors/ValidationException.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/count_tokens.md b/clients/aws-sdk-bedrock-runtime/docs/operations/count_tokens.md new file mode 100644 index 0000000..3d177d1 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/count_tokens.md @@ -0,0 +1,33 @@ +# count_tokens + +## Operation + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.count_tokens + options: + heading_level: 3 + +## Input + +::: aws_sdk_bedrock_runtime.models.CountTokensOperationInput + options: + heading_level: 3 + +## Output + +::: aws_sdk_bedrock_runtime.models.CountTokensOutput + options: + heading_level: 3 + +## Errors + +- [`AccessDeniedException`](../errors/AccessDeniedException.md) + +- [`InternalServerException`](../errors/InternalServerException.md) + +- [`ResourceNotFoundException`](../errors/ResourceNotFoundException.md) + +- [`ServiceUnavailableException`](../errors/ServiceUnavailableException.md) + +- [`ThrottlingException`](../errors/ThrottlingException.md) + +- [`ValidationException`](../errors/ValidationException.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/get_async_invoke.md b/clients/aws-sdk-bedrock-runtime/docs/operations/get_async_invoke.md new file mode 100644 index 0000000..4fff41d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/get_async_invoke.md @@ -0,0 +1,29 @@ +# get_async_invoke + +## Operation + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.get_async_invoke + options: + heading_level: 3 + +## Input + +::: aws_sdk_bedrock_runtime.models.GetAsyncInvokeInput + options: + heading_level: 3 + +## Output + +::: aws_sdk_bedrock_runtime.models.GetAsyncInvokeOutput + options: + heading_level: 3 + +## Errors + +- [`AccessDeniedException`](../errors/AccessDeniedException.md) + +- [`InternalServerException`](../errors/InternalServerException.md) + +- [`ThrottlingException`](../errors/ThrottlingException.md) + +- [`ValidationException`](../errors/ValidationException.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/invoke_model.md b/clients/aws-sdk-bedrock-runtime/docs/operations/invoke_model.md new file mode 100644 index 0000000..0318e91 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/invoke_model.md @@ -0,0 +1,41 @@ +# invoke_model + +## Operation + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.invoke_model + options: + heading_level: 3 + +## Input + +::: aws_sdk_bedrock_runtime.models.InvokeModelInput + options: + heading_level: 3 + +## Output + +::: aws_sdk_bedrock_runtime.models.InvokeModelOutput + options: + heading_level: 3 + +## Errors + +- [`AccessDeniedException`](../errors/AccessDeniedException.md) + +- [`InternalServerException`](../errors/InternalServerException.md) + +- [`ModelErrorException`](../errors/ModelErrorException.md) + +- [`ModelNotReadyException`](../errors/ModelNotReadyException.md) + +- [`ModelTimeoutException`](../errors/ModelTimeoutException.md) + +- [`ResourceNotFoundException`](../errors/ResourceNotFoundException.md) + +- [`ServiceQuotaExceededException`](../errors/ServiceQuotaExceededException.md) + +- [`ServiceUnavailableException`](../errors/ServiceUnavailableException.md) + +- [`ThrottlingException`](../errors/ThrottlingException.md) + +- [`ValidationException`](../errors/ValidationException.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/invoke_model_with_bidirectional_stream.md b/clients/aws-sdk-bedrock-runtime/docs/operations/invoke_model_with_bidirectional_stream.md new file mode 100644 index 0000000..e547e46 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/invoke_model_with_bidirectional_stream.md @@ -0,0 +1,57 @@ +# invoke_model_with_bidirectional_stream + +## Operation + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.invoke_model_with_bidirectional_stream + options: + heading_level: 3 + +## Input + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOperationInput + options: + heading_level: 3 + +## Output + +This operation returns a `DuplexEventStream` for bidirectional streaming. + +### Event Stream Structure + +#### Input Event Type + +[`InvokeModelWithBidirectionalStreamInput`](../unions/InvokeModelWithBidirectionalStreamInput.md) + +#### Output Event Type + +[`InvokeModelWithBidirectionalStreamOutput`](../unions/InvokeModelWithBidirectionalStreamOutput.md) + +### Initial Response Structure + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOperationOutput + options: + heading_level: 4 + +## Errors + +- [`AccessDeniedException`](../errors/AccessDeniedException.md) + +- [`InternalServerException`](../errors/InternalServerException.md) + +- [`ModelErrorException`](../errors/ModelErrorException.md) + +- [`ModelNotReadyException`](../errors/ModelNotReadyException.md) + +- [`ModelStreamErrorException`](../errors/ModelStreamErrorException.md) + +- [`ModelTimeoutException`](../errors/ModelTimeoutException.md) + +- [`ResourceNotFoundException`](../errors/ResourceNotFoundException.md) + +- [`ServiceQuotaExceededException`](../errors/ServiceQuotaExceededException.md) + +- [`ServiceUnavailableException`](../errors/ServiceUnavailableException.md) + +- [`ThrottlingException`](../errors/ThrottlingException.md) + +- [`ValidationException`](../errors/ValidationException.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/invoke_model_with_response_stream.md b/clients/aws-sdk-bedrock-runtime/docs/operations/invoke_model_with_response_stream.md new file mode 100644 index 0000000..f102096 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/invoke_model_with_response_stream.md @@ -0,0 +1,53 @@ +# invoke_model_with_response_stream + +## Operation + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.invoke_model_with_response_stream + options: + heading_level: 3 + +## Input + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithResponseStreamInput + options: + heading_level: 3 + +## Output + +This operation returns an `OutputEventStream` for server-to-client streaming. + +### Event Stream Structure + +#### Output Event Type + +[`ResponseStream`](../unions/ResponseStream.md) + +### Initial Response Structure + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithResponseStreamOutput + options: + heading_level: 4 + +## Errors + +- [`AccessDeniedException`](../errors/AccessDeniedException.md) + +- [`InternalServerException`](../errors/InternalServerException.md) + +- [`ModelErrorException`](../errors/ModelErrorException.md) + +- [`ModelNotReadyException`](../errors/ModelNotReadyException.md) + +- [`ModelStreamErrorException`](../errors/ModelStreamErrorException.md) + +- [`ModelTimeoutException`](../errors/ModelTimeoutException.md) + +- [`ResourceNotFoundException`](../errors/ResourceNotFoundException.md) + +- [`ServiceQuotaExceededException`](../errors/ServiceQuotaExceededException.md) + +- [`ServiceUnavailableException`](../errors/ServiceUnavailableException.md) + +- [`ThrottlingException`](../errors/ThrottlingException.md) + +- [`ValidationException`](../errors/ValidationException.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/list_async_invokes.md b/clients/aws-sdk-bedrock-runtime/docs/operations/list_async_invokes.md new file mode 100644 index 0000000..9258ef4 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/list_async_invokes.md @@ -0,0 +1,29 @@ +# list_async_invokes + +## Operation + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.list_async_invokes + options: + heading_level: 3 + +## Input + +::: aws_sdk_bedrock_runtime.models.ListAsyncInvokesInput + options: + heading_level: 3 + +## Output + +::: aws_sdk_bedrock_runtime.models.ListAsyncInvokesOutput + options: + heading_level: 3 + +## Errors + +- [`AccessDeniedException`](../errors/AccessDeniedException.md) + +- [`InternalServerException`](../errors/InternalServerException.md) + +- [`ThrottlingException`](../errors/ThrottlingException.md) + +- [`ValidationException`](../errors/ValidationException.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/operations/start_async_invoke.md b/clients/aws-sdk-bedrock-runtime/docs/operations/start_async_invoke.md new file mode 100644 index 0000000..95bb22a --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/operations/start_async_invoke.md @@ -0,0 +1,37 @@ +# start_async_invoke + +## Operation + +::: aws_sdk_bedrock_runtime.client.BedrockRuntimeClient.start_async_invoke + options: + heading_level: 3 + +## Input + +::: aws_sdk_bedrock_runtime.models.StartAsyncInvokeInput + options: + heading_level: 3 + +## Output + +::: aws_sdk_bedrock_runtime.models.StartAsyncInvokeOutput + options: + heading_level: 3 + +## Errors + +- [`AccessDeniedException`](../errors/AccessDeniedException.md) + +- [`ConflictException`](../errors/ConflictException.md) + +- [`InternalServerException`](../errors/InternalServerException.md) + +- [`ResourceNotFoundException`](../errors/ResourceNotFoundException.md) + +- [`ServiceQuotaExceededException`](../errors/ServiceQuotaExceededException.md) + +- [`ServiceUnavailableException`](../errors/ServiceUnavailableException.md) + +- [`ThrottlingException`](../errors/ThrottlingException.md) + +- [`ValidationException`](../errors/ValidationException.md) diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/AnyToolChoice.md b/clients/aws-sdk-bedrock-runtime/docs/structures/AnyToolChoice.md new file mode 100644 index 0000000..8e93035 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/AnyToolChoice.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.AnyToolChoice + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/AsyncInvokeS3OutputDataConfig.md b/clients/aws-sdk-bedrock-runtime/docs/structures/AsyncInvokeS3OutputDataConfig.md new file mode 100644 index 0000000..58758b8 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/AsyncInvokeS3OutputDataConfig.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.AsyncInvokeS3OutputDataConfig + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/AsyncInvokeSummary.md b/clients/aws-sdk-bedrock-runtime/docs/structures/AsyncInvokeSummary.md new file mode 100644 index 0000000..174d17e --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/AsyncInvokeSummary.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.AsyncInvokeSummary + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/AutoToolChoice.md b/clients/aws-sdk-bedrock-runtime/docs/structures/AutoToolChoice.md new file mode 100644 index 0000000..d09a8d9 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/AutoToolChoice.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.AutoToolChoice + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/BidirectionalInputPayloadPart.md b/clients/aws-sdk-bedrock-runtime/docs/structures/BidirectionalInputPayloadPart.md new file mode 100644 index 0000000..1f122be --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/BidirectionalInputPayloadPart.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.BidirectionalInputPayloadPart + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/BidirectionalOutputPayloadPart.md b/clients/aws-sdk-bedrock-runtime/docs/structures/BidirectionalOutputPayloadPart.md new file mode 100644 index 0000000..8cfbe3a --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/BidirectionalOutputPayloadPart.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.BidirectionalOutputPayloadPart + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/CachePointBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/CachePointBlock.md new file mode 100644 index 0000000..0dde383 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/CachePointBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.CachePointBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/Citation.md b/clients/aws-sdk-bedrock-runtime/docs/structures/Citation.md new file mode 100644 index 0000000..aba8553 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/Citation.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.Citation + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/CitationSourceContentDelta.md b/clients/aws-sdk-bedrock-runtime/docs/structures/CitationSourceContentDelta.md new file mode 100644 index 0000000..c69dd2b --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/CitationSourceContentDelta.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.CitationSourceContentDelta + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/CitationsConfig.md b/clients/aws-sdk-bedrock-runtime/docs/structures/CitationsConfig.md new file mode 100644 index 0000000..28dd69d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/CitationsConfig.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.CitationsConfig + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/CitationsContentBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/CitationsContentBlock.md new file mode 100644 index 0000000..4ad82dd --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/CitationsContentBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.CitationsContentBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/CitationsDelta.md b/clients/aws-sdk-bedrock-runtime/docs/structures/CitationsDelta.md new file mode 100644 index 0000000..5f060c9 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/CitationsDelta.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.CitationsDelta + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ContentBlockDeltaEvent.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ContentBlockDeltaEvent.md new file mode 100644 index 0000000..3c9eaf3 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ContentBlockDeltaEvent.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ContentBlockDeltaEvent + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ContentBlockStartEvent.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ContentBlockStartEvent.md new file mode 100644 index 0000000..9e50c6e --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ContentBlockStartEvent.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ContentBlockStartEvent + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ContentBlockStopEvent.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ContentBlockStopEvent.md new file mode 100644 index 0000000..c64bdee --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ContentBlockStopEvent.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ContentBlockStopEvent + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseMetrics.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseMetrics.md new file mode 100644 index 0000000..2bd175a --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseMetrics.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ConverseMetrics + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseStreamMetadataEvent.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseStreamMetadataEvent.md new file mode 100644 index 0000000..da2b2bd --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseStreamMetadataEvent.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ConverseStreamMetadataEvent + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseStreamMetrics.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseStreamMetrics.md new file mode 100644 index 0000000..0af5f25 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseStreamMetrics.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ConverseStreamMetrics + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseStreamTrace.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseStreamTrace.md new file mode 100644 index 0000000..3decc5d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseStreamTrace.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ConverseStreamTrace + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseTokensRequest.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseTokensRequest.md new file mode 100644 index 0000000..dcadef4 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseTokensRequest.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ConverseTokensRequest + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseTrace.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseTrace.md new file mode 100644 index 0000000..8fa6359 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ConverseTrace.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ConverseTrace + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentBlock.md new file mode 100644 index 0000000..2b1d54f --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.DocumentBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentCharLocation.md b/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentCharLocation.md new file mode 100644 index 0000000..603dfad --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentCharLocation.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.DocumentCharLocation + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentChunkLocation.md b/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentChunkLocation.md new file mode 100644 index 0000000..a962738 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentChunkLocation.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.DocumentChunkLocation + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentPageLocation.md b/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentPageLocation.md new file mode 100644 index 0000000..7a7d8cd --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/DocumentPageLocation.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.DocumentPageLocation + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAssessment.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAssessment.md new file mode 100644 index 0000000..7333408 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAssessment.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAssessment + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningImpossibleFinding.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningImpossibleFinding.md new file mode 100644 index 0000000..fa3dffd --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningImpossibleFinding.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningImpossibleFinding + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningInputTextReference.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningInputTextReference.md new file mode 100644 index 0000000..a0d5908 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningInputTextReference.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningInputTextReference + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningInvalidFinding.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningInvalidFinding.md new file mode 100644 index 0000000..9bd12cb --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningInvalidFinding.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningInvalidFinding + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningLogicWarning.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningLogicWarning.md new file mode 100644 index 0000000..34036e4 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningLogicWarning.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningLogicWarning + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningNoTranslationsFinding.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningNoTranslationsFinding.md new file mode 100644 index 0000000..1a656d7 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningNoTranslationsFinding.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningNoTranslationsFinding + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningPolicyAssessment.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningPolicyAssessment.md new file mode 100644 index 0000000..b683468 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningPolicyAssessment.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningPolicyAssessment + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningRule.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningRule.md new file mode 100644 index 0000000..d1e8040 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningRule.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningRule + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningSatisfiableFinding.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningSatisfiableFinding.md new file mode 100644 index 0000000..4ec0020 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningSatisfiableFinding.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningSatisfiableFinding + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningScenario.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningScenario.md new file mode 100644 index 0000000..9917c21 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningScenario.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningScenario + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningStatement.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningStatement.md new file mode 100644 index 0000000..1bee76e --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningStatement.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningStatement + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTooComplexFinding.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTooComplexFinding.md new file mode 100644 index 0000000..37622a7 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTooComplexFinding.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningTooComplexFinding + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTranslation.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTranslation.md new file mode 100644 index 0000000..084ca17 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTranslation.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningTranslation + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTranslationAmbiguousFinding.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTranslationAmbiguousFinding.md new file mode 100644 index 0000000..596be12 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTranslationAmbiguousFinding.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningTranslationAmbiguousFinding + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTranslationOption.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTranslationOption.md new file mode 100644 index 0000000..8cfed45 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningTranslationOption.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningTranslationOption + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningValidFinding.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningValidFinding.md new file mode 100644 index 0000000..24da17f --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailAutomatedReasoningValidFinding.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningValidFinding + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailConfiguration.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailConfiguration.md new file mode 100644 index 0000000..90b6a9f --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailConfiguration.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailConfiguration + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContentFilter.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContentFilter.md new file mode 100644 index 0000000..80aee85 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContentFilter.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContentFilter + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContentPolicyAssessment.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContentPolicyAssessment.md new file mode 100644 index 0000000..bc5f61f --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContentPolicyAssessment.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContentPolicyAssessment + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContextualGroundingFilter.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContextualGroundingFilter.md new file mode 100644 index 0000000..7505ada --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContextualGroundingFilter.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContextualGroundingFilter + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContextualGroundingPolicyAssessment.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContextualGroundingPolicyAssessment.md new file mode 100644 index 0000000..7e3c05a --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailContextualGroundingPolicyAssessment.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContextualGroundingPolicyAssessment + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailConverseImageBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailConverseImageBlock.md new file mode 100644 index 0000000..818768c --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailConverseImageBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailConverseImageBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailConverseTextBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailConverseTextBlock.md new file mode 100644 index 0000000..fa437b1 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailConverseTextBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailConverseTextBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailCoverage.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailCoverage.md new file mode 100644 index 0000000..3afdc8d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailCoverage.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailCoverage + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailCustomWord.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailCustomWord.md new file mode 100644 index 0000000..55361f0 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailCustomWord.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailCustomWord + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailImageBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailImageBlock.md new file mode 100644 index 0000000..0709b2a --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailImageBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailImageBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailImageCoverage.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailImageCoverage.md new file mode 100644 index 0000000..55b18e1 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailImageCoverage.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailImageCoverage + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailInvocationMetrics.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailInvocationMetrics.md new file mode 100644 index 0000000..f208126 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailInvocationMetrics.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailInvocationMetrics + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailManagedWord.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailManagedWord.md new file mode 100644 index 0000000..a16ed9a --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailManagedWord.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailManagedWord + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailOutputContent.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailOutputContent.md new file mode 100644 index 0000000..788e41f --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailOutputContent.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailOutputContent + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailPiiEntityFilter.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailPiiEntityFilter.md new file mode 100644 index 0000000..5a1cb72 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailPiiEntityFilter.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailPiiEntityFilter + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailRegexFilter.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailRegexFilter.md new file mode 100644 index 0000000..ae8fa82 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailRegexFilter.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailRegexFilter + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailSensitiveInformationPolicyAssessment.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailSensitiveInformationPolicyAssessment.md new file mode 100644 index 0000000..0ed0273 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailSensitiveInformationPolicyAssessment.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailSensitiveInformationPolicyAssessment + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailStreamConfiguration.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailStreamConfiguration.md new file mode 100644 index 0000000..ef25894 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailStreamConfiguration.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailStreamConfiguration + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTextBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTextBlock.md new file mode 100644 index 0000000..b9af094 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTextBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailTextBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTextCharactersCoverage.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTextCharactersCoverage.md new file mode 100644 index 0000000..606e620 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTextCharactersCoverage.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailTextCharactersCoverage + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTopic.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTopic.md new file mode 100644 index 0000000..5387a74 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTopic.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailTopic + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTopicPolicyAssessment.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTopicPolicyAssessment.md new file mode 100644 index 0000000..95b15d6 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTopicPolicyAssessment.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailTopicPolicyAssessment + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTraceAssessment.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTraceAssessment.md new file mode 100644 index 0000000..0b41f53 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailTraceAssessment.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailTraceAssessment + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailUsage.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailUsage.md new file mode 100644 index 0000000..66fdaf1 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailUsage.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailUsage + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailWordPolicyAssessment.md b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailWordPolicyAssessment.md new file mode 100644 index 0000000..fee3ffa --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/GuardrailWordPolicyAssessment.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailWordPolicyAssessment + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ImageBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ImageBlock.md new file mode 100644 index 0000000..8a58b42 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ImageBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ImageBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/InferenceConfiguration.md b/clients/aws-sdk-bedrock-runtime/docs/structures/InferenceConfiguration.md new file mode 100644 index 0000000..02fd660 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/InferenceConfiguration.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.InferenceConfiguration + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/InvokeModelTokensRequest.md b/clients/aws-sdk-bedrock-runtime/docs/structures/InvokeModelTokensRequest.md new file mode 100644 index 0000000..1f66183 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/InvokeModelTokensRequest.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.InvokeModelTokensRequest + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/Message.md b/clients/aws-sdk-bedrock-runtime/docs/structures/Message.md new file mode 100644 index 0000000..09c472c --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/Message.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.Message + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/MessageStartEvent.md b/clients/aws-sdk-bedrock-runtime/docs/structures/MessageStartEvent.md new file mode 100644 index 0000000..f0ea141 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/MessageStartEvent.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.MessageStartEvent + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/MessageStopEvent.md b/clients/aws-sdk-bedrock-runtime/docs/structures/MessageStopEvent.md new file mode 100644 index 0000000..a94eddc --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/MessageStopEvent.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.MessageStopEvent + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/PayloadPart.md b/clients/aws-sdk-bedrock-runtime/docs/structures/PayloadPart.md new file mode 100644 index 0000000..505f455 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/PayloadPart.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.PayloadPart + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/PerformanceConfiguration.md b/clients/aws-sdk-bedrock-runtime/docs/structures/PerformanceConfiguration.md new file mode 100644 index 0000000..5e542ad --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/PerformanceConfiguration.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.PerformanceConfiguration + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/PromptRouterTrace.md b/clients/aws-sdk-bedrock-runtime/docs/structures/PromptRouterTrace.md new file mode 100644 index 0000000..b63acc8 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/PromptRouterTrace.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.PromptRouterTrace + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ReasoningTextBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ReasoningTextBlock.md new file mode 100644 index 0000000..11cd1e8 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ReasoningTextBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ReasoningTextBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/S3Location.md b/clients/aws-sdk-bedrock-runtime/docs/structures/S3Location.md new file mode 100644 index 0000000..bc781ba --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/S3Location.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.S3Location + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/SpecificToolChoice.md b/clients/aws-sdk-bedrock-runtime/docs/structures/SpecificToolChoice.md new file mode 100644 index 0000000..ddf277f --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/SpecificToolChoice.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.SpecificToolChoice + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/SystemTool.md b/clients/aws-sdk-bedrock-runtime/docs/structures/SystemTool.md new file mode 100644 index 0000000..844fd61 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/SystemTool.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.SystemTool + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/Tag.md b/clients/aws-sdk-bedrock-runtime/docs/structures/Tag.md new file mode 100644 index 0000000..c0437a4 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/Tag.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.Tag + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/TokenUsage.md b/clients/aws-sdk-bedrock-runtime/docs/structures/TokenUsage.md new file mode 100644 index 0000000..1316c24 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/TokenUsage.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.TokenUsage + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ToolConfiguration.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolConfiguration.md new file mode 100644 index 0000000..8f99b3e --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolConfiguration.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ToolConfiguration + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ToolResultBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolResultBlock.md new file mode 100644 index 0000000..f03cc2e --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolResultBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ToolResultBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ToolResultBlockStart.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolResultBlockStart.md new file mode 100644 index 0000000..9d54a47 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolResultBlockStart.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ToolResultBlockStart + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ToolSpecification.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolSpecification.md new file mode 100644 index 0000000..091e494 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolSpecification.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ToolSpecification + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ToolUseBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolUseBlock.md new file mode 100644 index 0000000..147542a --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolUseBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ToolUseBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ToolUseBlockDelta.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolUseBlockDelta.md new file mode 100644 index 0000000..2f97e2d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolUseBlockDelta.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ToolUseBlockDelta + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/ToolUseBlockStart.md b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolUseBlockStart.md new file mode 100644 index 0000000..27c698d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/ToolUseBlockStart.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.ToolUseBlockStart + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/VideoBlock.md b/clients/aws-sdk-bedrock-runtime/docs/structures/VideoBlock.md new file mode 100644 index 0000000..ca39b30 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/VideoBlock.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.VideoBlock + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/WebLocation.md b/clients/aws-sdk-bedrock-runtime/docs/structures/WebLocation.md new file mode 100644 index 0000000..cf290fe --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/WebLocation.md @@ -0,0 +1,3 @@ +::: aws_sdk_bedrock_runtime.models.WebLocation + options: + heading_level: 1 diff --git a/clients/aws-sdk-bedrock-runtime/docs/structures/__init__.py b/clients/aws-sdk-bedrock-runtime/docs/structures/__init__.py new file mode 100644 index 0000000..247be3e --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/structures/__init__.py @@ -0,0 +1 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. diff --git a/clients/aws-sdk-bedrock-runtime/docs/stylesheets/extra.css b/clients/aws-sdk-bedrock-runtime/docs/stylesheets/extra.css new file mode 100644 index 0000000..a4f2719 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/stylesheets/extra.css @@ -0,0 +1,3 @@ +.md-grid { + max-width: 70rem; +} diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/AsyncInvokeOutputDataConfig.md b/clients/aws-sdk-bedrock-runtime/docs/unions/AsyncInvokeOutputDataConfig.md new file mode 100644 index 0000000..9068cf6 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/AsyncInvokeOutputDataConfig.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.AsyncInvokeOutputDataConfig + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.AsyncInvokeOutputDataConfigS3OutputDataConfig + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.AsyncInvokeOutputDataConfigUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/CitationGeneratedContent.md b/clients/aws-sdk-bedrock-runtime/docs/unions/CitationGeneratedContent.md new file mode 100644 index 0000000..8817253 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/CitationGeneratedContent.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.CitationGeneratedContent + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.CitationGeneratedContentText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.CitationGeneratedContentUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/CitationLocation.md b/clients/aws-sdk-bedrock-runtime/docs/unions/CitationLocation.md new file mode 100644 index 0000000..0a115d2 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/CitationLocation.md @@ -0,0 +1,25 @@ +::: aws_sdk_bedrock_runtime.models.CitationLocation + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.CitationLocationWeb + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.CitationLocationDocumentChar + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.CitationLocationDocumentPage + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.CitationLocationDocumentChunk + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.CitationLocationUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/CitationSourceContent.md b/clients/aws-sdk-bedrock-runtime/docs/unions/CitationSourceContent.md new file mode 100644 index 0000000..1231297 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/CitationSourceContent.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.CitationSourceContent + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.CitationSourceContentText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.CitationSourceContentUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ContentBlock.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ContentBlock.md new file mode 100644 index 0000000..e01c315 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ContentBlock.md @@ -0,0 +1,49 @@ +::: aws_sdk_bedrock_runtime.models.ContentBlock + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ContentBlockText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockImage + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockDocument + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockVideo + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockToolUse + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockToolResult + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockGuardContent + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockCachePoint + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockReasoningContent + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockCitationsContent + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ContentBlockDelta.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ContentBlockDelta.md new file mode 100644 index 0000000..9baa7c4 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ContentBlockDelta.md @@ -0,0 +1,29 @@ +::: aws_sdk_bedrock_runtime.models.ContentBlockDelta + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ContentBlockDeltaText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockDeltaToolUse + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockDeltaToolResult + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockDeltaReasoningContent + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockDeltaCitation + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockDeltaUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ContentBlockStart.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ContentBlockStart.md new file mode 100644 index 0000000..4d8d228 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ContentBlockStart.md @@ -0,0 +1,17 @@ +::: aws_sdk_bedrock_runtime.models.ContentBlockStart + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ContentBlockStartToolUse + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockStartToolResult + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ContentBlockStartUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ConverseOutput.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ConverseOutput.md new file mode 100644 index 0000000..09fa6e5 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ConverseOutput.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.ConverseOutput + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ConverseOutputMessage + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseOutputUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ConverseStreamOutput.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ConverseStreamOutput.md new file mode 100644 index 0000000..6f778c4 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ConverseStreamOutput.md @@ -0,0 +1,53 @@ +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutput + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputMessageStart + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputContentBlockStart + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputContentBlockDelta + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputContentBlockStop + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputMessageStop + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputMetadata + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputInternalServerException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputModelStreamErrorException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputValidationException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputThrottlingException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputServiceUnavailableException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ConverseStreamOutputUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/CountTokensInput.md b/clients/aws-sdk-bedrock-runtime/docs/unions/CountTokensInput.md new file mode 100644 index 0000000..5da8ff4 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/CountTokensInput.md @@ -0,0 +1,17 @@ +::: aws_sdk_bedrock_runtime.models.CountTokensInput + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.CountTokensInputInvokeModel + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.CountTokensInputConverse + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.CountTokensInputUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/DocumentContentBlock.md b/clients/aws-sdk-bedrock-runtime/docs/unions/DocumentContentBlock.md new file mode 100644 index 0000000..32fe0ab --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/DocumentContentBlock.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.DocumentContentBlock + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.DocumentContentBlockText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.DocumentContentBlockUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/DocumentSource.md b/clients/aws-sdk-bedrock-runtime/docs/unions/DocumentSource.md new file mode 100644 index 0000000..5adce5d --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/DocumentSource.md @@ -0,0 +1,25 @@ +::: aws_sdk_bedrock_runtime.models.DocumentSource + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.DocumentSourceBytes + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.DocumentSourceS3Location + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.DocumentSourceText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.DocumentSourceContent + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.DocumentSourceUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailAutomatedReasoningFinding.md b/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailAutomatedReasoningFinding.md new file mode 100644 index 0000000..c9ca3ba --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailAutomatedReasoningFinding.md @@ -0,0 +1,37 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFinding + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingValid + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingInvalid + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingSatisfiable + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingImpossible + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingTranslationAmbiguous + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingTooComplex + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingNoTranslations + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailAutomatedReasoningFindingUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailContentBlock.md b/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailContentBlock.md new file mode 100644 index 0000000..e730473 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailContentBlock.md @@ -0,0 +1,17 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailContentBlock + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.GuardrailContentBlockText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailContentBlockImage + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailContentBlockUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailConverseContentBlock.md b/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailConverseContentBlock.md new file mode 100644 index 0000000..b3312eb --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailConverseContentBlock.md @@ -0,0 +1,17 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailConverseContentBlock + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.GuardrailConverseContentBlockText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailConverseContentBlockImage + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailConverseContentBlockUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailConverseImageSource.md b/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailConverseImageSource.md new file mode 100644 index 0000000..f12f5bf --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailConverseImageSource.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailConverseImageSource + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.GuardrailConverseImageSourceBytes + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailConverseImageSourceUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailImageSource.md b/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailImageSource.md new file mode 100644 index 0000000..20afc83 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/GuardrailImageSource.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.GuardrailImageSource + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.GuardrailImageSourceBytes + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.GuardrailImageSourceUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ImageSource.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ImageSource.md new file mode 100644 index 0000000..fb7bdfd --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ImageSource.md @@ -0,0 +1,17 @@ +::: aws_sdk_bedrock_runtime.models.ImageSource + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ImageSourceBytes + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ImageSourceS3Location + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ImageSourceUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/InvokeModelWithBidirectionalStreamInput.md b/clients/aws-sdk-bedrock-runtime/docs/unions/InvokeModelWithBidirectionalStreamInput.md new file mode 100644 index 0000000..0e44f2a --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/InvokeModelWithBidirectionalStreamInput.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamInput + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamInputChunk + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamInputUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/InvokeModelWithBidirectionalStreamOutput.md b/clients/aws-sdk-bedrock-runtime/docs/unions/InvokeModelWithBidirectionalStreamOutput.md new file mode 100644 index 0000000..f26e8c3 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/InvokeModelWithBidirectionalStreamOutput.md @@ -0,0 +1,37 @@ +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutput + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputChunk + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputInternalServerException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputModelStreamErrorException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputValidationException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputThrottlingException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputModelTimeoutException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputServiceUnavailableException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.InvokeModelWithBidirectionalStreamOutputUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/PromptVariableValues.md b/clients/aws-sdk-bedrock-runtime/docs/unions/PromptVariableValues.md new file mode 100644 index 0000000..de2f1a3 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/PromptVariableValues.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.PromptVariableValues + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.PromptVariableValuesText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.PromptVariableValuesUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ReasoningContentBlock.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ReasoningContentBlock.md new file mode 100644 index 0000000..9e56c90 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ReasoningContentBlock.md @@ -0,0 +1,17 @@ +::: aws_sdk_bedrock_runtime.models.ReasoningContentBlock + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ReasoningContentBlockReasoningText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ReasoningContentBlockRedactedContent + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ReasoningContentBlockUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ReasoningContentBlockDelta.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ReasoningContentBlockDelta.md new file mode 100644 index 0000000..7c62425 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ReasoningContentBlockDelta.md @@ -0,0 +1,21 @@ +::: aws_sdk_bedrock_runtime.models.ReasoningContentBlockDelta + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ReasoningContentBlockDeltaText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ReasoningContentBlockDeltaRedactedContent + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ReasoningContentBlockDeltaSignature + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ReasoningContentBlockDeltaUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ResponseStream.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ResponseStream.md new file mode 100644 index 0000000..7a05556 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ResponseStream.md @@ -0,0 +1,37 @@ +::: aws_sdk_bedrock_runtime.models.ResponseStream + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ResponseStreamChunk + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ResponseStreamInternalServerException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ResponseStreamModelStreamErrorException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ResponseStreamValidationException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ResponseStreamThrottlingException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ResponseStreamModelTimeoutException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ResponseStreamServiceUnavailableException + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ResponseStreamUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/SystemContentBlock.md b/clients/aws-sdk-bedrock-runtime/docs/unions/SystemContentBlock.md new file mode 100644 index 0000000..6504c6b --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/SystemContentBlock.md @@ -0,0 +1,21 @@ +::: aws_sdk_bedrock_runtime.models.SystemContentBlock + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.SystemContentBlockText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.SystemContentBlockGuardContent + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.SystemContentBlockCachePoint + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.SystemContentBlockUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/Tool.md b/clients/aws-sdk-bedrock-runtime/docs/unions/Tool.md new file mode 100644 index 0000000..b4b42bf --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/Tool.md @@ -0,0 +1,21 @@ +::: aws_sdk_bedrock_runtime.models.Tool + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ToolToolSpec + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolSystemTool + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolCachePoint + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ToolChoice.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ToolChoice.md new file mode 100644 index 0000000..7118540 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ToolChoice.md @@ -0,0 +1,21 @@ +::: aws_sdk_bedrock_runtime.models.ToolChoice + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ToolChoiceAuto + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolChoiceAny + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolChoiceTool + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolChoiceUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ToolInputSchema.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ToolInputSchema.md new file mode 100644 index 0000000..1843ee9 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ToolInputSchema.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.ToolInputSchema + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ToolInputSchemaJson + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolInputSchemaUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ToolResultBlockDelta.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ToolResultBlockDelta.md new file mode 100644 index 0000000..716be74 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ToolResultBlockDelta.md @@ -0,0 +1,13 @@ +::: aws_sdk_bedrock_runtime.models.ToolResultBlockDelta + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ToolResultBlockDeltaText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolResultBlockDeltaUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/ToolResultContentBlock.md b/clients/aws-sdk-bedrock-runtime/docs/unions/ToolResultContentBlock.md new file mode 100644 index 0000000..d6a6cfe --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/ToolResultContentBlock.md @@ -0,0 +1,29 @@ +::: aws_sdk_bedrock_runtime.models.ToolResultContentBlock + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.ToolResultContentBlockJson + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolResultContentBlockText + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolResultContentBlockImage + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolResultContentBlockDocument + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolResultContentBlockVideo + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.ToolResultContentBlockUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/VideoSource.md b/clients/aws-sdk-bedrock-runtime/docs/unions/VideoSource.md new file mode 100644 index 0000000..ad285e8 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/VideoSource.md @@ -0,0 +1,17 @@ +::: aws_sdk_bedrock_runtime.models.VideoSource + options: + heading_level: 1 + +## Union Members + +::: aws_sdk_bedrock_runtime.models.VideoSourceBytes + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.VideoSourceS3Location + options: + heading_level: 3 + +::: aws_sdk_bedrock_runtime.models.VideoSourceUnknown + options: + heading_level: 3 diff --git a/clients/aws-sdk-bedrock-runtime/docs/unions/__init__.py b/clients/aws-sdk-bedrock-runtime/docs/unions/__init__.py new file mode 100644 index 0000000..247be3e --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/docs/unions/__init__.py @@ -0,0 +1 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. diff --git a/clients/aws-sdk-bedrock-runtime/mkdocs.yml b/clients/aws-sdk-bedrock-runtime/mkdocs.yml new file mode 100644 index 0000000..5e3f360 --- /dev/null +++ b/clients/aws-sdk-bedrock-runtime/mkdocs.yml @@ -0,0 +1,73 @@ +# Code generated by smithy-python-codegen DO NOT EDIT. + +site_name: AWS Bedrock Runtime +site_description: Documentation for Bedrock Runtime Client + +copyright: Copyright © 2025, Amazon Web Services, Inc +repo_name: awslabs/aws-sdk-python +repo_url: https://github.com/awslabs/aws-sdk-python + +theme: + name: material + palette: + - scheme: default + primary: white + accent: light blue + toggle: + icon: material/brightness-7 + name: Switch to dark mode + - scheme: slate + primary: black + accent: light blue + toggle: + icon: material/brightness-4 + name: Switch to light mode + features: + - navigation.top + - search.suggest + - search.highlight + - content.code.copy + +plugins: + - search + - mkdocstrings: + handlers: + python: + options: + show_source: true + show_signature: true + show_signature_annotations: true + show_root_heading: true + show_root_full_path: false + show_object_full_path: false + show_symbol_type_heading: true + show_symbol_type_toc: true + show_category_heading: true + group_by_category: true + separate_signature: true + signature_crossrefs: true + filters: + - "!^_" + - "!^deserialize" + - "!^serialize" + +markdown_extensions: + - pymdownx.highlight + - pymdownx.inlinehilite + - pymdownx.snippets + - pymdownx.superfences + - admonition + - def_list + - toc: + permalink: true + toc_depth: 3 + +nav: + - Bedrock Runtime: index.md + +extra: + social: + - icon: fontawesome/brands/github + link: https://github.com/awslabs/aws-sdk-python +extra_css: + - stylesheets/extra.css diff --git a/clients/aws-sdk-bedrock-runtime/pyproject.toml b/clients/aws-sdk-bedrock-runtime/pyproject.toml index fc92e4a..a784dae 100644 --- a/clients/aws-sdk-bedrock-runtime/pyproject.toml +++ b/clients/aws-sdk-bedrock-runtime/pyproject.toml @@ -36,18 +36,20 @@ test = [ ] docs = [ - "pydata-sphinx-theme>=0.16.1", - "sphinx>=8.2.3" + "mkdocs~=1.6.1", + "mkdocs-material~=9.6.22", + "mkdocstrings[python]~=0.30.1" ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" -[tool.hatch.build.targets.bdist] +[tool.hatch.build] exclude = [ "tests", "docs", + "mkdocs.yml", ] [tool.pyright] diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas.py index adb2b70..93411f2 100644 --- a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas.py +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/_private/schemas.py @@ -2269,10 +2269,16 @@ }, ) +WEB_LOCATION = Schema.collection( + id=ShapeID("com.amazonaws.bedrockruntime#WebLocation"), + members={"url": {"target": STRING}, "domain": {"target": STRING}}, +) + CITATION_LOCATION = Schema.collection( id=ShapeID("com.amazonaws.bedrockruntime#CitationLocation"), shape_type=ShapeType.UNION, members={ + "web": {"target": WEB_LOCATION}, "documentChar": {"target": DOCUMENT_CHAR_LOCATION}, "documentPage": {"target": DOCUMENT_PAGE_LOCATION}, "documentChunk": {"target": DOCUMENT_CHUNK_LOCATION}, @@ -2749,6 +2755,7 @@ "traits": [Trait.new(id=ShapeID("smithy.api#required"))], }, "status": {"target": TOOL_RESULT_STATUS}, + "type": {"target": STRING}, }, ) @@ -2764,6 +2771,19 @@ ], ) +TOOL_USE_TYPE = Schema.collection( + id=ShapeID("com.amazonaws.bedrockruntime#ToolUseType"), + shape_type=ShapeType.ENUM, + members={ + "SERVER_TOOL_USE": { + "target": UNIT, + "traits": [ + Trait.new(id=ShapeID("smithy.api#enumValue"), value="server_tool_use") + ], + } + }, +) + TOOL_USE_BLOCK = Schema.collection( id=ShapeID("com.amazonaws.bedrockruntime#ToolUseBlock"), members={ @@ -2779,6 +2799,7 @@ "target": DOCUMENT, "traits": [Trait.new(id=ShapeID("smithy.api#required"))], }, + "type": {"target": TOOL_USE_TYPE}, }, ) @@ -2981,6 +3002,16 @@ }, ) +SYSTEM_TOOL = Schema.collection( + id=ShapeID("com.amazonaws.bedrockruntime#SystemTool"), + members={ + "name": { + "target": TOOL_NAME, + "traits": [Trait.new(id=ShapeID("smithy.api#required"))], + } + }, +) + TOOL_INPUT_SCHEMA = Schema.collection( id=ShapeID("com.amazonaws.bedrockruntime#ToolInputSchema"), shape_type=ShapeType.UNION, @@ -3007,6 +3038,7 @@ shape_type=ShapeType.UNION, members={ "toolSpec": {"target": TOOL_SPECIFICATION}, + "systemTool": {"target": SYSTEM_TOOL}, "cachePoint": {"target": CACHE_POINT_BLOCK}, }, ) @@ -3440,6 +3472,18 @@ }, ) +TOOL_RESULT_BLOCK_DELTA = Schema.collection( + id=ShapeID("com.amazonaws.bedrockruntime#ToolResultBlockDelta"), + shape_type=ShapeType.UNION, + members={"text": {"target": STRING}}, +) + +TOOL_RESULT_BLOCKS_DELTA = Schema.collection( + id=ShapeID("com.amazonaws.bedrockruntime#ToolResultBlocksDelta"), + shape_type=ShapeType.LIST, + members={"member": {"target": TOOL_RESULT_BLOCK_DELTA}}, +) + TOOL_USE_BLOCK_DELTA = Schema.collection( id=ShapeID("com.amazonaws.bedrockruntime#ToolUseBlockDelta"), members={ @@ -3456,6 +3500,7 @@ members={ "text": {"target": STRING}, "toolUse": {"target": TOOL_USE_BLOCK_DELTA}, + "toolResult": {"target": TOOL_RESULT_BLOCKS_DELTA}, "reasoningContent": {"target": REASONING_CONTENT_BLOCK_DELTA}, "citation": {"target": CITATIONS_DELTA}, }, @@ -3475,6 +3520,18 @@ }, ) +TOOL_RESULT_BLOCK_START = Schema.collection( + id=ShapeID("com.amazonaws.bedrockruntime#ToolResultBlockStart"), + members={ + "toolUseId": { + "target": TOOL_USE_ID, + "traits": [Trait.new(id=ShapeID("smithy.api#required"))], + }, + "type": {"target": STRING}, + "status": {"target": TOOL_RESULT_STATUS}, + }, +) + TOOL_USE_BLOCK_START = Schema.collection( id=ShapeID("com.amazonaws.bedrockruntime#ToolUseBlockStart"), members={ @@ -3486,13 +3543,17 @@ "target": TOOL_NAME, "traits": [Trait.new(id=ShapeID("smithy.api#required"))], }, + "type": {"target": TOOL_USE_TYPE}, }, ) CONTENT_BLOCK_START = Schema.collection( id=ShapeID("com.amazonaws.bedrockruntime#ContentBlockStart"), shape_type=ShapeType.UNION, - members={"toolUse": {"target": TOOL_USE_BLOCK_START}}, + members={ + "toolUse": {"target": TOOL_USE_BLOCK_START}, + "toolResult": {"target": TOOL_RESULT_BLOCK_START}, + }, ) CONTENT_BLOCK_START_EVENT = Schema.collection( @@ -4617,7 +4678,7 @@ "builtIn": "AWS::Region", "required": False, "documentation": "The AWS region used to dispatch the request.", - "type": "String", + "type": "string", } ), "UseDualStack": MappingProxyType( @@ -4626,7 +4687,7 @@ "required": True, "default": False, "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.", - "type": "Boolean", + "type": "boolean", } ), "UseFIPS": MappingProxyType( @@ -4635,7 +4696,7 @@ "required": True, "default": False, "documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.", - "type": "Boolean", + "type": "boolean", } ), "Endpoint": MappingProxyType( @@ -4643,7 +4704,7 @@ "builtIn": "SDK::Endpoint", "required": False, "documentation": "Override the endpoint used to send this request", - "type": "String", + "type": "string", } ), } diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/client.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/client.py index 274fd23..814042f 100644 --- a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/client.py +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/client.py @@ -57,19 +57,23 @@ class BedrockRuntimeClient: - """ - Describes the API operations for running inference using Amazon Bedrock models. - - :param config: Optional configuration for the client. Here you can set things like the - endpoint for HTTP services or auth credentials. - - :param plugins: A list of callables that modify the configuration dynamically. These - can be used to set defaults, for example. + """Describes the API operations for running inference using Amazon Bedrock + models. """ def __init__( self, config: Config | None = None, plugins: list[Plugin] | None = None ): + """Constructor for `BedrockRuntimeClient`. + + Args: + config: + Optional configuration for the client. Here you can set things like + the endpoint for HTTP services or auth credentials. + plugins: + A list of callables that modify the configuration dynamically. These + can be used to set defaults, for example. + """ self._config = config or Config() client_plugins: list[Plugin] = [aws_user_agent_plugin, user_agent_plugin] @@ -82,19 +86,25 @@ def __init__( async def apply_guardrail( self, input: ApplyGuardrailInput, plugins: list[Plugin] | None = None ) -> ApplyGuardrailOutput: - """ - The action to apply a guardrail. + """The action to apply a guardrail. - For troubleshooting some of the common errors you might encounter when using the - ``ApplyGuardrail`` API, see `Troubleshooting Amazon Bedrock API Error Codes `_ + For troubleshooting some of the common errors you might encounter when + using the `ApplyGuardrail` API, see [Troubleshooting Amazon Bedrock API + Error + Codes](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html) in the Amazon Bedrock User Guide - :param input: The operation's input. - - :param plugins: A list of callables that modify the configuration dynamically. - Changes made by these plugins only apply for the duration of the operation - execution and will not affect any other operation invocations. - + Args: + input: + An instance of `ApplyGuardrailInput`. + plugins: + A list of callables that modify the configuration dynamically. + Changes made by these plugins only apply for the duration of the + operation execution and will not affect any other operation + invocations. + + Returns: + An instance of `ApplyGuardrailOutput`. """ operation_plugins: list[Plugin] = [] if plugins: @@ -123,52 +133,68 @@ async def apply_guardrail( async def converse( self, input: ConverseInput, plugins: list[Plugin] | None = None ) -> ConverseOperationOutput: - """ - Sends messages to the specified Amazon Bedrock model. ``Converse`` provides a - consistent interface that works with all models that support messages. This - allows you to write code once and use it with different models. If a model has - unique inference parameters, you can also pass those unique parameters to the - model. - - Amazon Bedrock doesn't store any text, images, or documents that you provide as - content. The data is only used to generate the response. - - You can submit a prompt by including it in the ``messages`` field, specifying - the ``modelId`` of a foundation model or inference profile to run inference on - it, and including any other fields that are relevant to your use case. - - You can also submit a prompt from Prompt management by specifying the ARN of the - prompt version and including a map of variables to values in the - ``promptVariables`` field. You can append more messages to the prompt by using the ``messages`` field. If you use a prompt from Prompt management, you can't include the following fields in the request: ``additionalModelRequestFields``, ``inferenceConfig``, ``system``, or ``toolConfig``. Instead, these fields must be defined through Prompt management. For more information, see `Use a prompt from Prompt management `_ - . - - For information about the Converse API, see *Use the Converse API* in the - *Amazon Bedrock User Guide*. To use a guardrail, see *Use a guardrail with the - Converse API* in the *Amazon Bedrock User Guide*. To use a tool with a model, - see *Tool use (Function calling)* in the *Amazon Bedrock User Guide* - - For example code, see *Converse API examples* in the *Amazon Bedrock User - Guide*. - - This operation requires permission for the ``bedrock:InvokeModel`` action. - - .. important:: - To deny all inference access to resources that you specify in the modelId field, - you need to deny access to the ``bedrock:InvokeModel`` and ``bedrock:InvokeModelWithResponseStream`` actions. Doing this also denies access to the resource through the base inference actions (`InvokeModel `_ - and `InvokeModelWithResponseStream `_). - For more information see `Deny access for inference on specific models `_ - . - - For troubleshooting some of the common errors you might encounter when using the - ``Converse`` API, see `Troubleshooting Amazon Bedrock API Error Codes `_ - in the Amazon Bedrock User Guide - - :param input: The operation's input. + """Sends messages to the specified Amazon Bedrock model. `Converse` + provides a consistent interface that works with all models that support + messages. This allows you to write code once and use it with different + models. If a model has unique inference parameters, you can also pass + those unique parameters to the model. + + Amazon Bedrock doesn't store any text, images, or documents that you + provide as content. The data is only used to generate the response. + + You can submit a prompt by including it in the `messages` field, + specifying the `modelId` of a foundation model or inference profile to + run inference on it, and including any other fields that are relevant to + your use case. + + You can also submit a prompt from Prompt management by specifying the + ARN of the prompt version and including a map of variables to values in + the `promptVariables` field. You can append more messages to the prompt + by using the `messages` field. If you use a prompt from Prompt + management, you can't include the following fields in the request: + `additionalModelRequestFields`, `inferenceConfig`, `system`, or + `toolConfig`. Instead, these fields must be defined through Prompt + management. For more information, see [Use a prompt from Prompt + management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-use.html). + + For information about the Converse API, see *Use the Converse API* in + the *Amazon Bedrock User Guide*. To use a guardrail, see *Use a + guardrail with the Converse API* in the *Amazon Bedrock User Guide*. To + use a tool with a model, see *Tool use (Function calling)* in the + *Amazon Bedrock User Guide* + + For example code, see *Converse API examples* in the *Amazon Bedrock + User Guide*. - :param plugins: A list of callables that modify the configuration dynamically. - Changes made by these plugins only apply for the duration of the operation - execution and will not affect any other operation invocations. + This operation requires permission for the `bedrock:InvokeModel` action. + + Warning: + To deny all inference access to resources that you specify in the + modelId field, you need to deny access to the `bedrock:InvokeModel` and + `bedrock:InvokeModelWithResponseStream` actions. Doing this also denies + access to the resource through the base inference actions + ([InvokeModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModel.html) + and + [InvokeModelWithResponseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModelWithResponseStream.html)). + For more information see [Deny access for inference on specific + models](https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-deny-inference). + + For troubleshooting some of the common errors you might encounter when + using the `Converse` API, see [Troubleshooting Amazon Bedrock API Error + Codes](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html) + in the Amazon Bedrock User Guide + Args: + input: + An instance of `ConverseInput`. + plugins: + A list of callables that modify the configuration dynamically. + Changes made by these plugins only apply for the duration of the + operation execution and will not affect any other operation + invocations. + + Returns: + An instance of `ConverseOperationOutput`. """ operation_plugins: list[Plugin] = [] if plugins: @@ -197,60 +223,81 @@ async def converse( async def converse_stream( self, input: ConverseStreamInput, plugins: list[Plugin] | None = None ) -> OutputEventStream[ConverseStreamOutput, ConverseStreamOperationOutput]: - """ - Sends messages to the specified Amazon Bedrock model and returns the response in - a stream. ``ConverseStream`` provides a consistent API that works with all - Amazon Bedrock models that support messages. This allows you to write code once - and use it with different models. Should a model have unique inference - parameters, you can also pass those unique parameters to the model. - - To find out if a model supports streaming, call `GetFoundationModel `_ - and check the ``responseStreamingSupported`` field in the response. - - .. note:: - The CLI doesn't support streaming operations in Amazon Bedrock, including - ``ConverseStream``. - - Amazon Bedrock doesn't store any text, images, or documents that you provide as - content. The data is only used to generate the response. - - You can submit a prompt by including it in the ``messages`` field, specifying - the ``modelId`` of a foundation model or inference profile to run inference on - it, and including any other fields that are relevant to your use case. - - You can also submit a prompt from Prompt management by specifying the ARN of the - prompt version and including a map of variables to values in the - ``promptVariables`` field. You can append more messages to the prompt by using the ``messages`` field. If you use a prompt from Prompt management, you can't include the following fields in the request: ``additionalModelRequestFields``, ``inferenceConfig``, ``system``, or ``toolConfig``. Instead, these fields must be defined through Prompt management. For more information, see `Use a prompt from Prompt management `_ - . - - For information about the Converse API, see *Use the Converse API* in the - *Amazon Bedrock User Guide*. To use a guardrail, see *Use a guardrail with the - Converse API* in the *Amazon Bedrock User Guide*. To use a tool with a model, - see *Tool use (Function calling)* in the *Amazon Bedrock User Guide* - - For example code, see *Conversation streaming example* in the *Amazon Bedrock - User Guide*. + """Sends messages to the specified Amazon Bedrock model and returns the + response in a stream. `ConverseStream` provides a consistent API that + works with all Amazon Bedrock models that support messages. This allows + you to write code once and use it with different models. Should a model + have unique inference parameters, you can also pass those unique + parameters to the model. + + To find out if a model supports streaming, call + [GetFoundationModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html) + and check the `responseStreamingSupported` field in the response. + + Note: + The CLI doesn't support streaming operations in Amazon Bedrock, + including `ConverseStream`. + + Amazon Bedrock doesn't store any text, images, or documents that you + provide as content. The data is only used to generate the response. + + You can submit a prompt by including it in the `messages` field, + specifying the `modelId` of a foundation model or inference profile to + run inference on it, and including any other fields that are relevant to + your use case. + + You can also submit a prompt from Prompt management by specifying the + ARN of the prompt version and including a map of variables to values in + the `promptVariables` field. You can append more messages to the prompt + by using the `messages` field. If you use a prompt from Prompt + management, you can't include the following fields in the request: + `additionalModelRequestFields`, `inferenceConfig`, `system`, or + `toolConfig`. Instead, these fields must be defined through Prompt + management. For more information, see [Use a prompt from Prompt + management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-use.html). + + For information about the Converse API, see *Use the Converse API* in + the *Amazon Bedrock User Guide*. To use a guardrail, see *Use a + guardrail with the Converse API* in the *Amazon Bedrock User Guide*. To + use a tool with a model, see *Tool use (Function calling)* in the + *Amazon Bedrock User Guide* + + For example code, see *Conversation streaming example* in the *Amazon + Bedrock User Guide*. This operation requires permission for the - ``bedrock:InvokeModelWithResponseStream`` action. - - .. important:: - To deny all inference access to resources that you specify in the modelId field, - you need to deny access to the ``bedrock:InvokeModel`` and ``bedrock:InvokeModelWithResponseStream`` actions. Doing this also denies access to the resource through the base inference actions (`InvokeModel `_ - and `InvokeModelWithResponseStream `_). - For more information see `Deny access for inference on specific models `_ - . - - For troubleshooting some of the common errors you might encounter when using the - ``ConverseStream`` API, see `Troubleshooting Amazon Bedrock API Error Codes `_ + `bedrock:InvokeModelWithResponseStream` action. + + Warning: + To deny all inference access to resources that you specify in the + modelId field, you need to deny access to the `bedrock:InvokeModel` and + `bedrock:InvokeModelWithResponseStream` actions. Doing this also denies + access to the resource through the base inference actions + ([InvokeModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModel.html) + and + [InvokeModelWithResponseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModelWithResponseStream.html)). + For more information see [Deny access for inference on specific + models](https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-deny-inference). + + For troubleshooting some of the common errors you might encounter when + using the `ConverseStream` API, see [Troubleshooting Amazon Bedrock API + Error + Codes](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html) in the Amazon Bedrock User Guide - :param input: The operation's input. - - :param plugins: A list of callables that modify the configuration dynamically. - Changes made by these plugins only apply for the duration of the operation - execution and will not affect any other operation invocations. - + Args: + input: + An instance of `ConverseStreamInput`. + plugins: + A list of callables that modify the configuration dynamically. + Changes made by these plugins only apply for the duration of the + operation execution and will not affect any other operation + invocations. + + Returns: + An `OutputEventStream` for server-to-client streaming of + `ConverseStreamOutput` events with initial `ConverseStreamOperationOutput` + response. """ operation_plugins: list[Plugin] = [] if plugins: @@ -281,43 +328,47 @@ async def converse_stream( async def count_tokens( self, input: CountTokensOperationInput, plugins: list[Plugin] | None = None ) -> CountTokensOutput: - """ - Returns the token count for a given inference request. This operation helps you - estimate token usage before sending requests to foundation models by returning - the token count that would be used if the same input were sent to the model in - an inference request. + """Returns the token count for a given inference request. This operation + helps you estimate token usage before sending requests to foundation + models by returning the token count that would be used if the same input + were sent to the model in an inference request. Token counting is model-specific because different models use different - tokenization strategies. The token count returned by this operation will match - the token count that would be charged if the same input were sent to the model - in an ``InvokeModel`` or ``Converse`` request. + tokenization strategies. The token count returned by this operation will + match the token count that would be charged if the same input were sent + to the model in an `InvokeModel` or `Converse` request. You can use this operation to: - * Estimate costs before sending inference requests. + - Estimate costs before sending inference requests. - * Optimize prompts to fit within token limits. + - Optimize prompts to fit within token limits. - * Plan for token usage in your applications. + - Plan for token usage in your applications. - This operation accepts the same input formats as ``InvokeModel`` and - ``Converse``, allowing you to count tokens for both raw text inputs and + This operation accepts the same input formats as `InvokeModel` and + `Converse`, allowing you to count tokens for both raw text inputs and structured conversation formats. - The following operations are related to ``CountTokens``: + The following operations are related to `CountTokens`: - * `InvokeModel `_ - - Sends inference requests to foundation models + - [InvokeModel](https://docs.aws.amazon.com/bedrock/latest/API/API_runtime_InvokeModel.html) - + Sends inference requests to foundation models - * `Converse `_ - - Sends conversation-based inference requests to foundation models + - [Converse](https://docs.aws.amazon.com/bedrock/latest/API/API_runtime_Converse.html) - + Sends conversation-based inference requests to foundation models - :param input: The operation's input. - - :param plugins: A list of callables that modify the configuration dynamically. - Changes made by these plugins only apply for the duration of the operation - execution and will not affect any other operation invocations. + Args: + input: + An instance of `CountTokensOperationInput`. + plugins: + A list of callables that modify the configuration dynamically. + Changes made by these plugins only apply for the duration of the + operation execution and will not affect any other operation + invocations. + Returns: + An instance of `CountTokensOutput`. """ operation_plugins: list[Plugin] = [] if plugins: @@ -346,15 +397,19 @@ async def count_tokens( async def get_async_invoke( self, input: GetAsyncInvokeInput, plugins: list[Plugin] | None = None ) -> GetAsyncInvokeOutput: - """ - Retrieve information about an asynchronous invocation. - - :param input: The operation's input. - - :param plugins: A list of callables that modify the configuration dynamically. - Changes made by these plugins only apply for the duration of the operation - execution and will not affect any other operation invocations. - + """Retrieve information about an asynchronous invocation. + + Args: + input: + An instance of `GetAsyncInvokeInput`. + plugins: + A list of callables that modify the configuration dynamically. + Changes made by these plugins only apply for the duration of the + operation execution and will not affect any other operation + invocations. + + Returns: + An instance of `GetAsyncInvokeOutput`. """ operation_plugins: list[Plugin] = [] if plugins: @@ -383,33 +438,43 @@ async def get_async_invoke( async def invoke_model( self, input: InvokeModelInput, plugins: list[Plugin] | None = None ) -> InvokeModelOutput: - """ - Invokes the specified Amazon Bedrock model to run inference using the prompt and - inference parameters provided in the request body. You use model inference to - generate text, images, and embeddings. - - For example code, see *Invoke model code examples* in the *Amazon Bedrock User - Guide*. + """Invokes the specified Amazon Bedrock model to run inference using the + prompt and inference parameters provided in the request body. You use + model inference to generate text, images, and embeddings. - This operation requires permission for the ``bedrock:InvokeModel`` action. - - .. important:: - To deny all inference access to resources that you specify in the modelId field, - you need to deny access to the ``bedrock:InvokeModel`` and ``bedrock:InvokeModelWithResponseStream`` actions. Doing this also denies access to the resource through the Converse API actions (`Converse `_ - and `ConverseStream `_). - For more information see `Deny access for inference on specific models `_ - . + For example code, see *Invoke model code examples* in the *Amazon + Bedrock User Guide*. - For troubleshooting some of the common errors you might encounter when using the - ``InvokeModel`` API, see `Troubleshooting Amazon Bedrock API Error Codes `_ + This operation requires permission for the `bedrock:InvokeModel` action. + + Warning: + To deny all inference access to resources that you specify in the + modelId field, you need to deny access to the `bedrock:InvokeModel` and + `bedrock:InvokeModelWithResponseStream` actions. Doing this also denies + access to the resource through the Converse API actions + ([Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) + and + [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html)). + For more information see [Deny access for inference on specific + models](https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-deny-inference). + + For troubleshooting some of the common errors you might encounter when + using the `InvokeModel` API, see [Troubleshooting Amazon Bedrock API + Error + Codes](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html) in the Amazon Bedrock User Guide - :param input: The operation's input. - - :param plugins: A list of callables that modify the configuration dynamically. - Changes made by these plugins only apply for the duration of the operation - execution and will not affect any other operation invocations. - + Args: + input: + An instance of `InvokeModelInput`. + plugins: + A list of callables that modify the configuration dynamically. + Changes made by these plugins only apply for the duration of the + operation execution and will not affect any other operation + invocations. + + Returns: + An instance of `InvokeModelOutput`. """ operation_plugins: list[Plugin] = [] if plugins: @@ -444,23 +509,32 @@ async def invoke_model_with_bidirectional_stream( InvokeModelWithBidirectionalStreamOutput, InvokeModelWithBidirectionalStreamOperationOutput, ]: - """ - Invoke the specified Amazon Bedrock model to run inference using the - bidirectional stream. The response is returned in a stream that remains open for - 8 minutes. A single session can contain multiple prompts and responses from the - model. The prompts to the model are provided as audio files and the model's - responses are spoken back to the user and transcribed. - - It is possible for users to interrupt the model's response with a new prompt, - which will halt the response speech. The model will retain contextual awareness - of the conversation while pivoting to respond to the new prompt. - - :param input: The operation's input. - - :param plugins: A list of callables that modify the configuration dynamically. - Changes made by these plugins only apply for the duration of the operation - execution and will not affect any other operation invocations. - + """Invoke the specified Amazon Bedrock model to run inference using the + bidirectional stream. The response is returned in a stream that remains + open for 8 minutes. A single session can contain multiple prompts and + responses from the model. The prompts to the model are provided as audio + files and the model's responses are spoken back to the user and + transcribed. + + It is possible for users to interrupt the model's response with a new + prompt, which will halt the response speech. The model will retain + contextual awareness of the conversation while pivoting to respond to + the new prompt. + + Args: + input: + An instance of `InvokeModelWithBidirectionalStreamOperationInput`. + plugins: + A list of callables that modify the configuration dynamically. + Changes made by these plugins only apply for the duration of the + operation execution and will not affect any other operation + invocations. + + Returns: + A `DuplexEventStream` for bidirectional streaming of + `InvokeModelWithBidirectionalStreamInput` and + `InvokeModelWithBidirectionalStreamOutput` events with initial + `InvokeModelWithBidirectionalStreamOperationOutput` response. """ operation_plugins: list[Plugin] = [] if plugins: @@ -496,41 +570,53 @@ async def invoke_model_with_response_stream( input: InvokeModelWithResponseStreamInput, plugins: list[Plugin] | None = None, ) -> OutputEventStream[ResponseStream, InvokeModelWithResponseStreamOutput]: - """ - Invoke the specified Amazon Bedrock model to run inference using the prompt and - inference parameters provided in the request body. The response is returned in a - stream. + """Invoke the specified Amazon Bedrock model to run inference using the + prompt and inference parameters provided in the request body. The + response is returned in a stream. - To see if a model supports streaming, call `GetFoundationModel `_ - and check the ``responseStreamingSupported`` field in the response. + To see if a model supports streaming, call + [GetFoundationModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html) + and check the `responseStreamingSupported` field in the response. - .. note:: - The CLI doesn't support streaming operations in Amazon Bedrock, including - ``InvokeModelWithResponseStream``. + Note: + The CLI doesn't support streaming operations in Amazon Bedrock, + including `InvokeModelWithResponseStream`. - For example code, see *Invoke model with streaming code example* in the *Amazon - Bedrock User Guide*. + For example code, see *Invoke model with streaming code example* in the + *Amazon Bedrock User Guide*. This operation requires permissions to perform the - ``bedrock:InvokeModelWithResponseStream`` action. - - .. important:: - To deny all inference access to resources that you specify in the modelId field, - you need to deny access to the ``bedrock:InvokeModel`` and ``bedrock:InvokeModelWithResponseStream`` actions. Doing this also denies access to the resource through the Converse API actions (`Converse `_ - and `ConverseStream `_). - For more information see `Deny access for inference on specific models `_ - . - - For troubleshooting some of the common errors you might encounter when using the - ``InvokeModelWithResponseStream`` API, see `Troubleshooting Amazon Bedrock API Error Codes `_ + `bedrock:InvokeModelWithResponseStream` action. + + Warning: + To deny all inference access to resources that you specify in the + modelId field, you need to deny access to the `bedrock:InvokeModel` and + `bedrock:InvokeModelWithResponseStream` actions. Doing this also denies + access to the resource through the Converse API actions + ([Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) + and + [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html)). + For more information see [Deny access for inference on specific + models](https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-deny-inference). + + For troubleshooting some of the common errors you might encounter when + using the `InvokeModelWithResponseStream` API, see [Troubleshooting + Amazon Bedrock API Error + Codes](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html) in the Amazon Bedrock User Guide - :param input: The operation's input. - - :param plugins: A list of callables that modify the configuration dynamically. - Changes made by these plugins only apply for the duration of the operation - execution and will not affect any other operation invocations. - + Args: + input: + An instance of `InvokeModelWithResponseStreamInput`. + plugins: + A list of callables that modify the configuration dynamically. + Changes made by these plugins only apply for the duration of the + operation execution and will not affect any other operation + invocations. + + Returns: + An `OutputEventStream` for server-to-client streaming of `ResponseStream` + events with initial `InvokeModelWithResponseStreamOutput` response. """ operation_plugins: list[Plugin] = [] if plugins: @@ -561,15 +647,19 @@ async def invoke_model_with_response_stream( async def list_async_invokes( self, input: ListAsyncInvokesInput, plugins: list[Plugin] | None = None ) -> ListAsyncInvokesOutput: - """ - Lists asynchronous invocations. - - :param input: The operation's input. - - :param plugins: A list of callables that modify the configuration dynamically. - Changes made by these plugins only apply for the duration of the operation - execution and will not affect any other operation invocations. - + """Lists asynchronous invocations. + + Args: + input: + An instance of `ListAsyncInvokesInput`. + plugins: + A list of callables that modify the configuration dynamically. + Changes made by these plugins only apply for the duration of the + operation execution and will not affect any other operation + invocations. + + Returns: + An instance of `ListAsyncInvokesOutput`. """ operation_plugins: list[Plugin] = [] if plugins: @@ -598,24 +688,32 @@ async def list_async_invokes( async def start_async_invoke( self, input: StartAsyncInvokeInput, plugins: list[Plugin] | None = None ) -> StartAsyncInvokeOutput: - """ - Starts an asynchronous invocation. - - This operation requires permission for the ``bedrock:InvokeModel`` action. - - .. important:: - To deny all inference access to resources that you specify in the modelId field, - you need to deny access to the ``bedrock:InvokeModel`` and ``bedrock:InvokeModelWithResponseStream`` actions. Doing this also denies access to the resource through the Converse API actions (`Converse `_ - and `ConverseStream `_). - For more information see `Deny access for inference on specific models `_ - . - - :param input: The operation's input. - - :param plugins: A list of callables that modify the configuration dynamically. - Changes made by these plugins only apply for the duration of the operation - execution and will not affect any other operation invocations. - + """Starts an asynchronous invocation. + + This operation requires permission for the `bedrock:InvokeModel` action. + + Warning: + To deny all inference access to resources that you specify in the + modelId field, you need to deny access to the `bedrock:InvokeModel` and + `bedrock:InvokeModelWithResponseStream` actions. Doing this also denies + access to the resource through the Converse API actions + ([Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) + and + [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html)). + For more information see [Deny access for inference on specific + models](https://docs.aws.amazon.com/bedrock/latest/userguide/security_iam_id-based-policy-examples.html#security_iam_id-based-policy-examples-deny-inference). + + Args: + input: + An instance of `StartAsyncInvokeInput`. + plugins: + A list of callables that modify the configuration dynamically. + Changes made by these plugins only apply for the duration of the + operation execution and will not affect any other operation + invocations. + + Returns: + An instance of `StartAsyncInvokeOutput`. """ operation_plugins: list[Plugin] = [] if plugins: diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/config.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/config.py index 6c986b4..6161376 100644 --- a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/config.py +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/config.py @@ -78,26 +78,67 @@ @dataclass(init=False) class Config: - """Configuration for AmazonBedrockFrontendService.""" + """Configuration settings for BedrockRuntimeClient.""" auth_scheme_resolver: HTTPAuthSchemeResolver + """An auth scheme resolver that determines the auth scheme for each + operation. + """ + auth_schemes: dict[ShapeID, AuthScheme[Any, Any, Any, Any]] + """A map of auth scheme ids to auth schemes.""" + aws_access_key_id: str | None + """The identifier for a secret access key.""" + aws_credentials_identity_resolver: ( IdentityResolver[AWSCredentialsIdentity, AWSIdentityProperties] | None ) + """Resolves AWS Credentials. Required for operations that use Sigv4 Auth.""" + aws_secret_access_key: str | None + """A secret access key that can be used to sign requests.""" + aws_session_token: str | None + """An access key ID that identifies temporary security credentials.""" + endpoint_resolver: _EndpointResolver + """The endpoint resolver used to resolve the final endpoint per-operation + based on the configuration. + """ + endpoint_uri: str | URI | None + """A static URI to route requests to.""" + http_request_config: HTTPRequestConfiguration | None + """Configuration for individual HTTP requests.""" + interceptors: list[_ServiceInterceptor] + """The list of interceptors, which are hooks that are called during the + execution of a request. + """ + protocol: ClientProtocol[Any, Any] | None + """The protocol to serialize and deserialize requests with.""" + region: str | None + """The AWS region to connect to. The configured region is used to determine + the service endpoint. + """ + retry_strategy: RetryStrategy + """The retry strategy for issuing retry tokens and computing retry delays.""" + sdk_ua_app_id: str | None + """A unique and opaque application ID that is appended to the User-Agent + header. + """ + transport: ClientTransport[Any, Any] | None + """The transport to use to send requests (e.g. an HTTP client).""" + user_agent_extra: str | None + """Additional suffix to be added to the User-Agent header.""" def __init__( self, @@ -122,60 +163,6 @@ def __init__( transport: ClientTransport[Any, Any] | None = None, user_agent_extra: str | None = None, ): - """Constructor. - - :param auth_scheme_resolver: - An auth scheme resolver that determines the auth scheme for each operation. - - :param auth_schemes: - A map of auth scheme ids to auth schemes. - - :param aws_access_key_id: - The identifier for a secret access key. - - :param aws_credentials_identity_resolver: - Resolves AWS Credentials. Required for operations that use Sigv4 Auth. - - :param aws_secret_access_key: - A secret access key that can be used to sign requests. - - :param aws_session_token: - An access key ID that identifies temporary security credentials. - - :param endpoint_resolver: - The endpoint resolver used to resolve the final endpoint per-operation based on - the configuration. - - :param endpoint_uri: - A static URI to route requests to. - - :param http_request_config: - Configuration for individual HTTP requests. - - :param interceptors: - The list of interceptors, which are hooks that are called during the execution - of a request. - - :param protocol: - The protocol to serialize and deserialize requests with. - - :param region: - The AWS region to connect to. The configured region is used to determine the - service endpoint. - - :param retry_strategy: - The retry strategy for issuing retry tokens and computing retry delays. - - :param sdk_ua_app_id: - A unique and opaque application ID that is appended to the User-Agent header. - - :param transport: - The transport to use to send requests (e.g. an HTTP client). - - :param user_agent_extra: - Additional suffix to be added to the User-Agent header. - - """ self.auth_scheme_resolver = auth_scheme_resolver or HTTPAuthSchemeResolver() self.auth_schemes = auth_schemes or { ShapeID("aws.auth#sigv4"): SigV4AuthScheme(service="bedrock") @@ -204,12 +191,12 @@ def set_auth_scheme(self, scheme: AuthScheme[Any, Any, Any, Any]) -> None: Using this method ensures the correct key is used. - :param scheme: The auth scheme to add. + Args: + scheme: + The auth scheme to add. """ self.auth_schemes[scheme.scheme_id] = scheme -# # A callable that allows customizing the config object on each request. -# Plugin: TypeAlias = Callable[[Config], None] diff --git a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/models.py b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/models.py index 90cde1b..055915b 100644 --- a/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/models.py +++ b/clients/aws-sdk-bedrock-runtime/src/aws_sdk_bedrock_runtime/models.py @@ -157,6 +157,7 @@ START_ASYNC_INVOKE_INPUT as _SCHEMA_START_ASYNC_INVOKE_INPUT, START_ASYNC_INVOKE_OUTPUT as _SCHEMA_START_ASYNC_INVOKE_OUTPUT, SYSTEM_CONTENT_BLOCK as _SCHEMA_SYSTEM_CONTENT_BLOCK, + SYSTEM_TOOL as _SCHEMA_SYSTEM_TOOL, TAG as _SCHEMA_TAG, THROTTLING_EXCEPTION as _SCHEMA_THROTTLING_EXCEPTION, TOKEN_USAGE as _SCHEMA_TOKEN_USAGE, @@ -165,6 +166,8 @@ TOOL_CONFIGURATION as _SCHEMA_TOOL_CONFIGURATION, TOOL_INPUT_SCHEMA as _SCHEMA_TOOL_INPUT_SCHEMA, TOOL_RESULT_BLOCK as _SCHEMA_TOOL_RESULT_BLOCK, + TOOL_RESULT_BLOCK_DELTA as _SCHEMA_TOOL_RESULT_BLOCK_DELTA, + TOOL_RESULT_BLOCK_START as _SCHEMA_TOOL_RESULT_BLOCK_START, TOOL_RESULT_CONTENT_BLOCK as _SCHEMA_TOOL_RESULT_CONTENT_BLOCK, TOOL_SPECIFICATION as _SCHEMA_TOOL_SPECIFICATION, TOOL_USE_BLOCK as _SCHEMA_TOOL_USE_BLOCK, @@ -173,6 +176,7 @@ VALIDATION_EXCEPTION as _SCHEMA_VALIDATION_EXCEPTION, VIDEO_BLOCK as _SCHEMA_VIDEO_BLOCK, VIDEO_SOURCE as _SCHEMA_VIDEO_SOURCE, + WEB_LOCATION as _SCHEMA_WEB_LOCATION, ) @@ -189,12 +193,10 @@ class ServiceError(ModeledError): @dataclass(kw_only=True) class AccessDeniedException(ServiceError): - """ - The request is denied because you do not have sufficient permissions to perform - the requested action. For troubleshooting this error, see - ``AccessDeniedException ``_ + """The request is denied because you do not have sufficient permissions to + perform the requested action. For troubleshooting this error, see + [AccessDeniedException](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-access-denied) in the Amazon Bedrock User Guide - """ fault: Literal["client", "server"] | None = "client" @@ -258,10 +260,10 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GetAsyncInvokeInput: + """Dataclass for GetAsyncInvokeInput structure.""" + invocation_arn: str | None = None - """ - The invocation's ARN. - """ + """The invocation's ARN.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GET_ASYNC_INVOKE_INPUT, self) @@ -297,23 +299,17 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class AsyncInvokeS3OutputDataConfig: - """ - Asynchronous invocation output data settings. - - """ + """Asynchronous invocation output data settings.""" s3_uri: str - """ - An object URI starting with ``s3://``. - """ + """An object URI starting with `s3://`.""" kms_key_id: str | None = None - """ - A KMS encryption key ID. - """ + """A KMS encryption key ID.""" + bucket_owner: str | None = None - """ - If the bucket belongs to another AWS account, specify that account's ID. + """If the bucket belongs to another AWS account, specify that account's + ID. """ def serialize(self, serializer: ShapeSerializer): @@ -373,10 +369,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class AsyncInvokeOutputDataConfigS3OutputDataConfig: - """ - A storage location for the output data in an S3 bucket - - """ + """A storage location for the output data in an S3 bucket""" value: AsyncInvokeS3OutputDataConfig @@ -420,11 +413,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: AsyncInvokeOutputDataConfig = Union[ AsyncInvokeOutputDataConfigS3OutputDataConfig | AsyncInvokeOutputDataConfigUnknown ] - -""" -Asynchronous invocation output data settings. - -""" +"""Asynchronous invocation output data settings.""" class _AsyncInvokeOutputDataConfigDeserializer: @@ -471,47 +460,34 @@ class AsyncInvokeStatus(StrEnum): @dataclass(kw_only=True) class GetAsyncInvokeOutput: + """Dataclass for GetAsyncInvokeOutput structure.""" + invocation_arn: str - """ - The invocation's ARN. - """ + """The invocation's ARN.""" model_arn: str - """ - The invocation's model ARN. - """ + """The invocation's model ARN.""" status: str - """ - The invocation's status. - """ + """The invocation's status.""" submit_time: datetime - """ - When the invocation request was submitted. - """ + """When the invocation request was submitted.""" output_data_config: AsyncInvokeOutputDataConfig - """ - Output data settings. - """ + """Output data settings.""" client_request_token: str | None = None - """ - The invocation's idempotency token. - """ + """The invocation's idempotency token.""" + failure_message: str | None = field(repr=False, default=None) - """ - An error message. - """ + """An error message.""" + last_modified_time: datetime | None = None - """ - The invocation's last modified time. - """ + """The invocation's last modified time.""" + end_time: datetime | None = None - """ - When the invocation ended. - """ + """When the invocation ended.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GET_ASYNC_INVOKE_OUTPUT, self) @@ -622,11 +598,9 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class InternalServerException(ServiceError): - """ - An internal server error occurred. For troubleshooting this error, see - ``InternalFailure ``_ + """An internal server error occurred. For troubleshooting this error, see + [InternalFailure](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-internal-failure) in the Amazon Bedrock User Guide - """ fault: Literal["client", "server"] | None = "server" @@ -664,11 +638,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ThrottlingException(ServiceError): - """ - Your request was denied due to exceeding the account quotas for *Amazon - Bedrock*. For troubleshooting this error, see ``ThrottlingException ``_ + """Your request was denied due to exceeding the account quotas for *Amazon + Bedrock*. For troubleshooting this error, see + [ThrottlingException](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-throttling-exception) in the Amazon Bedrock User Guide - """ fault: Literal["client", "server"] | None = "client" @@ -706,11 +679,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ValidationException(ServiceError): - """ - The input fails to satisfy the constraints specified by *Amazon Bedrock*. For - troubleshooting this error, see ``ValidationError ``_ + """The input fails to satisfy the constraints specified by *Amazon + Bedrock*. For troubleshooting this error, see + [ValidationError](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-validation-error) in the Amazon Bedrock User Guide - """ fault: Literal["client", "server"] | None = "client" @@ -786,35 +758,30 @@ class SortOrder(StrEnum): @dataclass(kw_only=True) class ListAsyncInvokesInput: + """Dataclass for ListAsyncInvokesInput structure.""" + submit_time_after: datetime | None = None - """ - Include invocations submitted after this time. - """ + """Include invocations submitted after this time.""" + submit_time_before: datetime | None = None - """ - Include invocations submitted before this time. - """ + """Include invocations submitted before this time.""" + status_equals: str | None = None - """ - Filter invocations by status. - """ + """Filter invocations by status.""" + max_results: int | None = None - """ - The maximum number of invocations to return in one page of results. - """ + """The maximum number of invocations to return in one page of results.""" + next_token: str | None = None + """Specify the pagination token from a previous request to retrieve the + next page of results. """ - Specify the pagination token from a previous request to retrieve the next page - of results. - """ + sort_by: str = "SubmissionTime" - """ - How to sort the response. - """ + """How to sort the response.""" + sort_order: str = "Descending" - """ - The sorting order for the response. - """ + """The sorting order for the response.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_LIST_ASYNC_INVOKES_INPUT, self) @@ -912,51 +879,34 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class AsyncInvokeSummary: - """ - A summary of an asynchronous invocation. - - """ + """A summary of an asynchronous invocation.""" invocation_arn: str - """ - The invocation's ARN. - """ + """The invocation's ARN.""" model_arn: str - """ - The invoked model's ARN. - """ + """The invoked model's ARN.""" submit_time: datetime - """ - When the invocation was submitted. - """ + """When the invocation was submitted.""" output_data_config: AsyncInvokeOutputDataConfig - """ - The invocation's output data settings. - """ + """The invocation's output data settings.""" client_request_token: str | None = None - """ - The invocation's idempotency token. - """ + """The invocation's idempotency token.""" + status: str | None = None - """ - The invocation's status. - """ + """The invocation's status.""" + failure_message: str | None = field(repr=False, default=None) - """ - An error message. - """ + """An error message.""" + last_modified_time: datetime | None = None - """ - When the invocation was last modified. - """ + """When the invocation was last modified.""" + end_time: datetime | None = None - """ - When the invocation ended. - """ + """When the invocation ended.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_ASYNC_INVOKE_SUMMARY, self) @@ -1093,15 +1043,15 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class ListAsyncInvokesOutput: + """Dataclass for ListAsyncInvokesOutput structure.""" + next_token: str | None = None + """Specify the pagination token from a previous request to retrieve the + next page of results. """ - Specify the pagination token from a previous request to retrieve the next page - of results. - """ + async_invoke_summaries: list[AsyncInvokeSummary] | None = None - """ - A list of invocation summaries. - """ + """A list of invocation summaries.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_LIST_ASYNC_INVOKES_OUTPUT, self) @@ -1182,10 +1132,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ConflictException(ServiceError): - """ - Error occurred because of a conflict while performing an operation. - - """ + """Error occurred because of a conflict while performing an operation.""" fault: Literal["client", "server"] | None = "client" @@ -1222,11 +1169,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ResourceNotFoundException(ServiceError): - """ - The specified resource ARN was not found. For troubleshooting this error, see - ``ResourceNotFound ``_ + """The specified resource ARN was not found. For troubleshooting this + error, see + [ResourceNotFound](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-resource-not-found) in the Amazon Bedrock User Guide - """ fault: Literal["client", "server"] | None = "client" @@ -1266,11 +1212,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ServiceQuotaExceededException(ServiceError): - """ - Your request exceeds the service quota for your account. You can view your - quotas at ``Viewing service quotas ``_. + """Your request exceeds the service quota for your account. You can view + your quotas at [Viewing service + quotas](https://docs.aws.amazon.com/servicequotas/latest/userguide/gs-request-quota.html). You can resubmit your request later. - """ fault: Literal["client", "server"] | None = "client" @@ -1311,11 +1256,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ServiceUnavailableException(ServiceError): - """ - The service isn't currently available. For troubleshooting this error, see - ``ServiceUnavailable ``_ + """The service isn't currently available. For troubleshooting this error, + see + [ServiceUnavailable](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-service-unavailable) in the Amazon Bedrock User Guide - """ fault: Literal["client", "server"] | None = "server" @@ -1355,20 +1299,13 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class Tag: - """ - A tag. - - """ + """A tag.""" key: str - """ - The tag's key. - """ + """The tag's key.""" value: str - """ - The tag's value. - """ + """The tag's value.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_TAG, self) @@ -1425,26 +1362,22 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class StartAsyncInvokeInput: + """Dataclass for StartAsyncInvokeInput structure.""" + client_request_token: str | None = None - """ - Specify idempotency token to ensure that requests are not duplicated. - """ + """Specify idempotency token to ensure that requests are not duplicated.""" + model_id: str | None = None - """ - The model to invoke. - """ + """The model to invoke.""" + model_input: Document | None = field(repr=False, default=None) - """ - Input to send to the model. - """ + """Input to send to the model.""" + output_data_config: AsyncInvokeOutputDataConfig | None = None - """ - Where to store the output. - """ + """Where to store the output.""" + tags: list[Tag] | None = None - """ - Tags to apply to the invocation. - """ + """Tags to apply to the invocation.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_START_ASYNC_INVOKE_INPUT, self) @@ -1521,10 +1454,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class StartAsyncInvokeOutput: + """Dataclass for StartAsyncInvokeOutput structure.""" + invocation_arn: str - """ - The ARN of the invocation. - """ + """The ARN of the invocation.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_START_ASYNC_INVOKE_OUTPUT, self) @@ -1605,9 +1538,8 @@ class GuardrailImageFormat(StrEnum): @dataclass class GuardrailImageSourceBytes: - """ - The bytes details of the guardrail image source. Object used in independent api. - + """The bytes details of the guardrail image source. Object used in + independent api. """ value: bytes @@ -1653,11 +1585,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: GuardrailImageSource = Union[GuardrailImageSourceBytes | GuardrailImageSourceUnknown] - -""" -The image source (image bytes) of the guardrail image source. Object used in -independent api. - +"""The image source (image bytes) of the guardrail image source. Object +used in independent api. """ @@ -1693,20 +1622,18 @@ def _set_result(self, value: GuardrailImageSource) -> None: @dataclass(kw_only=True) class GuardrailImageBlock: - """ - Contain an image which user wants guarded. This block is accepted by the + """Contain an image which user wants guarded. This block is accepted by the guardrails independent API. - """ format: str - """ - The format details for the file type of the image blocked by the guardrail. + """The format details for the file type of the image blocked by the + guardrail. """ source: GuardrailImageSource = field(repr=False) - """ - The image source (image bytes) details of the image blocked by the guardrail. + """The image source (image bytes) details of the image blocked by the + guardrail. """ def serialize(self, serializer: ShapeSerializer): @@ -1781,20 +1708,13 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailTextBlock: - """ - The text block to be evaluated by the guardrail. - - """ + """The text block to be evaluated by the guardrail.""" text: str - """ - The input text details to be evaluated by the guardrail. - """ + """The input text details to be evaluated by the guardrail.""" qualifiers: list[str] | None = None - """ - The qualifiers describing the text block. - """ + """The qualifiers describing the text block.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_TEXT_BLOCK, self) @@ -1839,10 +1759,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class GuardrailContentBlockText: - """ - Text within content block to be evaluated by the guardrail. - - """ + """Text within content block to be evaluated by the guardrail.""" value: GuardrailTextBlock @@ -1861,10 +1778,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class GuardrailContentBlockImage: - """ - Image within guardrail content block to be evaluated by the guardrail. - - """ + """Image within guardrail content block to be evaluated by the guardrail.""" value: GuardrailImageBlock @@ -1909,11 +1823,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | GuardrailContentBlockImage | GuardrailContentBlockUnknown ] - -""" -The content block to be evaluated by the guardrail. - -""" +"""The content block to be evaluated by the guardrail.""" class _GuardrailContentBlockDeserializer: @@ -1986,32 +1896,29 @@ class GuardrailContentSource(StrEnum): @dataclass(kw_only=True) class ApplyGuardrailInput: + """Dataclass for ApplyGuardrailInput structure.""" + guardrail_identifier: str | None = None - """ - The guardrail identifier used in the request to apply the guardrail. - """ + """The guardrail identifier used in the request to apply the guardrail.""" + guardrail_version: str | None = None - """ - The guardrail version used in the request to apply the guardrail. - """ + """The guardrail version used in the request to apply the guardrail.""" + source: str | None = None - """ - The source of data used in the request to apply the guardrail. - """ + """The source of data used in the request to apply the guardrail.""" + content: list[GuardrailContentBlock] | None = None - """ - The content details used in the request to apply the guardrail. - """ + """The content details used in the request to apply the guardrail.""" + output_scope: str | None = None - """ - Specifies the scope of the output that you get in the response. Set to ``FULL`` - to return the entire output, including any detected and non-detected entries in - the response for enhanced debugging. + """Specifies the scope of the output that you get in the response. Set to + `FULL` to return the entire output, including any detected and + non-detected entries in the response for enhanced debugging. - Note that the full output scope doesn't apply to word filters or regex in - sensitive information filters. It does apply to all other filtering policies, - including sensitive information with filters that can detect personally - identifiable information (PII). + Note that the full output scope doesn't apply to word filters or regex + in sensitive information filters. It does apply to all other filtering + policies, including sensitive information with filters that can detect + personally identifiable information (PII). """ def serialize(self, serializer: ShapeSerializer): @@ -2096,19 +2003,16 @@ class GuardrailAction(StrEnum): @dataclass(kw_only=True) class GuardrailAutomatedReasoningRule: - """ - References a specific automated reasoning policy rule that was applied during - evaluation. - + """References a specific automated reasoning policy rule that was applied + during evaluation. """ identifier: str | None = None - """ - The unique identifier of the automated reasoning rule. - """ + """The unique identifier of the automated reasoning rule.""" + policy_version_arn: str | None = None - """ - The ARN of the automated reasoning policy version that contains this rule. + """The ARN of the automated reasoning policy version that contains this + rule. """ def serialize(self, serializer: ShapeSerializer): @@ -2187,20 +2091,15 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailAutomatedReasoningStatement: - """ - A logical statement that includes both formal logic representation and natural - language explanation. - + """A logical statement that includes both formal logic representation and + natural language explanation. """ logic: str | None = field(repr=False, default=None) - """ - The formal logical representation of the statement. - """ + """The formal logical representation of the statement.""" + natural_language: str | None = field(repr=False, default=None) - """ - The natural language explanation of the logical statement. - """ + """The natural language explanation of the logical statement.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_AUTOMATED_REASONING_STATEMENT, self) @@ -2285,25 +2184,23 @@ class GuardrailAutomatedReasoningLogicWarningType(StrEnum): @dataclass(kw_only=True) class GuardrailAutomatedReasoningLogicWarning: - """ - Identifies logical issues in the translated statements that exist independent of - any policy rules, such as statements that are always true or always false. - + """Identifies logical issues in the translated statements that exist + independent of any policy rules, such as statements that are always true + or always false. """ type: str | None = None + """The category of the detected logical issue, such as statements that are + always true or always false. """ - The category of the detected logical issue, such as statements that are always - true or always false. - """ + premises: list[GuardrailAutomatedReasoningStatement] | None = None - """ - The logical statements that serve as premises under which the claims are + """The logical statements that serve as premises under which the claims are validated. """ + claims: list[GuardrailAutomatedReasoningStatement] | None = None - """ - The logical statements that are validated while assuming the policy and + """The logical statements that are validated while assuming the policy and premises. """ @@ -2381,16 +2278,12 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailAutomatedReasoningInputTextReference: - """ - References a portion of the original input text that corresponds to logical - elements. - + """References a portion of the original input text that corresponds to + logical elements. """ text: str | None = field(repr=False, default=None) - """ - The specific text from the original input that this reference points to. - """ + """The specific text from the original input that this reference points to.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct( @@ -2462,40 +2355,37 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailAutomatedReasoningTranslation: - """ - Contains the logical translation of natural language input into formal logical - statements, including premises, claims, and confidence scores. - + """Contains the logical translation of natural language input into formal + logical statements, including premises, claims, and confidence scores. """ premises: list[GuardrailAutomatedReasoningStatement] | None = None + """The logical statements that serve as the foundation or assumptions for + the claims. """ - The logical statements that serve as the foundation or assumptions for the - claims. - """ + claims: list[GuardrailAutomatedReasoningStatement] | None = None + """The logical statements that are being validated against the premises and + policy rules. """ - The logical statements that are being validated against the premises and policy - rules. - """ + untranslated_premises: ( list[GuardrailAutomatedReasoningInputTextReference] | None ) = None - """ - References to portions of the original input text that correspond to the + """References to portions of the original input text that correspond to the premises but could not be fully translated. """ + untranslated_claims: list[GuardrailAutomatedReasoningInputTextReference] | None = ( None ) + """References to portions of the original input text that correspond to the + claims but could not be fully translated. """ - References to portions of the original input text that correspond to the claims - but could not be fully translated. - """ + confidence: float | None = None - """ - A confidence score between 0 and 1 indicating how certain the system is about - the logical translation. + """A confidence score between 0 and 1 indicating how certain the system is + about the logical translation. """ def serialize(self, serializer: ShapeSerializer): @@ -2608,25 +2498,21 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailAutomatedReasoningImpossibleFinding: - """ - Indicates that no valid claims can be made due to logical contradictions in the - premises or rules. - + """Indicates that no valid claims can be made due to logical contradictions + in the premises or rules. """ translation: GuardrailAutomatedReasoningTranslation | None = None - """ - The logical translation of the input that this finding evaluates. - """ + """The logical translation of the input that this finding evaluates.""" + contradicting_rules: list[GuardrailAutomatedReasoningRule] | None = None + """The automated reasoning policy rules that contradict the claims and/or + premises in the input. """ - The automated reasoning policy rules that contradict the claims and/or premises - in the input. - """ + logic_warning: GuardrailAutomatedReasoningLogicWarning | None = None - """ - Indication of a logic issue with the translation without needing to consider the - automated reasoning policy rules. + """Indication of a logic issue with the translation without needing to + consider the automated reasoning policy rules. """ def serialize(self, serializer: ShapeSerializer): @@ -2701,24 +2587,21 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailAutomatedReasoningInvalidFinding: - """ - Indicates that the claims are logically false and contradictory to the + """Indicates that the claims are logically false and contradictory to the established rules or premises. - """ translation: GuardrailAutomatedReasoningTranslation | None = None - """ - The logical translation of the input that this finding invalidates. - """ + """The logical translation of the input that this finding invalidates.""" + contradicting_rules: list[GuardrailAutomatedReasoningRule] | None = None + """The automated reasoning policy rules that contradict the claims in the + input. """ - The automated reasoning policy rules that contradict the claims in the input. - """ + logic_warning: GuardrailAutomatedReasoningLogicWarning | None = None - """ - Indication of a logic issue with the translation without needing to consider the - automated reasoning policy rules. + """Indication of a logic issue with the translation without needing to + consider the automated reasoning policy rules. """ def serialize(self, serializer: ShapeSerializer): @@ -2793,10 +2676,8 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailAutomatedReasoningNoTranslationsFinding: - """ - Indicates that no relevant logical information could be extracted from the input - for validation. - + """Indicates that no relevant logical information could be extracted from + the input for validation. """ def serialize(self, serializer: ShapeSerializer): @@ -2829,16 +2710,12 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailAutomatedReasoningScenario: - """ - Represents a logical scenario where claims can be evaluated as true or false, - containing specific logical assignments. - + """Represents a logical scenario where claims can be evaluated as true or + false, containing specific logical assignments. """ statements: list[GuardrailAutomatedReasoningStatement] | None = None - """ - List of logical assignments and statements that define this scenario. - """ + """List of logical assignments and statements that define this scenario.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_AUTOMATED_REASONING_SCENARIO, self) @@ -2882,28 +2759,26 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailAutomatedReasoningSatisfiableFinding: - """ - Indicates that the claims could be either true or false depending on additional - assumptions not provided in the input. - + """Indicates that the claims could be either true or false depending on + additional assumptions not provided in the input. """ translation: GuardrailAutomatedReasoningTranslation | None = None - """ - The logical translation of the input that this finding evaluates. - """ + """The logical translation of the input that this finding evaluates.""" + claims_true_scenario: GuardrailAutomatedReasoningScenario | None = None + """An example scenario demonstrating how the claims could be logically + true. """ - An example scenario demonstrating how the claims could be logically true. - """ + claims_false_scenario: GuardrailAutomatedReasoningScenario | None = None + """An example scenario demonstrating how the claims could be logically + false. """ - An example scenario demonstrating how the claims could be logically false. - """ + logic_warning: GuardrailAutomatedReasoningLogicWarning | None = None - """ - Indication of a logic issue with the translation without needing to consider the - automated reasoning policy rules. + """Indication of a logic issue with the translation without needing to + consider the automated reasoning policy rules. """ def serialize(self, serializer: ShapeSerializer): @@ -2986,10 +2861,8 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailAutomatedReasoningTooComplexFinding: - """ - Indicates that the input exceeds the processing capacity due to the volume or - complexity of the logical information. - + """Indicates that the input exceeds the processing capacity due to the + volume or complexity of the logical information. """ def serialize(self, serializer: ShapeSerializer): @@ -3076,14 +2949,13 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailAutomatedReasoningTranslationOption: - """ - Represents one possible logical interpretation of ambiguous input content. - + """Represents one possible logical interpretation of ambiguous input + content. """ translations: list[GuardrailAutomatedReasoningTranslation] | None = None - """ - Example translations that provide this possible interpretation of the input. + """Example translations that provide this possible interpretation of the + input. """ def serialize(self, serializer: ShapeSerializer): @@ -3159,20 +3031,18 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailAutomatedReasoningTranslationAmbiguousFinding: - """ - Indicates that the input has multiple valid logical interpretations, requiring - additional context or clarification. - + """Indicates that the input has multiple valid logical interpretations, + requiring additional context or clarification. """ options: list[GuardrailAutomatedReasoningTranslationOption] | None = None + """Different logical interpretations that were detected during translation + of the input. """ - Different logical interpretations that were detected during translation of the - input. - """ + difference_scenarios: list[GuardrailAutomatedReasoningScenario] | None = None - """ - Scenarios showing how the different translation options differ in meaning. + """Scenarios showing how the different translation options differ in + meaning. """ def serialize(self, serializer: ShapeSerializer): @@ -3241,29 +3111,24 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailAutomatedReasoningValidFinding: - """ - Indicates that the claims are definitively true and logically implied by the - premises, with no possible alternative interpretations. - + """Indicates that the claims are definitively true and logically implied by + the premises, with no possible alternative interpretations. """ translation: GuardrailAutomatedReasoningTranslation | None = None - """ - The logical translation of the input that this finding validates. - """ + """The logical translation of the input that this finding validates.""" + claims_true_scenario: GuardrailAutomatedReasoningScenario | None = None - """ - An example scenario demonstrating how the claims are logically true. - """ + """An example scenario demonstrating how the claims are logically true.""" + supporting_rules: list[GuardrailAutomatedReasoningRule] | None = None + """The automated reasoning policy rules that support why this result is + considered valid. """ - The automated reasoning policy rules that support why this result is considered - valid. - """ + logic_warning: GuardrailAutomatedReasoningLogicWarning | None = None - """ - Indication of a logic issue with the translation without needing to consider the - automated reasoning policy rules. + """Indication of a logic issue with the translation without needing to + consider the automated reasoning policy rules. """ def serialize(self, serializer: ShapeSerializer): @@ -3351,11 +3216,9 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class GuardrailAutomatedReasoningFindingValid: - """ - Contains the result when the automated reasoning evaluation determines that the - claims in the input are logically valid and definitively true based on the - provided premises and policy rules. - + """Contains the result when the automated reasoning evaluation determines + that the claims in the input are logically valid and definitively true + based on the provided premises and policy rules. """ value: GuardrailAutomatedReasoningValidFinding @@ -3377,11 +3240,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class GuardrailAutomatedReasoningFindingInvalid: - """ - Contains the result when the automated reasoning evaluation determines that the - claims in the input are logically invalid and contradict the established - premises or policy rules. - + """Contains the result when the automated reasoning evaluation determines + that the claims in the input are logically invalid and contradict the + established premises or policy rules. """ value: GuardrailAutomatedReasoningInvalidFinding @@ -3403,11 +3264,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class GuardrailAutomatedReasoningFindingSatisfiable: - """ - Contains the result when the automated reasoning evaluation determines that the - claims in the input could be either true or false depending on additional - assumptions not provided in the input context. - + """Contains the result when the automated reasoning evaluation determines + that the claims in the input could be either true or false depending on + additional assumptions not provided in the input context. """ value: GuardrailAutomatedReasoningSatisfiableFinding @@ -3432,11 +3291,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class GuardrailAutomatedReasoningFindingImpossible: - """ - Contains the result when the automated reasoning evaluation determines that no - valid logical conclusions can be drawn due to contradictions in the premises or - policy rules themselves. - + """Contains the result when the automated reasoning evaluation determines + that no valid logical conclusions can be drawn due to contradictions in + the premises or policy rules themselves. """ value: GuardrailAutomatedReasoningImpossibleFinding @@ -3459,11 +3316,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class GuardrailAutomatedReasoningFindingTranslationAmbiguous: - """ - Contains the result when the automated reasoning evaluation detects that the - input has multiple valid logical interpretations, requiring additional context - or clarification to proceed with validation. - + """Contains the result when the automated reasoning evaluation detects that + the input has multiple valid logical interpretations, requiring + additional context or clarification to proceed with validation. """ value: GuardrailAutomatedReasoningTranslationAmbiguousFinding @@ -3490,11 +3345,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class GuardrailAutomatedReasoningFindingTooComplex: - """ - Contains the result when the automated reasoning evaluation cannot process the - input due to its complexity or volume exceeding the system's processing capacity - for logical analysis. - + """Contains the result when the automated reasoning evaluation cannot + process the input due to its complexity or volume exceeding the + system's processing capacity for logical analysis. """ value: GuardrailAutomatedReasoningTooComplexFinding @@ -3517,11 +3370,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class GuardrailAutomatedReasoningFindingNoTranslations: - """ - Contains the result when the automated reasoning evaluation cannot extract any - relevant logical information from the input that can be validated against the - policy rules. - + """Contains the result when the automated reasoning evaluation cannot + extract any relevant logical information from the input that can be + validated against the policy rules. """ value: GuardrailAutomatedReasoningNoTranslationsFinding @@ -3577,12 +3428,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | GuardrailAutomatedReasoningFindingNoTranslations | GuardrailAutomatedReasoningFindingUnknown ] - -""" -Represents a logical validation result from automated reasoning policy -evaluation. The finding indicates whether claims in the input are logically -valid, invalid, satisfiable, impossible, or have other logical issues. - +"""Represents a logical validation result from automated reasoning policy +evaluation. The finding indicates whether claims in the input are +logically valid, invalid, satisfiable, impossible, or have other logical +issues. """ @@ -3685,16 +3534,13 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailAutomatedReasoningPolicyAssessment: - """ - Contains the results of automated reasoning policy evaluation, including logical - findings about the validity of claims made in the input content. - + """Contains the results of automated reasoning policy evaluation, including + logical findings about the validity of claims made in the input content. """ findings: list[GuardrailAutomatedReasoningFinding] | None = None - """ - List of logical validation results produced by evaluating the input content - against automated reasoning policies. + """List of logical validation results produced by evaluating the input + content against automated reasoning policies. """ def serialize(self, serializer: ShapeSerializer): @@ -3771,33 +3617,23 @@ class GuardrailContentFilterType(StrEnum): @dataclass(kw_only=True) class GuardrailContentFilter: - """ - The content filter for a guardrail. - - """ + """The content filter for a guardrail.""" type: str - """ - The guardrail type. - """ + """The guardrail type.""" confidence: str - """ - The guardrail confidence. - """ + """The guardrail confidence.""" action: str - """ - The guardrail action. - """ + """The guardrail action.""" filter_strength: str | None = None - """ - The filter strength setting for the guardrail content filter. - """ + """The filter strength setting for the guardrail content filter.""" + detected: bool | None = None - """ - Indicates whether content that breaches the guardrail configuration is detected. + """Indicates whether content that breaches the guardrail configuration is + detected. """ def serialize(self, serializer: ShapeSerializer): @@ -3893,15 +3729,10 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailContentPolicyAssessment: - """ - An assessment of a content policy for a guardrail. - - """ + """An assessment of a content policy for a guardrail.""" filters: list[GuardrailContentFilter] - """ - The content policy filters. - """ + """The content policy filters.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_CONTENT_POLICY_ASSESSMENT, self) @@ -3950,35 +3781,24 @@ class GuardrailContextualGroundingFilterType(StrEnum): @dataclass(kw_only=True) class GuardrailContextualGroundingFilter: - """ - The details for the guardrails contextual grounding filter. - - """ + """The details for the guardrails contextual grounding filter.""" type: str - """ - The contextual grounding filter type. - """ + """The contextual grounding filter type.""" threshold: float - """ - The threshold used by contextual grounding filter to determine whether the - content is grounded or not. + """The threshold used by contextual grounding filter to determine whether + the content is grounded or not. """ score: float - """ - The score generated by contextual grounding filter. - """ + """The score generated by contextual grounding filter.""" action: str - """ - The action performed by the guardrails contextual grounding filter. - """ + """The action performed by the guardrails contextual grounding filter.""" detected: bool | None = None - """ - Indicates whether content that fails the contextual grounding evaluation + """Indicates whether content that fails the contextual grounding evaluation (grounding or relevance score less than the corresponding threshold) was detected. """ @@ -4083,15 +3903,12 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailContextualGroundingPolicyAssessment: - """ - The policy assessment details for the guardrails contextual grounding filter. - + """The policy assessment details for the guardrails contextual grounding + filter. """ filters: list[GuardrailContextualGroundingFilter] | None = None - """ - The filter details for the guardrails contextual grounding filter. - """ + """The filter details for the guardrails contextual grounding filter.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct( @@ -4139,18 +3956,13 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailImageCoverage: - """ - The details of the guardrail image coverage. - - """ + """The details of the guardrail image coverage.""" guarded: int | None = None - """ - The count (integer) of images guardrails guarded. - """ + """The count (integer) of images guardrails guarded.""" + total: int | None = None - """ - Represents the total number of images (integer) that were in the request + """Represents the total number of images (integer) that were in the request (guarded and unguarded). """ @@ -4197,19 +4009,13 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailTextCharactersCoverage: - """ - The guardrail coverage for the text characters. - - """ + """The guardrail coverage for the text characters.""" guarded: int | None = None - """ - The text characters that were guarded by the guardrail coverage. - """ + """The text characters that were guarded by the guardrail coverage.""" + total: int | None = None - """ - The total text characters by the guardrail coverage. - """ + """The total text characters by the guardrail coverage.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_TEXT_CHARACTERS_COVERAGE, self) @@ -4257,18 +4063,13 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailCoverage: - """ - The action of the guardrail coverage details. - - """ + """The action of the guardrail coverage details.""" text_characters: GuardrailTextCharactersCoverage | None = None - """ - The text characters of the guardrail coverage details. - """ + """The text characters of the guardrail coverage details.""" + images: GuardrailImageCoverage | None = None - """ - The guardrail coverage for images (the number of images that guardrails + """The guardrail coverage for images (the number of images that guardrails guarded). """ @@ -4314,53 +4115,35 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailUsage: - """ - The details on the use of the guardrail. - - """ + """The details on the use of the guardrail.""" topic_policy_units: int - """ - The topic policy units processed by the guardrail. - """ + """The topic policy units processed by the guardrail.""" content_policy_units: int - """ - The content policy units processed by the guardrail. - """ + """The content policy units processed by the guardrail.""" word_policy_units: int - """ - The word policy units processed by the guardrail. - """ + """The word policy units processed by the guardrail.""" sensitive_information_policy_units: int - """ - The sensitive information policy units processed by the guardrail. - """ + """The sensitive information policy units processed by the guardrail.""" sensitive_information_policy_free_units: int - """ - The sensitive information policy free units processed by the guardrail. - """ + """The sensitive information policy free units processed by the guardrail.""" contextual_grounding_policy_units: int - """ - The contextual grounding policy units processed by the guardrail. - """ + """The contextual grounding policy units processed by the guardrail.""" content_policy_image_units: int | None = None - """ - The content policy image units processed by the guardrail. - """ + """The content policy image units processed by the guardrail.""" + automated_reasoning_policy_units: int | None = None - """ - The number of text units processed by the automated reasoning policy. - """ + """The number of text units processed by the automated reasoning policy.""" + automated_reasoning_policies: int | None = None - """ - The number of automated reasoning policies that were processed during the - guardrail evaluation. + """The number of automated reasoning policies that were processed during + the guardrail evaluation. """ def serialize(self, serializer: ShapeSerializer): @@ -4477,23 +4260,16 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailInvocationMetrics: - """ - The invocation metrics for the guardrail. - - """ + """The invocation metrics for the guardrail.""" guardrail_processing_latency: int | None = None - """ - The processing latency details for the guardrail invocation metrics. - """ + """The processing latency details for the guardrail invocation metrics.""" + usage: GuardrailUsage | None = None - """ - The usage details for the guardrail invocation metrics. - """ + """The usage details for the guardrail invocation metrics.""" + guardrail_coverage: GuardrailCoverage | None = None - """ - The coverage details for the guardrail invocation metrics. - """ + """The coverage details for the guardrail invocation metrics.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_INVOCATION_METRICS, self) @@ -4592,30 +4368,22 @@ class GuardrailPiiEntityType(StrEnum): @dataclass(kw_only=True) class GuardrailPiiEntityFilter: - """ - A Personally Identifiable Information (PII) entity configured in a guardrail. - + """A Personally Identifiable Information (PII) entity configured in a + guardrail. """ match: str - """ - The PII entity filter match. - """ + """The PII entity filter match.""" type: str - """ - The PII entity filter type. - """ + """The PII entity filter type.""" action: str - """ - The PII entity filter action. - """ + """The PII entity filter action.""" detected: bool | None = None - """ - Indicates whether personally identifiable information (PII) that breaches the - guardrail configuration is detected. + """Indicates whether personally identifiable information (PII) that + breaches the guardrail configuration is detected. """ def serialize(self, serializer: ShapeSerializer): @@ -4702,32 +4470,23 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailRegexFilter: - """ - A Regex filter configured in a guardrail. - - """ + """A Regex filter configured in a guardrail.""" action: str - """ - The region filter action. - """ + """The region filter action.""" name: str | None = None - """ - The regex filter name. - """ + """The regex filter name.""" + match: str | None = None - """ - The regesx filter match. - """ + """The regesx filter match.""" + regex: str | None = None - """ - The regex query. - """ + """The regex query.""" + detected: bool | None = None - """ - Indicates whether custom regex entities that breach the guardrail configuration - are detected. + """Indicates whether custom regex entities that breach the guardrail + configuration are detected. """ def serialize(self, serializer: ShapeSerializer): @@ -4826,20 +4585,13 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailSensitiveInformationPolicyAssessment: - """ - The assessment for aPersonally Identifiable Information (PII) policy. - - """ + """The assessment for a Personally Identifiable Information (PII) policy.""" pii_entities: list[GuardrailPiiEntityFilter] - """ - The PII entities in the assessment. - """ + """The PII entities in the assessment.""" regexes: list[GuardrailRegexFilter] - """ - The regex queries in the assessment. - """ + """The regex queries in the assessment.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct( @@ -4911,31 +4663,22 @@ class GuardrailTopicType(StrEnum): @dataclass(kw_only=True) class GuardrailTopic: - """ - Information about a topic guardrail. - - """ + """Information about a topic guardrail.""" name: str - """ - The name for the guardrail. - """ + """The name for the guardrail.""" type: str - """ - The type behavior that the guardrail should perform when the model detects the - topic. + """The type behavior that the guardrail should perform when the model + detects the topic. """ action: str - """ - The action the guardrail should take when it intervenes on a topic. - """ + """The action the guardrail should take when it intervenes on a topic.""" detected: bool | None = None - """ - Indicates whether topic content that breaches the guardrail configuration is - detected. + """Indicates whether topic content that breaches the guardrail + configuration is detected. """ def serialize(self, serializer: ShapeSerializer): @@ -5014,15 +4757,10 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailTopicPolicyAssessment: - """ - A behavior assessment of a topic policy. - - """ + """A behavior assessment of a topic policy.""" topics: list[GuardrailTopic] - """ - The topics in the assessment. - """ + """The topics in the assessment.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_TOPIC_POLICY_ASSESSMENT, self) @@ -5065,25 +4803,17 @@ class GuardrailWordPolicyAction(StrEnum): @dataclass(kw_only=True) class GuardrailCustomWord: - """ - A custom word configured in a guardrail. - - """ + """A custom word configured in a guardrail.""" match: str - """ - The match for the custom word. - """ + """The match for the custom word.""" action: str - """ - The action for the custom word. - """ + """The action for the custom word.""" detected: bool | None = None - """ - Indicates whether custom word content that breaches the guardrail configuration - is detected. + """Indicates whether custom word content that breaches the guardrail + configuration is detected. """ def serialize(self, serializer: ShapeSerializer): @@ -5164,30 +4894,20 @@ class GuardrailManagedWordType(StrEnum): @dataclass(kw_only=True) class GuardrailManagedWord: - """ - A managed word configured in a guardrail. - - """ + """A managed word configured in a guardrail.""" match: str - """ - The match for the managed word. - """ + """The match for the managed word.""" type: str - """ - The type for the managed word. - """ + """The type for the managed word.""" action: str - """ - The action for the managed word. - """ + """The action for the managed word.""" detected: bool | None = None - """ - Indicates whether managed word content that breaches the guardrail configuration - is detected. + """Indicates whether managed word content that breaches the guardrail + configuration is detected. """ def serialize(self, serializer: ShapeSerializer): @@ -5272,20 +4992,13 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailWordPolicyAssessment: - """ - The word policy assessment. - - """ + """The word policy assessment.""" custom_words: list[GuardrailCustomWord] - """ - Custom words in the assessment. - """ + """Custom words in the assessment.""" managed_word_lists: list[GuardrailManagedWord] - """ - Managed word lists in the assessment. - """ + """Managed word lists in the assessment.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_WORD_POLICY_ASSESSMENT, self) @@ -5339,47 +5052,38 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class GuardrailAssessment: - """ - A behavior assessment of the guardrail policies used in a call to the Converse - API. - + """A behavior assessment of the guardrail policies used in a call to the + Converse API. """ topic_policy: GuardrailTopicPolicyAssessment | None = None - """ - The topic policy. - """ + """The topic policy.""" + content_policy: GuardrailContentPolicyAssessment | None = None - """ - The content policy. - """ + """The content policy.""" + word_policy: GuardrailWordPolicyAssessment | None = None - """ - The word policy. - """ + """The word policy.""" + sensitive_information_policy: ( GuardrailSensitiveInformationPolicyAssessment | None ) = None - """ - The sensitive information policy. - """ + """The sensitive information policy.""" + contextual_grounding_policy: GuardrailContextualGroundingPolicyAssessment | None = ( None ) - """ - The contextual grounding policy used for the guardrail assessment. - """ + """The contextual grounding policy used for the guardrail assessment.""" + automated_reasoning_policy: GuardrailAutomatedReasoningPolicyAssessment | None = ( None ) + """The automated reasoning policy assessment results, including logical + validation findings for the input content. """ - The automated reasoning policy assessment results, including logical validation - findings for the input content. - """ + invocation_metrics: GuardrailInvocationMetrics | None = None - """ - The invocation metrics for the guardrail assessment. - """ + """The invocation metrics for the guardrail assessment.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_ASSESSMENT, self) @@ -5504,15 +5208,10 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailOutputContent: - """ - The output content produced by the guardrail. - - """ + """The output content produced by the guardrail.""" text: str | None = None - """ - The specific text for the output content produced by the guardrail. - """ + """The specific text for the output content produced by the guardrail.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_OUTPUT_CONTENT, self) @@ -5572,34 +5271,25 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class ApplyGuardrailOutput: + """Dataclass for ApplyGuardrailOutput structure.""" + usage: GuardrailUsage - """ - The usage details in the response from the guardrail. - """ + """The usage details in the response from the guardrail.""" action: str - """ - The action taken in the response from the guardrail. - """ + """The action taken in the response from the guardrail.""" outputs: list[GuardrailOutputContent] - """ - The output details in the response from the guardrail. - """ + """The output details in the response from the guardrail.""" assessments: list[GuardrailAssessment] - """ - The assessment details in the response from the guardrail. - """ + """The assessment details in the response from the guardrail.""" action_reason: str | None = None - """ - The reason for the action taken when harmful content is detected. - """ + """The reason for the action taken when harmful content is detected.""" + guardrail_coverage: GuardrailCoverage | None = None - """ - The guardrail coverage details in the apply guardrail response. - """ + """The guardrail coverage details in the apply guardrail response.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_APPLY_GUARDRAIL_OUTPUT, self) @@ -5720,26 +5410,19 @@ class GuardrailTrace(StrEnum): @dataclass(kw_only=True) class GuardrailConfiguration: - """ - Configuration information for a guardrail that you use with the ``Converse ``_ + """Configuration information for a guardrail that you use with the + [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) operation. - """ guardrail_identifier: str - """ - The identifier for the guardrail. - """ + """The identifier for the guardrail.""" guardrail_version: str - """ - The version of the guardrail. - """ + """The version of the guardrail.""" trace: str = "disabled" - """ - The trace behavior for the guardrail. - """ + """The trace behavior for the guardrail.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_CONFIGURATION, self) @@ -5817,50 +5500,51 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class InferenceConfiguration: - """ - Base inference parameters to pass to a model in a call to ``Converse ``_ - or ``ConverseStream - ``*. For more information, see ``Inference parameters for foundation models ``* . - - If you need to pass additional parameters that the model supports, use the - ``additionalModelRequestFields`` request field in the call to ``Converse`` or ``ConverseStream``. For more information, see ``Model parameters ``_ - . + """Base inference parameters to pass to a model in a call to + [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) + or + [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html). + For more information, see [Inference parameters for foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + If you need to pass additional parameters that the model supports, use + the `additionalModelRequestFields` request field in the call to + `Converse` or `ConverseStream`. For more information, see [Model + parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). """ max_tokens: int | None = None + """The maximum number of tokens to allow in the generated response. The + default value is the maximum allowed value for the model that you are + using. For more information, see [Inference parameters for foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). """ - The maximum number of tokens to allow in the generated response. The default - value is the maximum allowed value for the model that you are using. For more - information, see `Inference parameters for foundation models `_ - . - """ + temperature: float | None = None - """ - The likelihood of the model selecting higher-probability options while - generating a response. A lower value makes the model more likely to choose - higher-probability options, while a higher value makes the model more likely to - choose lower-probability options. + """The likelihood of the model selecting higher-probability options while + generating a response. A lower value makes the model more likely to + choose higher-probability options, while a higher value makes the model + more likely to choose lower-probability options. - The default value is the default value for the model that you are using. For - more information, see `Inference parameters for foundation models `_ - . + The default value is the default value for the model that you are using. + For more information, see [Inference parameters for foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). """ + top_p: float | None = None - """ - The percentage of most-likely candidates that the model considers for the next - token. For example, if you choose a value of 0.8 for ``topP``, the model selects - from the top 80% of the probability distribution of tokens that could be next in - the sequence. + """The percentage of most-likely candidates that the model considers for + the next token. For example, if you choose a value of 0.8 for `topP`, + the model selects from the top 80% of the probability distribution of + tokens that could be next in the sequence. - The default value is the default value for the model that you are using. For - more information, see `Inference parameters for foundation models `_ - . + The default value is the default value for the model that you are using. + For more information, see [Inference parameters for foundation + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). """ + stop_sequences: list[str] | None = None - """ - A list of stop sequences. A stop sequence is a sequence of characters that - causes the model to stop generating the response. + """A list of stop sequences. A stop sequence is a sequence of characters + that causes the model to stop generating the response. """ def serialize(self, serializer: ShapeSerializer): @@ -5932,15 +5616,12 @@ class CachePointType(StrEnum): @dataclass(kw_only=True) class CachePointBlock: - """ - Defines a section of content to be cached for reuse in subsequent API calls. - + """Defines a section of content to be cached for reuse in subsequent API + calls. """ type: str - """ - Specifies the type of cache point within the CachePointBlock. - """ + """Specifies the type of cache point within the CachePointBlock.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CACHE_POINT_BLOCK, self) @@ -5972,24 +5653,23 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class DocumentCharLocation: - """ - Specifies a character-level location within a document, providing precise - positioning information for cited content using start and end character indices. - + """Specifies a character-level location within a document, providing + precise positioning information for cited content using start and end + character indices. """ document_index: int | None = None + """The index of the document within the array of documents provided in the + request. """ - The index of the document within the array of documents provided in the request. - """ + start: int | None = None + """The starting character position of the cited content within the + document. """ - The starting character position of the cited content within the document. - """ + end: int | None = None - """ - The ending character position of the cited content within the document. - """ + """The ending character position of the cited content within the document.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_DOCUMENT_CHAR_LOCATION, self) @@ -6045,23 +5725,24 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class DocumentChunkLocation: - """ - Specifies a chunk-level location within a document, providing positioning - information for cited content using logical document segments or chunks. - + """Specifies a chunk-level location within a document, providing + positioning information for cited content using logical document + segments or chunks. """ document_index: int | None = None + """The index of the document within the array of documents provided in the + request. """ - The index of the document within the array of documents provided in the request. - """ + start: int | None = None + """The starting chunk identifier or index of the cited content within the + document. """ - The starting chunk identifier or index of the cited content within the document. - """ + end: int | None = None - """ - The ending chunk identifier or index of the cited content within the document. + """The ending chunk identifier or index of the cited content within the + document. """ def serialize(self, serializer: ShapeSerializer): @@ -6118,24 +5799,20 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class DocumentPageLocation: - """ - Specifies a page-level location within a document, providing positioning + """Specifies a page-level location within a document, providing positioning information for cited content using page numbers. - """ document_index: int | None = None + """The index of the document within the array of documents provided in the + request. """ - The index of the document within the array of documents provided in the request. - """ + start: int | None = None - """ - The starting page number of the cited content within the document. - """ + """The starting page number of the cited content within the document.""" + end: int | None = None - """ - The ending page number of the cited content within the document. - """ + """The ending page number of the cited content within the document.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_DOCUMENT_PAGE_LOCATION, self) @@ -6189,12 +5866,74 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: return kwargs -@dataclass -class CitationLocationDocumentChar: +@dataclass(kw_only=True) +class WebLocation: + """Provides the URL and domain information for the website that was cited + when performing a web search. """ - The character-level location within the document where the cited content is - found. + url: str | None = None + """The URL that was cited when performing a web search.""" + + domain: str | None = None + """The domain that was cited when performing a web search.""" + + def serialize(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_WEB_LOCATION, self) + + def serialize_members(self, serializer: ShapeSerializer): + if self.url is not None: + serializer.write_string(_SCHEMA_WEB_LOCATION.members["url"], self.url) + + if self.domain is not None: + serializer.write_string(_SCHEMA_WEB_LOCATION.members["domain"], self.domain) + + @classmethod + def deserialize(cls, deserializer: ShapeDeserializer) -> Self: + return cls(**cls.deserialize_kwargs(deserializer)) + + @classmethod + def deserialize_kwargs(cls, deserializer: ShapeDeserializer) -> dict[str, Any]: + kwargs: dict[str, Any] = {} + + def _consumer(schema: Schema, de: ShapeDeserializer) -> None: + match schema.expect_member_index(): + case 0: + kwargs["url"] = de.read_string(_SCHEMA_WEB_LOCATION.members["url"]) + + case 1: + kwargs["domain"] = de.read_string( + _SCHEMA_WEB_LOCATION.members["domain"] + ) + + case _: + logger.debug("Unexpected member schema: %s", schema) + + deserializer.read_struct(_SCHEMA_WEB_LOCATION, consumer=_consumer) + return kwargs + + +@dataclass +class CitationLocationWeb: + """The web URL that was cited for this reference.""" + + value: WebLocation + + def serialize(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_CITATION_LOCATION, self) + + def serialize_members(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_CITATION_LOCATION.members["web"], self.value) + + @classmethod + def deserialize(cls, deserializer: ShapeDeserializer) -> Self: + return cls(value=WebLocation.deserialize(deserializer)) + + +@dataclass +class CitationLocationDocumentChar: + """The character-level location within the document where the cited content + is found. """ value: DocumentCharLocation @@ -6214,9 +5953,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class CitationLocationDocumentPage: - """ - The page-level location within the document where the cited content is found. - + """The page-level location within the document where the cited content is + found. """ value: DocumentPageLocation @@ -6236,10 +5974,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class CitationLocationDocumentChunk: - """ - The chunk-level location within the document where the cited content is found, - typically used for documents that have been segmented into logical chunks. - + """The chunk-level location within the document where the cited content is + found, typically used for documents that have been segmented into + logical chunks. """ value: DocumentChunkLocation @@ -6281,17 +6018,16 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: CitationLocation = Union[ - CitationLocationDocumentChar + CitationLocationWeb + | CitationLocationDocumentChar | CitationLocationDocumentPage | CitationLocationDocumentChunk | CitationLocationUnknown ] - -""" -Specifies the precise location within a source document where cited content can -be found. This can include character-level positions, page numbers, or document -chunks depending on the document type and indexing method. - +"""Specifies the precise location within a source document where cited +content can be found. This can include character-level positions, page +numbers, or document chunks depending on the document type and indexing +method. """ @@ -6312,12 +6048,15 @@ def deserialize(self, deserializer: ShapeDeserializer) -> CitationLocation: def _consumer(self, schema: Schema, de: ShapeDeserializer) -> None: match schema.expect_member_index(): case 0: - self._set_result(CitationLocationDocumentChar.deserialize(de)) + self._set_result(CitationLocationWeb.deserialize(de)) case 1: - self._set_result(CitationLocationDocumentPage.deserialize(de)) + self._set_result(CitationLocationDocumentChar.deserialize(de)) case 2: + self._set_result(CitationLocationDocumentPage.deserialize(de)) + + case 3: self._set_result(CitationLocationDocumentChunk.deserialize(de)) case _: @@ -6333,10 +6072,7 @@ def _set_result(self, value: CitationLocation) -> None: @dataclass class CitationSourceContentText: - """ - The text content from the source document that is being cited. - - """ + """The text content from the source document that is being cited.""" value: str @@ -6381,11 +6117,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: CitationSourceContent = Union[CitationSourceContentText | CitationSourceContentUnknown] - -""" -Contains the actual text content from a source document that is being cited or -referenced in the model's response. - +"""Contains the actual text content from a source document that is being +cited or referenced in the model's response. """ @@ -6446,26 +6179,23 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class Citation: - """ - Contains information about a citation that references a specific source - document. Citations provide traceability between the model's generated response - and the source documents that informed that response. - + """Contains information about a citation that references a specific source + document. Citations provide traceability between the model's generated + response and the source documents that informed that response. """ title: str | None = None - """ - The title or identifier of the source document being cited. - """ + """The title or identifier of the source document being cited.""" + source_content: list[CitationSourceContent] | None = None + """The specific content from the source document that was referenced or + cited in the generated response. """ - The specific content from the source document that was referenced or cited in - the generated response. - """ + location: CitationLocation | None = None - """ - The precise location within the source document where the cited content can be - found, including character positions, page numbers, or chunk identifiers. + """The precise location within the source document where the cited content + can be found, including character positions, page numbers, or chunk + identifiers. """ def serialize(self, serializer: ShapeSerializer): @@ -6542,10 +6272,8 @@ def _read_value(d: ShapeDeserializer): @dataclass class CitationGeneratedContentText: - """ - The text content that was generated by the model and is supported by the + """The text content that was generated by the model and is supported by the associated citation. - """ value: str @@ -6593,11 +6321,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: CitationGeneratedContent = Union[ CitationGeneratedContentText | CitationGeneratedContentUnknown ] - -""" -Contains the generated text content that corresponds to or is supported by a -citation from a source document. - +"""Contains the generated text content that corresponds to or is supported +by a citation from a source document. """ @@ -6658,22 +6383,18 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class CitationsContentBlock: - """ - A content block that contains both generated text and associated citation - information. This block type is returned when document citations are enabled, - providing traceability between the generated content and the source documents - that informed the response. - + """A content block that contains both generated text and associated + citation information. This block type is returned when document + citations are enabled, providing traceability between the generated + content and the source documents that informed the response. """ content: list[CitationGeneratedContent] | None = None - """ - The generated content that is supported by the associated citations. - """ + """The generated content that is supported by the associated citations.""" + citations: list[Citation] | None = None - """ - An array of citations that reference the source documents used to generate the - associated content. + """An array of citations that reference the source documents used to + generate the associated content. """ def serialize(self, serializer: ShapeSerializer): @@ -6723,18 +6444,17 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class CitationsConfig: - """ - Configuration settings for enabling and controlling document citations in - Converse API responses. When enabled, the model can include citation information - that links generated content back to specific source documents. - + """Configuration settings for enabling and controlling document citations + in Converse API responses. When enabled, the model can include citation + information that links generated content back to specific source + documents. """ enabled: bool - """ - Specifies whether document citations should be included in the model's response. - When set to true, the model can generate citations that reference the source - documents used to inform the response. + """Specifies whether citations from the selected document should be used in + the model's response. When set to true, the model can generate + citations that reference the source documents used to inform the + response. """ def serialize(self, serializer: ShapeSerializer): @@ -6781,10 +6501,7 @@ class DocumentFormat(StrEnum): @dataclass class DocumentContentBlockText: - """ - The text content of the document. - - """ + """The text content of the document.""" value: str @@ -6829,11 +6546,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: DocumentContentBlock = Union[DocumentContentBlockText | DocumentContentBlockUnknown] - -""" -Contains the actual content of a document that can be processed by the model and -potentially cited in the response. - +"""Contains the actual content of a document that can be processed by the +model and potentially cited in the response. """ @@ -6894,19 +6608,14 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class S3Location: - """ - A storage location in an Amazon S3 bucket. - - """ + """A storage location in an Amazon S3 bucket.""" uri: str - """ - An object URI starting with ``s3://``. - """ + """An object URI starting with `s3://`.""" bucket_owner: str | None = None - """ - If the bucket belongs to another AWS account, specify that account's ID. + """If the bucket belongs to another AWS account, specify that account's + ID. """ def serialize(self, serializer: ShapeSerializer): @@ -6946,10 +6655,8 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class DocumentSourceBytes: - """ - The raw bytes for the document. If you use an Amazon Web Services SDK, you don't - need to encode the bytes in base64. - + """The raw bytes for the document. If you use an Amazon Web Services SDK, + you don't need to encode the bytes in base64. """ value: bytes @@ -6969,11 +6676,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class DocumentSourceS3Location: - """ - The location of a document object in an Amazon S3 bucket. To see which models - support S3 uploads, see `Supported models and features for Converse `_ - . - + """The location of a document object in an Amazon S3 bucket. To see which + models support S3 uploads, see [Supported models and features for + Converse](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html). """ value: S3Location @@ -6993,10 +6698,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class DocumentSourceText: - """ - The text content of the document source. - - """ + """The text content of the document source.""" value: str @@ -7015,10 +6717,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class DocumentSourceContent: - """ - The structured content of the document source, which may include various content - blocks such as text, images, or other document elements. - + """The structured content of the document source, which may include various + content blocks such as text, images, or other document elements. """ value: list[DocumentContentBlock] @@ -7070,11 +6770,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | DocumentSourceContent | DocumentSourceUnknown ] - -""" -Contains the content of a document. - -""" +"""Contains the content of a document.""" class _DocumentSourceDeserializer: @@ -7118,49 +6814,42 @@ def _set_result(self, value: DocumentSource) -> None: @dataclass(kw_only=True) class DocumentBlock: - """ - A document to include in a message. - - """ + """A document to include in a message.""" name: str - """ - A name for the document. The name can only contain the following characters: + """A name for the document. The name can only contain the following + characters: - * Alphanumeric characters + - Alphanumeric characters - * Whitespace characters (no more than one in a row) + - Whitespace characters (no more than one in a row) - * Hyphens + - Hyphens - * Parentheses + - Parentheses - * Square brackets + - Square brackets - .. note:: + Note: This field is vulnerable to prompt injections, because the model might - inadvertently interpret it as instructions. Therefore, we recommend that you - specify a neutral name. + inadvertently interpret it as instructions. Therefore, we recommend that + you specify a neutral name. """ source: DocumentSource - """ - Contains the content of the document. - """ + """Contains the content of the document.""" format: str = "txt" - """ - The format of a document, or its extension. - """ + """The format of a document, or its extension.""" + context: str | None = None + """Contextual information about how the document should be processed or + interpreted by the model when generating citations. """ - Contextual information about how the document should be processed or interpreted - by the model when generating citations. - """ + citations: CitationsConfig | None = None - """ - Configuration settings that control how citations should be generated for this - specific document. + """Configuration settings that control how citations should be generated + for this specific document. """ def serialize(self, serializer: ShapeSerializer): @@ -7225,10 +6914,7 @@ class GuardrailConverseImageFormat(StrEnum): @dataclass class GuardrailConverseImageSourceBytes: - """ - The raw image bytes for the image. - - """ + """The raw image bytes for the image.""" value: bytes @@ -7275,11 +6961,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: GuardrailConverseImageSource = Union[ GuardrailConverseImageSourceBytes | GuardrailConverseImageSourceUnknown ] - -""" -The image source (image bytes) of the guardrail converse image source. - -""" +"""The image source (image bytes) of the guardrail converse image source.""" class _GuardrailConverseImageSourceDeserializer: @@ -7318,20 +7000,17 @@ def _set_result(self, value: GuardrailConverseImageSource) -> None: @dataclass(kw_only=True) class GuardrailConverseImageBlock: - """ - An image block that contains images that you want to assess with a guardrail. - + """An image block that contains images that you want to assess with a + guardrail. """ format: str - """ - The format details for the image type of the guardrail converse image block. + """The format details for the image type of the guardrail converse image + block. """ source: GuardrailConverseImageSource = field(repr=False) - """ - The image source (image bytes) of the guardrail converse image block. - """ + """The image source (image bytes) of the guardrail converse image block.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_CONVERSE_IMAGE_BLOCK, self) @@ -7407,21 +7086,16 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailConverseTextBlock: - """ - A text block that contains text that you want to assess with a guardrail. For - more information, see ``GuardrailConverseContentBlock``. - + """A text block that contains text that you want to assess with a + guardrail. For more information, see + [GuardrailConverseContentBlock](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_GuardrailConverseContentBlock.html). """ text: str - """ - The text that you want to guard. - """ + """The text that you want to guard.""" qualifiers: list[str] | None = None - """ - The qualifier details for the guardrails contextual grounding filter. - """ + """The qualifier details for the guardrails contextual grounding filter.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_GUARDRAIL_CONVERSE_TEXT_BLOCK, self) @@ -7471,10 +7145,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class GuardrailConverseContentBlockText: - """ - The text to guard. - - """ + """The text to guard.""" value: GuardrailConverseTextBlock @@ -7493,10 +7164,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class GuardrailConverseContentBlockImage: - """ - Image within converse content block to be evaluated by the guardrail. - - """ + """Image within converse content block to be evaluated by the guardrail.""" value: GuardrailConverseImageBlock @@ -7541,13 +7209,11 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | GuardrailConverseContentBlockImage | GuardrailConverseContentBlockUnknown ] - -""" - -A content block for selective guarding with the `Converse `_ -or `ConverseStream `_ +"""A content block for selective guarding with the +[Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) +or +[ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) API operations. - """ @@ -7597,10 +7263,8 @@ class ImageFormat(StrEnum): @dataclass class ImageSourceBytes: - """ - The raw image bytes for the image. If you use an AWS SDK, you don't need to - encode the image bytes in base64. - + """The raw image bytes for the image. If you use an AWS SDK, you don't + need to encode the image bytes in base64. """ value: bytes @@ -7618,11 +7282,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ImageSourceS3Location: - """ - The location of an image object in an Amazon S3 bucket. To see which models - support S3 uploads, see `Supported models and features for Converse `_ - . - + """The location of an image object in an Amazon S3 bucket. To see which + models support S3 uploads, see [Supported models and features for + Converse](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html). """ value: S3Location @@ -7662,11 +7324,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: ImageSource = Union[ImageSourceBytes | ImageSourceS3Location | ImageSourceUnknown] - -""" -The source for an image. - -""" +"""The source for an image.""" class _ImageSourceDeserializer: @@ -7704,20 +7362,13 @@ def _set_result(self, value: ImageSource) -> None: @dataclass(kw_only=True) class ImageBlock: - """ - Image content for a message. - - """ + """Image content for a message.""" format: str - """ - The format of the image. - """ + """The format of the image.""" source: ImageSource - """ - The source for the image. - """ + """The source for the image.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_IMAGE_BLOCK, self) @@ -7753,21 +7404,15 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ReasoningTextBlock: - """ - Contains the reasoning that the model used to return the output. - - """ + """Contains the reasoning that the model used to return the output.""" text: str - """ - The reasoning that the model used to return the output. - """ + """The reasoning that the model used to return the output.""" signature: str | None = None - """ - A token that verifies that the reasoning text was generated by the model. If you - pass a reasoning block back to the API in a multi-turn conversation, include the - text and its signature unmodified. + """A token that verifies that the reasoning text was generated by the + model. If you pass a reasoning block back to the API in a multi-turn + conversation, include the text and its signature unmodified. """ def serialize(self, serializer: ShapeSerializer): @@ -7809,10 +7454,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class ReasoningContentBlockReasoningText: - """ - The reasoning that the model used to return the output. - - """ + """The reasoning that the model used to return the output.""" value: ReasoningTextBlock @@ -7831,10 +7473,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ReasoningContentBlockRedactedContent: - """ - The content in the reasoning that was encrypted by the model provider for safety - reasons. The encryption doesn't affect the quality of responses. - + """The content in the reasoning that was encrypted by the model provider + for safety reasons. The encryption doesn't affect the quality of + responses. """ value: bytes @@ -7884,13 +7525,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | ReasoningContentBlockRedactedContent | ReasoningContentBlockUnknown ] - -""" -Contains content regarding the reasoning that is carried out by the model with -respect to the content in the content block. Reasoning refers to a Chain of -Thought (CoT) that the model generates to enhance the accuracy of its final -response. - +"""Contains content regarding the reasoning that is carried out by the +model with respect to the content in the content block. Reasoning refers +to a Chain of Thought (CoT) that the model generates to enhance the +accuracy of its final response. """ @@ -7941,10 +7579,7 @@ class VideoFormat(StrEnum): @dataclass class VideoSourceBytes: - """ - Video content encoded in base64. - - """ + """Video content encoded in base64.""" value: bytes @@ -7961,11 +7596,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class VideoSourceS3Location: - """ - The location of a video object in an Amazon S3 bucket. To see which models - support S3 uploads, see `Supported models and features for Converse `_ - . - + """The location of a video object in an Amazon S3 bucket. To see which + models support S3 uploads, see [Supported models and features for + Converse](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html). """ value: S3Location @@ -8005,12 +7638,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: VideoSource = Union[VideoSourceBytes | VideoSourceS3Location | VideoSourceUnknown] - -""" -A video source. You can upload a smaller video as a base64-encoded string as -long as the encoded file is less than 25MB. You can also transfer videos up to -1GB in size from an S3 bucket. - +"""A video source. You can upload a smaller video as a base64-encoded +string as long as the encoded file is less than 25MB. You can also +transfer videos up to 1GB in size from an S3 bucket. """ @@ -8049,20 +7679,13 @@ def _set_result(self, value: VideoSource) -> None: @dataclass(kw_only=True) class VideoBlock: - """ - A video block. - - """ + """A video block.""" format: str - """ - The block's format. - """ + """The block's format.""" source: VideoSource - """ - The block's source. - """ + """The block's source.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_VIDEO_BLOCK, self) @@ -8098,10 +7721,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class ToolResultContentBlockJson: - """ - A tool result that is JSON format data. - - """ + """A tool result that is JSON format data.""" value: Document @@ -8124,10 +7744,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ToolResultContentBlockText: - """ - A tool result that is text. - - """ + """A tool result that is text.""" value: str @@ -8150,12 +7767,11 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ToolResultContentBlockImage: - """ - A tool result that is an image. - - .. note:: - This field is only supported by Anthropic Claude 3 models. + """A tool result that is an image. + Note: + This field is only supported by Amazon Nova and Anthropic Claude 3 and 4 + models. """ value: ImageBlock @@ -8175,10 +7791,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ToolResultContentBlockDocument: - """ - A tool result that is a document. - - """ + """A tool result that is a document.""" value: DocumentBlock @@ -8197,10 +7810,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ToolResultContentBlockVideo: - """ - A tool result that is video. - - """ + """A tool result that is video.""" value: VideoBlock @@ -8248,10 +7858,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | ToolResultContentBlockVideo | ToolResultContentBlockUnknown ] - -""" -The tool result content block. - +"""The tool result content block. For more information, see [Call a tool +with the Converse +API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) +in the Amazon Bedrock User Guide. """ @@ -8329,30 +7939,30 @@ class ToolResultStatus(StrEnum): @dataclass(kw_only=True) class ToolResultBlock: - """ - A tool result block that contains the results for a tool request that the model - previously made. - + """A tool result block that contains the results for a tool request that + the model previously made. For more information, see [Call a tool with + the Converse + API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) + in the Amazon Bedrock User Guide. """ tool_use_id: str - """ - The ID of the tool request that this is the result for. - """ + """The ID of the tool request that this is the result for.""" content: list[ToolResultContentBlock] - """ - The content for tool result content block. - """ + """The content for tool result content block.""" status: str | None = None - """ - The status for the tool result content block. + """The status for the tool result content block. - .. note:: - This field is only supported Anthropic Claude 3 models. + Note: + This field is only supported by Amazon Nova and Anthropic Claude 3 and 4 + models. """ + type: str | None = None + """The type for the tool result content block.""" + def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_TOOL_RESULT_BLOCK, self) @@ -8368,6 +7978,11 @@ def serialize_members(self, serializer: ShapeSerializer): _SCHEMA_TOOL_RESULT_BLOCK.members["status"], self.status ) + if self.type is not None: + serializer.write_string( + _SCHEMA_TOOL_RESULT_BLOCK.members["type"], self.type + ) + @classmethod def deserialize(cls, deserializer: ShapeDeserializer) -> Self: return cls(**cls.deserialize_kwargs(deserializer)) @@ -8393,6 +8008,11 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: _SCHEMA_TOOL_RESULT_BLOCK.members["status"] ) + case 3: + kwargs["type"] = de.read_string( + _SCHEMA_TOOL_RESULT_BLOCK.members["type"] + ) + case _: logger.debug("Unexpected member schema: %s", schema) @@ -8400,29 +8020,31 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: return kwargs +class ToolUseType(StrEnum): + SERVER_TOOL_USE = "server_tool_use" + + @dataclass(kw_only=True) class ToolUseBlock: - """ - A tool use content block. Contains information about a tool that the model is - requesting be run., The model uses the result from the tool to generate a - response. - + """A tool use content block. Contains information about a tool that the + model is requesting be run., The model uses the result from the tool to + generate a response. For more information, see [Call a tool with the + Converse + API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) + in the Amazon Bedrock User Guide. """ tool_use_id: str - """ - The ID for the tool request. - """ + """The ID for the tool request.""" name: str - """ - The name of the tool that the model wants to use. - """ + """The name of the tool that the model wants to use.""" input: Document - """ - The input to pass to the tool. - """ + """The input to pass to the tool.""" + + type: str | None = None + """The type for the tool request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_TOOL_USE_BLOCK, self) @@ -8433,6 +8055,8 @@ def serialize_members(self, serializer: ShapeSerializer): ) serializer.write_string(_SCHEMA_TOOL_USE_BLOCK.members["name"], self.name) serializer.write_document(_SCHEMA_TOOL_USE_BLOCK.members["input"], self.input) + if self.type is not None: + serializer.write_string(_SCHEMA_TOOL_USE_BLOCK.members["type"], self.type) @classmethod def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @@ -8459,6 +8083,11 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: _SCHEMA_TOOL_USE_BLOCK.members["input"] ) + case 3: + kwargs["type"] = de.read_string( + _SCHEMA_TOOL_USE_BLOCK.members["type"] + ) + case _: logger.debug("Unexpected member schema: %s", schema) @@ -8468,10 +8097,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class ContentBlockText: - """ - Text to include in the message. - - """ + """Text to include in the message.""" value: str @@ -8490,12 +8116,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockImage: - """ - Image to include in the message. + """Image to include in the message. - .. note:: + Note: This field is only supported by Anthropic Claude 3 models. - """ value: ImageBlock @@ -8513,10 +8137,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockDocument: - """ - A document to include in the message. - - """ + """A document to include in the message.""" value: DocumentBlock @@ -8533,10 +8154,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockVideo: - """ - Video to include in the message. - - """ + """Video to include in the message.""" value: VideoBlock @@ -8553,10 +8171,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockToolUse: - """ - Information about a tool use request from a model. - - """ + """Information about a tool use request from a model.""" value: ToolUseBlock @@ -8573,10 +8188,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockToolResult: - """ - The result for a tool request that a model makes. - - """ + """The result for a tool request that a model makes.""" value: ToolResultBlock @@ -8593,14 +8205,12 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockGuardContent: - """ - Contains the content to assess with the guardrail. If you don't specify - ``guardContent`` in a call to the Converse API, the guardrail (if passed in the - Converse API) assesses the entire message. - - For more information, see *Use a guardrail with the Converse API* in the *Amazon - Bedrock User Guide*. + """Contains the content to assess with the guardrail. If you don't specify + `guardContent` in a call to the Converse API, the guardrail (if passed + in the Converse API) assesses the entire message. + For more information, see *Use a guardrail with the Converse API* in the + *Amazon Bedrock User Guide*. """ value: GuardrailConverseContentBlock @@ -8622,10 +8232,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockCachePoint: - """ - CachePoint to include in the message. - - """ + """CachePoint to include in the message.""" value: CachePointBlock @@ -8642,11 +8249,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockReasoningContent: - """ - Contains content regarding the reasoning that is carried out by the model. - Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance - the accuracy of its final response. - + """Contains content regarding the reasoning that is carried out by the + model. Reasoning refers to a Chain of Thought (CoT) that the model + generates to enhance the accuracy of its final response. """ value: ReasoningContentBlock @@ -8666,10 +8271,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockCitationsContent: - """ - A content block that contains both generated text and associated citation - information, providing traceability between the response and source documents. - + """A content block that contains both generated text and associated + citation information, providing traceability between the response and + source documents. """ value: CitationsContentBlock @@ -8723,13 +8327,12 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | ContentBlockCitationsContent | ContentBlockUnknown ] - -""" -A block of content for a message that you pass to, or receive from, a model with -the `Converse `_ -or `ConverseStream `_ +"""A block of content for a message that you pass to, or receive from, a +model with the +[Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) +or +[ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) API operations. - """ @@ -8822,32 +8425,28 @@ class ConversationRole(StrEnum): @dataclass(kw_only=True) class Message: - """ - A message input, or returned from, a call to ``Converse ``_ - or ``ConverseStream ``_ - . - + """A message input, or returned from, a call to + [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) + or + [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html). """ role: str - """ - The role that the message plays in the message. - """ + """The role that the message plays in the message.""" content: list[ContentBlock] - """ - The message content. Note the following restrictions: + """The message content. Note the following restrictions: - * You can include up to 20 images. Each image's size, height, and width must be - no more than 3.75 MB, 8000 px, and 8000 px, respectively. + - You can include up to 20 images. Each image's size, height, and width + must be no more than 3.75 MB, 8000 px, and 8000 px, respectively. - * You can include up to five documents. Each document's size must be no more - than 4.5 MB. + - You can include up to five documents. Each document's size must be no + more than 4.5 MB. - * If you include a ``ContentBlock`` with a ``document`` field in the array, you - must also include a ``ContentBlock`` with a ``text`` field. + - If you include a `ContentBlock` with a `document` field in the array, + you must also include a `ContentBlock` with a `text` field. - * You can only include images and documents if the ``role`` is ``user``. + - You can only include images and documents if the `role` is `user`. """ def serialize(self, serializer: ShapeSerializer): @@ -8916,15 +8515,10 @@ class PerformanceConfigLatency(StrEnum): @dataclass(kw_only=True) class PerformanceConfiguration: - """ - Performance settings for a model. - - """ + """Performance settings for a model.""" latency: str = "standard" - """ - To use a latency-optimized version of the model, set to ``optimized``. - """ + """To use a latency-optimized version of the model, set to `optimized`.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_PERFORMANCE_CONFIGURATION, self) @@ -8958,10 +8552,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class PromptVariableValuesText: - """ - The text value that the variable maps to. - - """ + """The text value that the variable maps to.""" value: str @@ -9006,13 +8597,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: PromptVariableValues = Union[PromptVariableValuesText | PromptVariableValuesUnknown] - -""" -Contains a map of variables in a prompt from Prompt management to an object -containing the values to fill in for them when running model invocation. For -more information, see `How Prompt management works `_ -. - +"""Contains a map of variables in a prompt from Prompt management to an +object containing the values to fill in for them when running model +invocation. For more information, see [How Prompt management +works](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-how.html). """ @@ -9100,10 +8688,7 @@ def _read_value(k: str, d: ShapeDeserializer): @dataclass class SystemContentBlockText: - """ - A system prompt for the model. - - """ + """A system prompt for the model.""" value: str @@ -9124,14 +8709,14 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class SystemContentBlockGuardContent: - """ - A content block to assess with the guardrail. Use with the `Converse `_ - or `ConverseStream `_ + """A content block to assess with the guardrail. Use with the + [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) + or + [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) API operations. - For more information, see *Use a guardrail with the Converse API* in the *Amazon - Bedrock User Guide*. - + For more information, see *Use a guardrail with the Converse API* in the + *Amazon Bedrock User Guide*. """ value: GuardrailConverseContentBlock @@ -9153,10 +8738,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class SystemContentBlockCachePoint: - """ - CachePoint to include in the system prompt. - - """ + """CachePoint to include in the system prompt.""" value: CachePointBlock @@ -9202,10 +8784,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | SystemContentBlockCachePoint | SystemContentBlockUnknown ] - -""" -A system content block. - +"""Contains configurations for instructions to provide the model for how to +handle input. To learn more, see [Using the Converse +API](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-call.html). """ @@ -9272,10 +8853,11 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class AnyToolChoice: - """ - The model must request at least one tool (no text is generated). For example, - ``{"any" : {}}``. - + """The model must request at least one tool (no text is generated). For + example, `{"any" : {}}`. For more information, see [Call a tool with the + Converse + API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) + in the Amazon Bedrock User Guide. """ def serialize(self, serializer: ShapeSerializer): @@ -9303,10 +8885,11 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class AutoToolChoice: - """ - The Model automatically decides if a tool should be called or whether to - generate text instead. For example, ``{"auto" : {}}``. - + """The Model automatically decides if a tool should be called or whether to + generate text instead. For example, `{"auto" : {}}`. For more + information, see [Call a tool with the Converse + API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) + in the Amazon Bedrock User Guide """ def serialize(self, serializer: ShapeSerializer): @@ -9334,18 +8917,18 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class SpecificToolChoice: - """ - The model must request a specific tool. For example, ``{"tool" : {"name" : "Your - tool name"}}``. - - .. note:: This field is only supported by Anthropic Claude 3 models. + """The model must request a specific tool. For example, + `{"tool" : {"name" : "Your tool name"}}`. For more information, see + [Call a tool with the Converse + API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) + in the Amazon Bedrock User Guide + Note: + This field is only supported by Anthropic Claude 3 models. """ name: str - """ - The name of the tool that the model must request. - """ + """The name of the tool that the model must request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_SPECIFIC_TOOL_CHOICE, self) @@ -9377,10 +8960,8 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class ToolChoiceAuto: - """ - (Default). The Model automatically decides if a tool should be called or whether - to generate text instead. - + """(Default). The Model automatically decides if a tool should be called or + whether to generate text instead. """ value: AutoToolChoice @@ -9398,10 +8979,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ToolChoiceAny: - """ - The model must request at least one tool (no text is generated). - - """ + """The model must request at least one tool (no text is generated).""" value: AnyToolChoice @@ -9418,10 +8996,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ToolChoiceTool: - """ - The Model must request the specified tool. Only supported by Anthropic Claude 3 - models. - + """The Model must request the specified tool. Only supported by Anthropic + Claude 3 and Amazon Nova models. """ value: SpecificToolChoice @@ -9461,12 +9037,11 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: ToolChoice = Union[ToolChoiceAuto | ToolChoiceAny | ToolChoiceTool | ToolChoiceUnknown] - -""" -Determines which tools the model should request in a call to ``Converse`` or -``ConverseStream``. ``ToolChoice`` is only supported by Anthropic Claude 3 -models and by Mistral AI Mistral Large. - +"""Determines which tools the model should request in a call to `Converse` +or `ConverseStream`. For more information, see [Call a tool with the +Converse +API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) +in the Amazon Bedrock User Guide. """ @@ -9506,12 +9081,45 @@ def _set_result(self, value: ToolChoice) -> None: self._result = value -@dataclass -class ToolInputSchemaJson: +@dataclass(kw_only=True) +class SystemTool: + """Specifies a system-defined tool for the model to use. *System-defined + tools* are tools that are created and provided by the model provider. """ - The JSON schema for the tool. For more information, see `JSON Schema Reference `_ - . + name: str + """The name of the system-defined tool that you want to call.""" + + def serialize(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_SYSTEM_TOOL, self) + + def serialize_members(self, serializer: ShapeSerializer): + serializer.write_string(_SCHEMA_SYSTEM_TOOL.members["name"], self.name) + + @classmethod + def deserialize(cls, deserializer: ShapeDeserializer) -> Self: + return cls(**cls.deserialize_kwargs(deserializer)) + + @classmethod + def deserialize_kwargs(cls, deserializer: ShapeDeserializer) -> dict[str, Any]: + kwargs: dict[str, Any] = {} + + def _consumer(schema: Schema, de: ShapeDeserializer) -> None: + match schema.expect_member_index(): + case 0: + kwargs["name"] = de.read_string(_SCHEMA_SYSTEM_TOOL.members["name"]) + + case _: + logger.debug("Unexpected member schema: %s", schema) + + deserializer.read_struct(_SCHEMA_SYSTEM_TOOL, consumer=_consumer) + return kwargs + + +@dataclass +class ToolInputSchemaJson: + """The JSON schema for the tool. For more information, see [JSON Schema + Reference](https://json-schema.org/understanding-json-schema/reference). """ value: Document @@ -9553,10 +9161,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: ToolInputSchema = Union[ToolInputSchemaJson | ToolInputSchemaUnknown] - -""" -The schema for the tool. The top level schema type must be ``object``. - +"""The schema for the tool. The top level schema type must be `object`. For +more information, see [Call a tool with the Converse +API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) +in the Amazon Bedrock User Guide. """ @@ -9592,25 +9200,20 @@ def _set_result(self, value: ToolInputSchema) -> None: @dataclass(kw_only=True) class ToolSpecification: - """ - The specification for the tool. - + """The specification for the tool. For more information, see [Call a tool + with the Converse + API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) + in the Amazon Bedrock User Guide. """ name: str - """ - The name for the tool. - """ + """The name for the tool.""" input_schema: ToolInputSchema - """ - The input schema for the tool in JSON format. - """ + """The input schema for the tool in JSON format.""" description: str | None = None - """ - The description for the tool. - """ + """The description for the tool.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_TOOL_SPECIFICATION, self) @@ -9660,10 +9263,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class ToolToolSpec: - """ - The specfication for the tool. - - """ + """The specfication for the tool.""" value: ToolSpecification @@ -9679,11 +9279,25 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass -class ToolCachePoint: - """ - CachePoint to include in the tool configuration. +class ToolSystemTool: + """Specifies the system-defined tool that you want use.""" - """ + value: SystemTool + + def serialize(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_TOOL, self) + + def serialize_members(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_TOOL.members["systemTool"], self.value) + + @classmethod + def deserialize(cls, deserializer: ShapeDeserializer) -> Self: + return cls(value=SystemTool.deserialize(deserializer)) + + +@dataclass +class ToolCachePoint: + """CachePoint to include in the tool configuration.""" value: CachePointBlock @@ -9721,13 +9335,11 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: raise NotImplementedError() -Tool = Union[ToolToolSpec | ToolCachePoint | ToolUnknown] - -""" -Information about a tool that you can use with the Converse API. For more -information, see `Tool use (function calling) `_ +Tool = Union[ToolToolSpec | ToolSystemTool | ToolCachePoint | ToolUnknown] +"""Information about a tool that you can use with the Converse API. For +more information, see [Call a tool with the Converse +API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) in the Amazon Bedrock User Guide. - """ @@ -9751,6 +9363,9 @@ def _consumer(self, schema: Schema, de: ShapeDeserializer) -> None: self._set_result(ToolToolSpec.deserialize(de)) case 1: + self._set_result(ToolSystemTool.deserialize(de)) + + case 2: self._set_result(ToolCachePoint.deserialize(de)) case _: @@ -9789,22 +9404,17 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class ToolConfiguration: - """ - Configuration information for the tools that you pass to a model. For more - information, see ``Tool use (function calling) ``_ + """Configuration information for the tools that you pass to a model. For + more information, see [Tool use (function + calling)](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) in the Amazon Bedrock User Guide. - """ tools: list[Tool] - """ - An array of tools that you want to pass to a model. - """ + """An array of tools that you want to pass to a model.""" tool_choice: ToolChoice | None = None - """ - If supported by model, forces the model to request a tool. - """ + """If supported by model, forces the model to request a tool.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_TOOL_CONFIGURATION, self) @@ -9845,106 +9455,117 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ConverseInput: - model_id: str | None = None - """ - Specifies the model or throughput with which to run inference, or the prompt - resource to use in inference. The value depends on the resource that you use: + """Dataclass for ConverseInput structure.""" - * If you use a base model, specify the model ID or its ARN. For a list of model - IDs for base models, see `Amazon Bedrock base model IDs (on-demand throughput) `_ + model_id: str | None = None + """Specifies the model or throughput with which to run inference, or the + prompt resource to use in inference. The value depends on the resource + that you use: + + - If you use a base model, specify the model ID or its ARN. For a list + of model IDs for base models, see [Amazon Bedrock base model IDs + (on-demand + throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. - * If you use an inference profile, specify the inference profile ID or its ARN. - For a list of inference profile IDs, see `Supported Regions and models for cross-region inference `_ + - If you use an inference profile, specify the inference profile ID or + its ARN. For a list of inference profile IDs, see [Supported Regions + and models for cross-region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html) in the Amazon Bedrock User Guide. - * If you use a provisioned model, specify the ARN of the Provisioned Throughput. - For more information, see `Run inference using a Provisioned Throughput `_ + - If you use a provisioned model, specify the ARN of the Provisioned + Throughput. For more information, see [Run inference using a + Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) in the Amazon Bedrock User Guide. - * If you use a custom model, first purchase Provisioned Throughput for it. Then - specify the ARN of the resulting provisioned model. For more information, see - `Use a custom model in Amazon Bedrock `_ + - If you use a custom model, first purchase Provisioned Throughput for + it. Then specify the ARN of the resulting provisioned model. For more + information, see [Use a custom model in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. - * To include a prompt that was defined in `Prompt management `_, + - To include a prompt that was defined in [Prompt + management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html), specify the ARN of the prompt version to use. - The Converse API doesn't support `imported models `_ - . + The Converse API doesn't support [imported + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html). """ + messages: list[Message] | None = None - """ - The messages that you want to send to the model. - """ + """The messages that you want to send to the model.""" + system: list[SystemContentBlock] | None = None + """A prompt that provides instructions or context to the model about the + task it should perform, or the persona it should adopt during the + conversation. """ - A prompt that provides instructions or context to the model about the task it - should perform, or the persona it should adopt during the conversation. - """ + inference_config: InferenceConfiguration | None = None + """Inference parameters to pass to the model. `Converse` and + `ConverseStream` support a base set of inference parameters. If you need + to pass additional parameters that the model supports, use the + `additionalModelRequestFields` request field. """ - Inference parameters to pass to the model. ``Converse`` and ``ConverseStream`` - support a base set of inference parameters. If you need to pass additional - parameters that the model supports, use the ``additionalModelRequestFields`` - request field. - """ + tool_config: ToolConfiguration | None = None - """ - Configuration information for the tools that the model can use when generating a - response. + """Configuration information for the tools that the model can use when + generating a response. - For information about models that support tool use, see `Supported models and model features `_ - . + For information about models that support tool use, see [Supported + models and model + features](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html#conversation-inference-supported-models-features). """ + guardrail_config: GuardrailConfiguration | None = None + """Configuration information for a guardrail that you want to use in the + request. If you include `guardContent` blocks in the `content` field in + the `messages` field, the guardrail operates only on those messages. If + you include no `guardContent` blocks, the guardrail operates on all + messages in the request body and in any included prompt resource. """ - Configuration information for a guardrail that you want to use in the request. - If you include ``guardContent`` blocks in the ``content`` field in the - ``messages`` field, the guardrail operates only on those messages. If you - include no ``guardContent`` blocks, the guardrail operates on all messages in - the request body and in any included prompt resource. - """ + additional_model_request_fields: Document | None = None + """Additional inference parameters that the model supports, beyond the base + set of inference parameters that `Converse` and `ConverseStream` support + in the `inferenceConfig` field. For more information, see [Model + parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). """ - Additional inference parameters that the model supports, beyond the base set of - inference parameters that ``Converse`` and ``ConverseStream`` support in the ``inferenceConfig`` field. For more information, see `Model parameters `_ - . - """ + prompt_variables: dict[str, PromptVariableValues] | None = field( repr=False, default=None ) + """Contains a map of variables in a prompt from Prompt management to + objects containing the values to fill in for them when running model + invocation. This field is ignored if you don't specify a prompt + resource in the `modelId` field. """ - Contains a map of variables in a prompt from Prompt management to objects - containing the values to fill in for them when running model invocation. This - field is ignored if you don't specify a prompt resource in the ``modelId`` - field. - """ + additional_model_response_field_paths: list[str] | None = None - """ - Additional model parameters field paths to return in the response. ``Converse`` - and ``ConverseStream`` return the requested fields as a JSON Pointer object in - the ``additionalModelResponseFields`` field. The following is example JSON for - ``additionalModelResponseFieldPaths``. + """Additional model parameters field paths to return in the response. + `Converse` and `ConverseStream` return the requested fields as a JSON + Pointer object in the `additionalModelResponseFields` field. The + following is example JSON for `additionalModelResponseFieldPaths`. - ``[ "/stop_sequence" ]`` + `[ "/stop_sequence" ]` - For information about the JSON Pointer syntax, see the `Internet Engineering Task Force (IETF) `_ - documentation. + For information about the JSON Pointer syntax, see the [Internet + Engineering Task Force + (IETF)](https://datatracker.ietf.org/doc/html/rfc6901) documentation. - ``Converse`` and ``ConverseStream`` reject an empty JSON Pointer or incorrectly - structured JSON Pointer with a ``400`` error code. if the JSON Pointer is valid, - but the requested field is not in the model response, it is ignored by - ``Converse``. + `Converse` and `ConverseStream` reject an empty JSON Pointer or + incorrectly structured JSON Pointer with a `400` error code. if the JSON + Pointer is valid, but the requested field is not in the model response, + it is ignored by `Converse`. """ + request_metadata: dict[str, str] | None = field(repr=False, default=None) - """ - Key-value pairs that you can use to filter invocation logs. - """ + """Key-value pairs that you can use to filter invocation logs.""" + performance_config: PerformanceConfiguration | None = None - """ - Model performance settings for the request. - """ + """Model performance settings for the request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONVERSE_INPUT, self) @@ -10086,16 +9707,12 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ConverseMetrics: - """ - Metrics for a call to ``Converse ``_ - . - + """Metrics for a call to + [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html). """ latency_ms: int - """ - The latency of the call to ``Converse``, in milliseconds. - """ + """The latency of the call to `Converse`, in milliseconds.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONVERSE_METRICS, self) @@ -10129,10 +9746,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class ConverseOutputMessage: - """ - The message that the model generates. - - """ + """The message that the model generates.""" value: Message @@ -10171,11 +9785,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: ConverseOutput = Union[ConverseOutputMessage | ConverseOutputUnknown] - -""" -The output from a call to `Converse `_ -. - +"""The output from a call to +[Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html). """ @@ -10303,26 +9914,22 @@ def _read_value(k: str, d: ShapeDeserializer): @dataclass(kw_only=True) class GuardrailTraceAssessment: - """ - A Top level guardrail trace object. For more information, see ``ConverseTrace``. - + """A Top level guardrail trace object. For more information, see + [ConverseTrace](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseTrace.html). """ model_output: list[str] | None = None - """ - The output from the model. - """ + """The output from the model.""" + input_assessment: dict[str, GuardrailAssessment] | None = None - """ - The input assessment. - """ + """The input assessment.""" + output_assessments: dict[str, list[GuardrailAssessment]] | None = None - """ - the output assessments. - """ + """the output assessments.""" + action_reason: str | None = None - """ - Provides the reason for the action taken when harmful content is detected. + """Provides the reason for the action taken when harmful content is + detected. """ def serialize(self, serializer: ShapeSerializer): @@ -10401,15 +10008,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class PromptRouterTrace: - """ - A prompt router trace. - - """ + """A prompt router trace.""" invoked_model_id: str | None = None - """ - The ID of the invoked model. - """ + """The ID of the invoked model.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_PROMPT_ROUTER_TRACE, self) @@ -10445,20 +10047,15 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ConverseTrace: - """ - The trace object in a response from ``Converse ``_. - Currently, you can only trace guardrails. - + """The trace object in a response from + [Converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html). """ guardrail: GuardrailTraceAssessment | None = None - """ - The guardrail trace object. - """ + """The guardrail trace object.""" + prompt_router: PromptRouterTrace | None = None - """ - The request's prompt router. - """ + """The request's prompt router.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONVERSE_TRACE, self) @@ -10499,34 +10096,22 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class TokenUsage: - """ - The tokens used in a message API inference call. - - """ + """The tokens used in a message API inference call.""" input_tokens: int - """ - The number of tokens sent in the request to the model. - """ + """The number of tokens sent in the request to the model.""" output_tokens: int - """ - The number of tokens that the model generated for the request. - """ + """The number of tokens that the model generated for the request.""" total_tokens: int - """ - The total of input tokens and tokens generated by the model. - """ + """The total of input tokens and tokens generated by the model.""" cache_read_input_tokens: int | None = None - """ - The number of input tokens read from the cache for the request. - """ + """The number of input tokens read from the cache for the request.""" + cache_write_input_tokens: int | None = None - """ - The number of input tokens written to the cache for the request. - """ + """The number of input tokens written to the cache for the request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_TOKEN_USAGE, self) @@ -10597,39 +10182,31 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ConverseOperationOutput: + """Dataclass for ConverseOperationOutput structure.""" + output: ConverseOutput - """ - The result from the call to ``Converse``. - """ + """The result from the call to `Converse`.""" stop_reason: str - """ - The reason why the model stopped generating output. - """ + """The reason why the model stopped generating output.""" usage: TokenUsage - """ - The total number of tokens used in the call to ``Converse``. The total includes - the tokens input to the model and the tokens generated by the model. + """The total number of tokens used in the call to `Converse`. The total + includes the tokens input to the model and the tokens generated by the + model. """ metrics: ConverseMetrics - """ - Metrics for the call to ``Converse``. - """ + """Metrics for the call to `Converse`.""" additional_model_response_fields: Document | None = None - """ - Additional fields in the response that are unique to the model. - """ + """Additional fields in the response that are unique to the model.""" + trace: ConverseTrace | None = None - """ - A trace object that contains information about the Guardrail behavior. - """ + """A trace object that contains information about the Guardrail behavior.""" + performance_config: PerformanceConfiguration | None = None - """ - Model performance settings for the request. - """ + """Model performance settings for the request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONVERSE_OPERATION_OUTPUT, self) @@ -10714,21 +10291,15 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ModelErrorException(ServiceError): - """ - The request failed due to an error while processing the model. - - """ + """The request failed due to an error while processing the model.""" fault: Literal["client", "server"] | None = "client" original_status_code: int | None = None - """ - The original status code. - """ + """The original status code.""" + resource_name: str | None = None - """ - The resource name. - """ + """The resource name.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_MODEL_ERROR_EXCEPTION, self) @@ -10785,12 +10356,11 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ModelNotReadyException(ServiceError): - """ - The model specified in the request is not ready to serve inference requests. The - AWS SDK will automatically retry the operation up to 5 times. For information - about configuring automatic retries, see ``Retry behavior ``_ + """The model specified in the request is not ready to serve inference + requests. The AWS SDK will automatically retry the operation up to 5 + times. For information about configuring automatic retries, see [Retry + behavior](https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html) in the *AWS SDKs and Tools* reference guide. - """ fault: Literal["client", "server"] | None = "client" @@ -10829,10 +10399,8 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ModelTimeoutException(ServiceError): - """ - The request took too long to process. Processing time exceeded the model timeout - length. - + """The request took too long to process. Processing time exceeded the model + timeout length. """ fault: Literal["client", "server"] | None = "client" @@ -10919,32 +10487,25 @@ class GuardrailStreamProcessingMode(StrEnum): @dataclass(kw_only=True) class GuardrailStreamConfiguration: - """ - Configuration information for a guardrail that you use with the - ``ConverseStream`` action. - + """Configuration information for a guardrail that you use with the + [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) + action. """ guardrail_identifier: str - """ - The identifier for the guardrail. - """ + """The identifier for the guardrail.""" guardrail_version: str - """ - The version of the guardrail. - """ + """The version of the guardrail.""" trace: str = "disabled" - """ - The trace behavior for the guardrail. - """ + """The trace behavior for the guardrail.""" + stream_processing_mode: str = "sync" - """ - The processing mode. + """The processing mode. - The processing mode. For more information, see *Configure streaming response - behavior* in the *Amazon Bedrock User Guide*. + The processing mode. For more information, see *Configure streaming + response behavior* in the *Amazon Bedrock User Guide*. """ def serialize(self, serializer: ShapeSerializer): @@ -11014,106 +10575,117 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ConverseStreamInput: - model_id: str | None = None - """ - Specifies the model or throughput with which to run inference, or the prompt - resource to use in inference. The value depends on the resource that you use: + """Dataclass for ConverseStreamInput structure.""" - * If you use a base model, specify the model ID or its ARN. For a list of model - IDs for base models, see `Amazon Bedrock base model IDs (on-demand throughput) `_ + model_id: str | None = None + """Specifies the model or throughput with which to run inference, or the + prompt resource to use in inference. The value depends on the resource + that you use: + + - If you use a base model, specify the model ID or its ARN. For a list + of model IDs for base models, see [Amazon Bedrock base model IDs + (on-demand + throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. - * If you use an inference profile, specify the inference profile ID or its ARN. - For a list of inference profile IDs, see `Supported Regions and models for cross-region inference `_ + - If you use an inference profile, specify the inference profile ID or + its ARN. For a list of inference profile IDs, see [Supported Regions + and models for cross-region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html) in the Amazon Bedrock User Guide. - * If you use a provisioned model, specify the ARN of the Provisioned Throughput. - For more information, see `Run inference using a Provisioned Throughput `_ + - If you use a provisioned model, specify the ARN of the Provisioned + Throughput. For more information, see [Run inference using a + Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) in the Amazon Bedrock User Guide. - * If you use a custom model, first purchase Provisioned Throughput for it. Then - specify the ARN of the resulting provisioned model. For more information, see - `Use a custom model in Amazon Bedrock `_ + - If you use a custom model, first purchase Provisioned Throughput for + it. Then specify the ARN of the resulting provisioned model. For more + information, see [Use a custom model in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. - * To include a prompt that was defined in `Prompt management `_, + - To include a prompt that was defined in [Prompt + management](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management.html), specify the ARN of the prompt version to use. - The Converse API doesn't support `imported models `_ - . + The Converse API doesn't support [imported + models](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html). """ + messages: list[Message] | None = None - """ - The messages that you want to send to the model. - """ + """The messages that you want to send to the model.""" + system: list[SystemContentBlock] | None = None + """A prompt that provides instructions or context to the model about the + task it should perform, or the persona it should adopt during the + conversation. """ - A prompt that provides instructions or context to the model about the task it - should perform, or the persona it should adopt during the conversation. - """ + inference_config: InferenceConfiguration | None = None + """Inference parameters to pass to the model. `Converse` and + `ConverseStream` support a base set of inference parameters. If you need + to pass additional parameters that the model supports, use the + `additionalModelRequestFields` request field. """ - Inference parameters to pass to the model. ``Converse`` and ``ConverseStream`` - support a base set of inference parameters. If you need to pass additional - parameters that the model supports, use the ``additionalModelRequestFields`` - request field. - """ + tool_config: ToolConfiguration | None = None - """ - Configuration information for the tools that the model can use when generating a - response. + """Configuration information for the tools that the model can use when + generating a response. - For information about models that support streaming tool use, see `Supported models and model features `_ - . + For information about models that support streaming tool use, see + [Supported models and model + features](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference.html#conversation-inference-supported-models-features). """ + guardrail_config: GuardrailStreamConfiguration | None = None + """Configuration information for a guardrail that you want to use in the + request. If you include `guardContent` blocks in the `content` field in + the `messages` field, the guardrail operates only on those messages. If + you include no `guardContent` blocks, the guardrail operates on all + messages in the request body and in any included prompt resource. """ - Configuration information for a guardrail that you want to use in the request. - If you include ``guardContent`` blocks in the ``content`` field in the - ``messages`` field, the guardrail operates only on those messages. If you - include no ``guardContent`` blocks, the guardrail operates on all messages in - the request body and in any included prompt resource. - """ + additional_model_request_fields: Document | None = None + """Additional inference parameters that the model supports, beyond the base + set of inference parameters that `Converse` and `ConverseStream` support + in the `inferenceConfig` field. For more information, see [Model + parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). """ - Additional inference parameters that the model supports, beyond the base set of - inference parameters that ``Converse`` and ``ConverseStream`` support in the ``inferenceConfig`` field. For more information, see `Model parameters `_ - . - """ + prompt_variables: dict[str, PromptVariableValues] | None = field( repr=False, default=None ) + """Contains a map of variables in a prompt from Prompt management to + objects containing the values to fill in for them when running model + invocation. This field is ignored if you don't specify a prompt + resource in the `modelId` field. """ - Contains a map of variables in a prompt from Prompt management to objects - containing the values to fill in for them when running model invocation. This - field is ignored if you don't specify a prompt resource in the ``modelId`` - field. - """ + additional_model_response_field_paths: list[str] | None = None - """ - Additional model parameters field paths to return in the response. ``Converse`` - and ``ConverseStream`` return the requested fields as a JSON Pointer object in - the ``additionalModelResponseFields`` field. The following is example JSON for - ``additionalModelResponseFieldPaths``. + """Additional model parameters field paths to return in the response. + `Converse` and `ConverseStream` return the requested fields as a JSON + Pointer object in the `additionalModelResponseFields` field. The + following is example JSON for `additionalModelResponseFieldPaths`. - ``[ "/stop_sequence" ]`` + `[ "/stop_sequence" ]` - For information about the JSON Pointer syntax, see the `Internet Engineering Task Force (IETF) `_ - documentation. + For information about the JSON Pointer syntax, see the [Internet + Engineering Task Force + (IETF)](https://datatracker.ietf.org/doc/html/rfc6901) documentation. - ``Converse`` and ``ConverseStream`` reject an empty JSON Pointer or incorrectly - structured JSON Pointer with a ``400`` error code. if the JSON Pointer is valid, - but the requested field is not in the model response, it is ignored by - ``Converse``. + `Converse` and `ConverseStream` reject an empty JSON Pointer or + incorrectly structured JSON Pointer with a `400` error code. if the JSON + Pointer is valid, but the requested field is not in the model response, + it is ignored by `Converse`. """ + request_metadata: dict[str, str] | None = field(repr=False, default=None) - """ - Key-value pairs that you can use to filter invocation logs. - """ + """Key-value pairs that you can use to filter invocation logs.""" + performance_config: PerformanceConfiguration | None = None - """ - Model performance settings for the request. - """ + """Model performance settings for the request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONVERSE_STREAM_INPUT, self) @@ -11265,16 +10837,13 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class CitationSourceContentDelta: - """ - Contains incremental updates to the source content text during streaming + """Contains incremental updates to the source content text during streaming responses, allowing clients to build up the cited content progressively. - """ text: str | None = None - """ - An incremental update to the text content from the source document that is being - cited. + """An incremental update to the text content from the source document that + is being cited. """ def serialize(self, serializer: ShapeSerializer): @@ -11337,27 +10906,24 @@ def _read_value(d: ShapeDeserializer): @dataclass(kw_only=True) class CitationsDelta: - """ - Contains incremental updates to citation information during streaming responses. - This allows clients to build up citation data progressively as the response is - generated. - + """Contains incremental updates to citation information during streaming + responses. This allows clients to build up citation data progressively + as the response is generated. """ title: str | None = None - """ - The title or identifier of the source document being cited. - """ + """The title or identifier of the source document being cited.""" + source_content: list[CitationSourceContentDelta] | None = None + """The specific content from the source document that was referenced or + cited in the generated response. """ - The specific content from the source document that was referenced or cited in - the generated response. - """ + location: CitationLocation | None = None - """ - Specifies the precise location within a source document where cited content can - be found. This can include character-level positions, page numbers, or document - chunks depending on the document type and indexing method. + """Specifies the precise location within a source document where cited + content can be found. This can include character-level positions, page + numbers, or document chunks depending on the document type and indexing + method. """ def serialize(self, serializer: ShapeSerializer): @@ -11415,10 +10981,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class ReasoningContentBlockDeltaText: - """ - The reasoning that the model used to return the output. - - """ + """The reasoning that the model used to return the output.""" value: str @@ -11441,10 +11004,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ReasoningContentBlockDeltaRedactedContent: - """ - The content in the reasoning that was encrypted by the model provider for safety - reasons. The encryption doesn't affect the quality of responses. - + """The content in the reasoning that was encrypted by the model provider + for safety reasons. The encryption doesn't affect the quality of + responses. """ value: bytes @@ -11468,11 +11030,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ReasoningContentBlockDeltaSignature: - """ - A token that verifies that the reasoning text was generated by the model. If you - pass a reasoning block back to the API in a multi-turn conversation, include the - text and its signature unmodified. - + """A token that verifies that the reasoning text was generated by the + model. If you pass a reasoning block back to the API in a multi-turn + conversation, include the text and its signature unmodified. """ value: str @@ -11523,13 +11083,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | ReasoningContentBlockDeltaSignature | ReasoningContentBlockDeltaUnknown ] - -""" -Contains content regarding the reasoning that is carried out by the model with -respect to the content in the content block. Reasoning refers to a Chain of -Thought (CoT) that the model generates to enhance the accuracy of its final -response. - +"""Contains content regarding the reasoning that is carried out by the +model with respect to the content in the content block. Reasoning refers +to a Chain of Thought (CoT) that the model generates to enhance the +accuracy of its final response. """ @@ -11573,17 +11130,120 @@ def _set_result(self, value: ReasoningContentBlockDelta) -> None: self._result = value -@dataclass(kw_only=True) -class ToolUseBlockDelta: - """ - The delta for a tool use block. +@dataclass +class ToolResultBlockDeltaText: + """The reasoning the model used to return the output.""" + + value: str + + def serialize(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_TOOL_RESULT_BLOCK_DELTA, self) + + def serialize_members(self, serializer: ShapeSerializer): + serializer.write_string( + _SCHEMA_TOOL_RESULT_BLOCK_DELTA.members["text"], self.value + ) + + @classmethod + def deserialize(cls, deserializer: ShapeDeserializer) -> Self: + return cls( + value=deserializer.read_string( + _SCHEMA_TOOL_RESULT_BLOCK_DELTA.members["text"] + ) + ) + + +@dataclass +class ToolResultBlockDeltaUnknown: + """Represents an unknown variant. + + If you receive this value, you will need to update your library to receive the + parsed value. + This value may not be deliberately sent. """ + tag: str + + def serialize(self, serializer: ShapeSerializer): + raise SerializationError("Unknown union variants may not be serialized.") + + def serialize_members(self, serializer: ShapeSerializer): + raise SerializationError("Unknown union variants may not be serialized.") + + @classmethod + def deserialize(cls, deserializer: ShapeDeserializer) -> Self: + raise NotImplementedError() + + +ToolResultBlockDelta = Union[ToolResultBlockDeltaText | ToolResultBlockDeltaUnknown] +"""Contains incremental updates to tool results information during +streaming responses. This allows clients to build up tool results data +progressively as the response is generated. +""" + + +class _ToolResultBlockDeltaDeserializer: + _result: ToolResultBlockDelta | None = None + + def deserialize(self, deserializer: ShapeDeserializer) -> ToolResultBlockDelta: + self._result = None + deserializer.read_struct(_SCHEMA_TOOL_RESULT_BLOCK_DELTA, self._consumer) + + if self._result is None: + raise SerializationError( + "Unions must have exactly one value, but found none." + ) + + return self._result + + def _consumer(self, schema: Schema, de: ShapeDeserializer) -> None: + match schema.expect_member_index(): + case 0: + self._set_result(ToolResultBlockDeltaText.deserialize(de)) + + case _: + logger.debug("Unexpected member schema: %s", schema) + + def _set_result(self, value: ToolResultBlockDelta) -> None: + if self._result is not None: + raise SerializationError( + "Unions must have exactly one value, but found more than one." + ) + self._result = value + + +def _serialize_tool_result_blocks_delta( + serializer: ShapeSerializer, schema: Schema, value: list[ToolResultBlockDelta] +) -> None: + member_schema = schema.members["member"] + with serializer.begin_list(schema, len(value)) as ls: + for e in value: + ls.write_struct(member_schema, e) + + +def _deserialize_tool_result_blocks_delta( + deserializer: ShapeDeserializer, schema: Schema +) -> list[ToolResultBlockDelta]: + result: list[ToolResultBlockDelta] = [] + + def _read_value(d: ShapeDeserializer): + if d.is_null(): + d.read_null() + + else: + result.append(_ToolResultBlockDeltaDeserializer().deserialize(d)) + + deserializer.read_list(schema, _read_value) + return result + + +@dataclass(kw_only=True) +class ToolUseBlockDelta: + """The delta for a tool use block.""" + input: str - """ - The input for a requested tool. - """ + """The input for a requested tool.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_TOOL_USE_BLOCK_DELTA, self) @@ -11617,10 +11277,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class ContentBlockDeltaText: - """ - The content text. - - """ + """The content text.""" value: str @@ -11639,10 +11296,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockDeltaToolUse: - """ - Information about a tool that the model is requesting to use. - - """ + """Information about a tool that the model is requesting to use.""" value: ToolUseBlockDelta @@ -11660,12 +11314,33 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass -class ContentBlockDeltaReasoningContent: - """ - Contains content regarding the reasoning that is carried out by the model. - Reasoning refers to a Chain of Thought (CoT) that the model generates to enhance - the accuracy of its final response. +class ContentBlockDeltaToolResult: + """An incremental update that contains the results from a tool call.""" + + value: list[ToolResultBlockDelta] + + def serialize(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_CONTENT_BLOCK_DELTA, self) + + def serialize_members(self, serializer: ShapeSerializer): + _serialize_tool_result_blocks_delta( + serializer, _SCHEMA_CONTENT_BLOCK_DELTA.members["toolResult"], self.value + ) + @classmethod + def deserialize(cls, deserializer: ShapeDeserializer) -> Self: + return cls( + value=_deserialize_tool_result_blocks_delta( + deserializer, _SCHEMA_CONTENT_BLOCK_DELTA.members["toolResult"] + ) + ) + + +@dataclass +class ContentBlockDeltaReasoningContent: + """Contains content regarding the reasoning that is carried out by the + model. Reasoning refers to a Chain of Thought (CoT) that the model + generates to enhance the accuracy of its final response. """ value: ReasoningContentBlockDelta @@ -11687,10 +11362,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ContentBlockDeltaCitation: - """ - Incremental citation information that is streamed as part of the response - generation process. - + """Incremental citation information that is streamed as part of the + response generation process. """ value: CitationsDelta @@ -11734,15 +11407,12 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: ContentBlockDelta = Union[ ContentBlockDeltaText | ContentBlockDeltaToolUse + | ContentBlockDeltaToolResult | ContentBlockDeltaReasoningContent | ContentBlockDeltaCitation | ContentBlockDeltaUnknown ] - -""" -A block of content in a streaming response. - -""" +"""A block of content in a streaming response.""" class _ContentBlockDeltaDeserializer: @@ -11768,9 +11438,12 @@ def _consumer(self, schema: Schema, de: ShapeDeserializer) -> None: self._set_result(ContentBlockDeltaToolUse.deserialize(de)) case 2: - self._set_result(ContentBlockDeltaReasoningContent.deserialize(de)) + self._set_result(ContentBlockDeltaToolResult.deserialize(de)) case 3: + self._set_result(ContentBlockDeltaReasoningContent.deserialize(de)) + + case 4: self._set_result(ContentBlockDeltaCitation.deserialize(de)) case _: @@ -11786,20 +11459,13 @@ def _set_result(self, value: ContentBlockDelta) -> None: @dataclass(kw_only=True) class ContentBlockDeltaEvent: - """ - The content block delta event. - - """ + """The content block delta event.""" delta: ContentBlockDelta - """ - The delta for a content block delta event. - """ + """The delta for a content block delta event.""" content_block_index: int - """ - The block index for a content block delta event. - """ + """The block index for a content block delta event.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONTENT_BLOCK_DELTA_EVENT, self) @@ -11839,21 +11505,87 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) -class ToolUseBlockStart: +class ToolResultBlockStart: + """The start of a tool result block. For more information, see [Call a tool + with the Converse + API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) + in the Amazon Bedrock User Guide. """ - The start of a tool use block. + tool_use_id: str + """The ID of the tool that was used to generate this tool result block.""" + + type: str | None = None + """The type for the tool that was used to generate this tool result block.""" + + status: str | None = None + """The status of the tool result block.""" + + def serialize(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_TOOL_RESULT_BLOCK_START, self) + + def serialize_members(self, serializer: ShapeSerializer): + serializer.write_string( + _SCHEMA_TOOL_RESULT_BLOCK_START.members["toolUseId"], self.tool_use_id + ) + if self.type is not None: + serializer.write_string( + _SCHEMA_TOOL_RESULT_BLOCK_START.members["type"], self.type + ) + + if self.status is not None: + serializer.write_string( + _SCHEMA_TOOL_RESULT_BLOCK_START.members["status"], self.status + ) + + @classmethod + def deserialize(cls, deserializer: ShapeDeserializer) -> Self: + return cls(**cls.deserialize_kwargs(deserializer)) + + @classmethod + def deserialize_kwargs(cls, deserializer: ShapeDeserializer) -> dict[str, Any]: + kwargs: dict[str, Any] = {} + + def _consumer(schema: Schema, de: ShapeDeserializer) -> None: + match schema.expect_member_index(): + case 0: + kwargs["tool_use_id"] = de.read_string( + _SCHEMA_TOOL_RESULT_BLOCK_START.members["toolUseId"] + ) + + case 1: + kwargs["type"] = de.read_string( + _SCHEMA_TOOL_RESULT_BLOCK_START.members["type"] + ) + + case 2: + kwargs["status"] = de.read_string( + _SCHEMA_TOOL_RESULT_BLOCK_START.members["status"] + ) + + case _: + logger.debug("Unexpected member schema: %s", schema) + + deserializer.read_struct(_SCHEMA_TOOL_RESULT_BLOCK_START, consumer=_consumer) + return kwargs + + +@dataclass(kw_only=True) +class ToolUseBlockStart: + """The start of a tool use block. For more information, see [Call a tool + with the Converse + API](https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html) + in the Amazon Bedrock User Guide. """ tool_use_id: str - """ - The ID for the tool request. - """ + """The ID for the tool request.""" name: str - """ - The name of the tool that the model is requesting to use. - """ + """The name of the tool that the model is requesting to use.""" + + type: str | None = None + """The type for the tool request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_TOOL_USE_BLOCK_START, self) @@ -11863,6 +11595,10 @@ def serialize_members(self, serializer: ShapeSerializer): _SCHEMA_TOOL_USE_BLOCK_START.members["toolUseId"], self.tool_use_id ) serializer.write_string(_SCHEMA_TOOL_USE_BLOCK_START.members["name"], self.name) + if self.type is not None: + serializer.write_string( + _SCHEMA_TOOL_USE_BLOCK_START.members["type"], self.type + ) @classmethod def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @@ -11884,33 +11620,54 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: _SCHEMA_TOOL_USE_BLOCK_START.members["name"] ) + case 2: + kwargs["type"] = de.read_string( + _SCHEMA_TOOL_USE_BLOCK_START.members["type"] + ) + case _: logger.debug("Unexpected member schema: %s", schema) - deserializer.read_struct(_SCHEMA_TOOL_USE_BLOCK_START, consumer=_consumer) - return kwargs + deserializer.read_struct(_SCHEMA_TOOL_USE_BLOCK_START, consumer=_consumer) + return kwargs + + +@dataclass +class ContentBlockStartToolUse: + """Information about a tool that the model is requesting to use.""" + + value: ToolUseBlockStart + + def serialize(self, serializer: ShapeSerializer): + serializer.write_struct(_SCHEMA_CONTENT_BLOCK_START, self) + + def serialize_members(self, serializer: ShapeSerializer): + serializer.write_struct( + _SCHEMA_CONTENT_BLOCK_START.members["toolUse"], self.value + ) + + @classmethod + def deserialize(cls, deserializer: ShapeDeserializer) -> Self: + return cls(value=ToolUseBlockStart.deserialize(deserializer)) @dataclass -class ContentBlockStartToolUse: - """ - Information about a tool that the model is requesting to use. - - """ +class ContentBlockStartToolResult: + """The""" - value: ToolUseBlockStart + value: ToolResultBlockStart def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONTENT_BLOCK_START, self) def serialize_members(self, serializer: ShapeSerializer): serializer.write_struct( - _SCHEMA_CONTENT_BLOCK_START.members["toolUse"], self.value + _SCHEMA_CONTENT_BLOCK_START.members["toolResult"], self.value ) @classmethod def deserialize(cls, deserializer: ShapeDeserializer) -> Self: - return cls(value=ToolUseBlockStart.deserialize(deserializer)) + return cls(value=ToolResultBlockStart.deserialize(deserializer)) @dataclass @@ -11936,12 +11693,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: raise NotImplementedError() -ContentBlockStart = Union[ContentBlockStartToolUse | ContentBlockStartUnknown] - -""" -Content block start information. - -""" +ContentBlockStart = Union[ + ContentBlockStartToolUse | ContentBlockStartToolResult | ContentBlockStartUnknown +] +"""Content block start information.""" class _ContentBlockStartDeserializer: @@ -11963,6 +11718,9 @@ def _consumer(self, schema: Schema, de: ShapeDeserializer) -> None: case 0: self._set_result(ContentBlockStartToolUse.deserialize(de)) + case 1: + self._set_result(ContentBlockStartToolResult.deserialize(de)) + case _: logger.debug("Unexpected member schema: %s", schema) @@ -11976,20 +11734,13 @@ def _set_result(self, value: ContentBlockStart) -> None: @dataclass(kw_only=True) class ContentBlockStartEvent: - """ - Content block start event. - - """ + """Content block start event.""" start: ContentBlockStart - """ - Start information about a content block start event. - """ + """Start information about a content block start event.""" content_block_index: int - """ - The index for a content block start event. - """ + """The index for a content block start event.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONTENT_BLOCK_START_EVENT, self) @@ -12030,15 +11781,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ContentBlockStopEvent: - """ - A content block stop event. - - """ + """A content block stop event.""" content_block_index: int - """ - The index for a content block. - """ + """The index for a content block.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONTENT_BLOCK_STOP_EVENT, self) @@ -12073,15 +11819,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class MessageStartEvent: - """ - The start of a message. - - """ + """The start of a message.""" role: str - """ - The role for the message. - """ + """The role for the message.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_MESSAGE_START_EVENT, self) @@ -12113,20 +11854,13 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class MessageStopEvent: - """ - The stop event for a message. - - """ + """The stop event for a message.""" stop_reason: str - """ - The reason why the model stopped generating output. - """ + """The reason why the model stopped generating output.""" additional_model_response_fields: Document | None = None - """ - The additional model response fields. - """ + """The additional model response fields.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_MESSAGE_STOP_EVENT, self) @@ -12172,15 +11906,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ConverseStreamMetrics: - """ - Metrics for the stream. - - """ + """Metrics for the stream.""" latency_ms: int - """ - The latency for the streaming request, in milliseconds. - """ + """The latency for the streaming request, in milliseconds.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONVERSE_STREAM_METRICS, self) @@ -12214,20 +11943,15 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ConverseStreamTrace: - """ - The trace object in a response from ``ConverseStream ``_. - Currently, you can only trace guardrails. - + """The trace object in a response from + [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html). """ guardrail: GuardrailTraceAssessment | None = None - """ - The guardrail trace object. - """ + """The guardrail trace object.""" + prompt_router: PromptRouterTrace | None = None - """ - The request's prompt router. - """ + """The request's prompt router.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONVERSE_STREAM_TRACE, self) @@ -12269,29 +11993,23 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ConverseStreamMetadataEvent: - """ - A conversation stream metadata event. - - """ + """A conversation stream metadata event.""" usage: TokenUsage - """ - Usage information for the conversation stream event. - """ + """Usage information for the conversation stream event.""" metrics: ConverseStreamMetrics - """ - The metrics for the conversation stream metadata event. - """ + """The metrics for the conversation stream metadata event.""" trace: ConverseStreamTrace | None = None - """ - The trace object in the response from `ConverseStream `_ + """The trace object in the response from + [ConverseStream](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html) that contains information about the guardrail behavior. """ + performance_config: PerformanceConfiguration | None = None - """ - Model performance configuration metadata for the conversation stream event. + """Model performance configuration metadata for the conversation stream + event. """ def serialize(self, serializer: ShapeSerializer): @@ -12350,21 +12068,15 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ModelStreamErrorException(ServiceError): - """ - An error occurred while streaming the response. Retry your request. - - """ + """An error occurred while streaming the response. Retry your request.""" fault: Literal["client", "server"] | None = "client" original_status_code: int | None = None - """ - The original status code. - """ + """The original status code.""" + original_message: str | None = None - """ - The original message. - """ + """The original message.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_MODEL_STREAM_ERROR_EXCEPTION, self) @@ -12425,10 +12137,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class ConverseStreamOutputMessageStart: - """ - Message start information. - - """ + """Message start information.""" value: MessageStartEvent @@ -12447,10 +12156,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ConverseStreamOutputContentBlockStart: - """ - Start information for a content block. - - """ + """Start information for a content block.""" value: ContentBlockStartEvent @@ -12469,10 +12175,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ConverseStreamOutputContentBlockDelta: - """ - The messages output content block delta. - - """ + """The messages output content block delta.""" value: ContentBlockDeltaEvent @@ -12491,10 +12194,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ConverseStreamOutputContentBlockStop: - """ - Stop information for a content block. - - """ + """Stop information for a content block.""" value: ContentBlockStopEvent @@ -12513,10 +12213,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ConverseStreamOutputMessageStop: - """ - Message stop information. - - """ + """Message stop information.""" value: MessageStopEvent @@ -12535,10 +12232,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ConverseStreamOutputMetadata: - """ - Metadata for the converse output stream. - - """ + """Metadata for the converse output stream.""" value: ConverseStreamMetadataEvent @@ -12557,10 +12251,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ConverseStreamOutputInternalServerException: - """ - An internal server error occurred. Retry your request. - - """ + """An internal server error occurred. Retry your request.""" value: InternalServerException @@ -12580,10 +12271,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ConverseStreamOutputModelStreamErrorException: - """ - A streaming error occurred. Retry your request. - - """ + """A streaming error occurred. Retry your request.""" value: ModelStreamErrorException @@ -12603,11 +12291,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ConverseStreamOutputValidationException: - """ - The input fails to satisfy the constraints specified by *Amazon Bedrock*. For - troubleshooting this error, see `ValidationError `_ - in the Amazon Bedrock User Guide - + """The input fails to satisfy the constraints specified by *Amazon + Bedrock*. For troubleshooting this error, see + [ValidationError](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-validation-error) + in the Amazon Bedrock User Guide. """ value: ValidationException @@ -12627,11 +12314,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ConverseStreamOutputThrottlingException: - """ - Your request was denied due to exceeding the account quotas for *Amazon - Bedrock*. For troubleshooting this error, see `ThrottlingException `_ - in the Amazon Bedrock User Guide - + """Your request was denied due to exceeding the account quotas for *Amazon + Bedrock*. For troubleshooting this error, see + [ThrottlingException](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-throttling-exception) + in the Amazon Bedrock User Guide. """ value: ThrottlingException @@ -12651,11 +12337,10 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ConverseStreamOutputServiceUnavailableException: - """ - The service isn't currently available. For troubleshooting this error, see - `ServiceUnavailable `_ + """The service isn't currently available. For troubleshooting this error, + see + [ServiceUnavailable](https://docs.aws.amazon.com/bedrock/latest/userguide/troubleshooting-api-error-codes.html#ts-service-unavailable) in the Amazon Bedrock User Guide - """ value: ServiceUnavailableException @@ -12711,11 +12396,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | ConverseStreamOutputServiceUnavailableException | ConverseStreamOutputUnknown ] - -""" -The messages output stream - -""" +"""The messages output stream""" class _ConverseStreamOutputDeserializer: @@ -12790,6 +12471,8 @@ def _set_result(self, value: ConverseStreamOutput) -> None: @dataclass(kw_only=True) class ConverseStreamOperationOutput: + """Dataclass for ConverseStreamOperationOutput structure.""" + def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_CONVERSE_STREAM_OPERATION_OUTPUT, self) @@ -12867,79 +12550,94 @@ class Trace(StrEnum): @dataclass(kw_only=True) class InvokeModelInput: + """Dataclass for InvokeModelInput structure.""" + body: bytes | None = field(repr=False, default=None) - """ - The prompt and inference parameters in the format specified in the - ``contentType`` in the header. You must provide the body in JSON format. To see the format and content of the request and response bodies for different models, refer to `Inference parameters `_. - For more information, see `Run inference `_ + """The prompt and inference parameters in the format specified in the + `contentType` in the header. You must provide the body in JSON format. + To see the format and content of the request and response bodies for + different models, refer to [Inference + parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + For more information, see [Run + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html) in the Bedrock User Guide. """ + content_type: str | None = None + """The MIME type of the input data in the request. You must specify + `application/json`. """ - The MIME type of the input data in the request. You must specify - ``application/json``. - """ + accept: str | None = None + """The desired MIME type of the inference body in the response. The default + value is `application/json`. """ - The desired MIME type of the inference body in the response. The default value - is ``application/json``. - """ + model_id: str | None = None - """ - The unique identifier of the model to invoke to run inference. + """The unique identifier of the model to invoke to run inference. - The ``modelId`` to provide depends on the type of model or throughput that you - use: + The `modelId` to provide depends on the type of model or throughput that + you use: - * If you use a base model, specify the model ID or its ARN. For a list of model - IDs for base models, see `Amazon Bedrock base model IDs (on-demand throughput) `_ + - If you use a base model, specify the model ID or its ARN. For a list + of model IDs for base models, see [Amazon Bedrock base model IDs + (on-demand + throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. - * If you use an inference profile, specify the inference profile ID or its ARN. - For a list of inference profile IDs, see `Supported Regions and models for cross-region inference `_ + - If you use an inference profile, specify the inference profile ID or + its ARN. For a list of inference profile IDs, see [Supported Regions + and models for cross-region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html) in the Amazon Bedrock User Guide. - * If you use a provisioned model, specify the ARN of the Provisioned Throughput. - For more information, see `Run inference using a Provisioned Throughput `_ + - If you use a provisioned model, specify the ARN of the Provisioned + Throughput. For more information, see [Run inference using a + Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) in the Amazon Bedrock User Guide. - * If you use a custom model, specify the ARN of the custom model deployment (for - on-demand inference) or the ARN of your provisioned model (for Provisioned - Throughput). For more information, see `Use a custom model in Amazon Bedrock `_ + - If you use a custom model, specify the ARN of the custom model + deployment (for on-demand inference) or the ARN of your provisioned + model (for Provisioned Throughput). For more information, see [Use a + custom model in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. - * If you use an `imported model `_, - specify the ARN of the imported model. You can get the model ARN from a - successful call to `CreateModelImportJob `_ + - If you use an [imported + model](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html), + specify the ARN of the imported model. You can get the model ARN from + a successful call to + [CreateModelImportJob](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html) or from the Imported models page in the Amazon Bedrock console. """ + trace: str | None = None + """Specifies whether to enable or disable the Bedrock trace. If enabled, + you can see the full Bedrock trace. """ - Specifies whether to enable or disable the Bedrock trace. If enabled, you can - see the full Bedrock trace. - """ + guardrail_identifier: str | None = None - """ - The unique identifier of the guardrail that you want to use. If you don't - provide a value, no guardrail is applied to the invocation. + """The unique identifier of the guardrail that you want to use. If you + don't provide a value, no guardrail is applied to the invocation. An error will be thrown in the following situations. - * You don't provide a guardrail identifier but you specify the - ``amazon-bedrock-guardrailConfig`` field in the request body. + - You don't provide a guardrail identifier but you specify the + `amazon-bedrock-guardrailConfig` field in the request body. - * You enable the guardrail but the ``contentType`` isn't ``application/json``. + - You enable the guardrail but the `contentType` isn't + `application/json`. - * You provide a guardrail identifier, but ``guardrailVersion`` isn't specified. + - You provide a guardrail identifier, but `guardrailVersion` isn't + specified. """ + guardrail_version: str | None = None - """ - The version number for the guardrail. The value can also be ``DRAFT``. - """ + """The version number for the guardrail. The value can also be `DRAFT`.""" + performance_config_latency: str = "standard" - """ - Model performance settings for the request. - """ + """Model performance settings for the request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_INVOKE_MODEL_INPUT, self) @@ -13045,21 +12743,20 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class InvokeModelOutput: + """Dataclass for InvokeModelOutput structure.""" + body: bytes = field(repr=False) - """ - Inference response from the model in the format specified in the ``contentType`` header. To see the format and content of the request and response bodies for different models, refer to `Inference parameters `_ - . + """Inference response from the model in the format specified in the + `contentType` header. To see the format and content of the request and + response bodies for different models, refer to [Inference + parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). """ content_type: str - """ - The MIME type of the inference result. - """ + """The MIME type of the inference result.""" performance_config_latency: str | None = None - """ - Model performance settings for the request. - """ + """Model performance settings for the request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_INVOKE_MODEL_OUTPUT, self) @@ -13156,15 +12853,12 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class BidirectionalInputPayloadPart: - """ - Payload content for the bidirectional input. The input is an audio stream. - + """Payload content for the bidirectional input. The input is an audio + stream. """ bytes_: bytes | None = field(repr=False, default=None) - """ - The audio content for the bidirectional input. - """ + """The audio content for the bidirectional input.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_BIDIRECTIONAL_INPUT_PAYLOAD_PART, self) @@ -13201,10 +12895,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class InvokeModelWithBidirectionalStreamInputChunk: - """ - The audio chunk that is used as input for the invocation step. - - """ + """The audio chunk that is used as input for the invocation step.""" value: BidirectionalInputPayloadPart @@ -13251,11 +12942,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: InvokeModelWithBidirectionalStreamInputChunk | InvokeModelWithBidirectionalStreamInputUnknown ] - -""" -Payload content, the speech chunk, for the bidirectional input of the invocation -step. - +"""Payload content, the speech chunk, for the bidirectional input of the +invocation step. """ @@ -13297,10 +12985,13 @@ def _set_result(self, value: InvokeModelWithBidirectionalStreamInput) -> None: @dataclass(kw_only=True) class InvokeModelWithBidirectionalStreamOperationInput: - model_id: str | None = None + """Dataclass for InvokeModelWithBidirectionalStreamOperationInput + structure. """ - The model ID or ARN of the model ID to use. Currently, only - ``amazon.nova-sonic-v1:0`` is supported. + + model_id: str | None = None + """The model ID or ARN of the model ID to use. Currently, only + `amazon.nova-sonic-v1:0` is supported. """ def serialize(self, serializer: ShapeSerializer): @@ -13346,16 +13037,12 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class BidirectionalOutputPayloadPart: - """ - Output from the bidirectional stream. The output is speech and a text + """Output from the bidirectional stream. The output is speech and a text transcription. - """ bytes_: bytes | None = field(repr=False, default=None) - """ - The speech output of the bidirectional stream. - """ + """The speech output of the bidirectional stream.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_BIDIRECTIONAL_OUTPUT_PAYLOAD_PART, self) @@ -13392,10 +13079,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class InvokeModelWithBidirectionalStreamOutputChunk: - """ - The speech chunk that was provided as output from the invocation step. - - """ + """The speech chunk that was provided as output from the invocation step.""" value: BidirectionalOutputPayloadPart @@ -13417,10 +13101,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class InvokeModelWithBidirectionalStreamOutputInternalServerException: - """ - The request encountered an unknown internal error. - - """ + """The request encountered an unknown internal error.""" value: InternalServerException @@ -13444,10 +13125,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class InvokeModelWithBidirectionalStreamOutputModelStreamErrorException: - """ - The request encountered an error with the model stream. - - """ + """The request encountered an error with the model stream.""" value: ModelStreamErrorException @@ -13471,10 +13149,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class InvokeModelWithBidirectionalStreamOutputValidationException: - """ - The input fails to satisfy the constraints specified by an Amazon Web Services - service. - + """The input fails to satisfy the constraints specified by an Amazon Web + Services service. """ value: ValidationException @@ -13499,10 +13175,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class InvokeModelWithBidirectionalStreamOutputThrottlingException: - """ - The request was denied due to request throttling. - - """ + """The request was denied due to request throttling.""" value: ThrottlingException @@ -13526,10 +13199,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class InvokeModelWithBidirectionalStreamOutputModelTimeoutException: - """ - The connection was closed because a request was not received within the timeout - period. - + """The connection was closed because a request was not received within the + timeout period. """ value: ModelTimeoutException @@ -13554,10 +13225,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class InvokeModelWithBidirectionalStreamOutputServiceUnavailableException: - """ - The request has failed due to a temporary failure of the server. - - """ + """The request has failed due to a temporary failure of the server.""" value: ServiceUnavailableException @@ -13612,11 +13280,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | InvokeModelWithBidirectionalStreamOutputServiceUnavailableException | InvokeModelWithBidirectionalStreamOutputUnknown ] - -""" -Output from the bidirectional stream that was used for model invocation. - -""" +"""Output from the bidirectional stream that was used for model invocation.""" class _InvokeModelWithBidirectionalStreamOutputDeserializer: @@ -13699,6 +13363,10 @@ def _set_result(self, value: InvokeModelWithBidirectionalStreamOutput) -> None: @dataclass(kw_only=True) class InvokeModelWithBidirectionalStreamOperationOutput: + """Dataclass for InvokeModelWithBidirectionalStreamOperationOutput + structure. + """ + def serialize(self, serializer: ShapeSerializer): serializer.write_struct( _SCHEMA_INVOKE_MODEL_WITH_BIDIRECTIONAL_STREAM_OPERATION_OUTPUT, self @@ -13779,79 +13447,94 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class InvokeModelWithResponseStreamInput: + """Dataclass for InvokeModelWithResponseStreamInput structure.""" + body: bytes | None = field(repr=False, default=None) - """ - The prompt and inference parameters in the format specified in the - ``contentType`` in the header. You must provide the body in JSON format. To see the format and content of the request and response bodies for different models, refer to `Inference parameters `_. - For more information, see `Run inference `_ + """The prompt and inference parameters in the format specified in the + `contentType` in the header. You must provide the body in JSON format. + To see the format and content of the request and response bodies for + different models, refer to [Inference + parameters](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). + For more information, see [Run + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html) in the Bedrock User Guide. """ + content_type: str | None = None + """The MIME type of the input data in the request. You must specify + `application/json`. """ - The MIME type of the input data in the request. You must specify - ``application/json``. - """ + accept: str | None = None + """The desired MIME type of the inference body in the response. The default + value is `application/json`. """ - The desired MIME type of the inference body in the response. The default value - is ``application/json``. - """ + model_id: str | None = None - """ - The unique identifier of the model to invoke to run inference. + """The unique identifier of the model to invoke to run inference. - The ``modelId`` to provide depends on the type of model or throughput that you - use: + The `modelId` to provide depends on the type of model or throughput that + you use: - * If you use a base model, specify the model ID or its ARN. For a list of model - IDs for base models, see `Amazon Bedrock base model IDs (on-demand throughput) `_ + - If you use a base model, specify the model ID or its ARN. For a list + of model IDs for base models, see [Amazon Bedrock base model IDs + (on-demand + throughput)](https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-ids-arns) in the Amazon Bedrock User Guide. - * If you use an inference profile, specify the inference profile ID or its ARN. - For a list of inference profile IDs, see `Supported Regions and models for cross-region inference `_ + - If you use an inference profile, specify the inference profile ID or + its ARN. For a list of inference profile IDs, see [Supported Regions + and models for cross-region + inference](https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference-support.html) in the Amazon Bedrock User Guide. - * If you use a provisioned model, specify the ARN of the Provisioned Throughput. - For more information, see `Run inference using a Provisioned Throughput `_ + - If you use a provisioned model, specify the ARN of the Provisioned + Throughput. For more information, see [Run inference using a + Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-thru-use.html) in the Amazon Bedrock User Guide. - * If you use a custom model, specify the ARN of the custom model deployment (for - on-demand inference) or the ARN of your provisioned model (for Provisioned - Throughput). For more information, see `Use a custom model in Amazon Bedrock `_ + - If you use a custom model, specify the ARN of the custom model + deployment (for on-demand inference) or the ARN of your provisioned + model (for Provisioned Throughput). For more information, see [Use a + custom model in Amazon + Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-use.html) in the Amazon Bedrock User Guide. - * If you use an `imported model `_, - specify the ARN of the imported model. You can get the model ARN from a - successful call to `CreateModelImportJob `_ + - If you use an [imported + model](https://docs.aws.amazon.com/bedrock/latest/userguide/model-customization-import-model.html), + specify the ARN of the imported model. You can get the model ARN from + a successful call to + [CreateModelImportJob](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreateModelImportJob.html) or from the Imported models page in the Amazon Bedrock console. """ + trace: str | None = None + """Specifies whether to enable or disable the Bedrock trace. If enabled, + you can see the full Bedrock trace. """ - Specifies whether to enable or disable the Bedrock trace. If enabled, you can - see the full Bedrock trace. - """ + guardrail_identifier: str | None = None - """ - The unique identifier of the guardrail that you want to use. If you don't - provide a value, no guardrail is applied to the invocation. + """The unique identifier of the guardrail that you want to use. If you + don't provide a value, no guardrail is applied to the invocation. An error is thrown in the following situations. - * You don't provide a guardrail identifier but you specify the - ``amazon-bedrock-guardrailConfig`` field in the request body. + - You don't provide a guardrail identifier but you specify the + `amazon-bedrock-guardrailConfig` field in the request body. - * You enable the guardrail but the ``contentType`` isn't ``application/json``. + - You enable the guardrail but the `contentType` isn't + `application/json`. - * You provide a guardrail identifier, but ``guardrailVersion`` isn't specified. + - You provide a guardrail identifier, but `guardrailVersion` isn't + specified. """ + guardrail_version: str | None = None - """ - The version number for the guardrail. The value can also be ``DRAFT``. - """ + """The version number for the guardrail. The value can also be `DRAFT`.""" + performance_config_latency: str = "standard" - """ - Model performance settings for the request. - """ + """Model performance settings for the request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_INVOKE_MODEL_WITH_RESPONSE_STREAM_INPUT, self) @@ -13984,15 +13667,10 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class PayloadPart: - """ - Payload content included in the response. - - """ + """Payload content included in the response.""" bytes_: bytes | None = field(repr=False, default=None) - """ - Base64-encoded bytes of payload data. - """ + """Base64-encoded bytes of payload data.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_PAYLOAD_PART, self) @@ -14025,10 +13703,7 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class ResponseStreamChunk: - """ - Content included in the response. - - """ + """Content included in the response.""" value: PayloadPart @@ -14045,10 +13720,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ResponseStreamInternalServerException: - """ - An internal server error occurred. Retry your request. - - """ + """An internal server error occurred. Retry your request.""" value: InternalServerException @@ -14067,10 +13739,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ResponseStreamModelStreamErrorException: - """ - An error occurred while streaming the response. Retry your request. - - """ + """An error occurred while streaming the response. Retry your request.""" value: ModelStreamErrorException @@ -14089,9 +13758,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ResponseStreamValidationException: - """ - Input validation failed. Check your request parameters and retry the request. - + """Input validation failed. Check your request parameters and retry the + request. """ value: ValidationException @@ -14111,11 +13779,11 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ResponseStreamThrottlingException: - """ - Your request was throttled because of service-wide limitations. Resubmit your - request later or in a different region. You can also purchase `Provisioned Throughput `_ + """Your request was throttled because of service-wide limitations. Resubmit + your request later or in a different region. You can also purchase + [Provisioned + Throughput](https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html) to increase the rate or number of tokens you can process. - """ value: ThrottlingException @@ -14135,10 +13803,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ResponseStreamModelTimeoutException: - """ - The request took too long to process. Processing time exceeded the model timeout - length. - + """The request took too long to process. Processing time exceeded the model + timeout length. """ value: ModelTimeoutException @@ -14158,10 +13824,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class ResponseStreamServiceUnavailableException: - """ - The service isn't available. Try again later. - - """ + """The service isn't available. Try again later.""" value: ServiceUnavailableException @@ -14211,11 +13874,7 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: | ResponseStreamServiceUnavailableException | ResponseStreamUnknown ] - -""" -Definition of content in the response stream. - -""" +"""Definition of content in the response stream.""" class _ResponseStreamDeserializer: @@ -14272,15 +13931,13 @@ def _set_result(self, value: ResponseStream) -> None: @dataclass(kw_only=True) class InvokeModelWithResponseStreamOutput: + """Dataclass for InvokeModelWithResponseStreamOutput structure.""" + content_type: str - """ - The MIME type of the inference result. - """ + """The MIME type of the inference result.""" performance_config_latency: str | None = None - """ - Model performance settings for the request. - """ + """Model performance settings for the request.""" def serialize(self, serializer: ShapeSerializer): serializer.write_struct(_SCHEMA_INVOKE_MODEL_WITH_RESPONSE_STREAM_OUTPUT, self) @@ -14308,14 +13965,14 @@ def deserialize_kwargs(cls, deserializer: ShapeDeserializer) -> dict[str, Any]: def _consumer(schema: Schema, de: ShapeDeserializer) -> None: match schema.expect_member_index(): - case 0: + case 1: kwargs["content_type"] = de.read_string( _SCHEMA_INVOKE_MODEL_WITH_RESPONSE_STREAM_OUTPUT.members[ "contentType" ] ) - case 1: + case 2: kwargs["performance_config_latency"] = de.read_string( _SCHEMA_INVOKE_MODEL_WITH_RESPONSE_STREAM_OUTPUT.members[ "performanceConfigLatency" @@ -14383,23 +14040,19 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class ConverseTokensRequest: - """ - The inputs from a ``Converse`` API request for token counting. - - This structure mirrors the input format for the ``Converse`` operation, allowing - you to count tokens for conversation-based inference requests. + """The inputs from a `Converse` API request for token counting. + This structure mirrors the input format for the `Converse` operation, + allowing you to count tokens for conversation-based inference requests. """ messages: list[Message] | None = None - """ - An array of messages to count tokens for. - """ + """An array of messages to count tokens for.""" + system: list[SystemContentBlock] | None = None - """ - The system content blocks to count tokens for. System content provides - instructions or context to the model about how it should behave or respond. The - token count will include any system content provided. + """The system content blocks to count tokens for. System content provides + instructions or context to the model about how it should behave or + respond. The token count will include any system content provided. """ def serialize(self, serializer: ShapeSerializer): @@ -14449,19 +14102,16 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class InvokeModelTokensRequest: - """ - The body of an ``InvokeModel`` API request for token counting. This structure - mirrors the input format for the ``InvokeModel`` operation, allowing you to - count tokens for raw text inference requests. - + """The body of an `InvokeModel` API request for token counting. This + structure mirrors the input format for the `InvokeModel` operation, + allowing you to count tokens for raw text inference requests. """ body: bytes = field(repr=False) - """ - The request body to count tokens for, formatted according to the model's - expected input format. To learn about the input format for different models, see - `Model inference parameters and responses `_ - . + """The request body to count tokens for, formatted according to the + model's expected input format. To learn about the input format for + different models, see [Model inference parameters and + responses](https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters.html). """ def serialize(self, serializer: ShapeSerializer): @@ -14498,11 +14148,9 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass class CountTokensInputInvokeModel: - """ - An ``InvokeModel`` request for which to count tokens. Use this field when you - want to count tokens for a raw text input that would be sent to the - ``InvokeModel`` operation. - + """An `InvokeModel` request for which to count tokens. Use this field when + you want to count tokens for a raw text input that would be sent to the + `InvokeModel` operation. """ value: InvokeModelTokensRequest @@ -14522,11 +14170,9 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: @dataclass class CountTokensInputConverse: - """ - A ``Converse`` request for which to count tokens. Use this field when you want - to count tokens for a conversation-based input that would be sent to the - ``Converse`` operation. - + """A `Converse` request for which to count tokens. Use this field when you + want to count tokens for a conversation-based input that would be sent + to the `Converse` operation. """ value: ConverseTokensRequest @@ -14570,11 +14216,8 @@ def deserialize(cls, deserializer: ShapeDeserializer) -> Self: CountTokensInput = Union[ CountTokensInputInvokeModel | CountTokensInputConverse | CountTokensInputUnknown ] - -""" -The input value for token counting. The value should be either an -``InvokeModel`` or ``Converse`` request body. - +"""The input value for token counting. The value should be either an +`InvokeModel` or `Converse` request body. """ @@ -14613,25 +14256,27 @@ def _set_result(self, value: CountTokensInput) -> None: @dataclass(kw_only=True) class CountTokensOperationInput: + """Dataclass for CountTokensOperationInput structure.""" + model_id: str | None = None + """The unique identifier or ARN of the foundation model to use for token + counting. Each model processes tokens differently, so the token count is + specific to the model you specify. """ - The unique identifier or ARN of the foundation model to use for token counting. - Each model processes tokens differently, so the token count is specific to the - model you specify. - """ + input: CountTokensInput | None = None - """ - The input for which to count tokens. The structure of this parameter depends on - whether you're counting tokens for an ``InvokeModel`` or ``Converse`` request: + """The input for which to count tokens. The structure of this parameter + depends on whether you're counting tokens for an `InvokeModel` or + `Converse` request: - * For ``InvokeModel`` requests, provide the request body in the ``invokeModel`` - field + - For `InvokeModel` requests, provide the request body in the + `invokeModel` field - * For ``Converse`` requests, provide the messages and system content in the - ``converse`` field + - For `Converse` requests, provide the messages and system content in + the `converse` field - The input format must be compatible with the model specified in the ``modelId`` - parameter. + The input format must be compatible with the model specified in the + `modelId` parameter. """ def serialize(self, serializer: ShapeSerializer): @@ -14677,13 +14322,14 @@ def _consumer(schema: Schema, de: ShapeDeserializer) -> None: @dataclass(kw_only=True) class CountTokensOutput: + """Dataclass for CountTokensOutput structure.""" + input_tokens: int - """ - The number of tokens in the provided input according to the specified model's - tokenization rules. This count represents the number of input tokens that would - be processed if the same input were sent to the model in an inference request. - Use this value to estimate costs and ensure your inputs stay within model token - limits. + """The number of tokens in the provided input according to the specified + model's tokenization rules. This count represents the number of input + tokens that would be processed if the same input were sent to the model + in an inference request. Use this value to estimate costs and ensure + your inputs stay within model token limits. """ def serialize(self, serializer: ShapeSerializer):