Skip to content

Waiters#

Index > SageMaker > Waiters

Auto-generated documentation for SageMaker type annotations stubs module types-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 types_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: DescribeEndpointInputWaitTypeDef = {  # (1)
    "EndpointName": ...,
}

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

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 types_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: DescribeEndpointInputWaitTypeDef = {  # (1)
    "EndpointName": ...,
}

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

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 types_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: DescribeImageRequestWaitTypeDef = {  # (1)
    "ImageName": ...,
}

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

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 types_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: DescribeImageRequestWaitTypeDef = {  # (1)
    "ImageName": ...,
}

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

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 types_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: DescribeImageRequestWaitTypeDef = {  # (1)
    "ImageName": ...,
}

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

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 types_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: DescribeImageVersionRequestWaitTypeDef = {  # (1)
    "ImageName": ...,
}

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

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 types_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: ImageVersionDeletedWaiter

wait#

Type annotations and code completion for ImageVersionDeletedWaiter.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: DescribeImageVersionRequestWaitTypeDef = {  # (1)
    "ImageName": ...,
}

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

NotebookInstanceDeletedWaiter#

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

# NotebookInstanceDeletedWaiter usage example

from boto3.session import Session

from types_boto3_sagemaker.waiter import NotebookInstanceDeletedWaiter


session = Session()

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

wait#

Type annotations and code completion for NotebookInstanceDeletedWaiter.wait method.

# wait method definition

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

kwargs: DescribeNotebookInstanceInputWaitTypeDef = {  # (1)
    "NotebookInstanceName": ...,
}

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

NotebookInstanceInServiceWaiter#

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

# NotebookInstanceInServiceWaiter usage example

from boto3.session import Session

from types_boto3_sagemaker.waiter import NotebookInstanceInServiceWaiter


session = Session()

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

wait#

Type annotations and code completion for NotebookInstanceInServiceWaiter.wait method.

# wait method definition

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

kwargs: DescribeNotebookInstanceInputWaitTypeDef = {  # (1)
    "NotebookInstanceName": ...,
}

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

NotebookInstanceStoppedWaiter#

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

# NotebookInstanceStoppedWaiter usage example

from boto3.session import Session

from types_boto3_sagemaker.waiter import NotebookInstanceStoppedWaiter


session = Session()

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

wait#

Type annotations and code completion for NotebookInstanceStoppedWaiter.wait method.

# wait method definition

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

kwargs: DescribeNotebookInstanceInputWaitTypeDef = {  # (1)
    "NotebookInstanceName": ...,
}

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

ProcessingJobCompletedOrStoppedWaiter#

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

# ProcessingJobCompletedOrStoppedWaiter usage example

from boto3.session import Session

from types_boto3_sagemaker.waiter import ProcessingJobCompletedOrStoppedWaiter


session = Session()

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

wait#

Type annotations and code completion for ProcessingJobCompletedOrStoppedWaiter.wait method.

# wait method definition

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

kwargs: DescribeProcessingJobRequestWaitTypeDef = {  # (1)
    "ProcessingJobName": ...,
}

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

TrainingJobCompletedOrStoppedWaiter#

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

# TrainingJobCompletedOrStoppedWaiter usage example

from boto3.session import Session

from types_boto3_sagemaker.waiter import TrainingJobCompletedOrStoppedWaiter


session = Session()

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

wait#

Type annotations and code completion for TrainingJobCompletedOrStoppedWaiter.wait method.

# wait method definition

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

kwargs: DescribeTrainingJobRequestWaitTypeDef = {  # (1)
    "TrainingJobName": ...,
}

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

TransformJobCompletedOrStoppedWaiter#

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

# TransformJobCompletedOrStoppedWaiter usage example

from boto3.session import Session

from types_boto3_sagemaker.waiter import TransformJobCompletedOrStoppedWaiter


session = Session()

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

wait#

Type annotations and code completion for TransformJobCompletedOrStoppedWaiter.wait method.

# wait method definition

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

kwargs: DescribeTransformJobRequestWaitTypeDef = {  # (1)
    "TransformJobName": ...,
}

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