list_backlog_tasks
¶
list_backlog_tasks(
agent_space_id: AgentSpaceIdentifier,
*,
config_overrides: Optional[DevOpsAgentClientConfig] = None,
filter: Optional[TaskFilter] = None,
limit: Optional[int] = None,
next_token: Optional[NextToken] = None,
sort_field: Optional[TaskSortField] = None,
order: Optional[TaskSortOrder] = None,
) -> ListBacklogTasksResponse
Lists backlog tasks in the specified agent space with optional filtering and sorting
Parameters:
-
agent_space_id(AgentSpaceIdentifier) –The unique identifier for the agent space containing the tasks
-
filter(Optional[TaskFilter], default:None) –Filter criteria to apply when listing tasks Filtering restrictions: - Each filter field list is limited to a single value - Filtering by Priority and Status at the same time when not filtering by Type is not permitted - Timestamp filters (createdAfter, createdBefore) can be combined with other filters when not sorting by priority
-
limit(Optional[int], default:None) –Maximum number of tasks to return in a single response (1-1000, default: 100)
-
next_token(Optional[NextToken], default:None) –Token for retrieving the next page of results
-
sort_field(Optional[TaskSortField], default:None) –Field to sort by Sorting restrictions: - Only sorting on createdAt is supported when using priority or status filters alone. - Sorting by priority is not supported when using Timestamp filters (createdAfter, createdBefore)
-
order(Optional[TaskSortOrder], default:None) –Sort order for the tasks based on sortField (default: DESC)
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
1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 | |