Skip to content

AugmentedAIRuntimeClient

Index > AugmentedAIRuntime > AugmentedAIRuntimeClient

Auto-generated documentation for AugmentedAIRuntime type annotations stubs module mypy-boto3-sagemaker-a2i-runtime.

AugmentedAIRuntimeClient

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime"). boto3 documentation

Usage example
from boto3.session import Session
from mypy_boto3_sagemaker_a2i_runtime.client import AugmentedAIRuntimeClient

def get_sagemaker-a2i-runtime_client() -> AugmentedAIRuntimeClient:
    return Session().client("sagemaker-a2i-runtime")

Exceptions

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("sagemaker-a2i-runtime").exceptions structure.

Usage example
client = boto3.client("sagemaker-a2i-runtime")

try:
    do_something(client)
except (
    client.ClientError,
    client.ConflictException,
    client.InternalServerException,
    client.ResourceNotFoundException,
    client.ServiceQuotaExceededException,
    client.ThrottlingException,
    client.ValidationException,
) as e:
    print(e)
Type checking example
from mypy_boto3_sagemaker_a2i_runtime.client import Exceptions

def handle_error(exc: Exceptions.ClientError) -> None:
    ...

Methods

can_paginate

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").can_paginate method. boto3 documentation

Method definition
def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

close

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").close method. boto3 documentation

Method definition
def close(
    self,
) -> None:
    ...

delete_human_loop

Deletes the specified human loop for a flow definition.

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").delete_human_loop method. boto3 documentation

Method definition
def delete_human_loop(
    self,
    *,
    HumanLoopName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: DeleteHumanLoopRequestRequestTypeDef = {  # (1)
    "HumanLoopName": ...,
}

parent.delete_human_loop(**kwargs)
  1. See DeleteHumanLoopRequestRequestTypeDef

describe_human_loop

Returns information about the specified human loop.

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").describe_human_loop method. boto3 documentation

Method definition
def describe_human_loop(
    self,
    *,
    HumanLoopName: str,
) -> DescribeHumanLoopResponseTypeDef:  # (1)
    ...
  1. See DescribeHumanLoopResponseTypeDef
Usage example with kwargs
kwargs: DescribeHumanLoopRequestRequestTypeDef = {  # (1)
    "HumanLoopName": ...,
}

parent.describe_human_loop(**kwargs)
  1. See DescribeHumanLoopRequestRequestTypeDef

generate_presigned_url

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").generate_presigned_url method. boto3 documentation

Method definition
def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

list_human_loops

Returns information about human loops, given the specified parameters.

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").list_human_loops method. boto3 documentation

Method definition
def list_human_loops(
    self,
    *,
    FlowDefinitionArn: str,
    CreationTimeAfter: Union[datetime, str] = ...,
    CreationTimeBefore: Union[datetime, str] = ...,
    SortOrder: SortOrderType = ...,  # (1)
    NextToken: str = ...,
    MaxResults: int = ...,
) -> ListHumanLoopsResponseTypeDef:  # (2)
    ...
  1. See SortOrderType
  2. See ListHumanLoopsResponseTypeDef
Usage example with kwargs
kwargs: ListHumanLoopsRequestRequestTypeDef = {  # (1)
    "FlowDefinitionArn": ...,
}

parent.list_human_loops(**kwargs)
  1. See ListHumanLoopsRequestRequestTypeDef

start_human_loop

Starts a human loop, provided that at least one activation condition is met.

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").start_human_loop method. boto3 documentation

Method definition
def start_human_loop(
    self,
    *,
    HumanLoopName: str,
    FlowDefinitionArn: str,
    HumanLoopInput: HumanLoopInputTypeDef,  # (1)
    DataAttributes: HumanLoopDataAttributesTypeDef = ...,  # (2)
) -> StartHumanLoopResponseTypeDef:  # (3)
    ...
  1. See HumanLoopInputTypeDef
  2. See HumanLoopDataAttributesTypeDef
  3. See StartHumanLoopResponseTypeDef
Usage example with kwargs
kwargs: StartHumanLoopRequestRequestTypeDef = {  # (1)
    "HumanLoopName": ...,
    "FlowDefinitionArn": ...,
    "HumanLoopInput": ...,
}

parent.start_human_loop(**kwargs)
  1. See StartHumanLoopRequestRequestTypeDef

stop_human_loop

Stops the specified human loop.

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").stop_human_loop method. boto3 documentation

Method definition
def stop_human_loop(
    self,
    *,
    HumanLoopName: str,
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: StopHumanLoopRequestRequestTypeDef = {  # (1)
    "HumanLoopName": ...,
}

parent.stop_human_loop(**kwargs)
  1. See StopHumanLoopRequestRequestTypeDef

get_paginator

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").get_paginator method with overloads.