update_theme
async
¶
update_theme(
app_id: str,
environment_name: str,
id: Uuid,
updated_theme: UpdateThemeData,
*,
config_overrides: Optional[AsyncAmplifyUIBuilderClientConfig] = None,
client_token: Optional[str] = None,
) -> UpdateThemeResponse
Updates an existing theme.
Parameters:
-
app_id(str) –The unique ID for the Amplify app.
-
environment_name(str) –The name of the backend environment that is part of the Amplify app.
-
id(Uuid) –The unique ID for the theme.
-
client_token(Optional[str], default:None) –The unique client token.
-
updated_theme(UpdateThemeData) –The configuration of the updated theme.
Raises:
-
InternalServerException–An internal error has occurred. Please retry your request.
-
InvalidParameterException–An invalid or out-of-range value was supplied for the input parameter.
-
ResourceConflictException–The resource specified in the request conflicts with an existing resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplifyuibuilder/_services/async_amplify_ui_builder.py
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 | |