Skip to content

Type definitions#

Index > AgentsforBedrock > Type definitions

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

DataSourceConfigurationUnionTypeDef#

# DataSourceConfigurationUnionTypeDef definition

DataSourceConfigurationUnionTypeDef = Union[
    DataSourceConfigurationTypeDef,  # (1)
    DataSourceConfigurationOutputTypeDef,  # (2)
]
  1. See DataSourceConfigurationTypeDef
  2. See DataSourceConfigurationOutputTypeDef

FunctionSchemaUnionTypeDef#

# FunctionSchemaUnionTypeDef definition

FunctionSchemaUnionTypeDef = Union[
    FunctionSchemaTypeDef,  # (1)
    FunctionSchemaOutputTypeDef,  # (2)
]
  1. See FunctionSchemaTypeDef
  2. See FunctionSchemaOutputTypeDef

PromptOverrideConfigurationUnionTypeDef#

# PromptOverrideConfigurationUnionTypeDef definition

PromptOverrideConfigurationUnionTypeDef = Union[
    PromptOverrideConfigurationTypeDef,  # (1)
    PromptOverrideConfigurationOutputTypeDef,  # (2)
]
  1. See PromptOverrideConfigurationTypeDef
  2. See PromptOverrideConfigurationOutputTypeDef

S3IdentifierTypeDef#

# S3IdentifierTypeDef definition

class S3IdentifierTypeDef(TypedDict):
    s3BucketName: NotRequired[str],
    s3ObjectKey: NotRequired[str],

ActionGroupExecutorTypeDef#

# ActionGroupExecutorTypeDef definition

class ActionGroupExecutorTypeDef(TypedDict):
    customControl: NotRequired[CustomControlMethodType],  # (1)
    lambda: NotRequired[str],
  1. See CustomControlMethodType

ActionGroupSummaryTypeDef#

# ActionGroupSummaryTypeDef definition

class ActionGroupSummaryTypeDef(TypedDict):
    actionGroupId: str,
    actionGroupName: str,
    actionGroupState: ActionGroupStateType,  # (1)
    updatedAt: datetime,
    description: NotRequired[str],
  1. See ActionGroupStateType

AgentAliasRoutingConfigurationListItemTypeDef#

# AgentAliasRoutingConfigurationListItemTypeDef definition

class AgentAliasRoutingConfigurationListItemTypeDef(TypedDict):
    agentVersion: NotRequired[str],
    provisionedThroughput: NotRequired[str],

AgentKnowledgeBaseSummaryTypeDef#

# AgentKnowledgeBaseSummaryTypeDef definition

class AgentKnowledgeBaseSummaryTypeDef(TypedDict):
    knowledgeBaseId: str,
    knowledgeBaseState: KnowledgeBaseStateType,  # (1)
    updatedAt: datetime,
    description: NotRequired[str],
  1. See KnowledgeBaseStateType

AgentKnowledgeBaseTypeDef#

# AgentKnowledgeBaseTypeDef definition

class AgentKnowledgeBaseTypeDef(TypedDict):
    agentId: str,
    agentVersion: str,
    createdAt: datetime,
    description: str,
    knowledgeBaseId: str,
    knowledgeBaseState: KnowledgeBaseStateType,  # (1)
    updatedAt: datetime,
  1. See KnowledgeBaseStateType

GuardrailConfigurationTypeDef#

# GuardrailConfigurationTypeDef definition

class GuardrailConfigurationTypeDef(TypedDict):
    guardrailIdentifier: NotRequired[str],
    guardrailVersion: NotRequired[str],

AssociateAgentKnowledgeBaseRequestRequestTypeDef#

# AssociateAgentKnowledgeBaseRequestRequestTypeDef definition

class AssociateAgentKnowledgeBaseRequestRequestTypeDef(TypedDict):
    agentId: str,
    agentVersion: str,
    description: str,
    knowledgeBaseId: str,
    knowledgeBaseState: NotRequired[KnowledgeBaseStateType],  # (1)
  1. See KnowledgeBaseStateType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

FixedSizeChunkingConfigurationTypeDef#

# FixedSizeChunkingConfigurationTypeDef definition

class FixedSizeChunkingConfigurationTypeDef(TypedDict):
    maxTokens: int,
    overlapPercentage: int,

ServerSideEncryptionConfigurationTypeDef#

# ServerSideEncryptionConfigurationTypeDef definition

class ServerSideEncryptionConfigurationTypeDef(TypedDict):
    kmsKeyArn: NotRequired[str],

S3DataSourceConfigurationOutputTypeDef#

# S3DataSourceConfigurationOutputTypeDef definition

class S3DataSourceConfigurationOutputTypeDef(TypedDict):
    bucketArn: str,
    bucketOwnerAccountId: NotRequired[str],
    inclusionPrefixes: NotRequired[List[str]],

S3DataSourceConfigurationTypeDef#

# S3DataSourceConfigurationTypeDef definition

class S3DataSourceConfigurationTypeDef(TypedDict):
    bucketArn: str,
    bucketOwnerAccountId: NotRequired[str],
    inclusionPrefixes: NotRequired[Sequence[str]],

DataSourceSummaryTypeDef#

# DataSourceSummaryTypeDef definition

class DataSourceSummaryTypeDef