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
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.
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)
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
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").close
method.
boto3 documentation
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
kwargs: DeleteHumanLoopRequestRequestTypeDef = { # (1)
"HumanLoopName": ...,
}
parent.delete_human_loop(**kwargs)
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
def describe_human_loop(
self,
*,
HumanLoopName: str,
) -> DescribeHumanLoopResponseTypeDef: # (1)
...
kwargs: DescribeHumanLoopRequestRequestTypeDef = { # (1)
"HumanLoopName": ...,
}
parent.describe_human_loop(**kwargs)
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
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
def list_human_loops(
self,
*,
FlowDefinitionArn: str,
CreationTimeAfter: Union[datetime, str] = ...,
CreationTimeBefore: Union[datetime, str] = ...,
SortOrder: SortOrderType = ..., # (1)
NextToken: str = ...,
MaxResults: int = ...,
) -> ListHumanLoopsResponseTypeDef: # (2)
...
kwargs: ListHumanLoopsRequestRequestTypeDef = { # (1)
"FlowDefinitionArn": ...,
}
parent.list_human_loops(**kwargs)
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
def start_human_loop(
self,
*,
HumanLoopName: str,
FlowDefinitionArn: str,
HumanLoopInput: HumanLoopInputTypeDef, # (1)
DataAttributes: HumanLoopDataAttributesTypeDef = ..., # (2)
) -> StartHumanLoopResponseTypeDef: # (3)
...
kwargs: StartHumanLoopRequestRequestTypeDef = { # (1)
"HumanLoopName": ...,
"FlowDefinitionArn": ...,
"HumanLoopInput": ...,
}
parent.start_human_loop(**kwargs)
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
kwargs: StopHumanLoopRequestRequestTypeDef = { # (1)
"HumanLoopName": ...,
}
parent.stop_human_loop(**kwargs)
get_paginator
Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").get_paginator
method with overloads.
client.get_paginator("list_human_loops")
-> ListHumanLoopsPaginator