get_application_revision
¶
get_application_revision(
application_name: ApplicationName,
revision: RevisionLocation,
*,
config_overrides: Optional[CodeDeployClientConfig] = None,
) -> GetApplicationRevisionOutput
Gets information about an application revision.
Parameters:
-
application_name(ApplicationName) –The name of the application that corresponds to the revision.
-
revision(RevisionLocation) –Information about the application revision to get, including type and location.
Raises:
-
ApplicationDoesNotExistException–The application does not exist with the user or Amazon Web Services account.
-
ApplicationNameRequiredException–The minimum number of required application names was not specified.
-
InvalidApplicationNameException–The application name was specified in an invalid format.
-
InvalidRevisionException–The revision was specified in an invalid format.
-
RevisionDoesNotExistException–The named revision does not exist with the user or Amazon Web Services account.
-
RevisionRequiredException–The revision ID was not specified.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codedeploy/_services/code_deploy.py
1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 | |