list_artifacts
async
¶
list_artifacts(
app_id: AppId,
branch_name: BranchName,
job_id: JobId,
*,
config_overrides: Optional[AsyncAmplifyClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListArtifactsResult
Returns a list of end-to-end testing artifacts for a specified app, branch, and job.
To return the build artifacts, use the GetJob API.
For more information about Amplify testing support, see Setting up end-to-end Cypress tests for your Amplify application in the Amplify Hosting User Guide.
Parameters:
-
app_id(AppId) –The unique ID for an Amplify app.
-
branch_name(BranchName) –The name of a branch that is part of an Amplify app.
-
job_id(JobId) –The unique ID for a job.
-
next_token(Optional[NextToken], default:None) –A pagination token. Set to null to start listing artifacts from start. If a non-null pagination token is returned in a result, pass its value in here to list more artifacts.
-
max_results(Optional[MaxResults], default:None) –The maximum number of records to list in a single response.
Raises:
-
BadRequestException–A request contains unexpected data.
-
InternalFailureException–The service failed to perform an operation due to an internal issue.
-
LimitExceededException–A resource could not be created because service quotas were exceeded.
-
UnauthorizedException–An operation failed due to a lack of access.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplify/_services/async_amplify.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 | |