Typed dictionaries#
Index > AugmentedAIRuntime > Typed dictionaries
Auto-generated documentation for AugmentedAIRuntime type annotations stubs module mypy-boto3-sagemaker-a2i-runtime.
DeleteHumanLoopRequestRequestTypeDef#
# DeleteHumanLoopRequestRequestTypeDef usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import DeleteHumanLoopRequestRequestTypeDef
def get_value() -> DeleteHumanLoopRequestRequestTypeDef:
return {
"HumanLoopName": ...,
}
# DeleteHumanLoopRequestRequestTypeDef definition
class DeleteHumanLoopRequestRequestTypeDef(TypedDict):
HumanLoopName: str,
DescribeHumanLoopRequestRequestTypeDef#
# DescribeHumanLoopRequestRequestTypeDef usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import DescribeHumanLoopRequestRequestTypeDef
def get_value() -> DescribeHumanLoopRequestRequestTypeDef:
return {
"HumanLoopName": ...,
}
# DescribeHumanLoopRequestRequestTypeDef definition
class DescribeHumanLoopRequestRequestTypeDef(TypedDict):
HumanLoopName: str,
HumanLoopOutputTypeDef#
# HumanLoopOutputTypeDef 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,
HumanLoopDataAttributesTypeDef#
# HumanLoopDataAttributesTypeDef 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)
HumanLoopInputTypeDef#
# HumanLoopInputTypeDef 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 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],
FailureReason: NotRequired[str],
FlowDefinitionArn: NotRequired[str],
ListHumanLoopsRequestListHumanLoopsPaginateTypeDef#
# ListHumanLoopsRequestListHumanLoopsPaginateTypeDef usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import ListHumanLoopsRequestListHumanLoopsPaginateTypeDef
def get_value() -> ListHumanLoopsRequestListHumanLoopsPaginateTypeDef:
return {
"FlowDefinitionArn": ...,
}
# ListHumanLoopsRequestListHumanLoopsPaginateTypeDef definition
class ListHumanLoopsRequestListHumanLoopsPaginateTypeDef(TypedDict):
FlowDefinitionArn: str,
CreationTimeAfter: NotRequired[Union[datetime, str]],
CreationTimeBefore: NotRequired[Union[datetime, str]],
SortOrder: NotRequired[SortOrderType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See SortOrderType
- See PaginatorConfigTypeDef
ListHumanLoopsRequestRequestTypeDef#
# ListHumanLoopsRequestRequestTypeDef usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import ListHumanLoopsRequestRequestTypeDef
def get_value() -> ListHumanLoopsRequestRequestTypeDef:
return {
"FlowDefinitionArn": ...,
}
# ListHumanLoopsRequestRequestTypeDef definition
class ListHumanLoopsRequestRequestTypeDef(TypedDict):
FlowDefinitionArn: str,
CreationTimeAfter: NotRequired[Union[datetime, str]],
CreationTimeBefore: NotRequired[Union[datetime, str]],
SortOrder: NotRequired[SortOrderType], # (1)
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
- See SortOrderType
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef 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],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
StartHumanLoopResponseTypeDef#
# StartHumanLoopResponseTypeDef usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import StartHumanLoopResponseTypeDef
def get_value() -> StartHumanLoopResponseTypeDef:
return {
"HumanLoopArn": ...,
"ResponseMetadata": ...,
}
# StartHumanLoopResponseTypeDef definition
class StartHumanLoopResponseTypeDef(TypedDict):
HumanLoopArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StopHumanLoopRequestRequestTypeDef#
# StopHumanLoopRequestRequestTypeDef usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import StopHumanLoopRequestRequestTypeDef
def get_value() -> StopHumanLoopRequestRequestTypeDef:
return {
"HumanLoopName": ...,
}
# StopHumanLoopRequestRequestTypeDef definition
class StopHumanLoopRequestRequestTypeDef(TypedDict):
HumanLoopName: str,
DescribeHumanLoopResponseTypeDef#
# DescribeHumanLoopResponseTypeDef usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import DescribeHumanLoopResponseTypeDef
def get_value() -> DescribeHumanLoopResponseTypeDef:
return {
"CreationTime": ...,
"FailureReason": ...,
"FailureCode": ...,
"HumanLoopStatus": ...,
"HumanLoopName": ...,
"HumanLoopArn": ...,
"FlowDefinitionArn": ...,
"HumanLoopOutput": ...,
"ResponseMetadata": ...,
}
# DescribeHumanLoopResponseTypeDef definition
class DescribeHumanLoopResponseTypeDef(TypedDict):
CreationTime: datetime,
FailureReason: str,
FailureCode: str,
HumanLoopStatus: HumanLoopStatusType, # (1)
HumanLoopName: str,
HumanLoopArn: str,
FlowDefinitionArn: str,
HumanLoopOutput: HumanLoopOutputTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
StartHumanLoopRequestRequestTypeDef#
# StartHumanLoopRequestRequestTypeDef usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import StartHumanLoopRequestRequestTypeDef
def get_value() -> StartHumanLoopRequestRequestTypeDef:
return {
"HumanLoopName": ...,
"FlowDefinitionArn": ...,
"HumanLoopInput": ...,
}
# StartHumanLoopRequestRequestTypeDef definition
class StartHumanLoopRequestRequestTypeDef(TypedDict):
HumanLoopName: str,
FlowDefinitionArn: str,
HumanLoopInput: HumanLoopInputTypeDef, # (1)
DataAttributes: NotRequired[HumanLoopDataAttributesTypeDef], # (2)
ListHumanLoopsResponseTypeDef#
# ListHumanLoopsResponseTypeDef usage example
from mypy_boto3_sagemaker_a2i_runtime.type_defs import ListHumanLoopsResponseTypeDef
def get_value() -> ListHumanLoopsResponseTypeDef:
return {
"HumanLoopSummaries": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListHumanLoopsResponseTypeDef definition
class ListHumanLoopsResponseTypeDef(TypedDict):
HumanLoopSummaries: List[HumanLoopSummaryTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)