list_goals
¶
list_goals(
agent_space_id: AgentSpaceIdentifier,
*,
config_overrides: Optional[DevOpsAgentClientConfig] = None,
status: Optional[GoalStatus] = None,
goal_type: Optional[GoalType] = None,
limit: Optional[int] = None,
next_token: Optional[NextToken] = None,
) -> ListGoalsResponse
Lists goals in the specified agent space with optional filtering
Parameters:
-
agent_space_id(AgentSpaceIdentifier) –The unique identifier for the agent space
-
status(Optional[GoalStatus], default:None) –Filter goals by goal status
-
goal_type(Optional[GoalType], default:None) –Filter goals by goal type
-
limit(Optional[int], default:None) –Maximum number of goals to return
-
next_token(Optional[NextToken], default:None) –Pagination token for the next set 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
1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 | |