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

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.

Method definition
def wait(
    self,
    *,
    EndpointName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
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

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.

Method definition
def wait(
    self,
    *,
    EndpointName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
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

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.

Method definition
def wait(
    self,
    *,
    ImageName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
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

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.

Method definition
def wait(
    self,
    *,
    ImageName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
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

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.

Method definition
def wait(
    self,
    *,
    ImageName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
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

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.

Method definition
def wait(
    self,
    *,
    ImageName: str,
    Version: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
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

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

wait

Type annotations and code completion for ImageVersionDeletedWaiter.wait method.

Method definition
def wait(
    self,
    *,
    ImageName: str,
    Version: int = ...,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeImageVersionRequestImageVersionDeletedWaitTypeDef = {  # (1)
    "ImageName": ...,
}

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

NotebookInstanceDeletedWaiter

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

Usage example
from boto3.session import Session

from mypy_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.

Method definition
def wait(
    self,
    *,
    NotebookInstanceName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeNotebookInstanceInputNotebookInstanceDeletedWaitTypeDef = {  # (1)
    "NotebookInstanceName": ...,
}

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

NotebookInstanceInServiceWaiter

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

Usage example
from boto3.session import Session

from mypy_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.

Method definition
def wait(
    self,
    *,
    NotebookInstanceName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeNotebookInstanceInputNotebookInstanceInServiceWaitTypeDef = {  # (1)
    "NotebookInstanceName": ...,
}

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

NotebookInstanceStoppedWaiter

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

Usage example
from boto3.session import Session

from mypy_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.

Method definition
def wait(
    self,
    *,
    NotebookInstanceName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeNotebookInstanceInputNotebookInstanceStoppedWaitTypeDef = {  # (1)
    "NotebookInstanceName": ...,
}

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

ProcessingJobCompletedOrStoppedWaiter

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

Usage example
from boto3.session import Session

from mypy_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.

Method definition
def wait(
    self,
    *,
    ProcessingJobName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeProcessingJobRequestProcessingJobCompletedOrStoppedWaitTypeDef = {  # (1)
    "ProcessingJobName": ...,
}

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

TrainingJobCompletedOrStoppedWaiter

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

Usage example
from boto3.session import Session

from mypy_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.

Method definition
def wait(
    self,
    *,
    TrainingJobName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeTrainingJobRequestTrainingJobCompletedOrStoppedWaitTypeDef = {  # (1)
    "TrainingJobName": ...,
}

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

TransformJobCompletedOrStoppedWaiter

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

Usage example
from boto3.session import Session

from mypy_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.

Method definition
def wait(
    self,
    *,
    TransformJobName: str,
    WaiterConfig: WaiterConfigTypeDef = ...,  # (1)
) -> None:
    ...
  1. See WaiterConfigTypeDef
Usage example with kwargs
kwargs: DescribeTransformJobRequestTransformJobCompletedOrStoppedWaitTypeDef = {  # (1)
    "TransformJobName": ...,
}

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