Type definitions#
Auto-generated documentation for QApps type annotations stubs module mypy-boto3-qapps.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
FormInputCardMetadataUnionTypeDef#
# FormInputCardMetadataUnionTypeDef definition
FormInputCardMetadataUnionTypeDef = Union[
FormInputCardMetadataTypeDef, # (1)
FormInputCardMetadataOutputTypeDef, # (2)
]
DocumentAttributeValueUnionTypeDef#
# DocumentAttributeValueUnionTypeDef definition
DocumentAttributeValueUnionTypeDef = Union[
DocumentAttributeValueTypeDef, # (1)
DocumentAttributeValueOutputTypeDef, # (2)
]
FormInputCardInputUnionTypeDef#
# FormInputCardInputUnionTypeDef definition
FormInputCardInputUnionTypeDef = Union[
FormInputCardInputTypeDef, # (1)
FormInputCardInputOutputTypeDef, # (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,
actionIdentifier: NotRequired[str],
- See CardTypeType
TextInputCardInputTypeDef#
# TextInputCardInputTypeDef definition
class TextInputCardInputTypeDef(TypedDict):
title: str,
id: str,
type: CardTypeType, # (1)
placeholder: NotRequired[str],
defaultValue: NotRequired[str],
- See CardTypeType
SubmissionTypeDef#
# SubmissionTypeDef definition
class SubmissionTypeDef(TypedDict):
value: NotRequired[dict[str, Any]],
submissionId: NotRequired[str],
timestamp: NotRequired[datetime],
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,
actionIdentifier: NotRequired[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
SubmissionMutationTypeDef#
# SubmissionMutationTypeDef definition
class SubmissionMutationTypeDef(TypedDict):
submissionId: str,
mutationType: SubmissionMutationKindType, # (1)
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],
CreatePresignedUrlInputRequestTypeDef#
# CreatePresignedUrlInputRequestTypeDef definition
class CreatePresignedUrlInputRequestTypeDef(TypedDict):
instanceId: str,
cardId: str,
appId: str,
fileContentsSha256: str,
fileName: str,
scope: DocumentScopeType, # (1)
sessionId: NotRequired[str],
DeleteLibraryItemInputRequestTypeDef#
# DeleteLibraryItemInputRequestTypeDef definition
class DeleteLibraryItemInputRequestTypeDef(TypedDict):
instanceId: str,
libraryItemId: str,
DeleteQAppInputRequestTypeDef#
# DeleteQAppInputRequestTypeDef definition
class DeleteQAppInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
DescribeQAppPermissionsInputRequestTypeDef#
# DescribeQAppPermissionsInputRequestTypeDef definition
class DescribeQAppPermissionsInputRequestTypeDef(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],
ExportQAppSessionDataInputRequestTypeDef#
# ExportQAppSessionDataInputRequestTypeDef definition
class ExportQAppSessionDataInputRequestTypeDef(TypedDict):
instanceId: str,
sessionId: str,
FormInputCardMetadataOutputTypeDef#
# FormInputCardMetadataOutputTypeDef definition
class FormInputCardMetadataOutputTypeDef(TypedDict):
schema: dict[str, Any],
FormInputCardMetadataTypeDef#
# FormInputCardMetadataTypeDef definition
class FormInputCardMetadataTypeDef(TypedDict):
schema: Mapping[str, Any],
GetLibraryItemInputRequestTypeDef#
# GetLibraryItemInputRequestTypeDef definition
class GetLibraryItemInputRequestTypeDef(TypedDict):
instanceId: str,
libraryItemId: str,
appId: NotRequired[str],
GetQAppInputRequestTypeDef#
# GetQAppInputRequestTypeDef definition
class GetQAppInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
appVersion: NotRequired[int],
GetQAppSessionInputRequestTypeDef#
# GetQAppSessionInputRequestTypeDef definition
class GetQAppSessionInputRequestTypeDef(TypedDict):
instanceId: str,
sessionId: str,
GetQAppSessionMetadataInputRequestTypeDef#
# GetQAppSessionMetadataInputRequestTypeDef definition
class GetQAppSessionMetadataInputRequestTypeDef(TypedDict):
instanceId: str,
sessionId: str,
SessionSharingConfigurationTypeDef#
# SessionSharingConfigurationTypeDef definition
class SessionSharingConfigurationTypeDef(TypedDict):
enabled: bool,
acceptResponses: NotRequired[bool],
revealCards: NotRequired[bool],
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],
ListQAppSessionDataInputRequestTypeDef#
# ListQAppSessionDataInputRequestTypeDef definition
class ListQAppSessionDataInputRequestTypeDef(TypedDict):
instanceId: str,
sessionId: 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,
PermissionInputTypeDef#
# PermissionInputTypeDef definition
class PermissionInputTypeDef(TypedDict):
action: PermissionInputActionEnumType, # (1)
principal: str,
PrincipalOutputTypeDef#
# PrincipalOutputTypeDef definition
class PrincipalOutputTypeDef(TypedDict):
userId: NotRequired[str],
userType: NotRequired[PrincipalOutputUserTypeEnumType], # (1)
email: NotRequired[str],
UserTypeDef#
# UserTypeDef definition
class UserTypeDef(TypedDict):
userId: NotRequired[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)
CardStatusTypeDef#
# CardStatusTypeDef definition
class CardStatusTypeDef(TypedDict):
currentState: ExecutionStatusType, # (1)
currentValue: str,
submissions: NotRequired[list[SubmissionTypeDef]], # (2)
- See ExecutionStatusType
- See SubmissionTypeDef
CardValueTypeDef#
# CardValueTypeDef definition
class CardValueTypeDef(TypedDict):
cardId: str,
value: str,
submissionMutation: NotRequired[SubmissionMutationTypeDef], # (1)
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)
CreatePresignedUrlOutputTypeDef#
# CreatePresignedUrlOutputTypeDef definition
class CreatePresignedUrlOutputTypeDef(TypedDict):
fileId: str,
presignedUrl: str,
presignedUrlFields: dict[str, str],
presignedUrlExpiration: datetime,
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)
ExportQAppSessionDataOutputTypeDef#
# ExportQAppSessionDataOutputTypeDef definition
class ExportQAppSessionDataOutputTypeDef(TypedDict):
csvFileLink: str,
expiresAt: datetime,
sessionArn: str,
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)
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],
FormInputCardInputOutputTypeDef#
# FormInputCardInputOutputTypeDef definition
class FormInputCardInputOutputTypeDef(TypedDict):
title: str,
id: str,
type: CardTypeType, # (1)
metadata: FormInputCardMetadataOutputTypeDef, # (2)
computeMode: NotRequired[InputCardComputeModeType], # (3)
FormInputCardTypeDef#
# FormInputCardTypeDef definition
class FormInputCardTypeDef(TypedDict):
id: str,
title: str,
dependencies: list[str],
type: CardTypeType, # (1)
metadata: FormInputCardMetadataOutputTypeDef, # (2)
computeMode: NotRequired[InputCardComputeModeType], # (3)
GetQAppSessionMetadataOutputTypeDef#
# GetQAppSessionMetadataOutputTypeDef definition
class GetQAppSessionMetadataOutputTypeDef(TypedDict):
sessionId: str,
sessionArn: str,
sessionName: str,
sharingConfiguration: SessionSharingConfigurationTypeDef, # (1)
sessionOwner: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateQAppSessionMetadataInputRequestTypeDef#
# UpdateQAppSessionMetadataInputRequestTypeDef definition
class UpdateQAppSessionMetadataInputRequestTypeDef(TypedDict):
instanceId: str,
sessionId: str,
sharingConfiguration: SessionSharingConfigurationTypeDef, # (1)
sessionName: NotRequired[str],
UpdateQAppSessionMetadataOutputTypeDef#
# UpdateQAppSessionMetadataOutputTypeDef definition
class UpdateQAppSessionMetadataOutputTypeDef(TypedDict):
sessionId: str,
sessionArn: str,
sessionName: str,
sharingConfiguration: SessionSharingConfigurationTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListLibraryItemsInputPaginateTypeDef#
# ListLibraryItemsInputPaginateTypeDef definition
class ListLibraryItemsInputPaginateTypeDef(TypedDict):
instanceId: str,
categoryId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListQAppsInputPaginateTypeDef#
# ListQAppsInputPaginateTypeDef definition
class ListQAppsInputPaginateTypeDef(TypedDict):
instanceId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListQAppsOutputTypeDef#
# ListQAppsOutputTypeDef definition
class ListQAppsOutputTypeDef(TypedDict):
apps: list[UserAppItemTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
UpdateQAppPermissionsInputRequestTypeDef#
# UpdateQAppPermissionsInputRequestTypeDef definition
class UpdateQAppPermissionsInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
grantPermissions: NotRequired[Sequence[PermissionInputTypeDef]], # (1)
revokePermissions: NotRequired[Sequence[PermissionInputTypeDef]], # (1)
PermissionOutputTypeDef#
# PermissionOutputTypeDef definition
class PermissionOutputTypeDef(TypedDict):
action: PermissionOutputActionEnumType, # (1)
principal: PrincipalOutputTypeDef, # (2)
QAppSessionDataTypeDef#
# QAppSessionDataTypeDef definition
class QAppSessionDataTypeDef(TypedDict):
cardId: str,
user: UserTypeDef, # (1)
value: NotRequired[dict[str, Any]],
submissionId: NotRequired[str],
timestamp: NotRequired[datetime],
- See UserTypeDef
GetQAppSessionOutputTypeDef#
# GetQAppSessionOutputTypeDef definition
class GetQAppSessionOutputTypeDef(TypedDict):
sessionId: str,
sessionArn: str,
sessionName: str,
appVersion: int,
latestPublishedAppVersion: int,
status: ExecutionStatusType, # (1)
cardStatus: dict[str, CardStatusTypeDef], # (2)
userIsHost: bool,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
StartQAppSessionInputRequestTypeDef#
# StartQAppSessionInputRequestTypeDef definition
class StartQAppSessionInputRequestTypeDef(TypedDict):
instanceId: str,
appId: str,
appVersion: int,
initialValues: NotRequired[Sequence[CardValueTypeDef]], # (1)
sessionId: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
- See CardValueTypeDef
UpdateQAppSessionInputRequestTypeDef#
# UpdateQAppSessionInputRequestTypeDef definition
class UpdateQAppSessionInputRequestTypeDef(TypedDict):
instanceId: str,
sessionId: str,
values: NotRequired[Sequence[CardValueTypeDef]], # (1)
- See CardValueTypeDef
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
FormInputCardInputTypeDef#
# FormInputCardInputTypeDef definition
class FormInputCardInputTypeDef(TypedDict):
title: str,
id: str,
type: CardTypeType, # (1)
metadata: FormInputCardMetadataUnionTypeDef, # (2)
computeMode: NotRequired[InputCardComputeModeType], # (3)
- See CardTypeType
- See FormInputCardMetadataTypeDef FormInputCardMetadataOutputTypeDef
- See InputCardComputeModeType
DescribeQAppPermissionsOutputTypeDef#
# DescribeQAppPermissionsOutputTypeDef definition
class DescribeQAppPermissionsOutputTypeDef(TypedDict):
resourceArn: str,
appId: str,
permissions: list[PermissionOutputTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateQAppPermissionsOutputTypeDef#
# UpdateQAppPermissionsOutputTypeDef definition
class UpdateQAppPermissionsOutputTypeDef(TypedDict):
resourceArn: str,
appId: str,
permissions: list[PermissionOutputTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListQAppSessionDataOutputTypeDef#
# ListQAppSessionDataOutputTypeDef definition
class ListQAppSessionDataOutputTypeDef(TypedDict):
sessionId: str,
sessionArn: str,
sessionData: list[QAppSessionDataTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
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)
memoryReferences: NotRequired[list[str]],
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)
formInput: NotRequired[FormInputCardInputOutputTypeDef], # (5)
- See TextInputCardInputTypeDef
- See QQueryCardInputOutputTypeDef
- See QPluginCardInputTypeDef
- See FileUploadCardInputTypeDef
- See FormInputCardInputOutputTypeDef
CardTypeDef#
# CardTypeDef definition
class CardTypeDef(TypedDict):
textInput: NotRequired[TextInputCardTypeDef], # (1)
qQuery: NotRequired[QQueryCardTypeDef], # (2)
qPlugin: NotRequired[QPluginCardTypeDef], # (3)
fileUpload: NotRequired[FileUploadCardTypeDef], # (4)
formInput: NotRequired[FormInputCardTypeDef], # (5)
- See TextInputCardTypeDef
- See QQueryCardTypeDef
- See QPluginCardTypeDef
- See FileUploadCardTypeDef
- See FormInputCardTypeDef
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)
formInput: NotRequired[FormInputCardInputUnionTypeDef], # (5)
- See TextInputCardInputTypeDef
- See QQueryCardInputTypeDef QQueryCardInputOutputTypeDef
- See QPluginCardInputTypeDef
- See FileUploadCardInputTypeDef
- See FormInputCardInputTypeDef FormInputCardInputOutputTypeDef
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)