describe_projects
async
¶
describe_projects(
*,
config_overrides: Optional[AsyncRekognitionClientConfig] = None,
next_token: Optional[ExtendedPaginationToken] = None,
max_results: Optional[ProjectsPageSize] = None,
project_names: Optional[ProjectNames] = None,
features: Optional[CustomizationFeatures] = None,
) -> DescribeProjectsResponse
Gets information about your Rekognition projects.
This operation requires permissions to perform the rekognition:DescribeProjects action.
Parameters:
-
next_token(Optional[ExtendedPaginationToken], default:None) –If the previous response was incomplete (because there is more results to retrieve), Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of results.
-
max_results(Optional[ProjectsPageSize], default:None) –The maximum number of results to return per paginated call. The largest value you can specify is 100. If you specify a value greater than 100, a ValidationException error occurs. The default value is 100.
-
project_names(Optional[ProjectNames], default:None) –A list of the projects that you want Rekognition to describe. If you don't specify a value, the response includes descriptions for all the projects in your AWS account.
-
features(Optional[CustomizationFeatures], default:None) –Specifies the type of customization to filter projects by. If no value is specified, CUSTOM_LABELS is used as a default.
Raises:
-
AccessDeniedException–You are not authorized to perform the action.
-
InternalServerError–Amazon Rekognition experienced a service issue. Try your call again.
-
InvalidPaginationTokenException–Pagination token in the request is not valid.
-
InvalidParameterException–Input parameter violated a constraint. Validate your parameter before calling the API operation again.
-
ProvisionedThroughputExceededException–The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Rekognition.
-
ThrottlingException–Amazon Rekognition is temporarily unable to process the request. Try your call again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_rekognition/_services/async_rekognition.py
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 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 | |