describe_projects
¶
describe_projects(
*,
config_overrides: Optional[RekognitionClientConfig] = 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/rekognition.py
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 | |