SageMaker / Waiter / EndpointInService

EndpointInService#

class SageMaker.Waiter.EndpointInService#
waiter = client.get_waiter('endpoint_in_service')
wait(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The name of the endpoint.

  • 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: 120

Returns:

None