BedrockRuntime module#
Index > BedrockRuntime
Auto-generated documentation for BedrockRuntime type annotations stubs module types-aiobotocore-bedrock-runtime.
How to install#
From PyPI with pip#
Install types-aioboto3
for BedrockRuntime
service.
# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[bedrock-runtime]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[bedrock-runtime]'
# standalone installation
python -m pip install types-aiobotocore-bedrock-runtime
How to uninstall#
python -m pip uninstall -y types-aiobotocore-bedrock-runtime
Usage#
Code samples can be found in Examples.
BedrockRuntimeClient#
Type annotations and code completion for session.client("bedrock-runtime")
as BedrockRuntimeClient
boto3 documentation
# BedrockRuntimeClient usage example
from aioboto3.session import Session
from types_aiobotocore_bedrock_runtime.client import BedrockRuntimeClient
session = Session()
async with session.client("bedrock-runtime") as client:
client: BedrockRuntimeClient
Literals#
Type annotations for literals used in methods and schema.
# BedrockRuntimeServiceName usage example
from types_aiobotocore_bedrock_runtime.literals import BedrockRuntimeServiceName
def get_value() -> BedrockRuntimeServiceName:
return "bedrock-runtime"
Type definitions#
Type annotations for type definitions used in methods and schema.
- BlobTypeDef
- InternalServerExceptionTypeDef
- ResponseMetadataTypeDef
- ModelStreamErrorExceptionTypeDef
- ModelTimeoutExceptionTypeDef
- PayloadPartTypeDef
- ThrottlingExceptionTypeDef
- ValidationExceptionTypeDef
- InvokeModelRequestRequestTypeDef
- InvokeModelWithResponseStreamRequestRequestTypeDef
- InvokeModelResponseTypeDef
- ResponseStreamTypeDef
- InvokeModelWithResponseStreamResponseTypeDef