describe_activities
async
¶
describe_activities(
*,
config_overrides: Optional[AsyncWorkDocsClientConfig] = None,
authentication_token: Optional[AuthenticationHeaderType] = None,
start_time: Optional[TimestampType] = None,
end_time: Optional[TimestampType] = None,
organization_id: Optional[IdType] = None,
activity_types: Optional[ActivityNamesFilterType] = None,
resource_id: Optional[IdType] = None,
user_id: Optional[IdType] = None,
include_indirect_activities: Optional[BooleanType] = None,
limit: Optional[LimitType] = None,
marker: Optional[SearchMarkerType] = None,
) -> DescribeActivitiesResponse
Describes the user activities in a specified time period.
Parameters:
-
authentication_token(Optional[AuthenticationHeaderType], default:None) –Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
-
start_time(Optional[TimestampType], default:None) –The timestamp that determines the starting time of the activities. The response includes the activities performed after the specified timestamp.
-
end_time(Optional[TimestampType], default:None) –The timestamp that determines the end time of the activities. The response includes the activities performed before the specified timestamp.
-
organization_id(Optional[IdType], default:None) –The ID of the organization. This is a mandatory parameter when using administrative API (SigV4) requests.
-
activity_types(Optional[ActivityNamesFilterType], default:None) –Specifies which activity types to include in the response. If this field is left empty, all activity types are returned.
-
resource_id(Optional[IdType], default:None) –The document or folder ID for which to describe activity types.
-
user_id(Optional[IdType], default:None) –The ID of the user who performed the action. The response includes activities pertaining to this user. This is an optional parameter and is only applicable for administrative API (SigV4) requests.
-
include_indirect_activities(Optional[BooleanType], default:None) –Includes indirect activities. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).
-
limit(Optional[LimitType], default:None) –The maximum number of items to return.
-
marker(Optional[SearchMarkerType], default:None) –The marker for the next set of results.
Raises:
-
FailedDependencyException–The Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.
-
InvalidArgumentException–The pagination marker or limit fields are not valid.
-
ServiceUnavailableException–One or more of the dependencies is unavailable.
-
UnauthorizedOperationException–The operation is not permitted.
-
UnauthorizedResourceAccessException–The caller does not have access to perform the action on the resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workdocs/_services/async_work_docs.py
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 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 1794 | |