Type definitions#
Auto-generated documentation for QApps type annotations stubs module mypy-boto3-qapps.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
DocumentAttributeValueUnionTypeDef#
# DocumentAttributeValueUnionTypeDef definition
DocumentAttributeValueUnionTypeDef = Union[
DocumentAttributeValueTypeDef, # (1)
DocumentAttributeValueOutputTypeDef, # (2)
]
DocumentAttributeUnionTypeDef#
# DocumentAttributeUnionTypeDef definition
DocumentAttributeUnionTypeDef = Union[
DocumentAttributeTypeDef, # (1)
DocumentAttributeOutputTypeDef, # (2)
]
AttributeFilterUnionTypeDef#
# AttributeFilterUnionTypeDef definition
AttributeFilterUnionTypeDef = Union[
AttributeFilterTypeDef, # (1)
AttributeFilterOutputTypeDef, # (2)
]
QQueryCardInputUnionTypeDef#
# QQueryCardInputUnionTypeDef definition
QQueryCardInputUnionTypeDef = Union[
QQueryCardInputTypeDef, # (1)
QQueryCardInputOutputTypeDef, # (2)
]
CardInputUnionTypeDef#
# CardInputUnionTypeDef definition
CardInputUnionTypeDef = Union[
CardInputTypeDef, # (1)
CardInputOutputTypeDef, # (2)
]
AssociateLibraryItemReviewInputRequestTypeDef#
# AssociateLibraryItemReviewInputRequestTypeDef definition
class AssociateLibraryItemReviewInputRequestTypeDef(TypedDict):
instanceId: str,
libraryItemId: str,
AssociateQAppWithUserInputRequestTypeDef#
# AssociateQAppWithUserInputRequestTypeDef definition
class AssociateQAppWithUserInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
BatchCreateCategoryInputCategoryTypeDef#
# BatchCreateCategoryInputCategoryTypeDef definition
class BatchCreateCategoryInputCategoryTypeDef(TypedDict):
title: str,
id: NotRequired[str],
color: NotRequired[str],
BatchDeleteCategoryInputRequestTypeDef#
# BatchDeleteCategoryInputRequestTypeDef definition
class BatchDeleteCategoryInputRequestTypeDef(TypedDict):
instanceId: str,
categories: Sequence[str],
CategoryInputTypeDef#
# CategoryInputTypeDef definition
class CategoryInputTypeDef(TypedDict):
id: str,
title: str,
color: NotRequired[str],
FileUploadCardInputTypeDef#
# FileUploadCardInputTypeDef definition
class FileUploadCardInputTypeDef(TypedDict):
title: str,
id: str,
type: CardTypeType, # (1)
filename: NotRequired[str],
fileId: NotRequired[str],
allowOverride: NotRequired[bool],
- See CardTypeType
QPluginCardInputTypeDef#
# QPluginCardInputTypeDef definition
class QPluginCardInputTypeDef(TypedDict):
title: str,
id: str,
type: CardTypeType, # (1)
prompt: str,
pluginId: str,
- See CardTypeType
TextInputCardInputTypeDef#
# TextInputCardInputTypeDef definition
class TextInputCardInputTypeDef(TypedDict):
title: str,
id: str,
type: CardTypeType, # (1)
placeholder: NotRequired[str],
defaultValue: NotRequired[str],
- See CardTypeType
CardStatusTypeDef#
# CardStatusTypeDef definition
class CardStatusTypeDef(TypedDict):
currentState: ExecutionStatusType, # (1)
currentValue: str,
FileUploadCardTypeDef#
# FileUploadCardTypeDef definition
class FileUploadCardTypeDef(TypedDict):
id: str,
title: str,
dependencies: List[str],
type: CardTypeType, # (1)
filename: NotRequired[str],
fileId: NotRequired[str],
allowOverride: NotRequired[bool],
- See CardTypeType
QPluginCardTypeDef#
# QPluginCardTypeDef definition
class QPluginCardTypeDef(TypedDict):
id: str,
title: str,
dependencies: List[str],
type: CardTypeType, # (1)
prompt: str,
pluginType: PluginTypeType, # (2)
pluginId: str,
- See CardTypeType
- See PluginTypeType
TextInputCardTypeDef#
# TextInputCardTypeDef definition
class TextInputCardTypeDef(TypedDict):
id: str,
title: str,
dependencies: List[str],
type: CardTypeType, # (1)
placeholder: NotRequired[str],
defaultValue: NotRequired[str],
- See CardTypeType
CardValueTypeDef#
# CardValueTypeDef definition
class CardValueTypeDef(TypedDict):
cardId: str,
value: str,
CategoryTypeDef#
# CategoryTypeDef definition
class CategoryTypeDef(TypedDict):
id: str,
title: str,
color: NotRequired[str],
appCount: NotRequired[int],
ConversationMessageTypeDef#
# ConversationMessageTypeDef definition
class ConversationMessageTypeDef(TypedDict):
body: str,
type: SenderType, # (1)
- See SenderType
CreateLibraryItemInputRequestTypeDef#
# CreateLibraryItemInputRequestTypeDef definition
class CreateLibraryItemInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
appVersion: int,
categories: Sequence[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
DeleteLibraryItemInputRequestTypeDef#
# DeleteLibraryItemInputRequestTypeDef definition
class DeleteLibraryItemInputRequestTypeDef(TypedDict):
instanceId: str,
libraryItemId: str,
DeleteQAppInputRequestTypeDef#
# DeleteQAppInputRequestTypeDef definition
class DeleteQAppInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
DisassociateLibraryItemReviewInputRequestTypeDef#
# DisassociateLibraryItemReviewInputRequestTypeDef definition
class DisassociateLibraryItemReviewInputRequestTypeDef(TypedDict):
instanceId: str,
libraryItemId: str,
DisassociateQAppFromUserInputRequestTypeDef#
# DisassociateQAppFromUserInputRequestTypeDef definition
class DisassociateQAppFromUserInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
DocumentAttributeValueOutputTypeDef#
# DocumentAttributeValueOutputTypeDef definition
class DocumentAttributeValueOutputTypeDef(TypedDict):
stringValue: NotRequired[str],
stringListValue: NotRequired[List[str]],
longValue: NotRequired[int],
dateValue: NotRequired[datetime],
GetLibraryItemInputRequestTypeDef#
# GetLibraryItemInputRequestTypeDef definition
class GetLibraryItemInputRequestTypeDef(TypedDict):
instanceId: str,
libraryItemId: str,
appId: NotRequired[str],
GetQAppInputRequestTypeDef#
# GetQAppInputRequestTypeDef definition
class GetQAppInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
GetQAppSessionInputRequestTypeDef#
# GetQAppSessionInputRequestTypeDef definition
class GetQAppSessionInputRequestTypeDef(TypedDict):
instanceId: str,
sessionId: str,
ImportDocumentInputRequestTypeDef#
# ImportDocumentInputRequestTypeDef definition
class ImportDocumentInputRequestTypeDef(TypedDict):
instanceId: str,
cardId: str,
appId: str,
fileContentsBase64: str,
fileName: str,
scope: DocumentScopeType, # (1)
sessionId: NotRequired[str],
ListCategoriesInputRequestTypeDef#
# ListCategoriesInputRequestTypeDef definition
class ListCategoriesInputRequestTypeDef(TypedDict):
instanceId: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListLibraryItemsInputRequestTypeDef#
# ListLibraryItemsInputRequestTypeDef definition
class ListLibraryItemsInputRequestTypeDef(TypedDict):
instanceId: str,
limit: NotRequired[int],
nextToken: NotRequired[str],
categoryId: NotRequired[str],
ListQAppsInputRequestTypeDef#
# ListQAppsInputRequestTypeDef definition
class ListQAppsInputRequestTypeDef(TypedDict):
instanceId: str,
limit: NotRequired[int],
nextToken: NotRequired[str],
UserAppItemTypeDef#
# UserAppItemTypeDef definition
class UserAppItemTypeDef(TypedDict):
appId: str,
appArn: str,
title: str,
createdAt: datetime,
description: NotRequired[str],
canEdit: NotRequired[bool],
status: NotRequired[str],
isVerified: NotRequired[bool],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
resourceARN: str,
StopQAppSessionInputRequestTypeDef#
# StopQAppSessionInputRequestTypeDef definition
class StopQAppSessionInputRequestTypeDef(TypedDict):
instanceId: str,
sessionId: str,
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceARN: str,
tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceARN: str,
tagKeys: Sequence[str],
UpdateLibraryItemInputRequestTypeDef#
# UpdateLibraryItemInputRequestTypeDef definition
class UpdateLibraryItemInputRequestTypeDef(TypedDict):
instanceId: str,
libraryItemId: str,
status: NotRequired[LibraryItemStatusType], # (1)
categories: NotRequired[Sequence[str]],
UpdateLibraryItemMetadataInputRequestTypeDef#
# UpdateLibraryItemMetadataInputRequestTypeDef definition
class UpdateLibraryItemMetadataInputRequestTypeDef(TypedDict):
instanceId: str,
libraryItemId: str,
isVerified: NotRequired[bool],
BatchCreateCategoryInputRequestTypeDef#
# BatchCreateCategoryInputRequestTypeDef definition
class BatchCreateCategoryInputRequestTypeDef(TypedDict):
instanceId: str,
categories: Sequence[BatchCreateCategoryInputCategoryTypeDef], # (1)
BatchUpdateCategoryInputRequestTypeDef#
# BatchUpdateCategoryInputRequestTypeDef definition
class BatchUpdateCategoryInputRequestTypeDef(TypedDict):
instanceId: str,
categories: Sequence[CategoryInputTypeDef], # (1)
StartQAppSessionInputRequestTypeDef#
# StartQAppSessionInputRequestTypeDef definition
class StartQAppSessionInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
appVersion: int,
initialValues: NotRequired[Sequence[CardValueTypeDef]], # (1)
tags: NotRequired[Mapping[str, str]],
- See CardValueTypeDef
UpdateQAppSessionInputRequestTypeDef#
# UpdateQAppSessionInputRequestTypeDef definition
class UpdateQAppSessionInputRequestTypeDef(TypedDict):
instanceId: str,
sessionId: str,
values: NotRequired[Sequence[CardValueTypeDef]], # (1)
- See CardValueTypeDef
LibraryItemMemberTypeDef#
# LibraryItemMemberTypeDef definition
class LibraryItemMemberTypeDef(TypedDict):
libraryItemId: str,
appId: str,
appVersion: int,
categories: List[CategoryTypeDef], # (1)
status: str,
createdAt: datetime,
createdBy: str,
ratingCount: int,
updatedAt: NotRequired[datetime],
updatedBy: NotRequired[str],
isRatedByUser: NotRequired[bool],
userCount: NotRequired[int],
isVerified: NotRequired[bool],
- See CategoryTypeDef
PredictQAppInputOptionsTypeDef#
# PredictQAppInputOptionsTypeDef definition
class PredictQAppInputOptionsTypeDef(TypedDict):
conversation: NotRequired[Sequence[ConversationMessageTypeDef]], # (1)
problemStatement: NotRequired[str],
CreateLibraryItemOutputTypeDef#
# CreateLibraryItemOutputTypeDef definition
class CreateLibraryItemOutputTypeDef(TypedDict):
libraryItemId: str,
status: str,
createdAt: datetime,
createdBy: str,
updatedAt: datetime,
updatedBy: str,
ratingCount: int,
isVerified: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateQAppOutputTypeDef#
# CreateQAppOutputTypeDef definition
class CreateQAppOutputTypeDef(TypedDict):
appId: str,
appArn: str,
title: str,
description: str,
initialPrompt: str,
appVersion: int,
status: AppStatusType, # (1)
createdAt: datetime,
createdBy: str,
updatedAt: datetime,
updatedBy: str,
requiredCapabilities: List[AppRequiredCapabilityType], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetLibraryItemOutputTypeDef#
# GetLibraryItemOutputTypeDef definition
class GetLibraryItemOutputTypeDef(TypedDict):
libraryItemId: str,
appId: str,
appVersion: int,
categories: List[CategoryTypeDef], # (1)
status: str,
createdAt: datetime,
createdBy: str,
updatedAt: datetime,
updatedBy: str,
ratingCount: int,
isRatedByUser: bool,
userCount: int,
isVerified: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetQAppSessionOutputTypeDef#
# GetQAppSessionOutputTypeDef definition
class GetQAppSessionOutputTypeDef(TypedDict):
sessionId: str,
sessionArn: str,
status: ExecutionStatusType, # (1)
cardStatus: Dict[str, CardStatusTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ImportDocumentOutputTypeDef#
# ImportDocumentOutputTypeDef definition
class ImportDocumentOutputTypeDef(TypedDict):
fileId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListCategoriesOutputTypeDef#
# ListCategoriesOutputTypeDef definition
class ListCategoriesOutputTypeDef(TypedDict):
categories: List[CategoryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartQAppSessionOutputTypeDef#
# StartQAppSessionOutputTypeDef definition
class StartQAppSessionOutputTypeDef(TypedDict):
sessionId: str,
sessionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateLibraryItemOutputTypeDef#
# UpdateLibraryItemOutputTypeDef definition
class UpdateLibraryItemOutputTypeDef(TypedDict):
libraryItemId: str,
appId: str,
appVersion: int,
categories: List[CategoryTypeDef], # (1)
status: str,
createdAt: datetime,
createdBy: str,
updatedAt: datetime,
updatedBy: str,
ratingCount: int,
isRatedByUser: bool,
userCount: int,
isVerified: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateQAppOutputTypeDef#
# UpdateQAppOutputTypeDef definition
class UpdateQAppOutputTypeDef(TypedDict):
appId: str,
appArn: str,
title: str,
description: str,
initialPrompt: str,
appVersion: int,
status: AppStatusType, # (1)
createdAt: datetime,
createdBy: str,
updatedAt: datetime,
updatedBy: str,
requiredCapabilities: List[AppRequiredCapabilityType], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
UpdateQAppSessionOutputTypeDef#
# UpdateQAppSessionOutputTypeDef definition
class UpdateQAppSessionOutputTypeDef(TypedDict):
sessionId: str,
sessionArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DocumentAttributeOutputTypeDef#
# DocumentAttributeOutputTypeDef definition
class DocumentAttributeOutputTypeDef(TypedDict):
name: str,
value: DocumentAttributeValueOutputTypeDef, # (1)
DocumentAttributeValueTypeDef#
# DocumentAttributeValueTypeDef definition
class DocumentAttributeValueTypeDef(TypedDict):
stringValue: NotRequired[str],
stringListValue: NotRequired[Sequence[str]],
longValue: NotRequired[int],
dateValue: NotRequired[TimestampTypeDef],
ListLibraryItemsInputListLibraryItemsPaginateTypeDef#
# ListLibraryItemsInputListLibraryItemsPaginateTypeDef definition
class ListLibraryItemsInputListLibraryItemsPaginateTypeDef(TypedDict):
instanceId: str,
categoryId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListQAppsInputListQAppsPaginateTypeDef#
# ListQAppsInputListQAppsPaginateTypeDef definition
class ListQAppsInputListQAppsPaginateTypeDef(TypedDict):
instanceId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListQAppsOutputTypeDef#
# ListQAppsOutputTypeDef definition
class ListQAppsOutputTypeDef(TypedDict):
apps: List[UserAppItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListLibraryItemsOutputTypeDef#
# ListLibraryItemsOutputTypeDef definition
class ListLibraryItemsOutputTypeDef(TypedDict):
libraryItems: List[LibraryItemMemberTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
PredictQAppInputRequestTypeDef#
# PredictQAppInputRequestTypeDef definition
class PredictQAppInputRequestTypeDef(TypedDict):
instanceId: str,
options: NotRequired[PredictQAppInputOptionsTypeDef], # (1)
AttributeFilterOutputTypeDef#
# AttributeFilterOutputTypeDef definition
class AttributeFilterOutputTypeDef(TypedDict):
andAllFilters: NotRequired[List[Dict[str, Any]]],
orAllFilters: NotRequired[List[Dict[str, Any]]],
notFilter: NotRequired[Dict[str, Any]],
equalsTo: NotRequired[DocumentAttributeOutputTypeDef], # (1)
containsAll: NotRequired[DocumentAttributeOutputTypeDef], # (1)
containsAny: NotRequired[DocumentAttributeOutputTypeDef], # (1)
greaterThan: NotRequired[DocumentAttributeOutputTypeDef], # (1)
greaterThanOrEquals: NotRequired[DocumentAttributeOutputTypeDef], # (1)
lessThan: NotRequired[DocumentAttributeOutputTypeDef], # (1)
lessThanOrEquals: NotRequired[DocumentAttributeOutputTypeDef], # (1)
- See DocumentAttributeOutputTypeDef
- See DocumentAttributeOutputTypeDef
- See DocumentAttributeOutputTypeDef
- See DocumentAttributeOutputTypeDef
- See DocumentAttributeOutputTypeDef
- See DocumentAttributeOutputTypeDef
- See DocumentAttributeOutputTypeDef
QQueryCardInputOutputTypeDef#
# QQueryCardInputOutputTypeDef definition
class QQueryCardInputOutputTypeDef(TypedDict):
title: str,
id: str,
type: CardTypeType, # (1)
prompt: str,
outputSource: NotRequired[CardOutputSourceType], # (2)
attributeFilter: NotRequired[AttributeFilterOutputTypeDef], # (3)
QQueryCardTypeDef#
# QQueryCardTypeDef definition
class QQueryCardTypeDef(TypedDict):
id: str,
title: str,
dependencies: List[str],
type: CardTypeType, # (1)
prompt: str,
outputSource: CardOutputSourceType, # (2)
attributeFilter: NotRequired[AttributeFilterOutputTypeDef], # (3)
DocumentAttributeTypeDef#
# DocumentAttributeTypeDef definition
class DocumentAttributeTypeDef(TypedDict):
name: str,
value: DocumentAttributeValueUnionTypeDef, # (1)
CardInputOutputTypeDef#
# CardInputOutputTypeDef definition
class CardInputOutputTypeDef(TypedDict):
textInput: NotRequired[TextInputCardInputTypeDef], # (1)
qQuery: NotRequired[QQueryCardInputOutputTypeDef], # (2)
qPlugin: NotRequired[QPluginCardInputTypeDef], # (3)
fileUpload: NotRequired[FileUploadCardInputTypeDef], # (4)
- See TextInputCardInputTypeDef
- See QQueryCardInputOutputTypeDef
- See QPluginCardInputTypeDef
- See FileUploadCardInputTypeDef
CardTypeDef#
# CardTypeDef definition
class CardTypeDef(TypedDict):
textInput: NotRequired[TextInputCardTypeDef], # (1)
qQuery: NotRequired[QQueryCardTypeDef], # (2)
qPlugin: NotRequired[QPluginCardTypeDef], # (3)
fileUpload: NotRequired[FileUploadCardTypeDef], # (4)
- See TextInputCardTypeDef
- See QQueryCardTypeDef
- See QPluginCardTypeDef
- See FileUploadCardTypeDef
AppDefinitionInputOutputTypeDef#
# AppDefinitionInputOutputTypeDef definition
class AppDefinitionInputOutputTypeDef(TypedDict):
cards: List[CardInputOutputTypeDef], # (1)
initialPrompt: NotRequired[str],
AppDefinitionTypeDef#
# AppDefinitionTypeDef definition
class AppDefinitionTypeDef(TypedDict):
appDefinitionVersion: str,
cards: List[CardTypeDef], # (1)
canEdit: NotRequired[bool],
- See CardTypeDef
AttributeFilterTypeDef#
# AttributeFilterTypeDef definition
class AttributeFilterTypeDef(TypedDict):
andAllFilters: NotRequired[Sequence[Mapping[str, Any]]],
orAllFilters: NotRequired[Sequence[Mapping[str, Any]]],
notFilter: NotRequired[Mapping[str, Any]],
equalsTo: NotRequired[DocumentAttributeUnionTypeDef], # (1)
containsAll: NotRequired[DocumentAttributeUnionTypeDef], # (1)
containsAny: NotRequired[DocumentAttributeUnionTypeDef], # (1)
greaterThan: NotRequired[DocumentAttributeUnionTypeDef], # (1)
greaterThanOrEquals: NotRequired[DocumentAttributeUnionTypeDef], # (1)
lessThan: NotRequired[DocumentAttributeUnionTypeDef], # (1)
lessThanOrEquals: NotRequired[DocumentAttributeUnionTypeDef], # (1)
- See DocumentAttributeTypeDef DocumentAttributeOutputTypeDef
- See DocumentAttributeTypeDef DocumentAttributeOutputTypeDef
- See DocumentAttributeTypeDef DocumentAttributeOutputTypeDef
- See DocumentAttributeTypeDef DocumentAttributeOutputTypeDef
- See DocumentAttributeTypeDef DocumentAttributeOutputTypeDef
- See DocumentAttributeTypeDef DocumentAttributeOutputTypeDef
- See DocumentAttributeTypeDef DocumentAttributeOutputTypeDef
PredictAppDefinitionTypeDef#
# PredictAppDefinitionTypeDef definition
class PredictAppDefinitionTypeDef(TypedDict):
title: str,
appDefinition: AppDefinitionInputOutputTypeDef, # (1)
description: NotRequired[str],
GetQAppOutputTypeDef#
# GetQAppOutputTypeDef definition
class GetQAppOutputTypeDef(TypedDict):
appId: str,
appArn: str,
title: str,
description: str,
initialPrompt: str,
appVersion: int,
status: AppStatusType, # (1)
createdAt: datetime,
createdBy: str,
updatedAt: datetime,
updatedBy: str,
requiredCapabilities: List[AppRequiredCapabilityType], # (2)
appDefinition: AppDefinitionTypeDef, # (3)
ResponseMetadata: ResponseMetadataTypeDef, # (4)
- See AppStatusType
- See AppRequiredCapabilityType
- See AppDefinitionTypeDef
- See ResponseMetadataTypeDef
PredictQAppOutputTypeDef#
# PredictQAppOutputTypeDef definition
class PredictQAppOutputTypeDef(TypedDict):
app: PredictAppDefinitionTypeDef, # (1)
problemStatement: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
QQueryCardInputTypeDef#
# QQueryCardInputTypeDef definition
class QQueryCardInputTypeDef(TypedDict):
title: str,
id: str,
type: CardTypeType, # (1)
prompt: str,
outputSource: NotRequired[CardOutputSourceType], # (2)
attributeFilter: NotRequired[AttributeFilterUnionTypeDef], # (3)
CardInputTypeDef#
# CardInputTypeDef definition
class CardInputTypeDef(TypedDict):
textInput: NotRequired[TextInputCardInputTypeDef], # (1)
qQuery: NotRequired[QQueryCardInputUnionTypeDef], # (2)
qPlugin: NotRequired[QPluginCardInputTypeDef], # (3)
fileUpload: NotRequired[FileUploadCardInputTypeDef], # (4)
- See TextInputCardInputTypeDef
- See QQueryCardInputTypeDef QQueryCardInputOutputTypeDef
- See QPluginCardInputTypeDef
- See FileUploadCardInputTypeDef
AppDefinitionInputTypeDef#
# AppDefinitionInputTypeDef definition
class AppDefinitionInputTypeDef(TypedDict):
cards: Sequence[CardInputUnionTypeDef], # (1)
initialPrompt: NotRequired[str],
CreateQAppInputRequestTypeDef#
# CreateQAppInputRequestTypeDef definition
class CreateQAppInputRequestTypeDef(TypedDict):
instanceId: str,
title: str,
appDefinition: AppDefinitionInputTypeDef, # (1)
description: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
UpdateQAppInputRequestTypeDef#
# UpdateQAppInputRequestTypeDef definition
class UpdateQAppInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
title: NotRequired[str],
description: NotRequired[str],
appDefinition: NotRequired[AppDefinitionInputTypeDef], # (1)