SageMaker / Waiter / ImageVersionCreated

ImageVersionCreated#

class SageMaker.Waiter.ImageVersionCreated#
waiter = client.get_waiter('image_version_created')
wait(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The name of the image.

  • Version (integer) – The version of the image. If not specified, the latest version is described.

  • Alias (string) – The alias of the image version.

  • WaiterConfig (dict) –

    A dictionary that provides parameters to control waiting behavior.

    • Delay (integer) –

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

    • MaxAttempts (integer) –

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

Returns:

None