agentcore_cli.models.base
agentcore_cli.models.base
¶
Base models for AgentCore Platform CLI.
This module defines base classes and enums used throughout the AgentCore CLI models. All enums align with AWS Bedrock AgentCore API specifications.
AgentEndpointStatusType
¶
Bases: StrEnum
Status of an agent runtime endpoint.
Endpoints go through these states during their lifecycle. Unlike runtimes, endpoints can be updated to point to different versions.
Source code in agentcore_cli/models/base.py
AgentStatusType
¶
Bases: StrEnum
Status of an agent runtime.
These statuses reflect the lifecycle of an AWS AgentCore runtime. Runtimes transition through these states during creation, updates, and deletion.
Source code in agentcore_cli/models/base.py
BaseAgentCoreModel
¶
Bases: BaseModel
Base model with common configuration for all AgentCore models.
Provides strict validation and consistent behavior across all models. All AgentCore CLI models inherit from this base class.
Source code in agentcore_cli/models/base.py
NetworkModeType
¶
Bases: StrEnum
Network mode for AgentCore runtimes.
Defines how the agent runtime is exposed within AWS networking: - PUBLIC: Runtime is accessible from the internet via public endpoints - PRIVATE: Runtime is only accessible within VPC (future AWS enhancement)
Source code in agentcore_cli/models/base.py
ResourceBase
¶
Bases: BaseAgentCoreModel
Base class for all AWS resource models.
Provides common fields that all AWS resources share: region, timestamps, and tags for resource management.
Source code in agentcore_cli/models/base.py
ResourceTag
¶
Bases: BaseAgentCoreModel
AWS resource tag for cost allocation and resource management.
Source code in agentcore_cli/models/base.py
ServerProtocolType
¶
Bases: StrEnum
Server protocol type for AgentCore runtimes.
Defines the communication protocol the agent runtime uses: - HTTP: Standard HTTP protocol for REST API communication - MCP: Model Context Protocol for advanced agent interactions
Source code in agentcore_cli/models/base.py
Python | |
---|---|