@aws-amplify/graphql-api-construct 1.12.0-gen2-migration.0 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (399) hide show
  1. package/.jsii +496 -215
  2. package/API.md +3 -11
  3. package/CHANGELOG.md +39 -3
  4. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  5. package/lib/amplify-graphql-api.js +9 -10
  6. package/lib/amplify-graphql-definition.js +1 -1
  7. package/lib/model-datasource-strategy-types.d.ts +1 -19
  8. package/lib/model-datasource-strategy-types.js +1 -1
  9. package/lib/sql-model-datasource-strategy.js +1 -1
  10. package/lib/types.d.ts +11 -2
  11. package/lib/types.js +1 -1
  12. package/node_modules/@aws-amplify/ai-constructs/README.md +66 -0
  13. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.d.ts +28 -0
  14. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.js +74 -0
  15. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.d.ts +3 -0
  16. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.js +6 -0
  17. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.d.ts +30 -0
  18. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.js +191 -0
  19. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.d.ts +30 -0
  20. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.js +47 -0
  21. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.d.ts +18 -0
  22. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.js +66 -0
  23. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/default_handler.d.ts +8 -0
  24. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/default_handler.js +10 -0
  25. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/event_tools_provider.d.ts +15 -0
  26. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/event_tools_provider.js +32 -0
  27. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_query_factory.d.ts +9 -0
  28. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_query_factory.js +44 -0
  29. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.d.ts +22 -0
  30. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.js +48 -0
  31. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/index.d.ts +3 -0
  32. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/index.js +6 -0
  33. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/types.d.ts +3 -0
  34. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/types.js +3 -0
  35. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.d.ts +4 -0
  36. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.js +6 -0
  37. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.d.ts +61 -0
  38. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.js +3 -0
  39. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/test-assets/custom_handler.d.ts +5 -0
  40. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/test-assets/custom_handler.js +11 -0
  41. package/node_modules/@aws-amplify/ai-constructs/lib/index.d.ts +3 -0
  42. package/node_modules/@aws-amplify/ai-constructs/lib/index.internal.d.ts +4 -0
  43. package/node_modules/@aws-amplify/ai-constructs/lib/index.internal.js +34 -0
  44. package/node_modules/@aws-amplify/ai-constructs/lib/index.js +29 -0
  45. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/README.md +9 -0
  46. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.d.ts +4 -0
  47. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.js +3 -0
  48. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.d.ts +66 -0
  49. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.js +3 -0
  50. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.d.ts +5 -0
  51. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.js +3 -0
  52. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.d.ts +56 -0
  53. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.js +3 -0
  54. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.d.ts +6 -0
  55. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.js +3 -0
  56. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.d.ts +22 -0
  57. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.js +3 -0
  58. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.d.ts +8 -0
  59. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.js +3 -0
  60. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.d.ts +7 -0
  61. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.js +3 -0
  62. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.d.ts +35 -0
  63. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.js +3 -0
  64. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.d.ts +24 -0
  65. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.js +3 -0
  66. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.d.ts +17 -0
  67. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.js +3 -0
  68. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.d.ts +8 -0
  69. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.js +3 -0
  70. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.d.ts +8 -0
  71. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.js +3 -0
  72. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.d.ts +14 -0
  73. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.js +3 -0
  74. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.d.ts +23 -0
  75. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.js +39 -0
  76. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.d.ts +11 -0
  77. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.js +3 -0
  78. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.d.ts +10 -0
  79. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.js +3 -0
  80. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.d.ts +16 -0
  81. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.js +3 -0
  82. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.d.ts +27 -0
  83. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.js +3 -0
  84. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.d.ts +10 -0
  85. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.js +3 -0
  86. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.d.ts +10 -0
  87. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.js +3 -0
  88. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.d.ts +5 -0
  89. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.js +3 -0
  90. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.d.ts +4 -0
  91. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.js +3 -0
  92. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/package.json +24 -0
  93. package/node_modules/@aws-amplify/ai-constructs/package.json +37 -0
  94. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +27 -1
  95. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.d.ts.map +1 -1
  96. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js +6 -1
  97. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js.map +1 -1
  98. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +27 -21
  99. package/node_modules/@aws-amplify/graphql-conversation-transformer/API.md +33 -0
  100. package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +10 -0
  101. package/node_modules/@aws-amplify/graphql-conversation-transformer/LICENSE +201 -0
  102. package/node_modules/@aws-amplify/graphql-conversation-transformer/README.md +145 -0
  103. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts +13 -0
  104. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts.map +1 -0
  105. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js +111 -0
  106. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js.map +1 -0
  107. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.d.ts +10 -0
  108. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.d.ts.map +1 -0
  109. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.js +81 -0
  110. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.js.map +1 -0
  111. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.d.ts +39 -0
  112. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.d.ts.map +1 -0
  113. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.js +35 -0
  114. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.js.map +1 -0
  115. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/index.d.ts +2 -0
  116. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/index.d.ts.map +1 -0
  117. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/index.js +6 -0
  118. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/index.js.map +1 -0
  119. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.d.ts +3 -0
  120. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.d.ts.map +1 -0
  121. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.js +62 -0
  122. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.js.map +1 -0
  123. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.d.ts +3 -0
  124. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.d.ts.map +1 -0
  125. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.js +77 -0
  126. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.js.map +1 -0
  127. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.d.ts +3 -0
  128. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.d.ts.map +1 -0
  129. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.js +57 -0
  130. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.js.map +1 -0
  131. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.d.ts +3 -0
  132. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.d.ts.map +1 -0
  133. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.js +34 -0
  134. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.js.map +1 -0
  135. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts +5 -0
  136. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts.map +1 -0
  137. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js +104 -0
  138. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js.map +1 -0
  139. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/js-resolver-function-provider.d.ts +6 -0
  140. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/js-resolver-function-provider.d.ts.map +1 -0
  141. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/js-resolver-function-provider.js +3 -0
  142. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/js-resolver-function-provider.js.map +1 -0
  143. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/message-history-resolver.d.ts +3 -0
  144. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/message-history-resolver.d.ts.map +1 -0
  145. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/message-history-resolver.js +59 -0
  146. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/message-history-resolver.js.map +1 -0
  147. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.d.ts +3 -0
  148. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.d.ts.map +1 -0
  149. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.js +50 -0
  150. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.js.map +1 -0
  151. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.d.ts +3 -0
  152. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.d.ts.map +1 -0
  153. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.js +45 -0
  154. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.js.map +1 -0
  155. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.d.ts +12 -0
  156. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.d.ts.map +1 -0
  157. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.js +68 -0
  158. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.js.map +1 -0
  159. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts +15 -0
  160. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts.map +1 -0
  161. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js +44 -0
  162. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js.map +1 -0
  163. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts +20 -0
  164. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts.map +1 -0
  165. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js +184 -0
  166. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js.map +1 -0
  167. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.d.ts +5 -0
  168. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.d.ts.map +1 -0
  169. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.js +81 -0
  170. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.js.map +1 -0
  171. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.d.ts +25 -0
  172. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.d.ts.map +1 -0
  173. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.js +116 -0
  174. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.js.map +1 -0
  175. package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +82 -0
  176. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +25 -1
  177. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +19 -13
  178. package/node_modules/@aws-amplify/graphql-directives/API.md +6 -0
  179. package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +14 -0
  180. package/node_modules/@aws-amplify/graphql-directives/LICENSE +201 -0
  181. package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.d.ts +3 -0
  182. package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.d.ts.map +1 -0
  183. package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.js +31 -0
  184. package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.js.map +1 -0
  185. package/node_modules/@aws-amplify/graphql-directives/lib/directives/generation.d.ts +3 -0
  186. package/node_modules/@aws-amplify/graphql-directives/lib/directives/generation.d.ts.map +1 -0
  187. package/node_modules/@aws-amplify/graphql-directives/lib/directives/generation.js +24 -0
  188. package/node_modules/@aws-amplify/graphql-directives/lib/directives/generation.js.map +1 -0
  189. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.d.ts +2 -0
  190. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.d.ts.map +1 -1
  191. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.js +5 -1
  192. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.js.map +1 -1
  193. package/node_modules/@aws-amplify/graphql-directives/lib/index.d.ts.map +1 -1
  194. package/node_modules/@aws-amplify/graphql-directives/lib/index.js +2 -0
  195. package/node_modules/@aws-amplify/graphql-directives/lib/index.js.map +1 -1
  196. package/node_modules/@aws-amplify/graphql-directives/package.json +13 -6
  197. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +17 -1
  198. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +17 -13
  199. package/node_modules/@aws-amplify/graphql-generation-transformer/API.md +26 -0
  200. package/node_modules/@aws-amplify/graphql-generation-transformer/CHANGELOG.md +11 -0
  201. package/node_modules/@aws-amplify/graphql-generation-transformer/LICENSE +201 -0
  202. package/node_modules/@aws-amplify/graphql-generation-transformer/README.md +85 -0
  203. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/grapqhl-generation-transformer.d.ts +32 -0
  204. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/grapqhl-generation-transformer.d.ts.map +1 -0
  205. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/grapqhl-generation-transformer.js +119 -0
  206. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/grapqhl-generation-transformer.js.map +1 -0
  207. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/index.d.ts +2 -0
  208. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/index.d.ts.map +1 -0
  209. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/index.js +6 -0
  210. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/index.js.map +1 -0
  211. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/resolvers/invoke-bedrock.d.ts +7 -0
  212. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/resolvers/invoke-bedrock.d.ts.map +1 -0
  213. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/resolvers/invoke-bedrock.js +72 -0
  214. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/resolvers/invoke-bedrock.js.map +1 -0
  215. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/graphql-json-schema-type.d.ts +5 -0
  216. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/graphql-json-schema-type.d.ts.map +1 -0
  217. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/graphql-json-schema-type.js +78 -0
  218. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/graphql-json-schema-type.js.map +1 -0
  219. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/tools.d.ts +27 -0
  220. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/tools.d.ts.map +1 -0
  221. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/tools.js +31 -0
  222. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/tools.js.map +1 -0
  223. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/validation.d.ts +4 -0
  224. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/validation.d.ts.map +1 -0
  225. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/validation.js +29 -0
  226. package/node_modules/@aws-amplify/graphql-generation-transformer/lib/validation.js.map +1 -0
  227. package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +78 -0
  228. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +17 -1
  229. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +17 -13
  230. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +25 -1
  231. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +18 -14
  232. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +27 -1
  233. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  234. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +21 -17
  235. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +27 -4
  236. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
  237. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +2 -47
  238. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
  239. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  240. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  241. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  242. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts +2 -2
  243. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -1
  244. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +22 -4
  245. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -1
  246. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.d.ts.map +1 -1
  247. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js +11 -11
  248. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js.map +1 -1
  249. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts +0 -2
  250. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts.map +1 -1
  251. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js +2 -4
  252. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js.map +1 -1
  253. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.d.ts +10 -4
  254. 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
  255. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js +91 -37
  256. 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
  257. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.d.ts +1 -1
  258. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.d.ts.map +1 -1
  259. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.js +2 -2
  260. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.js.map +1 -1
  261. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.d.ts.map +1 -1
  262. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.js +1 -3
  263. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.js.map +1 -1
  264. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts +0 -1
  265. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts.map +1 -1
  266. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js +0 -3
  267. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js.map +1 -1
  268. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js +2 -2
  269. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js.map +1 -1
  270. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +21 -16
  271. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +23 -1
  272. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.d.ts.map +1 -1
  273. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.js +3 -0
  274. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.js.map +1 -1
  275. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  276. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +17 -13
  277. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +34 -1
  278. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.d.ts.map +1 -1
  279. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js +13 -0
  280. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js.map +1 -1
  281. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.d.ts.map +1 -1
  282. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js +13 -0
  283. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js.map +1 -1
  284. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.d.ts.map +1 -1
  285. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js +13 -0
  286. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js.map +1 -1
  287. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.d.ts.map +1 -1
  288. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js +7 -0
  289. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js.map +1 -1
  290. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.d.ts.map +1 -1
  291. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js +7 -8
  292. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js.map +1 -1
  293. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts.map +1 -1
  294. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js +7 -1
  295. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js.map +1 -1
  296. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +19 -15
  297. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +31 -1
  298. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.d.ts.map +1 -1
  299. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js +3 -0
  300. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js.map +1 -1
  301. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  302. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +22 -16
  303. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +25 -1
  304. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +18 -14
  305. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +33 -2
  306. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts.map +1 -1
  307. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js +8 -2
  308. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js.map +1 -1
  309. package/node_modules/@aws-amplify/graphql-transformer/package.json +32 -23
  310. package/node_modules/@aws-amplify/graphql-transformer/src/graphql-transformer.ts +8 -2
  311. package/node_modules/@aws-amplify/graphql-transformer-core/API.md +54 -7
  312. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +20 -3
  313. package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.d.ts +2 -1
  314. package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.d.ts.map +1 -1
  315. package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.js +3 -9
  316. package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.js.map +1 -1
  317. package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.d.ts +5 -11
  318. package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.d.ts.map +1 -1
  319. package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.js +6 -31
  320. package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.js.map +1 -1
  321. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +2 -1
  322. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -1
  323. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +8 -3
  324. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
  325. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.d.ts +3 -3
  326. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.d.ts.map +1 -1
  327. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.js +12 -16
  328. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.js.map +1 -1
  329. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.d.ts +6 -2
  330. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.d.ts.map +1 -1
  331. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.js +71 -23
  332. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.js.map +1 -1
  333. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.d.ts.map +1 -1
  334. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.js +1 -1
  335. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.js.map +1 -1
  336. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/graphql-scalar-json-schema-definitions.d.ts +20 -0
  337. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/graphql-scalar-json-schema-definitions.d.ts.map +1 -0
  338. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/graphql-scalar-json-schema-definitions.js +89 -0
  339. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/graphql-scalar-json-schema-definitions.js.map +1 -0
  340. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/index.d.ts +4 -0
  341. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/index.d.ts.map +1 -0
  342. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/index.js +10 -0
  343. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/index.js.map +1 -0
  344. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/json-schema.d.ts +21 -0
  345. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/json-schema.d.ts.map +1 -0
  346. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/json-schema.js +3 -0
  347. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/json-schema.js.map +1 -0
  348. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/named-type-conversion.d.ts +4 -0
  349. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/named-type-conversion.d.ts.map +1 -0
  350. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/named-type-conversion.js +44 -0
  351. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/named-type-conversion.js.map +1 -0
  352. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/function-runtime.d.ts +21 -0
  353. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/function-runtime.d.ts.map +1 -0
  354. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/function-runtime.js +27 -0
  355. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/function-runtime.js.map +1 -0
  356. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts +1 -2
  357. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts.map +1 -1
  358. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js +1 -9
  359. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js.map +1 -1
  360. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +19 -13
  361. package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +13 -23
  362. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +20 -3
  363. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/graphql-api-provider.d.ts +3 -4
  364. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/graphql-api-provider.d.ts.map +1 -1
  365. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/graphql-api-provider.js.map +1 -1
  366. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/index.d.ts +1 -1
  367. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/index.d.ts.map +1 -1
  368. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/index.js.map +1 -1
  369. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +1 -6
  370. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts.map +1 -1
  371. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js.map +1 -1
  372. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transform-host-provider.d.ts +4 -4
  373. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transform-host-provider.d.ts.map +1 -1
  374. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts +1 -0
  375. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts.map +1 -1
  376. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.d.ts +1 -1
  377. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.d.ts.map +1 -1
  378. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +14 -7
  379. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/graphql-api-provider.ts +3 -10
  380. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/index.ts +0 -1
  381. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +0 -10
  382. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transform-host-provider.ts +5 -1
  383. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/synth-parameters.ts +1 -0
  384. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transform-parameters.ts +1 -3
  385. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  386. package/node_modules/graphql-mapping-template/CHANGELOG.md +12 -0
  387. package/node_modules/graphql-mapping-template/LICENSE +201 -0
  388. package/node_modules/graphql-mapping-template/package.json +13 -5
  389. package/node_modules/graphql-transformer-common/API.md +0 -1
  390. package/node_modules/graphql-transformer-common/CHANGELOG.md +9 -3
  391. package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts +0 -1
  392. package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts.map +1 -1
  393. package/node_modules/graphql-transformer-common/lib/ResourceConstants.js +0 -1
  394. package/node_modules/graphql-transformer-common/lib/ResourceConstants.js.map +1 -1
  395. package/node_modules/graphql-transformer-common/package.json +13 -6
  396. package/package.json +42 -31
  397. package/src/amplify-graphql-api.ts +7 -8
  398. package/src/model-datasource-strategy-types.ts +0 -21
  399. package/src/types.ts +12 -2
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConversationTurnEventToolsProvider = void 0;
4
+ const event_tools_provider_js_1 = require("./event_tools_provider.js");
5
+ Object.defineProperty(exports, "ConversationTurnEventToolsProvider", { enumerable: true, get: function () { return event_tools_provider_js_1.ConversationTurnEventToolsProvider; } });
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29udmVyc2F0aW9uL3J1bnRpbWUvZXZlbnQtdG9vbHMtcHJvdmlkZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsdUVBQStFO0FBRXRFLG1IQUZBLDREQUFrQyxPQUVBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29udmVyc2F0aW9uVHVybkV2ZW50VG9vbHNQcm92aWRlciB9IGZyb20gJy4vZXZlbnRfdG9vbHNfcHJvdmlkZXIuanMnO1xuXG5leHBvcnQgeyBDb252ZXJzYXRpb25UdXJuRXZlbnRUb29sc1Byb3ZpZGVyIH07XG4iXX0=
@@ -0,0 +1,3 @@
1
+ import { ConversationTurnEvent } from '../types';
2
+ export type ConversationTurnEventToolConfiguration = NonNullable<NonNullable<ConversationTurnEvent['toolsConfiguration']>['dataTools']>[number];
3
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29udmVyc2F0aW9uL3J1bnRpbWUvZXZlbnQtdG9vbHMtcHJvdmlkZXIvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbnZlcnNhdGlvblR1cm5FdmVudCB9IGZyb20gJy4uL3R5cGVzJztcblxuZXhwb3J0IHR5cGUgQ29udmVyc2F0aW9uVHVybkV2ZW50VG9vbENvbmZpZ3VyYXRpb24gPSBOb25OdWxsYWJsZTxcbiAgTm9uTnVsbGFibGU8Q29udmVyc2F0aW9uVHVybkV2ZW50Wyd0b29sc0NvbmZpZ3VyYXRpb24nXT5bJ2RhdGFUb29scyddXG4+W251bWJlcl07XG4iXX0=
@@ -0,0 +1,4 @@
1
+ import { ConversationMessage, ConversationMessageContentBlock, ConversationTurnEvent, ExecutableTool, ToolDefinition, ToolExecutionInput, ToolInputSchema, ToolResultContentBlock } from './types.js';
2
+ import { handleConversationTurnEvent } from './conversation_turn_executor.js';
3
+ export { ConversationMessage, ConversationMessageContentBlock, ConversationTurnEvent, ExecutableTool, handleConversationTurnEvent, ToolDefinition, ToolExecutionInput, ToolInputSchema, ToolResultContentBlock, };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.handleConversationTurnEvent = void 0;
4
+ const conversation_turn_executor_js_1 = require("./conversation_turn_executor.js");
5
+ Object.defineProperty(exports, "handleConversationTurnEvent", { enumerable: true, get: function () { return conversation_turn_executor_js_1.handleConversationTurnEvent; } });
6
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29udmVyc2F0aW9uL3J1bnRpbWUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBV0EsbUZBQThFO0FBTzVFLDRHQVBPLDJEQUEyQixPQU9QIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgQ29udmVyc2F0aW9uTWVzc2FnZSxcbiAgQ29udmVyc2F0aW9uTWVzc2FnZUNvbnRlbnRCbG9jayxcbiAgQ29udmVyc2F0aW9uVHVybkV2ZW50LFxuICBFeGVjdXRhYmxlVG9vbCxcbiAgVG9vbERlZmluaXRpb24sXG4gIFRvb2xFeGVjdXRpb25JbnB1dCxcbiAgVG9vbElucHV0U2NoZW1hLFxuICBUb29sUmVzdWx0Q29udGVudEJsb2NrLFxufSBmcm9tICcuL3R5cGVzLmpzJztcblxuaW1wb3J0IHsgaGFuZGxlQ29udmVyc2F0aW9uVHVybkV2ZW50IH0gZnJvbSAnLi9jb252ZXJzYXRpb25fdHVybl9leGVjdXRvci5qcyc7XG5cbmV4cG9ydCB7XG4gIENvbnZlcnNhdGlvbk1lc3NhZ2UsXG4gIENvbnZlcnNhdGlvbk1lc3NhZ2VDb250ZW50QmxvY2ssXG4gIENvbnZlcnNhdGlvblR1cm5FdmVudCxcbiAgRXhlY3V0YWJsZVRvb2wsXG4gIGhhbmRsZUNvbnZlcnNhdGlvblR1cm5FdmVudCxcbiAgVG9vbERlZmluaXRpb24sXG4gIFRvb2xFeGVjdXRpb25JbnB1dCxcbiAgVG9vbElucHV0U2NoZW1hLFxuICBUb29sUmVzdWx0Q29udGVudEJsb2NrLFxufTtcbiJdfQ==
@@ -0,0 +1,61 @@
1
+ import * as bedrock from '@aws-sdk/client-bedrock-runtime';
2
+ import * as smithy from '@smithy/types';
3
+ export type ToolInputSchema = bedrock.ToolInputSchema;
4
+ export type ToolResultContentBlock = bedrock.ToolResultContentBlock;
5
+ export type ToolExecutionInput = smithy.DocumentType;
6
+ export type ConversationMessage = {
7
+ role: 'user' | 'assistant';
8
+ content: Array<ConversationMessageContentBlock>;
9
+ };
10
+ export type ConversationMessageContentBlock = bedrock.ContentBlock | {
11
+ image: Omit<bedrock.ImageBlock, 'source'> & {
12
+ source: {
13
+ bytes: string;
14
+ };
15
+ };
16
+ };
17
+ export type ToolDefinition = {
18
+ name: string;
19
+ description: string;
20
+ inputSchema: ToolInputSchema;
21
+ };
22
+ export type ConversationTurnEvent = {
23
+ conversationId: string;
24
+ currentMessageId: string;
25
+ responseMutation: {
26
+ name: string;
27
+ inputTypeName: string;
28
+ selectionSet: string;
29
+ };
30
+ graphqlApiEndpoint: string;
31
+ modelConfiguration: {
32
+ modelId: string;
33
+ systemPrompt: string;
34
+ region?: string;
35
+ inferenceConfiguration?: {
36
+ maxTokens?: number;
37
+ temperature?: number;
38
+ topP?: number;
39
+ };
40
+ };
41
+ request: {
42
+ headers: {
43
+ authorization: string;
44
+ };
45
+ };
46
+ messages: Array<ConversationMessage>;
47
+ toolsConfiguration?: {
48
+ dataTools?: Array<ToolDefinition & {
49
+ graphqlRequestInputDescriptor: {
50
+ queryName: string;
51
+ selectionSet: string;
52
+ propertyTypes: Record<string, string>;
53
+ };
54
+ }>;
55
+ clientTools?: Array<ToolDefinition>;
56
+ };
57
+ };
58
+ export type ExecutableTool = ToolDefinition & {
59
+ execute: (input: ToolExecutionInput | undefined) => Promise<ToolResultContentBlock>;
60
+ };
61
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29udmVyc2F0aW9uL3J1bnRpbWUvdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIGJlZHJvY2sgZnJvbSAnQGF3cy1zZGsvY2xpZW50LWJlZHJvY2stcnVudGltZSc7XG5pbXBvcnQgKiBhcyBzbWl0aHkgZ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xzQ29uZmlndXJhdGlvbj86IHtcbiAgICBkYXRhVG9vbHM/OiBBcnJheTxcbiAgICAgIFRvb2xEZWZpbml0aW9uICYge1xuICAgICAgICBncmFwaHFsUmVxdWVzdElucHV0RGVzY3JpcHRvcjoge1xuICAgICAgICAgIHF1ZXJ5TmFtZTogc3RyaW5nO1xuICAgICAgICAgIHNlbGVjdGlvblNldDogc3RyaW5nO1xuICAgICAgICAgIHByb3BlcnR5VHlwZXM6IFJlY29yZDxzdHJpbmcsIHN0cmluZz47XG4gICAgICAgIH07XG4gICAgICB9XG4gICAgPjtcbiAgICBjbGllbnRUb29scz86IEFycmF5PFRvb2xEZWZpbml0aW9uPjtcbiAgfTtcbn07XG5cbmV4cG9ydCB0eXBlIEV4ZWN1dGFibGVUb29sID0gVG9vbERlZmluaXRpb24gJiB7XG4gIGV4ZWN1dGU6IChcbiAgICBpbnB1dDogVG9vbEV4ZWN1dGlvbklucHV0IHwgdW5kZWZpbmVkXG4gICkgPT4gUHJvbWlzZTxUb29sUmVzdWx0Q29udGVudEJsb2NrPjtcbn07XG4iXX0=
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Hello world lambda used for testing custom handler.
3
+ */
4
+ export declare const handler: () => Promise<string>;
5
+ //# sourceMappingURL=custom_handler.d.ts.map
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.handler = void 0;
4
+ /**
5
+ * Hello world lambda used for testing custom handler.
6
+ */
7
+ const handler = async () => {
8
+ return 'hello world lambda';
9
+ };
10
+ exports.handler = handler;
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tX2hhbmRsZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29udmVyc2F0aW9uL3Rlc3QtYXNzZXRzL2N1c3RvbV9oYW5kbGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBOztHQUVHO0FBQ0ksTUFBTSxPQUFPLEdBQUcsS0FBSyxJQUFJLEVBQUU7SUFDaEMsT0FBTyxvQkFBb0IsQ0FBQztBQUM5QixDQUFDLENBQUM7QUFGVyxRQUFBLE9BQU8sV0FFbEIiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEhlbGxvIHdvcmxkIGxhbWJkYSB1c2VkIGZvciB0ZXN0aW5nIGN1c3RvbSBoYW5kbGVyLlxuICovXG5leHBvcnQgY29uc3QgaGFuZGxlciA9IGFzeW5jICgpID0+IHtcbiAgcmV0dXJuICdoZWxsbyB3b3JsZCBsYW1iZGEnO1xufTtcbiJdfQ==
@@ -0,0 +1,3 @@
1
+ import * as conversation from './conversation';
2
+ export { conversation };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ import * as __export__conversation from './conversation/index.js';
2
+ import * as __export__conversation__runtime from './conversation/runtime/index.js';
3
+ export { __export__conversation, __export__conversation__runtime };
4
+ //# sourceMappingURL=index.internal.d.ts.map
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.__export__conversation__runtime = exports.__export__conversation = void 0;
27
+ // Suppressing to allow special prefix __export__ that is recognized by API checks.
28
+ // eslint-disable-next-line @typescript-eslint/naming-convention
29
+ const __export__conversation = __importStar(require("./conversation/index.js"));
30
+ exports.__export__conversation = __export__conversation;
31
+ // eslint-disable-next-line @typescript-eslint/naming-convention
32
+ const __export__conversation__runtime = __importStar(require("./conversation/runtime/index.js"));
33
+ exports.__export__conversation__runtime = __export__conversation__runtime;
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguaW50ZXJuYWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXguaW50ZXJuYWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxtRkFBbUY7QUFDbkYsZ0VBQWdFO0FBQ2hFLGdGQUFrRTtBQVV6RCx3REFBc0I7QUFUL0IsZ0VBQWdFO0FBQ2hFLGlHQUFtRjtBQVFsRCwwRUFBK0IiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBTdXBwcmVzc2luZyB0byBhbGxvdyBzcGVjaWFsIHByZWZpeCBfX2V4cG9ydF9fIHRoYXQgaXMgcmVjb2duaXplZCBieSBBUEkgY2hlY2tzLlxuLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIEB0eXBlc2NyaXB0LWVzbGludC9uYW1pbmctY29udmVudGlvblxuaW1wb3J0ICogYXMgX19leHBvcnRfX2NvbnZlcnNhdGlvbiBmcm9tICcuL2NvbnZlcnNhdGlvbi9pbmRleC5qcyc7XG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQHR5cGVzY3JpcHQtZXNsaW50L25hbWluZy1jb252ZW50aW9uXG5pbXBvcnQgKiBhcyBfX2V4cG9ydF9fY29udmVyc2F0aW9uX19ydW50aW1lIGZyb20gJy4vY29udmVyc2F0aW9uL3J1bnRpbWUvaW5kZXguanMnO1xuXG4vKlxuIEFwaS1leHRyYWN0b3IgZG9lcyBub3QgKFt5ZXRdKGh0dHBzOi8vZ2l0aHViLmNvbS9taWNyb3NvZnQvcnVzaHN0YWNrL2lzc3Vlcy8xNTk2KSkgc3VwcG9ydCBtdWx0aXBsZSBwYWNrYWdlIGVudHJ5IHBvaW50c1xuIEJlY2F1c2UgdGhpcyBwYWNrYWdlIGhhcyBhIHN1Ym1vZHVsZSBleHBvcnQsIHdlIGFyZSB3b3JraW5nIGFyb3VuZCB0aGlzIGlzc3VlIGJ5IGluY2x1ZGluZyB0aGF0IGV4cG9ydCBoZXJlIGFuZCBkaXJlY3RpbmcgYXBpLWV4dHJhY3QgdG8gdGhpcyBlbnRyeSBwb2ludCBpbnN0ZWFkXG4gVGhpcyBhbGxvd3MgYXBpLWV4dHJhY3RvciB0byBwaWNrIHVwIHRoZSBzdWJtb2R1bGUgZXhwb3J0cyBpbiBpdHMgYW5hbHlzaXNcbiAqL1xuXG5leHBvcnQgeyBfX2V4cG9ydF9fY29udmVyc2F0aW9uLCBfX2V4cG9ydF9fY29udmVyc2F0aW9uX19ydW50aW1lIH07XG4iXX0=
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.conversation = void 0;
27
+ const conversation = __importStar(require("./conversation"));
28
+ exports.conversation = conversation;
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSw2REFBK0M7QUFFdEMsb0NBQVkiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBjb252ZXJzYXRpb24gZnJvbSAnLi9jb252ZXJzYXRpb24nO1xuXG5leHBvcnQgeyBjb252ZXJzYXRpb24gfTtcbiJdfQ==
@@ -0,0 +1,9 @@
1
+ # Description
2
+
3
+ This is a **types only** package that is used to facilitate dependency injection patterns across the codebase.
4
+ Components can declare that they need an instance of a certain type that comes from this package and another component can provide the implementation.
5
+ This allows us to depend on interfaces rather than implementations in many parts of the codebase.
6
+
7
+ Whenever two packages in this repo need to talk to each other, they should do so through an interface defined in this package.
8
+
9
+ This package may also need to be split at some point into different logical groupings.
@@ -0,0 +1,4 @@
1
+ import { ResourceProvider } from './resource_provider.js';
2
+ import { FunctionResources } from './function_resources.js';
3
+ export type AmplifyFunction = ResourceProvider<FunctionResources>;
4
+ //# sourceMappingURL=amplify_function.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW1wbGlmeV9mdW5jdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9hbXBsaWZ5X2Z1bmN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBSZXNvdXJjZVByb3ZpZGVyIH0gZnJvbSAnLi9yZXNvdXJjZV9wcm92aWRlci5qcyc7XG5pbXBvcnQgeyBGdW5jdGlvblJlc291cmNlcyB9IGZyb20gJy4vZnVuY3Rpb25fcmVzb3VyY2VzLmpzJztcblxuZXhwb3J0IHR5cGUgQW1wbGlmeUZ1bmN0aW9uID0gUmVzb3VyY2VQcm92aWRlcjxGdW5jdGlvblJlc291cmNlcz47XG4iXX0=
@@ -0,0 +1,66 @@
1
+ import { IRole } from 'aws-cdk-lib/aws-iam';
2
+ import { CfnIdentityPool, CfnIdentityPoolRoleAttachment, CfnUserPool, CfnUserPoolClient, CfnUserPoolGroup, IUserPool, IUserPoolClient } from 'aws-cdk-lib/aws-cognito';
3
+ /**
4
+ * Accessible Cfn resources from the Auth construct, which were generated during
5
+ * initialization.
6
+ */
7
+ export type AuthCfnResources = {
8
+ /**
9
+ * The generated CfnUserPool L1 resource.
10
+ */
11
+ cfnUserPool: CfnUserPool;
12
+ /**
13
+ * The generated CfnUserPoolClient L1 resource.
14
+ */
15
+ cfnUserPoolClient: CfnUserPoolClient;
16
+ /**
17
+ * The generated CfnIdentityPool L1 resource.
18
+ */
19
+ cfnIdentityPool: CfnIdentityPool;
20
+ /**
21
+ * The generated CfnIdentityPoolRoleAttachment L1 resource.
22
+ */
23
+ cfnIdentityPoolRoleAttachment: CfnIdentityPoolRoleAttachment;
24
+ };
25
+ /**
26
+ * Auth L2 and L1 resources.
27
+ */
28
+ export type AuthResources = {
29
+ /**
30
+ * The generated UserPool L2 Resource.
31
+ */
32
+ userPool: IUserPool;
33
+ /**
34
+ * The generated UserPoolClient L2 Resource.
35
+ */
36
+ userPoolClient: IUserPoolClient;
37
+ /**
38
+ * The generated auth role.
39
+ */
40
+ authenticatedUserIamRole: IRole;
41
+ /**
42
+ * The generated unauth role.
43
+ */
44
+ unauthenticatedUserIamRole: IRole;
45
+ /**
46
+ * L1 Cfn Resources, for when dipping down a level of abstraction is desirable.
47
+ */
48
+ cfnResources: AuthCfnResources;
49
+ /**
50
+ * A map of group names to the generated resources for that group.
51
+ */
52
+ groups: {
53
+ [groupName: string]: {
54
+ /**
55
+ * The generated CfnUserPoolGroup for this group
56
+ */
57
+ cfnUserGroup: CfnUserPoolGroup;
58
+ /**
59
+ * The generated Role for this group
60
+ */
61
+ role: IRole;
62
+ };
63
+ };
64
+ };
65
+ export type AuthRoleName = keyof Pick<AuthResources, 'authenticatedUserIamRole' | 'unauthenticatedUserIamRole'>;
66
+ //# sourceMappingURL=auth_resources.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0aF9yZXNvdXJjZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYXV0aF9yZXNvdXJjZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElSb2xlIH0gZnJvbSAnYXdzLWNkay1saWIvYXdzLWlhbSc7XG5pbXBvcnQge1xuICBDZm5JZGVudGl0eVBvb2wsXG4gIENmbklkZW50aXR5UG9vbFJvbGVBdHRhY2htZW50LFxuICBDZm5Vc2VyUG9vbCxcbiAgQ2ZuVXNlclBvb2xDbGllbnQsXG4gIENmblVzZXJQb29sR3Jv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2VySWFtUm9sZScgfCAndW5hdXRoZW50aWNhdGVkVXNlcklhbVJvbGUnXG4+O1xuIl19
@@ -0,0 +1,5 @@
1
+ import { Client, MetadataBearer } from '@aws-sdk/types';
2
+ export type AWSClientProvider<T extends Record<`get${string}Client`, Client<object, MetadataBearer, unknown>>> = {
3
+ [K in keyof T]: () => T[K];
4
+ };
5
+ //# sourceMappingURL=aws_client_provider.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzX2NsaWVudF9wcm92aWRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9hd3NfY2xpZW50X3Byb3ZpZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDbGllbnQsIE1ldGFkYXRhQmVhcmVyIH0gZnJvbSAnQGF3cy1zZGsvdHlwZXMnO1xuZXhwb3J0IHR5cGUgQVdTQ2xpZW50UHJvdmlkZXI8XG4gIFQgZXh0ZW5kcyBSZWNvcmQ8XG4gICAgYGdldCR7c3RyaW5nfUNsaWVudGAsXG4gICAgQ2xpZW50PG9iamVjdCwgTWV0YWRhdGFCZWFyZXIsIHVua25vd24+XG4gID5cbj4gPSB7XG4gIFtLIGluIGtleW9mIFRdOiAoKSA9PiBUW0tdO1xufTtcbiJdfQ==
@@ -0,0 +1,56 @@
1
+ import { DeploymentType } from './deployment_type';
2
+ /**
3
+ * These are some utility types to make the BackendIdentifier a bit more self-documenting
4
+ */
5
+ export type AppId = string;
6
+ export type ProjectName = string;
7
+ export type BranchName = string;
8
+ export type SandboxName = string;
9
+ /**
10
+ * This tuple defines the constituent parts that are used to construct backend stack names
11
+ * The stack name becomes what identifies a deployed backend.
12
+ *
13
+ * To translate to/from a stack name, use the utility methods in @aws-amplify/platform-core
14
+ */
15
+ export type BackendIdentifier = {
16
+ /**
17
+ * The Amplify AppId for the backend
18
+ */
19
+ namespace: Readonly<AppId>;
20
+ /**
21
+ * The Amplify branch name for the backend
22
+ */
23
+ name: Readonly<BranchName>;
24
+ /**
25
+ * Const that determines this BackendIdentifier is for a branch backend
26
+ */
27
+ type: Readonly<Extract<DeploymentType, 'branch'>>;
28
+ /**
29
+ * Optional hash for consistent stack naming in cases where namespace or name contain characters that can't be serialized into a stack name
30
+ */
31
+ hash?: Readonly<string>;
32
+ } | {
33
+ /**
34
+ * The project name for the sandbox.
35
+ *
36
+ * While this type does not enforce any specific behavior, at the time of writing, this value defaults to package.json#name when running sandbox commands
37
+ * Consult upstream code for exact usage.
38
+ */
39
+ namespace: Readonly<ProjectName>;
40
+ /**
41
+ * The name of this sandbox.
42
+ *
43
+ * While this type does not enforce any specific behavior, at the time of writing, this value defaults to the current local username and can be overridden with the --name argument to sandbox.
44
+ * Consult upstream code for exact usage.
45
+ */
46
+ name: Readonly<SandboxName>;
47
+ /**
48
+ * Const that determines this BackendIdentifier is for a sandbox backend
49
+ */
50
+ type: Readonly<Extract<DeploymentType, 'sandbox'>>;
51
+ /**
52
+ * Optional hash for consistent stack naming in cases where namespace or name contain characters that can't be serialized into a stack name
53
+ */
54
+ hash?: Readonly<string>;
55
+ };
56
+ //# sourceMappingURL=backend_identifier.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja2VuZF9pZGVudGlmaWVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2JhY2tlbmRfaWRlbnRpZmllci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGVwbG95bWVudFR5cGUgfSBmcm9tICcuL2Rl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dG8gdGhlIGN1cnJlbnQgbG9jYWwgdXNlcm5hbWUgYW5kIGNhbiBiZSBvdmVycmlkZGVuIHdpdGggdGhlIC0tbmFtZSBhcmd1bWVudCB0byBzYW5kYm94LlxuICAgICAgICogQ29uc3VsdCB1cHN0cmVhbSBjb2RlIGZvciBleGFjdCB1c2FnZS5cbiAgICAgICAqL1xuICAgICAgbmFtZTogUmVhZG9ubHk8U2FuZGJveE5hbWU+O1xuICAgICAgLyoqXG4gICAgICAgKiBDb25zdCB0aGF0IGRldGVybWluZXMgdGhpcyBCYWNrZW5kSWRlbnRpZmllciBpcyBmb3IgYSBzYW5kYm94IGJhY2tlbmRcbiAgICAgICAqL1xuICAgICAgdHlwZTogUmVhZG9ubHk8RXh0cmFjdDxEZXBsb3ltZW50VHlwZSwgJ3NhbmRib3gnPj47XG4gICAgICAvKipcbiAgICAgICAqIE9wdGlvbmFsIGhhc2ggZm9yIGNvbnNpc3RlbnQgc3RhY2sgbmFtaW5nIGluIGNhc2VzIHdoZXJlIG5hbWVzcGFjZSBvciBuYW1lIGNvbnRhaW4gY2hhcmFjdGVycyB0aGF0IGNhbid0IGJlIHNlcmlhbGl6ZWQgaW50byBhIHN0YWNrIG5hbWVcbiAgICAgICAqL1xuICAgICAgaGFzaD86IFJlYWRvbmx5PHN0cmluZz47XG4gICAgfTtcbiJdfQ==
@@ -0,0 +1,6 @@
1
+ export type BackendOutputEntry<T extends Record<string, string> = Record<string, string>> = {
2
+ readonly version: string;
3
+ readonly payload: T;
4
+ };
5
+ export type BackendOutput = Record<string, BackendOutputEntry>;
6
+ //# sourceMappingURL=backend_output.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja2VuZF9vdXRwdXQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYmFja2VuZF9vdXRwdXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIEJhY2tlbmRPdXRwdXRFbnRyeTxcbiAgVCBleHRlbmRzIFJlY29yZDxzdHJpbmcsIHN0cmluZz4gPSBSZWNvcmQ8c3RyaW5nLCBzdHJpbmc+XG4+ID0ge1xuICByZWFkb25seSB2ZXJzaW9uOiBzdHJpbmc7XG4gIHJlYWRvbmx5IHBheWxvYWQ6IFQ7XG59O1xuXG5leHBvcnQgdHlwZSBCYWNrZW5kT3V0cHV0ID0gUmVjb3JkPHN0cmluZywgQmFja2VuZE91dHB1dEVudHJ5PjtcbiJdfQ==
@@ -0,0 +1,22 @@
1
+ import { Construct } from 'constructs';
2
+ import { BackendIdentifier } from './backend_identifier.js';
3
+ import { SecretValue } from 'aws-cdk-lib';
4
+ export type BackendSecret = {
5
+ /**
6
+ * Resolves the given secret to a CDK token.
7
+ */
8
+ resolve: (scope: Construct, backendIdentifier: BackendIdentifier) => SecretValue;
9
+ /**
10
+ * Resolves the given secret to its path
11
+ */
12
+ resolvePath: (backendIdentifier: BackendIdentifier) => ResolvePathResult;
13
+ };
14
+ export type BackendSecretResolver = {
15
+ resolveSecret: (backendSecret: BackendSecret) => SecretValue;
16
+ resolvePath: (backendSecret: BackendSecret) => ResolvePathResult;
17
+ };
18
+ export type ResolvePathResult = {
19
+ branchSecretPath: string;
20
+ sharedSecretPath: string;
21
+ };
22
+ //# sourceMappingURL=backend_secret_resolver.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja2VuZF9zZWNyZXRfcmVzb2x2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvYmFja2VuZF9zZWNyZXRfcmVzb2x2ZXIudHMiXSwibmFtZXMiOlt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} from 'aws-cdk-lib';
2
+ /**
3
+ * Interface for objects that can create stacks in a given scope
4
+ */
5
+ export type MainStackCreator = {
6
+ getOrCreateMainStack: () => Stack;
7
+ };
8
+ //# sourceMappingURL=backend_stack_creator.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja2VuZF9zdGFja19jcmVhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2JhY2tlbmRfc3RhY2tfY3JlYXRvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU3RhY2sgfSBmcm9tICdhd3MtY2RrLWxpYic7XG5cbi8qKlxuICogSW50ZXJmYWNlIGZvciBvYmplY3RzIHRoYXQgY2FuIGNyZWF0ZSBzdGFja3MgaW4gYSBnaXZlbiBzY29wZVxuICovXG5leHBvcnQgdHlwZSBNYWluU3RhY2tDcmVhdG9yID0ge1xuICBnZXRPckNyZWF0ZU1haW5TdGFjazogKCkgPT4gU3RhY2s7XG59O1xuIl19
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Interface for objects that can resolve a stack name
3
+ */
4
+ export type MainStackNameResolver = {
5
+ resolveMainStackName: () => Promise<string>;
6
+ };
7
+ //# sourceMappingURL=backend_stack_resolver.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFja2VuZF9zdGFja19yZXNvbHZlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9iYWNrZW5kX3N0YWNrX3Jlc29sdmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEludGVyZmFjZSBmb3Igb2JqZWN0cyB0aGF0IGNhbiByZXNvbHZlIGEgc3RhY2sgbmFtZVxuICovXG5leHBvcnQgdHlwZSBNYWluU3RhY2tOYW1lUmVzb2x2ZXIgPSB7XG4gIHJlc29sdmVNYWluU3RhY2tOYW1lOiAoKSA9PiBQcm9taXNlPHN0cmluZz47XG59O1xuIl19
@@ -0,0 +1,35 @@
1
+ import { Construct } from 'constructs';
2
+ import { ConstructFactory } from './construct_factory.js';
3
+ import { BackendSecretResolver } from './backend_secret_resolver.js';
4
+ import { ResourceProvider } from './resource_provider.js';
5
+ import { SsmEnvironmentEntriesGenerator } from './ssm_environment_entries_generator.js';
6
+ import { StableBackendIdentifiers } from './stable_backend_identifiers.js';
7
+ /**
8
+ * Initializes a CDK Construct in a given scope
9
+ */
10
+ export type ConstructContainerEntryGenerator<T extends object = object> = {
11
+ /**
12
+ * A group name for this generator.
13
+ * This is used by the cache to determine which stack to place the generated construct in
14
+ */
15
+ resourceGroupName: string;
16
+ /**
17
+ * Create a new instance of a CDK construct in the provided scope.
18
+ */
19
+ generateContainerEntry: (props: GenerateContainerEntryProps) => ResourceProvider<T>;
20
+ };
21
+ export type GenerateContainerEntryProps = {
22
+ scope: Construct;
23
+ backendSecretResolver: BackendSecretResolver;
24
+ ssmEnvironmentEntriesGenerator: SsmEnvironmentEntriesGenerator;
25
+ stableBackendIdentifiers: StableBackendIdentifiers;
26
+ };
27
+ /**
28
+ * Vends Constructs based on an initializer function
29
+ */
30
+ export type ConstructContainer = {
31
+ getOrCompute: (generator: ConstructContainerEntryGenerator) => ResourceProvider;
32
+ registerConstructFactory: (token: string, provider: ConstructFactory) => void;
33
+ getConstructFactory: <T extends ResourceProvider>(token: string) => ConstructFactory<T> | undefined;
34
+ };
35
+ //# sourceMappingURL=construct_container.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3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5OiA8VCBleHRlbmRzIFJlc291cmNlUHJvdmlkZXI+KFxuICAgIHRva2VuOiBzdHJpbmdcbiAgKSA9PiBDb25zdHJ1Y3RGYWN0b3J5PFQ+IHwgdW5kZWZpbmVkO1xufTtcbiJdfQ==
@@ -0,0 +1,24 @@
1
+ import { ConstructContainer } from './construct_container.js';
2
+ import { BackendOutputStorageStrategy } from './output_storage_strategy.js';
3
+ import { BackendOutputEntry } from './backend_output.js';
4
+ import { ImportPathVerifier } from './import_path_verifier.js';
5
+ import { ResourceProvider } from './resource_provider.js';
6
+ import { ResourceNameValidator } from './resource_name_validator.js';
7
+ export type ConstructFactoryGetInstanceProps = {
8
+ constructContainer: ConstructContainer;
9
+ outputStorageStrategy: BackendOutputStorageStrategy<BackendOutputEntry>;
10
+ importPathVerifier?: ImportPathVerifier;
11
+ resourceNameValidator?: ResourceNameValidator;
12
+ };
13
+ /**
14
+ * Functional interface for construct factories. All objects in the backend-engine definition must implement this interface.
15
+ */
16
+ export type ConstructFactory<T extends ResourceProvider = ResourceProvider> = {
17
+ /**
18
+ * A construct factory can register that the return value implements additional interfaces
19
+ * Registering as a provider allows other construct factories to fetch this one based on the provides token
20
+ */
21
+ readonly provides?: string;
22
+ getInstance: (props: ConstructFactoryGetInstanceProps) => T;
23
+ };
24
+ //# sourceMappingURL=construct_factory.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RydWN0X2ZhY3RvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvY29uc3RydWN0X2ZhY3RvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbnN0cnVjdENvbnRhaW5lciB9IGZyb20gJy4vY29uc3RydWN0X2NvbnRhaW5lci5qcyc7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gPSBSZXNvdXJjZVByb3ZpZGVyPiA9IHtcbiAgLyoqXG4gICAqIEEgY29uc3RydWN0IGZhY3RvcnkgY2FuIHJlZ2lzdGVyIHRoYXQgdGhlIHJldHVybiB2YWx1ZSBpbXBsZW1lbnRzIGFkZGl0aW9uYWwgaW50ZXJmYWNlc1xuICAgKiBSZWdpc3RlcmluZyBhcyBhIHByb3ZpZGVyIGFsbG93cyBvdGhlciBjb25zdHJ1Y3QgZmFjdG9yaWVzIHRvIGZldGNoIHRoaXMgb25lIGJhc2VkIG9uIHRoZSBwcm92aWRlcyB0b2tlblxuICAgKi9cbiAgcmVhZG9ubHkgcHJvdmlkZXM/OiBzdHJpbmc7XG4gIGdldEluc3RhbmNlOiAocHJvcHM6IENvbnN0cnVjdEZhY3RvcnlHZXRJbnN0YW5jZVByb3BzKSA9PiBUO1xufTtcbiJdfQ==
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Represents a type that allows partial deep cloning of an object.
3
+ * The `DeepPartial` type recursively makes all properties of `T` optional.
4
+ * If a property is an object, it will also be made partially optional.
5
+ * @template T - The type of the object to make partially optional.
6
+ */
7
+ export type DeepPartial<T> = {
8
+ [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
9
+ };
10
+ /**
11
+ * Makes all the properties of the entire nested object partial for Amplify generated configs
12
+ * instead of just the top level properties. Other properties are not changed.
13
+ */
14
+ export type DeepPartialAmplifyGeneratedConfigs<T> = {
15
+ [P in keyof T]?: P extends 'auth' | 'data' | 'storage' ? T[P] extends object ? DeepPartialAmplifyGeneratedConfigs<T[P]> : Partial<T[P]> : T[P];
16
+ };
17
+ //# sourceMappingURL=deep_partial.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVlcF9wYXJ0aWFsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXM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zIG9iamVjdFxuICAgICAgPyBEZWVwUGFydGlhbEFtcGxpZnlHZW5lcmF0ZWRDb25maWdzPFRbUF0+XG4gICAgICA6IFBhcnRpYWw8VFtQXT5cbiAgICA6IFRbUF07XG59O1xuIl19
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Represents the types of Amplify deployments
3
+ *
4
+ * Branch deployments are tied to specific git branches and are designed to be used in CI/CD
5
+ * Sandbox deployments are local development environments
6
+ */
7
+ export type DeploymentType = 'branch' | 'sandbox';
8
+ //# sourceMappingURL=deployment_type.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwbG95bWVudF90eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2RlcGxveW1lbnRfdHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBSZXByZXNlbnRzIHRoZSB0eXBlcyBvZiBBbXBsaWZ5IGRlcGxveW1lbnRzXG4gKlxuICogQnJhbmNoIGRlcGxveW1lbnRzIGFyZSB0aWVkIHRvIHNwZWNpZmljIGdpdCBicmFuY2hlcyBhbmQgYXJlIGRlc2lnbmVkIHRvIGJlIHVzZWQgaW4gQ0kvQ0RcbiAqIFNhbmRib3ggZGVwbG95bWVudHMgYXJlIGxvY2FsIGRldmVsb3BtZW50IGVudmlyb25tZW50c1xuICovXG5leHBvcnQgdHlwZSBEZXBsb3ltZW50VHlwZSA9ICdicmFuY2gnIHwgJ3NhbmRib3gnO1xuIl19
@@ -0,0 +1,8 @@
1
+ import { CfnFunction, IFunction } from 'aws-cdk-lib/aws-lambda';
2
+ export type FunctionResources = {
3
+ lambda: IFunction;
4
+ cfnResources: {
5
+ cfnFunction: CfnFunction;
6
+ };
7
+ };
8
+ //# sourceMappingURL=function_resources.d.ts.map
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuY3Rpb25fcmVzb3VyY2VzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2Z1bmN0aW9uX3Jlc291cmNlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2ZuRnVuY3Rpb24sIElGdW5jdGlvbiB9IGZyb20gJ2F3cy1jZGstbGliL2F3cy1sYW1iZGEnO1xuXG5leHBvcnQgdHlwZSBGdW5jdGlvblJlc291cmNlcyA9IHtcbiAgbGFtYmRhOiBJRnVuY3Rpb247XG4gIGNmblJlc291cmNlczoge1xuICAgIGNmbkZ1bmN0aW9uOiBDZm5GdW5jdGlvbjtcbiAgfTtcbn07XG4iXX0=
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Implementors can verify that an error originated from an expected location
3
+ */
4
+ export type ImportPathVerifier = {
5
+ /**
6
+ * Verify that the given stack originated from an expected file path
7
+ *
8
+ * importStack is expected to be in the format returned by (new Error()).stack
9
+ *
10
+ * If the error was not imported by the expected file, an error with errorMessage is thrown
11
+ */
12
+ verify: (importStack: string | undefined, expectedImportingFile: string, errorMessage: string) => void;
13
+ };
14
+ //# sourceMappingURL=import_path_verifier.d.ts.map