list_agent_runtime_versions
async
¶
list_agent_runtime_versions(
agent_runtime_id: AgentRuntimeId,
*,
config_overrides: Optional[AsyncBedrockAgentCoreControlClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListAgentRuntimeVersionsResponse
Lists all versions of a specific Amazon Secure Agent.
Parameters:
-
agent_runtime_id(AgentRuntimeId) –The unique identifier of the AgentCore Runtime to list versions for.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response.
-
next_token(Optional[NextToken], default:None) –A token to retrieve the next page of results.
Raises:
-
AccessDeniedException–This exception is thrown when a request is denied per access permissions
-
InternalServerException–This exception is thrown if there was an unexpected error during processing of request
-
ResourceNotFoundException–This exception is thrown when a resource referenced by the operation does not exist
-
ThrottlingException–This exception is thrown when the number of requests exceeds the limit
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agentcore_control/_services/async_bedrock_agent_core_control.py
2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 | |