Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_app

delete_app(**kwargs)

Used to stop and delete an app.

See also: AWS API Documentation

Request Syntax

response = client.delete_app(
    DomainId='string',
    UserProfileName='string',
    AppType='JupyterServer'|'KernelGateway'|'TensorBoard'|'RStudioServerPro'|'RSessionGateway',
    AppName='string',
    SpaceName='string'
)
Parameters
  • DomainId (string) --

    [REQUIRED]

    The domain ID.

  • UserProfileName (string) -- The user profile name. If this value is not set, then SpaceName must be set.
  • AppType (string) --

    [REQUIRED]

    The type of app.

  • AppName (string) --

    [REQUIRED]

    The name of the app.

  • SpaceName (string) -- The name of the space. If this value is not set, then UserProfileName must be set.
Returns

None

Exceptions

  • SageMaker.Client.exceptions.ResourceInUse
  • SageMaker.Client.exceptions.ResourceNotFound