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
2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 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 | |