delete_app
¶
delete_app(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
domain_id: Optional[DomainId] = None,
user_profile_name: Optional[UserProfileName] = None,
space_name: Optional[SpaceName] = None,
app_type: Optional[AppType] = None,
app_name: Optional[AppName] = None,
) -> None
Used to stop and delete an app.
Parameters:
-
domain_id(Optional[DomainId], default:None) –The domain ID.
-
user_profile_name(Optional[UserProfileName], default:None) –The user profile name. If this value is not set, then
SpaceNamemust be set. -
space_name(Optional[SpaceName], default:None) –The name of the space. If this value is not set, then
UserProfileNamemust be set. -
app_type(Optional[AppType], default:None) –The type of app.
-
app_name(Optional[AppName], default:None) –The name of the app.
Raises:
-
ResourceInUse–Resource being accessed is in use.
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 | |