update_app
async
¶
update_app(
app_name: AppName,
*,
config_overrides: Optional[AsyncAmplifyGen3ClientConfig] = None,
source_config: Optional[AppUpdateSourceConfigRequest] = None,
web: Optional[AppUpdateWebConfigRequest] = None,
backend: Optional[AppBackendRequest] = None,
) -> UpdateAppResponse
Updates a Gen 3 app.
Parameters:
-
app_name(AppName) –The name of the app.
-
source_config(Optional[AppUpdateSourceConfigRequest], default:None) –The source configuration for the app.
-
web(Optional[AppUpdateWebConfigRequest], default:None) –The web hosting settings for the app.
-
backend(Optional[AppBackendRequest], default:None) –The backend settings for the app. Specify this to add a backend to an app that doesn't have one. For an app that already has a backend, you can change only the migrations directory. Omit this to leave the backend unchanged.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–An internal error occurred. Retry the request.
-
ResourceNotFoundException–The requested resource was not found.
-
ServiceQuotaExceededException–The request would exceed a service quota for your account.
-
ThrottlingException–The request was denied because the request rate exceeds the allowed limit.
-
ValidationException–The request contains invalid parameters or is otherwise malformed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_amplifygen3/_services/async_amplify_gen3.py
2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 | |