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
1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 | |