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
1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 | |