@aws-amplify/graphql-api-construct 1.16.0-gen2-migration-1015.0 → 1.16.1-ai-streaming.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (304) hide show
  1. package/.jsii +79 -152
  2. package/API.md +1 -11
  3. package/CHANGELOG.md +21 -1
  4. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  5. package/lib/amplify-graphql-api.js +9 -12
  6. package/lib/amplify-graphql-definition.js +1 -1
  7. package/lib/internal/metadata.d.ts +4 -0
  8. package/lib/internal/metadata.js +42 -0
  9. package/lib/model-datasource-strategy-types.d.ts +1 -19
  10. package/lib/model-datasource-strategy-types.js +1 -1
  11. package/lib/sql-model-datasource-strategy.js +1 -1
  12. package/lib/types.d.ts +1 -1
  13. package/lib/types.js +1 -1
  14. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.d.ts +19 -1
  15. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.js +36 -2
  16. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.d.ts +2 -2
  17. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.js +1 -1
  18. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.d.ts +11 -4
  19. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.js +279 -67
  20. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_message_history_retriever.js +34 -8
  21. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.d.ts +2 -2
  22. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.js +17 -4
  23. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.d.ts +17 -3
  24. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.js +56 -18
  25. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/default_handler.d.ts +1 -1
  26. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/event_tools_provider.js +2 -2
  27. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.d.ts +7 -7
  28. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.js +3 -2
  29. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/executable_tool_factory.d.ts +7 -0
  30. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/executable_tool_factory.js +16 -0
  31. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/graphql_request_executor.d.ts +2 -1
  32. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/graphql_request_executor.js +4 -2
  33. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.d.ts +3 -2
  34. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.js +4 -2
  35. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.d.ts +71 -14
  36. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.js +1 -1
  37. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/README.md +4 -0
  38. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/index.d.ts +23 -0
  39. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/index.js +10 -0
  40. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/v1.d.ts +22 -0
  41. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/v1.js +11 -0
  42. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.d.ts +118 -0
  43. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.js +10 -0
  44. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.d.ts +117 -0
  45. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.js +31 -0
  46. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.d.ts +23 -0
  47. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.js +10 -0
  48. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.d.ts +22 -0
  49. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.js +11 -0
  50. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.d.ts +23 -0
  51. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.js +10 -0
  52. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.d.ts +22 -0
  53. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.js +11 -0
  54. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.d.ts +59 -0
  55. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.js +12 -0
  56. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.d.ts +59 -0
  57. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.js +25 -0
  58. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.d.ts +515 -0
  59. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.js +112 -0
  60. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.d.ts +2 -0
  61. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.js +18 -0
  62. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.d.ts +42 -0
  63. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.js +22 -0
  64. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.d.ts +28 -0
  65. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.js +10 -0
  66. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.d.ts +27 -0
  67. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.js +12 -0
  68. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.d.ts +33 -0
  69. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.js +10 -0
  70. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.d.ts +32 -0
  71. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.js +33 -0
  72. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/package.json +27 -0
  73. package/node_modules/@aws-amplify/ai-constructs/package.json +9 -2
  74. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +9 -1
  75. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +14 -14
  76. package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +20 -2
  77. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.d.ts +48 -0
  78. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.d.ts.map +1 -0
  79. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.js +3 -0
  80. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.js.map +1 -0
  81. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/conversation-model.d.ts +10 -0
  82. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/conversation-model.d.ts.map +1 -0
  83. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/{session-model.js → conversation-model.js} +18 -24
  84. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/conversation-model.js.map +1 -0
  85. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts +14 -10
  86. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts.map +1 -1
  87. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js +99 -46
  88. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js.map +1 -1
  89. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.d.ts +15 -0
  90. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.d.ts.map +1 -0
  91. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.js +32 -0
  92. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.js.map +1 -0
  93. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.d.ts +1 -24
  94. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.d.ts.map +1 -1
  95. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.js +1 -7
  96. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.js.map +1 -1
  97. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.d.ts +3 -0
  98. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.d.ts.map +1 -0
  99. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.js +53 -0
  100. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.js.map +1 -0
  101. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.d.ts +3 -0
  102. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.d.ts.map +1 -0
  103. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.js +58 -0
  104. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.js.map +1 -0
  105. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.d.ts +3 -0
  106. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.d.ts.map +1 -0
  107. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.js +21 -0
  108. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.js.map +1 -0
  109. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.d.ts +7 -0
  110. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.d.ts.map +1 -0
  111. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.js +41 -0
  112. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.js.map +1 -0
  113. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.d.ts +8 -0
  114. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.d.ts.map +1 -0
  115. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.js +17 -0
  116. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.js.map +1 -0
  117. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.d.ts +2 -3
  118. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.d.ts.map +1 -1
  119. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.js +11 -13
  120. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.js.map +1 -1
  121. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.d.ts +23 -0
  122. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.d.ts.map +1 -0
  123. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.js +18 -0
  124. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.js.map +1 -0
  125. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.d.ts +3 -0
  126. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.d.ts.map +1 -0
  127. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.js +88 -0
  128. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.js.map +1 -0
  129. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{assistant-messages-subscription-resolver-fn.template.js → templates/assistant-messages-subscription-resolver-fn.template.js} +1 -1
  130. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/templates/assistant-streaming-mutation-resolver-fn.template.js +96 -0
  131. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{invoke-lambda-resolver-fn.template.js → templates/invoke-lambda-resolver-fn.template.js} +14 -7
  132. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{list-messages-init-resolver-fn.template.js → templates/list-messages-init-resolver-fn.template.js} +1 -1
  133. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils → tools}/graphql-json-schema-type.d.ts +1 -1
  134. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/graphql-json-schema-type.d.ts.map +1 -0
  135. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils → tools}/graphql-json-schema-type.js +1 -1
  136. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils → tools}/graphql-json-schema-type.js.map +1 -1
  137. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils/tools.d.ts → tools/process-tools.d.ts} +8 -14
  138. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.d.ts.map +1 -0
  139. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils/tools.js → tools/process-tools.js} +21 -21
  140. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.js.map +1 -0
  141. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.d.ts +3 -1
  142. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.d.ts.map +1 -1
  143. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.js +72 -16
  144. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.js.map +1 -1
  145. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts +2 -3
  146. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts.map +1 -1
  147. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js +22 -19
  148. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js.map +1 -1
  149. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts +2 -7
  150. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts.map +1 -1
  151. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js +50 -98
  152. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js.map +1 -1
  153. package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +15 -14
  154. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +9 -1
  155. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +9 -9
  156. package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +2 -2
  157. package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.d.ts.map +1 -1
  158. package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.js +1 -1
  159. package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.js.map +1 -1
  160. package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.d.ts.map +1 -1
  161. package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.js +6 -0
  162. package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.js.map +1 -1
  163. package/node_modules/@aws-amplify/graphql-directives/package.json +2 -3
  164. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +9 -1
  165. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +8 -8
  166. package/node_modules/@aws-amplify/graphql-generation-transformer/CHANGELOG.md +9 -1
  167. package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +8 -8
  168. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +9 -1
  169. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +8 -8
  170. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +9 -1
  171. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +9 -9
  172. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +9 -1
  173. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  174. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +12 -12
  175. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +6 -11
  176. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
  177. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +2 -7
  178. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
  179. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  180. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  181. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  182. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.d.ts.map +1 -1
  183. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js +3 -12
  184. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js.map +1 -1
  185. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts +0 -2
  186. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts.map +1 -1
  187. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js +2 -4
  188. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js.map +1 -1
  189. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.d.ts.map +1 -1
  190. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js +1 -6
  191. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js.map +1 -1
  192. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +10 -13
  193. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +9 -1
  194. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  195. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +8 -8
  196. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +9 -3
  197. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js +0 -3
  198. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js.map +1 -1
  199. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.d.ts.map +1 -1
  200. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js +1 -7
  201. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js.map +1 -1
  202. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.d.ts.map +1 -1
  203. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js +1 -7
  204. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js.map +1 -1
  205. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts +0 -1
  206. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts.map +1 -1
  207. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts +0 -1
  208. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts.map +1 -1
  209. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js +1 -9
  210. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js.map +1 -1
  211. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +10 -10
  212. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +9 -1
  213. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  214. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +9 -9
  215. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +9 -1
  216. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +9 -9
  217. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +9 -1
  218. package/node_modules/@aws-amplify/graphql-transformer/package.json +18 -18
  219. package/node_modules/@aws-amplify/graphql-transformer-core/API.md +0 -4
  220. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +7 -6
  221. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +1 -1
  222. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -1
  223. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +2 -3
  224. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
  225. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts +1 -2
  226. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts.map +1 -1
  227. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js +1 -9
  228. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js.map +1 -1
  229. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +6 -6
  230. package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +1 -11
  231. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +0 -11
  232. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +1 -6
  233. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts.map +1 -1
  234. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js.map +1 -1
  235. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +2 -3
  236. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +0 -10
  237. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  238. package/node_modules/graphql-mapping-template/CHANGELOG.md +0 -4
  239. package/node_modules/graphql-mapping-template/package.json +2 -3
  240. package/node_modules/graphql-transformer-common/API.md +1 -0
  241. package/node_modules/graphql-transformer-common/CHANGELOG.md +11 -3
  242. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts +1 -0
  243. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts.map +1 -1
  244. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js +1 -0
  245. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js.map +1 -1
  246. package/node_modules/graphql-transformer-common/package.json +3 -3
  247. package/package.json +23 -23
  248. package/src/amplify-graphql-api.ts +12 -12
  249. package/src/internal/metadata.ts +40 -0
  250. package/src/model-datasource-strategy-types.ts +0 -21
  251. package/src/types.ts +1 -1
  252. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.d.ts +0 -10
  253. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.d.ts.map +0 -1
  254. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.js.map +0 -1
  255. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.d.ts +0 -4
  256. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.d.ts.map +0 -1
  257. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.js +0 -16
  258. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.js.map +0 -1
  259. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.d.ts +0 -4
  260. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.d.ts.map +0 -1
  261. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.js +0 -25
  262. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.js.map +0 -1
  263. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.d.ts +0 -4
  264. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.d.ts.map +0 -1
  265. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.js +0 -16
  266. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.js.map +0 -1
  267. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.d.ts +0 -3
  268. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.d.ts.map +0 -1
  269. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.js +0 -22
  270. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.js.map +0 -1
  271. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts +0 -4
  272. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts.map +0 -1
  273. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js +0 -77
  274. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js.map +0 -1
  275. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.d.ts +0 -5
  276. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.d.ts.map +0 -1
  277. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.js +0 -34
  278. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.js.map +0 -1
  279. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.d.ts +0 -4
  280. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.d.ts.map +0 -1
  281. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.js +0 -25
  282. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.js.map +0 -1
  283. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.d.ts.map +0 -1
  284. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.d.ts.map +0 -1
  285. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.js.map +0 -1
  286. package/node_modules/@aws-amplify/graphql-directives/LICENSE +0 -201
  287. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.d.ts +0 -7
  288. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.d.ts.map +0 -1
  289. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.js +0 -205
  290. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.js.map +0 -1
  291. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/.package-lock.json +0 -13
  292. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/lodash.isequal/LICENSE +0 -47
  293. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/lodash.isequal/README.md +0 -18
  294. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/lodash.isequal/index.js +0 -1848
  295. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/lodash.isequal/package.json +0 -16
  296. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/package-lock.json +0 -21
  297. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/package.json +0 -11
  298. package/node_modules/@aws-amplify/graphql-transformer-interfaces/LICENSE +0 -201
  299. package/node_modules/graphql-mapping-template/LICENSE +0 -201
  300. /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{assistant-mutation-resolver-fn.template.js → templates/assistant-mutation-resolver-fn.template.js} +0 -0
  301. /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{auth-resolver-fn.template.js → templates/auth-resolver-fn.template.js} +0 -0
  302. /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{init-resolver-fn.template.js → templates/init-resolver-fn.template.js} +0 -0
  303. /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{verify-session-owner-resolver-fn.template.js → templates/verify-session-owner-resolver-fn.template.js} +0 -0
  304. /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{write-message-to-table-resolver-fn.template.js → templates/write-message-to-table-resolver-fn.template.js} +0 -0
package/.jsii CHANGED
@@ -6,26 +6,26 @@
6
6
  ]
7
7
  },
8
8
  "bundled": {
9
- "@aws-amplify/ai-constructs": "^0.2.0",
9
+ "@aws-amplify/ai-constructs": "0.0.0-test-20241029211113",
10
10
  "@aws-amplify/backend-output-schemas": "^1.0.0",
11
11
  "@aws-amplify/backend-output-storage": "^1.0.0",
12
- "@aws-amplify/graphql-auth-transformer": "4.1.4-gen2-migration-1015.0",
13
- "@aws-amplify/graphql-conversation-transformer": "0.3.1-gen2-migration-1015.0",
14
- "@aws-amplify/graphql-default-value-transformer": "3.1.1-gen2-migration-1015.0",
15
- "@aws-amplify/graphql-directives": "2.4.0-gen2-migration-1015.0",
16
- "@aws-amplify/graphql-function-transformer": "3.1.3-gen2-migration-1015.0",
17
- "@aws-amplify/graphql-generation-transformer": "0.2.4-gen2-migration-1015.0",
18
- "@aws-amplify/graphql-http-transformer": "3.0.6-gen2-migration-1015.0",
19
- "@aws-amplify/graphql-index-transformer": "3.0.6-gen2-migration-1015.0",
20
- "@aws-amplify/graphql-maps-to-transformer": "4.0.6-gen2-migration-1015.0",
21
- "@aws-amplify/graphql-model-transformer": "3.1.0-gen2-migration-1015.0",
22
- "@aws-amplify/graphql-predictions-transformer": "3.0.6-gen2-migration-1015.0",
23
- "@aws-amplify/graphql-relational-transformer": "3.1.0-gen2-migration-1015.0",
24
- "@aws-amplify/graphql-searchable-transformer": "3.0.6-gen2-migration-1015.0",
25
- "@aws-amplify/graphql-sql-transformer": "0.4.6-gen2-migration-1015.0",
26
- "@aws-amplify/graphql-transformer": "2.1.4-gen2-migration-1015.0",
27
- "@aws-amplify/graphql-transformer-core": "3.3.0-gen2-migration-1015.0",
28
- "@aws-amplify/graphql-transformer-interfaces": "4.2.0-gen2-migration-1015.0",
12
+ "@aws-amplify/graphql-auth-transformer": "4.1.6-ai-streaming.0",
13
+ "@aws-amplify/graphql-conversation-transformer": "0.5.1-ai-streaming.0",
14
+ "@aws-amplify/graphql-default-value-transformer": "3.1.3-ai-streaming.0",
15
+ "@aws-amplify/graphql-directives": "2.4.0",
16
+ "@aws-amplify/graphql-function-transformer": "3.1.5-ai-streaming.0",
17
+ "@aws-amplify/graphql-generation-transformer": "0.2.6-ai-streaming.0",
18
+ "@aws-amplify/graphql-http-transformer": "3.0.8-ai-streaming.0",
19
+ "@aws-amplify/graphql-index-transformer": "3.0.8-ai-streaming.0",
20
+ "@aws-amplify/graphql-maps-to-transformer": "4.0.8-ai-streaming.0",
21
+ "@aws-amplify/graphql-model-transformer": "3.0.8-ai-streaming.0",
22
+ "@aws-amplify/graphql-predictions-transformer": "3.0.8-ai-streaming.0",
23
+ "@aws-amplify/graphql-relational-transformer": "3.0.8-ai-streaming.0",
24
+ "@aws-amplify/graphql-searchable-transformer": "3.0.8-ai-streaming.0",
25
+ "@aws-amplify/graphql-sql-transformer": "0.4.8-ai-streaming.0",
26
+ "@aws-amplify/graphql-transformer": "2.1.6-ai-streaming.0",
27
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
28
+ "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
29
29
  "@aws-amplify/platform-core": "^1.0.0",
30
30
  "@aws-amplify/plugin-types": "^1.0.0",
31
31
  "@aws-crypto/crc32": "5.2.0",
@@ -108,8 +108,8 @@
108
108
  "fs-extra": "^8.1.0",
109
109
  "graceful-fs": "^4.2.0",
110
110
  "graphql": "^15.5.0",
111
- "graphql-mapping-template": "5.0.2-gen2-migration-1015.0",
112
- "graphql-transformer-common": "5.1.0-gen2-migration-1015.0",
111
+ "graphql-mapping-template": "5.0.1",
112
+ "graphql-transformer-common": "5.1.1-ai-streaming.0",
113
113
  "hjson": "^3.2.2",
114
114
  "immer": "^9.0.12",
115
115
  "is-buffer": "~1.1.6",
@@ -4169,7 +4169,7 @@
4169
4169
  "kind": "interface",
4170
4170
  "locationInModule": {
4171
4171
  "filename": "src/model-datasource-strategy-types.ts",
4172
- "line": 39
4172
+ "line": 38
4173
4173
  },
4174
4174
  "name": "AmplifyDynamoDbModelDataSourceStrategy",
4175
4175
  "properties": [
@@ -4181,7 +4181,7 @@
4181
4181
  "immutable": true,
4182
4182
  "locationInModule": {
4183
4183
  "filename": "src/model-datasource-strategy-types.ts",
4184
- "line": 40
4184
+ "line": 39
4185
4185
  },
4186
4186
  "name": "dbType",
4187
4187
  "type": {
@@ -4196,7 +4196,7 @@
4196
4196
  "immutable": true,
4197
4197
  "locationInModule": {
4198
4198
  "filename": "src/model-datasource-strategy-types.ts",
4199
- "line": 41
4199
+ "line": 40
4200
4200
  },
4201
4201
  "name": "provisionStrategy",
4202
4202
  "type": {
@@ -4490,7 +4490,7 @@
4490
4490
  },
4491
4491
  "locationInModule": {
4492
4492
  "filename": "src/amplify-graphql-api.ts",
4493
- "line": 292
4493
+ "line": 299
4494
4494
  },
4495
4495
  "name": "addDynamoDbDataSource",
4496
4496
  "parameters": [
@@ -4539,7 +4539,7 @@
4539
4539
  },
4540
4540
  "locationInModule": {
4541
4541
  "filename": "src/amplify-graphql-api.ts",
4542
- "line": 304
4542
+ "line": 311
4543
4543
  },
4544
4544
  "name": "addElasticsearchDataSource",
4545
4545
  "parameters": [
@@ -4586,7 +4586,7 @@
4586
4586
  },
4587
4587
  "locationInModule": {
4588
4588
  "filename": "src/amplify-graphql-api.ts",
4589
- "line": 314
4589
+ "line": 321
4590
4590
  },
4591
4591
  "name": "addEventBridgeDataSource",
4592
4592
  "parameters": [
@@ -4633,7 +4633,7 @@
4633
4633
  },
4634
4634
  "locationInModule": {
4635
4635
  "filename": "src/amplify-graphql-api.ts",
4636
- "line": 396
4636
+ "line": 403
4637
4637
  },
4638
4638
  "name": "addFunction",
4639
4639
  "parameters": [
@@ -4668,7 +4668,7 @@
4668
4668
  },
4669
4669
  "locationInModule": {
4670
4670
  "filename": "src/amplify-graphql-api.ts",
4671
- "line": 325
4671
+ "line": 332
4672
4672
  },
4673
4673
  "name": "addHttpDataSource",
4674
4674
  "parameters": [
@@ -4716,7 +4716,7 @@
4716
4716
  },
4717
4717
  "locationInModule": {
4718
4718
  "filename": "src/amplify-graphql-api.ts",
4719
- "line": 336
4719
+ "line": 343
4720
4720
  },
4721
4721
  "name": "addLambdaDataSource",
4722
4722
  "parameters": [
@@ -4764,7 +4764,7 @@
4764
4764
  },
4765
4765
  "locationInModule": {
4766
4766
  "filename": "src/amplify-graphql-api.ts",
4767
- "line": 347
4767
+ "line": 354
4768
4768
  },
4769
4769
  "name": "addNoneDataSource",
4770
4770
  "parameters": [
@@ -4803,7 +4803,7 @@
4803
4803
  },
4804
4804
  "locationInModule": {
4805
4805
  "filename": "src/amplify-graphql-api.ts",
4806
- "line": 358
4806
+ "line": 365
4807
4807
  },
4808
4808
  "name": "addOpenSearchDataSource",
4809
4809
  "parameters": [
@@ -4851,7 +4851,7 @@
4851
4851
  },
4852
4852
  "locationInModule": {
4853
4853
  "filename": "src/amplify-graphql-api.ts",
4854
- "line": 371
4854
+ "line": 378
4855
4855
  },
4856
4856
  "name": "addRdsDataSource",
4857
4857
  "parameters": [
@@ -4918,7 +4918,7 @@
4918
4918
  },
4919
4919
  "locationInModule": {
4920
4920
  "filename": "src/amplify-graphql-api.ts",
4921
- "line": 387
4921
+ "line": 394
4922
4922
  },
4923
4923
  "name": "addResolver",
4924
4924
  "parameters": [
@@ -5484,7 +5484,7 @@
5484
5484
  {
5485
5485
  "abstract": true,
5486
5486
  "docs": {
5487
- "remarks": "If no outputStorageStrategy is provided a default strategy will be used.",
5487
+ "remarks": "If no outputStorageStrategey is provided a default strategy will be used.",
5488
5488
  "stability": "stable",
5489
5489
  "summary": "Strategy to store construct outputs."
5490
5490
  },
@@ -5853,9 +5853,6 @@
5853
5853
  {
5854
5854
  "fqn": "@aws-amplify/graphql-api-construct.AmplifyDynamoDbModelDataSourceStrategy"
5855
5855
  },
5856
- {
5857
- "fqn": "@aws-amplify/graphql-api-construct.ImportedAmplifyDynamoDbModelDataSourceStrategy"
5858
- },
5859
5856
  {
5860
5857
  "fqn": "@aws-amplify/graphql-api-construct.SQLLambdaModelDataSourceStrategy"
5861
5858
  }
@@ -5908,9 +5905,6 @@
5908
5905
  {
5909
5906
  "fqn": "@aws-amplify/graphql-api-construct.AmplifyDynamoDbModelDataSourceStrategy"
5910
5907
  },
5911
- {
5912
- "fqn": "@aws-amplify/graphql-api-construct.ImportedAmplifyDynamoDbModelDataSourceStrategy"
5913
- },
5914
5908
  {
5915
5909
  "fqn": "@aws-amplify/graphql-api-construct.SQLLambdaModelDataSourceStrategy"
5916
5910
  }
@@ -6306,7 +6300,7 @@
6306
6300
  "kind": "interface",
6307
6301
  "locationInModule": {
6308
6302
  "filename": "src/model-datasource-strategy-types.ts",
6309
- "line": 256
6303
+ "line": 235
6310
6304
  },
6311
6305
  "name": "CustomSqlDataSourceStrategy",
6312
6306
  "properties": [
@@ -6319,7 +6313,7 @@
6319
6313
  "immutable": true,
6320
6314
  "locationInModule": {
6321
6315
  "filename": "src/model-datasource-strategy-types.ts",
6322
- "line": 261
6316
+ "line": 240
6323
6317
  },
6324
6318
  "name": "fieldName",
6325
6319
  "type": {
@@ -6335,7 +6329,7 @@
6335
6329
  "immutable": true,
6336
6330
  "locationInModule": {
6337
6331
  "filename": "src/model-datasource-strategy-types.ts",
6338
- "line": 264
6332
+ "line": 243
6339
6333
  },
6340
6334
  "name": "strategy",
6341
6335
  "type": {
@@ -6351,7 +6345,7 @@
6351
6345
  "immutable": true,
6352
6346
  "locationInModule": {
6353
6347
  "filename": "src/model-datasource-strategy-types.ts",
6354
- "line": 258
6348
+ "line": 237
6355
6349
  },
6356
6350
  "name": "typeName",
6357
6351
  "type": {
@@ -6454,7 +6448,7 @@
6454
6448
  "kind": "interface",
6455
6449
  "locationInModule": {
6456
6450
  "filename": "src/model-datasource-strategy-types.ts",
6457
- "line": 31
6451
+ "line": 30
6458
6452
  },
6459
6453
  "name": "DefaultDynamoDbModelDataSourceStrategy",
6460
6454
  "properties": [
@@ -6466,7 +6460,7 @@
6466
6460
  "immutable": true,
6467
6461
  "locationInModule": {
6468
6462
  "filename": "src/model-datasource-strategy-types.ts",
6469
- "line": 32
6463
+ "line": 31
6470
6464
  },
6471
6465
  "name": "dbType",
6472
6466
  "type": {
@@ -6481,7 +6475,7 @@
6481
6475
  "immutable": true,
6482
6476
  "locationInModule": {
6483
6477
  "filename": "src/model-datasource-strategy-types.ts",
6484
- "line": 33
6478
+ "line": 32
6485
6479
  },
6486
6480
  "name": "provisionStrategy",
6487
6481
  "type": {
@@ -6779,9 +6773,6 @@
6779
6773
  {
6780
6774
  "fqn": "@aws-amplify/graphql-api-construct.AmplifyDynamoDbModelDataSourceStrategy"
6781
6775
  },
6782
- {
6783
- "fqn": "@aws-amplify/graphql-api-construct.ImportedAmplifyDynamoDbModelDataSourceStrategy"
6784
- },
6785
6776
  {
6786
6777
  "fqn": "@aws-amplify/graphql-api-construct.SQLLambdaModelDataSourceStrategy"
6787
6778
  }
@@ -7063,70 +7054,6 @@
7063
7054
  ],
7064
7055
  "symbolId": "src/types:IdentityPoolAuthorizationConfig"
7065
7056
  },
7066
- "@aws-amplify/graphql-api-construct.ImportedAmplifyDynamoDbModelDataSourceStrategy": {
7067
- "assembly": "@aws-amplify/graphql-api-construct",
7068
- "datatype": true,
7069
- "docs": {
7070
- "remarks": "Tables can be imported only if they meet the following criteria.\n1. The imported table must have been created with through an Amplify Gen 1 project.\n2. The imported table must be in the same account and region as this construct.\n3. The imported table properties must match the corresponding table properties specified in this construct.\n (AttributeDefinitions, KeySchema, GlobalSecondaryIndexes, BillingModeSummary, ProvisionedThroughput, StreamSpecification, SSEDescription, DeletionProtectionEnabled)\n\nThe imported tables will follow the auth rules defined in this construct.\nThe auth rules of the source Gen 1 project will not apply to the API created by this construct.\nEnsure the correct auth rules have been set to prevent data exposure.",
7071
- "stability": "stable",
7072
- "summary": "Use custom resource type 'Custom::ImportedAmplifyDynamoDBTable' to manage an imported table."
7073
- },
7074
- "fqn": "@aws-amplify/graphql-api-construct.ImportedAmplifyDynamoDbModelDataSourceStrategy",
7075
- "kind": "interface",
7076
- "locationInModule": {
7077
- "filename": "src/model-datasource-strategy-types.ts",
7078
- "line": 58
7079
- },
7080
- "name": "ImportedAmplifyDynamoDbModelDataSourceStrategy",
7081
- "properties": [
7082
- {
7083
- "abstract": true,
7084
- "docs": {
7085
- "stability": "stable"
7086
- },
7087
- "immutable": true,
7088
- "locationInModule": {
7089
- "filename": "src/model-datasource-strategy-types.ts",
7090
- "line": 59
7091
- },
7092
- "name": "dbType",
7093
- "type": {
7094
- "primitive": "string"
7095
- }
7096
- },
7097
- {
7098
- "abstract": true,
7099
- "docs": {
7100
- "stability": "stable"
7101
- },
7102
- "immutable": true,
7103
- "locationInModule": {
7104
- "filename": "src/model-datasource-strategy-types.ts",
7105
- "line": 60
7106
- },
7107
- "name": "provisionStrategy",
7108
- "type": {
7109
- "primitive": "string"
7110
- }
7111
- },
7112
- {
7113
- "abstract": true,
7114
- "docs": {
7115
- "stability": "stable"
7116
- },
7117
- "immutable": true,
7118
- "locationInModule": {
7119
- "filename": "src/model-datasource-strategy-types.ts",
7120
- "line": 61
7121
- },
7122
- "name": "tableName",
7123
- "type": {
7124
- "primitive": "string"
7125
- }
7126
- }
7127
- ],
7128
- "symbolId": "src/model-datasource-strategy-types:ImportedAmplifyDynamoDbModelDataSourceStrategy"
7129
- },
7130
7057
  "@aws-amplify/graphql-api-construct.LambdaAuthorizationConfig": {
7131
7058
  "assembly": "@aws-amplify/graphql-api-construct",
7132
7059
  "datatype": true,
@@ -7666,7 +7593,7 @@
7666
7593
  "kind": "interface",
7667
7594
  "locationInModule": {
7668
7595
  "filename": "src/model-datasource-strategy-types.ts",
7669
- "line": 122
7596
+ "line": 101
7670
7597
  },
7671
7598
  "name": "ProvisionedConcurrencyConfig",
7672
7599
  "properties": [
@@ -7680,7 +7607,7 @@
7680
7607
  "immutable": true,
7681
7608
  "locationInModule": {
7682
7609
  "filename": "src/model-datasource-strategy-types.ts",
7683
- "line": 124
7610
+ "line": 103
7684
7611
  },
7685
7612
  "name": "provisionedConcurrentExecutions",
7686
7613
  "type": {
@@ -7805,7 +7732,7 @@
7805
7732
  "kind": "interface",
7806
7733
  "locationInModule": {
7807
7734
  "filename": "src/model-datasource-strategy-types.ts",
7808
- "line": 67
7735
+ "line": 46
7809
7736
  },
7810
7737
  "name": "SQLLambdaModelDataSourceStrategy",
7811
7738
  "properties": [
@@ -7818,7 +7745,7 @@
7818
7745
  "immutable": true,
7819
7746
  "locationInModule": {
7820
7747
  "filename": "src/model-datasource-strategy-types.ts",
7821
- "line": 82
7748
+ "line": 61
7822
7749
  },
7823
7750
  "name": "dbConnectionConfig",
7824
7751
  "type": {
@@ -7846,7 +7773,7 @@
7846
7773
  "immutable": true,
7847
7774
  "locationInModule": {
7848
7775
  "filename": "src/model-datasource-strategy-types.ts",
7849
- "line": 77
7776
+ "line": 56
7850
7777
  },
7851
7778
  "name": "dbType",
7852
7779
  "type": {
@@ -7863,7 +7790,7 @@
7863
7790
  "immutable": true,
7864
7791
  "locationInModule": {
7865
7792
  "filename": "src/model-datasource-strategy-types.ts",
7866
- "line": 72
7793
+ "line": 51
7867
7794
  },
7868
7795
  "name": "name",
7869
7796
  "type": {
@@ -7880,7 +7807,7 @@
7880
7807
  "immutable": true,
7881
7808
  "locationInModule": {
7882
7809
  "filename": "src/model-datasource-strategy-types.ts",
7883
- "line": 93
7810
+ "line": 72
7884
7811
  },
7885
7812
  "name": "customSqlStatements",
7886
7813
  "optional": true,
@@ -7902,7 +7829,7 @@
7902
7829
  "immutable": true,
7903
7830
  "locationInModule": {
7904
7831
  "filename": "src/model-datasource-strategy-types.ts",
7905
- "line": 98
7832
+ "line": 77
7906
7833
  },
7907
7834
  "name": "sqlLambdaProvisionedConcurrencyConfig",
7908
7835
  "optional": true,
@@ -7919,7 +7846,7 @@
7919
7846
  "immutable": true,
7920
7847
  "locationInModule": {
7921
7848
  "filename": "src/model-datasource-strategy-types.ts",
7922
- "line": 87
7849
+ "line": 66
7923
7850
  },
7924
7851
  "name": "vpcConfiguration",
7925
7852
  "optional": true,
@@ -8102,7 +8029,7 @@
8102
8029
  "kind": "interface",
8103
8030
  "locationInModule": {
8104
8031
  "filename": "src/model-datasource-strategy-types.ts",
8105
- "line": 197
8032
+ "line": 176
8106
8033
  },
8107
8034
  "name": "SqlModelDataSourceSecretsManagerDbConnectionConfig",
8108
8035
  "properties": [
@@ -8115,7 +8042,7 @@
8115
8042
  "immutable": true,
8116
8043
  "locationInModule": {
8117
8044
  "filename": "src/model-datasource-strategy-types.ts",
8118
- "line": 211
8045
+ "line": 190
8119
8046
  },
8120
8047
  "name": "databaseName",
8121
8048
  "type": {
@@ -8131,7 +8058,7 @@
8131
8058
  "immutable": true,
8132
8059
  "locationInModule": {
8133
8060
  "filename": "src/model-datasource-strategy-types.ts",
8134
- "line": 214
8061
+ "line": 193
8135
8062
  },
8136
8063
  "name": "hostname",
8137
8064
  "type": {
@@ -8147,7 +8074,7 @@
8147
8074
  "immutable": true,
8148
8075
  "locationInModule": {
8149
8076
  "filename": "src/model-datasource-strategy-types.ts",
8150
- "line": 208
8077
+ "line": 187
8151
8078
  },
8152
8079
  "name": "port",
8153
8080
  "type": {
@@ -8164,7 +8091,7 @@
8164
8091
  "immutable": true,
8165
8092
  "locationInModule": {
8166
8093
  "filename": "src/model-datasource-strategy-types.ts",
8167
- "line": 199
8094
+ "line": 178
8168
8095
  },
8169
8096
  "name": "secretArn",
8170
8097
  "type": {
@@ -8181,7 +8108,7 @@
8181
8108
  "immutable": true,
8182
8109
  "locationInModule": {
8183
8110
  "filename": "src/model-datasource-strategy-types.ts",
8184
- "line": 205
8111
+ "line": 184
8185
8112
  },
8186
8113
  "name": "keyArn",
8187
8114
  "optional": true,
@@ -8198,7 +8125,7 @@
8198
8125
  "immutable": true,
8199
8126
  "locationInModule": {
8200
8127
  "filename": "src/model-datasource-strategy-types.ts",
8201
- "line": 219
8128
+ "line": 198
8202
8129
  },
8203
8130
  "name": "sslCertConfig",
8204
8131
  "optional": true,
@@ -8221,7 +8148,7 @@
8221
8148
  "kind": "interface",
8222
8149
  "locationInModule": {
8223
8150
  "filename": "src/model-datasource-strategy-types.ts",
8224
- "line": 227
8151
+ "line": 206
8225
8152
  },
8226
8153
  "name": "SqlModelDataSourceSsmDbConnectionConfig",
8227
8154
  "properties": [
@@ -8234,7 +8161,7 @@
8234
8161
  "immutable": true,
8235
8162
  "locationInModule": {
8236
8163
  "filename": "src/model-datasource-strategy-types.ts",
8237
- "line": 243
8164
+ "line": 222
8238
8165
  },
8239
8166
  "name": "databaseNameSsmPath",
8240
8167
  "type": {
@@ -8251,7 +8178,7 @@
8251
8178
  "immutable": true,
8252
8179
  "locationInModule": {
8253
8180
  "filename": "src/model-datasource-strategy-types.ts",
8254
- "line": 231
8181
+ "line": 210
8255
8182
  },
8256
8183
  "name": "hostnameSsmPath",
8257
8184
  "type": {
@@ -8267,7 +8194,7 @@
8267
8194
  "immutable": true,
8268
8195
  "locationInModule": {
8269
8196
  "filename": "src/model-datasource-strategy-types.ts",
8270
- "line": 240
8197
+ "line": 219
8271
8198
  },
8272
8199
  "name": "passwordSsmPath",
8273
8200
  "type": {
@@ -8283,7 +8210,7 @@
8283
8210
  "immutable": true,
8284
8211
  "locationInModule": {
8285
8212
  "filename": "src/model-datasource-strategy-types.ts",
8286
- "line": 234
8213
+ "line": 213
8287
8214
  },
8288
8215
  "name": "portSsmPath",
8289
8216
  "type": {
@@ -8299,7 +8226,7 @@
8299
8226
  "immutable": true,
8300
8227
  "locationInModule": {
8301
8228
  "filename": "src/model-datasource-strategy-types.ts",
8302
- "line": 237
8229
+ "line": 216
8303
8230
  },
8304
8231
  "name": "usernameSsmPath",
8305
8232
  "type": {
@@ -8315,7 +8242,7 @@
8315
8242
  "immutable": true,
8316
8243
  "locationInModule": {
8317
8244
  "filename": "src/model-datasource-strategy-types.ts",
8318
- "line": 248
8245
+ "line": 227
8319
8246
  },
8320
8247
  "name": "sslCertConfig",
8321
8248
  "optional": true,
@@ -8337,7 +8264,7 @@
8337
8264
  "kind": "interface",
8338
8265
  "locationInModule": {
8339
8266
  "filename": "src/model-datasource-strategy-types.ts",
8340
- "line": 176
8267
+ "line": 155
8341
8268
  },
8342
8269
  "name": "SqlModelDataSourceSsmDbConnectionStringConfig",
8343
8270
  "properties": [
@@ -8351,7 +8278,7 @@
8351
8278
  "immutable": true,
8352
8279
  "locationInModule": {
8353
8280
  "filename": "src/model-datasource-strategy-types.ts",
8354
- "line": 183
8281
+ "line": 162
8355
8282
  },
8356
8283
  "name": "connectionUriSsmPath",
8357
8284
  "type": {
@@ -8381,7 +8308,7 @@
8381
8308
  "immutable": true,
8382
8309
  "locationInModule": {
8383
8310
  "filename": "src/model-datasource-strategy-types.ts",
8384
- "line": 188
8311
+ "line": 167
8385
8312
  },
8386
8313
  "name": "sslCertConfig",
8387
8314
  "optional": true,
@@ -8404,7 +8331,7 @@
8404
8331
  "kind": "interface",
8405
8332
  "locationInModule": {
8406
8333
  "filename": "src/model-datasource-strategy-types.ts",
8407
- "line": 155
8334
+ "line": 134
8408
8335
  },
8409
8336
  "name": "SslCertConfig",
8410
8337
  "symbolId": "src/model-datasource-strategy-types:SslCertConfig"
@@ -8422,7 +8349,7 @@
8422
8349
  "kind": "interface",
8423
8350
  "locationInModule": {
8424
8351
  "filename": "src/model-datasource-strategy-types.ts",
8425
- "line": 157
8352
+ "line": 136
8426
8353
  },
8427
8354
  "name": "SslCertSsmPathConfig",
8428
8355
  "properties": [
@@ -8436,7 +8363,7 @@
8436
8363
  "immutable": true,
8437
8364
  "locationInModule": {
8438
8365
  "filename": "src/model-datasource-strategy-types.ts",
8439
- "line": 169
8366
+ "line": 148
8440
8367
  },
8441
8368
  "name": "ssmPath",
8442
8369
  "type": {
@@ -8507,7 +8434,7 @@
8507
8434
  "kind": "interface",
8508
8435
  "locationInModule": {
8509
8436
  "filename": "src/model-datasource-strategy-types.ts",
8510
- "line": 132
8437
+ "line": 111
8511
8438
  },
8512
8439
  "name": "SubnetAvailabilityZone",
8513
8440
  "properties": [
@@ -8520,7 +8447,7 @@
8520
8447
  "immutable": true,
8521
8448
  "locationInModule": {
8522
8449
  "filename": "src/model-datasource-strategy-types.ts",
8523
- "line": 137
8450
+ "line": 116
8524
8451
  },
8525
8452
  "name": "availabilityZone",
8526
8453
  "type": {
@@ -8536,7 +8463,7 @@
8536
8463
  "immutable": true,
8537
8464
  "locationInModule": {
8538
8465
  "filename": "src/model-datasource-strategy-types.ts",
8539
- "line": 134
8466
+ "line": 113
8540
8467
  },
8541
8468
  "name": "subnetId",
8542
8469
  "type": {
@@ -8965,7 +8892,7 @@
8965
8892
  "kind": "interface",
8966
8893
  "locationInModule": {
8967
8894
  "filename": "src/model-datasource-strategy-types.ts",
8968
- "line": 108
8895
+ "line": 87
8969
8896
  },
8970
8897
  "name": "VpcConfig",
8971
8898
  "properties": [
@@ -8978,7 +8905,7 @@
8978
8905
  "immutable": true,
8979
8906
  "locationInModule": {
8980
8907
  "filename": "src/model-datasource-strategy-types.ts",
8981
- "line": 113
8908
+ "line": 92
8982
8909
  },
8983
8910
  "name": "securityGroupIds",
8984
8911
  "type": {
@@ -8999,7 +8926,7 @@
8999
8926
  "immutable": true,
9000
8927
  "locationInModule": {
9001
8928
  "filename": "src/model-datasource-strategy-types.ts",
9002
- "line": 116
8929
+ "line": 95
9003
8930
  },
9004
8931
  "name": "subnetAvailabilityZoneConfig",
9005
8932
  "type": {
@@ -9020,7 +8947,7 @@
9020
8947
  "immutable": true,
9021
8948
  "locationInModule": {
9022
8949
  "filename": "src/model-datasource-strategy-types.ts",
9023
- "line": 110
8950
+ "line": 89
9024
8951
  },
9025
8952
  "name": "vpcId",
9026
8953
  "type": {
@@ -9031,6 +8958,6 @@
9031
8958
  "symbolId": "src/model-datasource-strategy-types:VpcConfig"
9032
8959
  }
9033
8960
  },
9034
- "version": "1.16.0-gen2-migration-1015.0",
9035
- "fingerprint": "+0x+REJfucEyuJUc1ElRQOCWpWvWLoOAXA1slQmRxBo="
8961
+ "version": "1.16.1-ai-streaming.0",
8962
+ "fingerprint": "9DfrKzmvRrmvcTMipnoi+5vMMc3PRt+pcFUZzn91tZ0="
9036
8963
  }