Type definitions#
Index > AugmentedAIRuntime > Type definitions
Auto-generated documentation for AugmentedAIRuntime type annotations stubs module mypy-boto3-sagemaker-a2i-runtime.
TimestampTypeDef#
# TimestampTypeDef Union usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import TimestampTypeDef
def get_value() -> TimestampTypeDef:
return ...
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime.datetime,
str,
]
DeleteHumanLoopRequestTypeDef#
# DeleteHumanLoopRequestTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import DeleteHumanLoopRequestTypeDef
def get_value() -> DeleteHumanLoopRequestTypeDef:
return {
"HumanLoopName": ...,
}
# DeleteHumanLoopRequestTypeDef definition
class DeleteHumanLoopRequestTypeDef(TypedDict):
HumanLoopName: str,
DescribeHumanLoopRequestTypeDef#
# DescribeHumanLoopRequestTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import DescribeHumanLoopRequestTypeDef
def get_value() -> DescribeHumanLoopRequestTypeDef:
return {
"HumanLoopName": ...,
}
# DescribeHumanLoopRequestTypeDef definition
class DescribeHumanLoopRequestTypeDef(TypedDict):
HumanLoopName: str,
HumanLoopOutputTypeDef#
# HumanLoopOutputTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import HumanLoopOutputTypeDef
def get_value() -> HumanLoopOutputTypeDef:
return {
"OutputS3Uri": ...,
}
# HumanLoopOutputTypeDef definition
class HumanLoopOutputTypeDef(TypedDict):
OutputS3Uri: str,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
HumanLoopDataAttributesTypeDef#
# HumanLoopDataAttributesTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import HumanLoopDataAttributesTypeDef
def get_value() -> HumanLoopDataAttributesTypeDef:
return {
"ContentClassifiers": ...,
}
# HumanLoopDataAttributesTypeDef definition
class HumanLoopDataAttributesTypeDef(TypedDict):
ContentClassifiers: Sequence[ContentClassifierType], # (1)
- See
Sequence[ContentClassifierType]
HumanLoopInputTypeDef#
# HumanLoopInputTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import HumanLoopInputTypeDef
def get_value() -> HumanLoopInputTypeDef:
return {
"InputContent": ...,
}
# HumanLoopInputTypeDef definition
class HumanLoopInputTypeDef(TypedDict):
InputContent: str,
HumanLoopSummaryTypeDef#
# HumanLoopSummaryTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import HumanLoopSummaryTypeDef
def get_value() -> HumanLoopSummaryTypeDef:
return {
"HumanLoopName": ...,
}
# HumanLoopSummaryTypeDef definition
class HumanLoopSummaryTypeDef(TypedDict):
HumanLoopName: NotRequired[str],
HumanLoopStatus: NotRequired[HumanLoopStatusType], # (1)
CreationTime: NotRequired[datetime.datetime],
FailureReason: NotRequired[str],
FlowDefinitionArn: NotRequired[str],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
StopHumanLoopRequestTypeDef#
# StopHumanLoopRequestTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import StopHumanLoopRequestTypeDef
def get_value() -> StopHumanLoopRequestTypeDef:
return {
"HumanLoopName": ...,
}
# StopHumanLoopRequestTypeDef definition
class StopHumanLoopRequestTypeDef(TypedDict):
HumanLoopName: str,
DescribeHumanLoopResponseTypeDef#
# DescribeHumanLoopResponseTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import DescribeHumanLoopResponseTypeDef
def get_value() -> DescribeHumanLoopResponseTypeDef:
return {
"CreationTime": ...,
}
# DescribeHumanLoopResponseTypeDef definition
class DescribeHumanLoopResponseTypeDef(TypedDict):
CreationTime: datetime.datetime,
FailureReason: str,
FailureCode: str,
HumanLoopStatus: HumanLoopStatusType, # (1)
HumanLoopName: str,
HumanLoopArn: str,
FlowDefinitionArn: str,
HumanLoopOutput: HumanLoopOutputTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
StartHumanLoopResponseTypeDef#
# StartHumanLoopResponseTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import StartHumanLoopResponseTypeDef
def get_value() -> StartHumanLoopResponseTypeDef:
return {
"HumanLoopArn": ...,
}
# StartHumanLoopResponseTypeDef definition
class StartHumanLoopResponseTypeDef(TypedDict):
HumanLoopArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartHumanLoopRequestTypeDef#
# StartHumanLoopRequestTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import StartHumanLoopRequestTypeDef
def get_value() -> StartHumanLoopRequestTypeDef:
return {
"HumanLoopName": ...,
}
# StartHumanLoopRequestTypeDef definition
class StartHumanLoopRequestTypeDef(TypedDict):
HumanLoopName: str,
FlowDefinitionArn: str,
HumanLoopInput: HumanLoopInputTypeDef, # (1)
DataAttributes: NotRequired[HumanLoopDataAttributesTypeDef], # (2)
ListHumanLoopsResponseTypeDef#
# ListHumanLoopsResponseTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import ListHumanLoopsResponseTypeDef
def get_value() -> ListHumanLoopsResponseTypeDef:
return {
"HumanLoopSummaries": ...,
}
# ListHumanLoopsResponseTypeDef definition
class ListHumanLoopsResponseTypeDef(TypedDict):
HumanLoopSummaries: List[HumanLoopSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See
List[HumanLoopSummaryTypeDef]
- See ResponseMetadataTypeDef
ListHumanLoopsRequestPaginateTypeDef#
# ListHumanLoopsRequestPaginateTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import ListHumanLoopsRequestPaginateTypeDef
def get_value() -> ListHumanLoopsRequestPaginateTypeDef:
return {
"FlowDefinitionArn": ...,
}
# ListHumanLoopsRequestPaginateTypeDef definition
class ListHumanLoopsRequestPaginateTypeDef(TypedDict):
FlowDefinitionArn: str,
CreationTimeAfter: NotRequired[TimestampTypeDef],
CreationTimeBefore: NotRequired[TimestampTypeDef],
SortOrder: NotRequired[SortOrderType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See SortOrderType
- See PaginatorConfigTypeDef
ListHumanLoopsRequestTypeDef#
# ListHumanLoopsRequestTypeDef TypedDict usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import ListHumanLoopsRequestTypeDef
def get_value() -> ListHumanLoopsRequestTypeDef:
return {
"FlowDefinitionArn": ...,
}
# ListHumanLoopsRequestTypeDef definition
class ListHumanLoopsRequestTypeDef(TypedDict):
FlowDefinitionArn: str,
CreationTimeAfter: NotRequired[TimestampTypeDef],
CreationTimeBefore: NotRequired[TimestampTypeDef],
SortOrder: NotRequired[SortOrderType], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
- See SortOrderType