update_backend_api
async
¶
update_backend_api(
app_id: __string,
backend_environment_name: __string,
*,
config_overrides: Optional[AsyncAmplifyBackendClientConfig] = None,
resource_config: Optional[BackendAPIResourceConfig] = None,
resource_name: Optional[__string] = None,
) -> UpdateBackendAPIResponse
Updates an existing backend API resource.
Parameters:
-
app_id(__string) –The app ID.
-
backend_environment_name(__string) –The name of the backend environment.
-
resource_config(Optional[BackendAPIResourceConfig], default:None) –Defines the resource configuration for the data model in your Amplify project.
-
resource_name(Optional[__string], default:None) –The name of this resource.
Raises:
-
BadRequestException–An error returned if a request is not formed properly.
-
GatewayTimeoutException–An error returned if there's a temporary issue with the service.
-
NotFoundException–An error returned when a specific resource type is not found.
-
TooManyRequestsException–An error that is returned when a limit of a specific type has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplifybackend/_services/async_amplify_backend.py
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 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 | |