update_backend_api
¶
update_backend_api(
app_id: __string,
backend_environment_name: __string,
*,
config_overrides: Optional[AmplifyBackendClientConfig] = 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/amplify_backend.py
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 1793 1794 1795 1796 | |