Skip to content

Waiters#

Index > SageMaker > Waiters

Auto-generated documentation for SageMaker type annotations stubs module mypy-boto3-sagemaker.

EndpointDeletedWaiter#

Type annotations and code completion for boto3.client("sagemaker").get_waiter("endpoint_deleted"). boto3 documentation

# EndpointDeletedWaiter usage example

from boto3.session import Session

from mypy_boto3_sagemaker.waiter import EndpointDeletedWaiter


session = Session()

client = session.client("sagemaker")  # (1)
waiter: EndpointDeletedWaiter = client.get_waiter("endpoint_deleted")  # (2)
await waiter.wait()
  1. client: SageMakerClient
  2. waiter: EndpointDeletedWaiter

wait#

Type annotations and code completion for EndpointDeletedWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    EndpointName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeEndpointInputEndpointDeletedWaitTypeDef = {  # (1)
    "EndpointName": ...,
}

parent.wait(**kwargs)
  1. See DescribeEndpointInputEndpointDeletedWaitTypeDef

EndpointInServiceWaiter#

Type annotations and code completion for boto3.client("sagemaker").get_waiter("endpoint_in_service"). boto3 documentation

# EndpointInServiceWaiter usage example

from boto3.session import Session

from mypy_boto3_sagemaker.waiter import EndpointInServiceWaiter


session = Session()

client = session.client("sagemaker")  # (1)
waiter: EndpointInServiceWaiter = client.get_waiter("endpoint_in_service")  # (2)
await waiter.wait()
  1. client: SageMakerClient
  2. waiter: EndpointInServiceWaiter

wait#

Type annotations and code completion for EndpointInServiceWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    EndpointName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeEndpointInputEndpointInServiceWaitTypeDef = {  # (1)
    "EndpointName": ...,
}

parent.wait(**kwargs)
  1. See DescribeEndpointInputEndpointInServiceWaitTypeDef

ImageCreatedWaiter#

Type annotations and code completion for boto3.client("sagemaker").get_waiter("image_created"). boto3 documentation

# ImageCreatedWaiter usage example

from boto3.session import Session

from mypy_boto3_sagemaker.waiter import ImageCreatedWaiter


session = Session()

client = session.client("sagemaker")  # (1)
waiter: ImageCreatedWaiter = client.get_waiter("image_created")  # (2)
await waiter.wait()
  1. client: SageMakerClient
  2. waiter: ImageCreatedWaiter

wait#

Type annotations and code completion for ImageCreatedWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    ImageName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeImageRequestImageCreatedWaitTypeDef = {  # (1)
    "ImageName": ...,
}

parent.wait(**kwargs)
  1. See DescribeImageRequestImageCreatedWaitTypeDef

ImageDeletedWaiter#

Type annotations and code completion for boto3.client("sagemaker").get_waiter("image_deleted"). boto3 documentation

# ImageDeletedWaiter usage example

from boto3.session import Session

from mypy_boto3_sagemaker.waiter import ImageDeletedWaiter


session = Session()

client = session.client("sagemaker")  # (1)
waiter: ImageDeletedWaiter = client.get_waiter("image_deleted")  # (2)
await waiter.wait()
  1. client: SageMakerClient
  2. waiter: ImageDeletedWaiter

wait#

Type annotations and code completion for ImageDeletedWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    ImageName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeImageRequestImageDeletedWaitTypeDef = {  # (1)
    "ImageName": ...,
}

parent.wait(**kwargs)
  1. See DescribeImageRequestImageDeletedWaitTypeDef

ImageUpdatedWaiter#

Type annotations and code completion for boto3.client("sagemaker").get_waiter("image_updated"). boto3 documentation

# ImageUpdatedWaiter usage example

from boto3.session import Session

from mypy_boto3_sagemaker.waiter import ImageUpdatedWaiter


session = Session()

client = session.client("sagemaker")  # (1)
waiter: ImageUpdatedWaiter = client.get_waiter("image_updated")  # (2)
await waiter.wait()
  1. client: SageMakerClient
  2. waiter: ImageUpdatedWaiter

wait#

Type annotations and code completion for ImageUpdatedWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    ImageName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeImageRequestImageUpdatedWaitTypeDef = {  # (1)
    "ImageName": ...,
}

parent.wait(**kwargs)
  1. See DescribeImageRequestImageUpdatedWaitTypeDef

ImageVersionCreatedWaiter#

Type annotations and code completion for boto3.client("sagemaker").get_waiter("image_version_created"). boto3 documentation

# ImageVersionCreatedWaiter usage example

from boto3.session import Session

from mypy_boto3_sagemaker.waiter import ImageVersionCreatedWaiter


session = Session()

client = session.client("sagemaker")  # (1)
waiter: ImageVersionCreatedWaiter = client.get_waiter("image_version_created")  # (2)
await waiter.wait()
  1. client: SageMakerClient
  2. waiter: ImageVersionCreatedWaiter

wait#

Type annotations and code completion for ImageVersionCreatedWaiter.wait method.

# wait method definition

def wait(
    self,
    *,
    ImageName: str,
    Version: int = ...,
    Alias: str = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
# wait method usage example with argument unpacking

kwargs: DescribeImageVersionRequestImageVersionCreatedWaitTypeDef = {  # (1)
    "ImageName": ...,
}

parent.wait(**kwargs)
  1. See DescribeImageVersionRequestImageVersionCreatedWaitTypeDef

ImageVersionDeletedWaiter#

Type annotations and code completion for boto3.client("sagemaker").get_waiter("image_version_deleted"). boto3 documentation

# ImageVersionDeletedWaiter usage example

from boto3.session import Session

from mypy_boto3_sagemaker.waiter import ImageVersionDeletedWaiter


session = Session()

client = session.client("sagemaker")  # (1)
waiter: ImageVersionDeletedWaiter = client.get_waiter("image_version_deleted")  # (2)
await waiter.wait()
  1. client: SageMakerClient
  2. waiter: