Skip to content

AgentsforBedrockRuntime module#

Index > AgentsforBedrockRuntime

Auto-generated documentation for AgentsforBedrockRuntime type annotations stubs module mypy-boto3-bedrock-agent-runtime.

How to install#

VSCode extension#

Add AWS Boto3 extension to your VSCode and run AWS boto3: Quick Start command.

Click Modify and select boto3 common and AgentsforBedrockRuntime.

From PyPI with pip#

Install boto3-stubs for AgentsforBedrockRuntime service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[bedrock-agent-runtime]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[bedrock-agent-runtime]'


# standalone installation
python -m pip install mypy-boto3-bedrock-agent-runtime

How to uninstall#

python -m pip uninstall -y mypy-boto3-bedrock-agent-runtime

Usage#

Code samples can be found in Examples.

AgentsforBedrockRuntimeClient#

Type annotations and code completion for boto3.client("bedrock-agent-runtime") as AgentsforBedrockRuntimeClient boto3 documentation

# AgentsforBedrockRuntimeClient usage example

from boto3.session import Session

from mypy_boto3_bedrock_agent_runtime.client import AgentsforBedrockRuntimeClient

def get_client() -> AgentsforBedrockRuntimeClient:
    return Session().client("bedrock-agent-runtime")

Paginators#

Type annotations and code completion for paginators from boto3.client("bedrock-agent-runtime").get_paginator("...").

# GetAgentMemoryPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock_agent_runtime.paginator import GetAgentMemoryPaginator

def get_get_agent_memory_paginator() -> GetAgentMemoryPaginator:
    return Session().client("bedrock-agent-runtime").get_paginator("get_agent_memory"))

Literals#

Type annotations for literals used in methods and schema.

# ActionInvocationTypeType usage example

from mypy_boto3_bedrock_agent_runtime.literals import ActionInvocationTypeType

def get_value() -> ActionInvocationTypeType:
    return "RESULT"

Type definitions#

Type annotations for type definitions used in methods and schema.