list_recommendations
¶
list_recommendations(
agent_space_id: AgentSpaceIdentifier,
*,
config_overrides: Optional[DevOpsAgentClientConfig] = None,
task_id: Optional[ResourceId] = None,
goal_id: Optional[ResourceId] = None,
status: Optional[RecommendationStatus] = None,
priority: Optional[RecommendationPriority] = None,
limit: Optional[int] = None,
next_token: Optional[NextToken] = None,
) -> ListRecommendationsResponse
Lists recommendations for the specified agent space
Parameters:
-
agent_space_id(AgentSpaceIdentifier) –The unique identifier for the agent space containing the recommendations
-
task_id(Optional[ResourceId], default:None) –Optional task ID to filter recommendations by specific task
-
goal_id(Optional[ResourceId], default:None) –Optional goal ID to filter recommendations by specific goal
-
status(Optional[RecommendationStatus], default:None) –Optional status to filter recommendations by their current status
-
priority(Optional[RecommendationPriority], default:None) –Optional priority to filter recommendations by priority level
-
limit(Optional[int], default:None) –Maximum number of recommendations to return in a single response
-
next_token(Optional[NextToken], default:None) –Token for retrieving the next page of results
Raises:
-
AccessDeniedException–Access to the requested resource is denied due to insufficient permissions.
-
ConflictException–The request conflicts with the current state of the resource.
-
ContentSizeExceededException–This exception is thrown when the content size exceeds the allowed limit.
-
InternalServerException–This exception is thrown when an unexpected error occurs in the processing of a request.
-
InvalidParameterException–One or more parameters provided in the request are invalid.
-
ResourceNotFoundException–The requested resource could not be found.
-
ServiceQuotaExceededException–The request would exceed the service quota limit.
-
ThrottlingException–The request was throttled due to too many requests. Please slow down and try again.
-
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_devops_agent/_services/dev_ops_agent.py
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 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 | |