Skip to content

Type definitions#

Index > AugmentedAIRuntime > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

DeleteHumanLoopRequestRequestTypeDef#

# DeleteHumanLoopRequestRequestTypeDef definition

class DeleteHumanLoopRequestRequestTypeDef(TypedDict):
    HumanLoopName: str,

DescribeHumanLoopRequestRequestTypeDef#

# DescribeHumanLoopRequestRequestTypeDef definition

class DescribeHumanLoopRequestRequestTypeDef(TypedDict):
    HumanLoopName: str,

HumanLoopOutputTypeDef#

# HumanLoopOutputTypeDef definition

class HumanLoopOutputTypeDef(TypedDict):
    OutputS3Uri: str,

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

HumanLoopDataAttributesTypeDef#

# HumanLoopDataAttributesTypeDef definition

class HumanLoopDataAttributesTypeDef(TypedDict):
    ContentClassifiers: Sequence[ContentClassifierType],  # (1)
  1. See ContentClassifierType

HumanLoopInputTypeDef#

# HumanLoopInputTypeDef definition

class HumanLoopInputTypeDef(TypedDict):
    InputContent: str,

HumanLoopSummaryTypeDef#

# HumanLoopSummaryTypeDef definition

class HumanLoopSummaryTypeDef(TypedDict):
    HumanLoopName: NotRequired[str],
    HumanLoopStatus: NotRequired[HumanLoopStatusType],  # (1)
    CreationTime: NotRequired[datetime],
    FailureReason: NotRequired[str],
    FlowDefinitionArn: NotRequired[str],
  1. See HumanLoopStatusType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

StopHumanLoopRequestRequestTypeDef#

# StopHumanLoopRequestRequestTypeDef definition

class StopHumanLoopRequestRequestTypeDef(TypedDict):
    HumanLoopName: str,

DescribeHumanLoopResponseTypeDef#

# 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)
  1. See HumanLoopStatusType
  2. See HumanLoopOutputTypeDef
  3. See ResponseMetadataTypeDef

StartHumanLoopResponseTypeDef#

# StartHumanLoopResponseTypeDef definition

class StartHumanLoopResponseTypeDef(TypedDict):
    HumanLoopArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StartHumanLoopRequestRequestTypeDef#

# StartHumanLoopRequestRequestTypeDef definition

class StartHumanLoopRequestRequestTypeDef(TypedDict):
    HumanLoopName: str,
    FlowDefinitionArn: str,
    HumanLoopInput: HumanLoopInputTypeDef,  # (1)
    DataAttributes: NotRequired[HumanLoopDataAttributesTypeDef],  # (2)
  1. See HumanLoopInputTypeDef
  2. See HumanLoopDataAttributesTypeDef

ListHumanLoopsResponseTypeDef#

# ListHumanLoopsResponseTypeDef definition

class ListHumanLoopsResponseTypeDef(TypedDict):
    HumanLoopSummaries: List[HumanLoopSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See HumanLoopSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListHumanLoopsRequestListHumanLoopsPaginateTypeDef#

# 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)
  1. See SortOrderType
  2. See PaginatorConfigTypeDef

ListHumanLoopsRequestRequestTypeDef#

# 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],
  1. See SortOrderType