update_component
¶
update_component(
app_id: str,
environment_name: str,
id: Uuid,
updated_component: UpdateComponentData,
*,
config_overrides: Optional[AmplifyUIBuilderClientConfig] = None,
client_token: Optional[str] = None,
) -> UpdateComponentResponse
Updates an existing component.
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 component.
-
client_token(Optional[str], default:None) –The unique client token.
-
updated_component(UpdateComponentData) –The configuration of the updated component.
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.