SageMaker / Waiter / NotebookInstanceDeleted

NotebookInstanceDeleted#

class SageMaker.Waiter.NotebookInstanceDeleted#
waiter = client.get_waiter('notebook_instance_deleted')
wait(**kwargs)#

Polls SageMaker.Client.describe_notebook_instance() every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.

See also: AWS API Documentation

Request Syntax

waiter.wait(
    NotebookInstanceName='string',
    WaiterConfig={
        'Delay': 123,
        'MaxAttempts': 123
    }
)
Parameters:
  • NotebookInstanceName (string) –

    [REQUIRED]

    The name of the notebook instance that you want information about.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

      The amount of time in seconds to wait between attempts. Default: 30

    • MaxAttempts (integer) –

      The maximum number of attempts to be made. Default: 60

Returns:

None