Skip to content

Waiters#

Index > SageMaker > Waiters

Auto-generated documentation for SageMaker type annotations stubs module types-aiobotocore-sagemaker.

EndpointDeletedWaiter#

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

# EndpointDeletedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import EndpointDeletedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

await 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 session.create_client("sagemaker").get_waiter("endpoint_in_service"). boto3 documentation

# EndpointInServiceWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import EndpointInServiceWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

await 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 session.create_client("sagemaker").get_waiter("image_created"). boto3 documentation

# ImageCreatedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import ImageCreatedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

await 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 session.create_client("sagemaker").get_waiter("image_deleted"). boto3 documentation

# ImageDeletedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import ImageDeletedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

await 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 session.create_client("sagemaker").get_waiter("image_updated"). boto3 documentation

# ImageUpdatedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import ImageUpdatedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

await 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 session.create_client("sagemaker").get_waiter("image_version_created"). boto3 documentation

# ImageVersionCreatedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import ImageVersionCreatedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

await 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 session.create_client("sagemaker").get_waiter("image_version_deleted"). boto3 documentation

# ImageVersionDeletedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import ImageVersionDeletedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

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

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

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

NotebookInstanceDeletedWaiter#

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

# NotebookInstanceDeletedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import NotebookInstanceDeletedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

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

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

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

NotebookInstanceInServiceWaiter#

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

# NotebookInstanceInServiceWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import NotebookInstanceInServiceWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

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

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

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

NotebookInstanceStoppedWaiter#

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

# NotebookInstanceStoppedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import NotebookInstanceStoppedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

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

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

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

ProcessingJobCompletedOrStoppedWaiter#

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

# ProcessingJobCompletedOrStoppedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import ProcessingJobCompletedOrStoppedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

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

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

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

TrainingJobCompletedOrStoppedWaiter#

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

# TrainingJobCompletedOrStoppedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import TrainingJobCompletedOrStoppedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

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

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

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

TransformJobCompletedOrStoppedWaiter#

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

# TransformJobCompletedOrStoppedWaiter usage example

from aiobotocore.session import Session

from types_aiobotocore_sagemaker.waiter import TransformJobCompletedOrStoppedWaiter

session = get_session()
async with session.create_client("sagemaker") as client:  # (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

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

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

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