@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
@@ -1 +1 @@
1
- {"version":3,"file":"amplify-dynamo-model-resource-generator.js","sourceRoot":"","sources":["../../../src/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAmC;AAEnC,2EAAiF;AAEjF,oFAA0H;AAC1H,2DAA0F;AAE1F,6CAA4D;AAC5D,wFAAkF;AAClF,2CAA6B;AAC7B,yFAA0E;AAC1E,iEAA4D;AAC5D,yCAAsC;AAOzB,QAAA,0BAA0B,GAAG,qBAAqB,CAAC;AAChE,MAAa,mCAAoC,SAAQ,8DAA4B;IAArF;;QACU,+BAA0B,GAAG,EAAE,CAAC;IAiO1C,CAAC;IA/NC,iBAAiB,CAAC,GAA+B;QAC/C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;YACrB,OAAO;SACR;QAED,IAAI,IAAI,CAAC,aAAa,EAAE,EAAE;YAExB,MAAM,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;YACvD,IAAI,CAAC,wBAAwB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;YAEhD,MAAM,iBAAiB,GAAG,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,4BAA4B,EAAE,kCAA0B,CAAC,CAAC;YACjH,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC;SAC3D;QAED,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,EAAE;YAE5B,MAAM,aAAa,GAAG,GAAG,CAAC,cAAc,CAAC,mBAAmB,CAAC,KAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAChF,MAAM,gBAAgB,GAAG,6CAAgB,CAAC,oBAAoB,CAAC,aA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gBAAgB,EAAE,MAAM,CAAC,CAAC;SACtF,CAAC,CAAC;QAEH,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,CAAC,CAAC;QAChE,MAAM,0BAA0B,GAAG,GAAG,GAAI,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC;QAC7D,IAAI,CAAC,0BAA0B,CAAC,GAAG,EAAE,OAAO,EAAE,mBAAmB,EAAE,KAAK,EAAE,IAAI,EAAE,0BAA0B,CAAC,CAAC;IAC9G,CAAC;CACF;AAlOD,kFAkOC"}
1
+ {"version":3,"file":"amplify-dynamo-model-resource-generator.js","sourceRoot":"","sources":["../../../src/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iDAAmC;AAEnC,2EAAiF;AAEjF,oFAAwE;AACxE,2DAA0F;AAE1F,6CAA4D;AAC5D,wFAAkF;AAClF,2CAA6B;AAC7B,yFAA0E;AAC1E,iEAA4D;AAC5D,yCAAsC;AAOzB,QAAA,0BAA0B,GAAG,qBAAqB,CAAC;AAChE,MAAa,mCAAoC,SAAQ,8DAA4B;IAArF;;QACU,+BAA0B,GAAG,EAAE,CAAC;IA+N1C,CAAC;IA7NC,iBAAiB,CAAC,GAA+B;QAC/C,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE;YACrB,OAAO;SACR;QAED,IAAI,IAAI,CAAC,aAAa,EAAE,EAAE;YAExB,MAAM,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;YACvD,IAAI,CAAC,wBAAwB,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC;YAEhD,MAAM,iBAAiB,GAAG,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,4BAA4B,EAAE,kCAA0B,CAAC,CAAC;YACjH,IAAI,CAAC,4B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,SAAS,CAAC,CAAC;QAChE,MAAM,0BAA0B,GAAG,GAAG,GAAI,CAAC,IAAI,CAAC,KAAK,OAAO,CAAC;QAC7D,IAAI,CAAC,0BAA0B,CAAC,GAAG,EAAE,OAAO,EAAE,mBAAmB,EAAE,KAAK,EAAE,IAAI,EAAE,0BAA0B,CAAC,CAAC;IAC9G,CAAC;CACF;AAhOD,kFAgOC"}
@@ -2,12 +2,10 @@ import { aws_kms as kms, Resource } from 'aws-cdk-lib';
2
2
  import { GlobalSecondaryIndexProps, ITable, LocalSecondaryIndexProps, SchemaOptions, TableProps } from 'aws-cdk-lib/aws-dynamodb';
3
3
  import { Construct } from 'constructs';
4
4
  export declare const CUSTOM_DDB_CFN_TYPE = "Custom::AmplifyDynamoDBTable";
5
- export declare const CUSTOM_IMPORTED_DDB_CFN_TYPE = "Custom::ImportedAmplifyDynamoDBTable";
6
5
  export interface AmplifyDynamoDBTableProps extends TableProps {
7
6
  customResourceServiceToken: string;
8
7
  allowDestructiveGraphqlSchemaUpdates?: boolean;
9
8
  replaceTableUponGsiUpdate?: boolean;
10
- isImported?: boolean;
11
9
  }
12
10
  export declare class AmplifyDynamoDBTable extends Resource {
13
11
  readonly encryptionKey?: kms.IKey;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,GAAG,EAAwB,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC7E,OAAO,EAKL,yBAAyB,EACzB,MAAM,EACN,wBAAwB,EAExB,aAAa,EAIb,UAAU,EACX,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAQvC,eAAO,MAAM,mBAAmB,iCAAiC,CAAC;AAClE,eAAO,MAAM,4BAA4B,yCAAyC,CAAC;AAEnF,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3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qB,CAAqD;IAE3F,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAoC;IAC1E,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAqB;IAEtD,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAY;IAC9C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAY;IAE1C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;gBAE9B,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,yBAAyB;IAyEnE,uBAAuB,CAAC,KAAK,EAAE,yBAAyB;IAgCxD,sBAAsB,CAAC,KAAK,EAAE,wBAAwB;IA6BtD,MAAM,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,aAAa;IAchD,OAAO,CAAC,MAAM;IAad,OAAO,CAAC,OAAO;IASf,OAAO,CAAC,iBAAiB;IAmBzB,OAAO,CAAC,aAAa;IAiBrB,OAAO,CAAC,eAAe;IAyDvB,OAAO,CAAC,oBAAoB;IAa5B,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,wBAAwB;IAShC,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,oBAAoB;CAoB7B"}
@@ -1,13 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AmplifyDynamoDBTable = exports.CUSTOM_IMPORTED_DDB_CFN_TYPE = exports.CUSTOM_DDB_CFN_TYPE = void 0;
3
+ exports.AmplifyDynamoDBTable = exports.CUSTOM_DDB_CFN_TYPE = void 0;
4
4
  const aws_cdk_lib_1 = require("aws-cdk-lib");
5
5
  const aws_dynamodb_1 = require("aws-cdk-lib/aws-dynamodb");
6
6
  const HASH_KEY_TYPE = 'HASH';
7
7
  const RANGE_KEY_TYPE = 'RANGE';
8
8
  const MAX_LOCAL_SECONDARY_INDEX_COUNT = 5;
9
9
  exports.CUSTOM_DDB_CFN_TYPE = 'Custom::AmplifyDynamoDBTable';
10
- exports.CUSTOM_IMPORTED_DDB_CFN_TYPE = 'Custom::ImportedAmplifyDynamoDBTable';
11
10
  class AmplifyDynamoDBTable extends aws_cdk_lib_1.Resource {
12
11
  constructor(scope, id, props) {
13
12
  var _a, _b, _c;
@@ -31,7 +30,7 @@ class AmplifyDynamoDBTable extends aws_cdk_lib_1.Resource {
31
30
  this.validateProvisioning(props);
32
31
  this.table = new aws_cdk_lib_1.CustomResource(this, 'Default', {
33
32
  serviceToken: this.customResourceServiceToken,
34
- resourceType: props.isImported ? exports.CUSTOM_IMPORTED_DDB_CFN_TYPE : exports.CUSTOM_DDB_CFN_TYPE,
33
+ resourceType: exports.CUSTOM_DDB_CFN_TYPE,
35
34
  properties: {
36
35
  tableName: this.tableName,
37
36
  attributeDefinitions: this.attributeDefinitions,
@@ -53,7 +52,6 @@ class AmplifyDynamoDBTable extends aws_cdk_lib_1.Resource {
53
52
  deletionProtectionEnabled: props.deletionProtection,
54
53
  allowDestructiveGraphqlSchemaUpdates: (_b = props.allowDestructiveGraphqlSchemaUpdates) !== null && _b !== void 0 ? _b : false,
55
54
  replaceTableUponGsiUpdate: (_c = props.replaceTableUponGsiUpdate) !== null && _c !== void 0 ? _c : false,
56
- isImported: props.isImported,
57
55
  },
58
56
  removalPolicy: props.removalPolicy,
59
57
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.ts"],"names":[],"mappings":";;;AAAA,6CAA6E;AAC7E,2DAckC;AAGlC,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,cAAc,GAAG,OAAO,CAAC;AAG/B,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE7B,QAAA,mBAAmB,GAAG,8BAA8B,CAAC;AACrD,QAAA,4BAA4B,GAAG,sCAAsC,CAAC;AAQnF,MAAa,oBAAqB,SAAQ,sBAAQ;IAsBhD,YAAY,KAAgB,EAAE,EAAU,EAAE,KAAgC;;QACxE,KA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AAK,CAAC,cAAc,mCAAI,6BAAc,CAAC,GAAG;YAC1D,gBAAgB,EAAE,MAAA,KAAK,CAAC,gBAAgB,mCAAI,SAAS;SACtD,CAAC;IACJ,CAAC;CACF;AAhWD,oDAgWC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.ts"],"names":[],"mappings":";;;AAAA,6CAA6E;AAC7E,2DAckC;AAGlC,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,cAAc,GAAG,OAAO,CAAC;AAG/B,MAAM,+BAA+B,GAAG,CAAC,CAAC;AAE7B,QAAA,mBAAmB,GAAG,8BAA8B,CAAC;AAOlE,MAAa,oBAAqB,SAAQ,sBAAQ;IAsBhD,YAAY,KAAgB,EAAE,EAAU,EAAE,KAAgC;;QACxE,KAAK,CAAC,KAAK,EAAE,EAAE,EAAE;YACf,YAAY,EAAE,KAAK,CAAC,SAAS;SAC9B,CAAC,CAAC;QAhBY,cAAS,GAAG,IAAI,KAAK,EAA8B,CAAC;QACpD,yBAAoB,GAAG,IAAI,KAAK,EAAwC,CAAC;QACzE,2BAAsB,GAAG,IAAI,KAAK,EAAyC,CAAC;QAC5E,0BAAqB,GAAG,IAAI,KAAK,EAAwC,CAAC;QAE1E,0BAAqB,GAAG,IAAI,GAAG,EAAyB,CAAC;QACzD,qBAAgB,GAAG,IAAI,GAAG,EAAU,CAAC;QAWpD,IAAI,CAAC,0BAA0B,GAAG,KAAK,CAAC,0BAA0B,CAAC;QACnE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;QACnC,MAAM,EAAE,gBAAgB,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;QAExE,IAAI,mBAAqE,CAAC;QAC1E,IAAI,CAAC,WAAW,GAAG,MAAA,KAAK,CAAC,WAAW,mCAAI,0BAAW,CAAC,WAAW,CAAC;QAChE,IAAI,KA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AAC,KAAK,CAAC,gBAAgB,EAAE;YAE9E,MAAM,IAAI,KAAK,CAAC,qDAAqD,6BAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;SAChH;QAED,IAAI,KAAK,CAAC,cAAc,KAAK,6BAAc,CAAC,OAAO,IAAI,KAAK,CAAC,gBAAgB,EAAE;YAE7E,MAAM,IAAI,KAAK,CAAC,6DAA6D,6BAAc,CAAC,OAAO,kBAAkB,CAAC,CAAC;SACxH;QAED,IAAI,KAAK,CAAC,gBAAgB,EAAE;YAC1B,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;SACvD;QAED,OAAO;YACL,cAAc,EAAE,MAAA,KAAK,CAAC,cAAc,mCAAI,6BAAc,CAAC,GAAG;YAC1D,gBAAgB,EAAE,MAAA,KAAK,CAAC,gBAAgB,mCAAI,SAAS;SACtD,CAAC;IACJ,CAAC;CACF;AA/VD,oDA+VC"}
@@ -1,14 +1,20 @@
1
- import { ContinuousBackupsDescription, CreateTableCommandInput, TableDescription, TimeToLiveDescription, UpdateContinuousBackupsCommandInput, UpdateTableCommandInput, UpdateTimeToLiveCommandInput } from '@aws-sdk/client-dynamodb';
2
- export declare const onEvent: (event: any) => Promise<void>;
3
- export declare const isComplete: (event: any) => Promise<void>;
1
+ import { ContinuousBackupsDescription, CreateTableCommandInput, TableDescription, TimeToLiveDescription, UpdateContinuousBackupsCommandInput, UpdateTableCommandInput, UpdateTimeToLiveCommandInput, Tag as DynamoDBTag } from '@aws-sdk/client-dynamodb';
2
+ export declare const onEvent: (event: any, context: any) => Promise<void>;
3
+ export declare const isComplete: (event: any, context: any) => Promise<void>;
4
+ export declare const getLambdaTags: (functionArn: string) => Promise<Record<string, string>[]>;
5
+ type TableManagerContext = {
6
+ invokedFunctionArn: string;
7
+ };
4
8
  export declare const getNextAtomicUpdate: (currentState: TableDescription, endState: CustomDDB.Input) => UpdateTableCommandInput | undefined;
5
9
  export declare const getStreamUpdate: (currentState: TableDescription, endState: CustomDDB.Input) => Promise<UpdateTableCommandInput | undefined>;
6
10
  export declare const getSseUpdate: (currentState: TableDescription, endState: CustomDDB.Input) => UpdateTableCommandInput | undefined;
11
+ export declare const requiresTagsUpdate: (currentTags: DynamoDBTag[], newTags?: DynamoDBTag[]) => boolean;
7
12
  export declare const getDeletionProtectionUpdate: (currentState: TableDescription, endState: CustomDDB.Input) => UpdateTableCommandInput | undefined;
8
13
  export declare const getTtlUpdate: (currentTTL: TimeToLiveDescription | undefined, endState: CustomDDB.Input) => UpdateTimeToLiveCommandInput | undefined;
9
14
  export declare const getPointInTimeRecoveryUpdate: (currentPointInTime: ContinuousBackupsDescription | undefined, endState: CustomDDB.Input) => UpdateContinuousBackupsCommandInput | undefined;
10
- export declare const extractTableInputFromEvent: (event: AWSCDKAsyncCustomResource.OnEventRequest | AWSCDKAsyncCustomResource.IsCompleteRequest) => CustomDDB.Input;
15
+ export declare const extractTableInputFromEvent: (event: AWSCDKAsyncCustomResource.OnEventRequest | AWSCDKAsyncCustomResource.IsCompleteRequest, context: TableManagerContext) => Promise<CustomDDB.Input>;
11
16
  export declare const extractOldTableInputFromEvent: (event: AWSCDKAsyncCustomResource.OnEventRequest | AWSCDKAsyncCustomResource.IsCompleteRequest) => CustomDDB.Input;
12
17
  export declare const toCreateTableInput: (props: CustomDDB.Input) => CreateTableCommandInput;
13
18
  export declare const isTtlModified: (oldTtl: CustomDDB.TimeToLiveSpecificationProperty | undefined, endTtl: CustomDDB.TimeToLiveSpecificationProperty | undefined) => boolean;
19
+ export {};
14
20
  //# sourceMappingURL=amplify-table-manager-handler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"amplify-table-manager-handler.d.ts","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,4BAA4B,EAE5B,uBAAuB,EAOvB,gBAAgB,EAChB,qBAAqB,EACrB,mCAAmC,EACnC,uBAAuB,EACvB,4BAA4B,EAC7B,MAAM,0BAA0B,CAAC;AAgBlC,eAAO,MAAM,OAAO,+BAA0C,CAAC;AAC/D,eAAO,MAAM,UAAU,+BAA6C,CAAC;AAmcrE,eAAO,MAAM,mBAAmB,iBAAkB,gBAAgB,YAAY,UAAU,KAAK,KAAG,uBAAuB,GAAG,SA6CzH,CAAC;AAmIF,eAAO,MAAM,eAAe,iBACZ,gBAAgB,YACpB,UAAU,KAAK,KACxB,QAAQ,uBAAuB,GAAG,SAAS,CAiC7C,CAAC;AAQF,eAAO,MAAM,YAAY,iBAAkB,gBAAgB,YAAY,UAAU,KAAK,KAAG,uBAAuB,GAAG,SAqClH,CAAC;AAQF,eAAO,MAAM,2BAA2B,iBACxB,gBAAgB,YACpB,UAAU,KAAK,KACxB,uBAAuB,GAAG,SAe5B,CAAC;AAQF,eAAO,MAAM,YAAY,eACX,qBAAqB,GAAG,SAAS,YACnC,UAAU,KAAK,KACxB,4BAA4B,GAAG,SAqCjC,CAAC;AAQF,eAAO,MAAM,4BAA4B,uBACnB,4BAA4B,GAAG,SAAS,YAClD,UAAU,KAAK,KACxB,mCAAmC,GAAG,SA0BxC,CAAC;AAiBF,eAAO,MAAM,0BAA0B,UAC9B,0BAA0B,cAAc,GAAG,0BAA0B,iBAAiB,KAC5F,UAAU,KAQZ,CAAC;AAQF,eAAO,MAAM,6BAA6B,UACjC,0BAA0B,cAAc,GAAG,0BAA0B,iBAAiB,KAC5F,UAAU,KAQZ,CAAC;AAkGF,eAAO,MAAM,kBAAkB,UAAW,UAAU,KAAK,KAAG,uBAkB3D,CAAC;AAuJF,eAAO,MAAM,aAAa,WAChB,UAAU,+BAA+B,GAAG,SAAS,UACrD,UAAU,+BAA+B,GAAG,SAAS,KAC5D,OAQF,CAAC"}
1
+ {"version":3,"file":"amplify-table-manager-handler.d.ts","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.ts"],"names":[],"mappings":"A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QF,eAAO,MAAM,6BAA6B,UACjC,0BAA0B,cAAc,GAAG,0BAA0B,iBAAiB,KAC5F,UAAU,KAQZ,CAAC;AAiGF,eAAO,MAAM,kBAAkB,UAAW,UAAU,KAAK,KAAG,uBAmB3D,CAAC;AAuJF,eAAO,MAAM,aAAa,WAChB,UAAU,+BAA+B,GAAG,SAAS,UACrD,UAAU,+BAA+B,GAAG,SAAS,KAC5D,OAQF,CAAC"}
@@ -23,12 +23,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.isTtlModified = exports.toCreateTableInput = exports.extractOldTableInputFromEvent = exports.extractTableInputFromEvent = exports.getPointInTimeRecoveryUpdate = exports.getTtlUpdate = exports.getDeletionProtectionUpdate = exports.getSseUpdate = exports.getStreamUpdate = exports.getNextAtomicUpdate = exports.isComplete = exports.onEvent = void 0;
26
+ exports.isTtlModified = exports.toCreateTableInput = exports.extractOldTableInputFromEvent = exports.extractTableInputFromEvent = exports.getPointInTimeRecoveryUpdate = exports.getTtlUpdate = exports.getDeletionProtectionUpdate = exports.requiresTagsUpdate = exports.getSseUpdate = exports.getStreamUpdate = exports.getNextAtomicUpdate = exports.getLambdaTags = exports.isComplete = exports.onEvent = void 0;
27
27
  const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
28
+ const client_lambda_1 = require("@aws-sdk/client-lambda");
28
29
  const cfnResponse = __importStar(require("./cfn-response"));
29
30
  const outbound_1 = require("./outbound");
30
31
  const util_1 = require("./util");
31
32
  const ddbClient = new client_dynamodb_1.DynamoDB();
33
+ const lambdaClient = new client_lambda_1.Lambda();
32
34
  const finished = {
33
35
  IsComplete: true,
34
36
  };
@@ -37,11 +39,33 @@ const notFinished = {
37
39
  };
38
40
  exports.onEvent = cfnResponse.safeHandler(onEventHandler);
39
41
  exports.isComplete = cfnResponse.safeHandler(isCompleteHandler);
40
- async function onEventHandler(cfnRequest) {
42
+ const getLambdaTags = async (functionArn) => {
43
+ var _a;
44
+ const command = new client_lambda_1.ListTagsCommand({ Resource: functionArn });
45
+ const tags = (_a = (await lambdaClient.send(command)).Tags) !== null && _a !== void 0 ? _a : {};
46
+ const result = [];
47
+ Object.keys(tags).forEach((key) => {
48
+ if (!key.startsWith('aws:cloudformation:')) {
49
+ result.push({
50
+ key: key,
51
+ value: tags[key],
52
+ });
53
+ }
54
+ });
55
+ return result;
56
+ };
57
+ exports.getLambdaTags = getLambdaTags;
58
+ const getTableTags = async (tableArn) => {
59
+ var _a;
60
+ const command = new client_dynamodb_1.ListTagsOfResourceCommand({ ResourceArn: tableArn });
61
+ const tags = (_a = (await ddbClient.send(command)).Tags) !== null && _a !== void 0 ? _a : [];
62
+ return tags;
63
+ };
64
+ async function onEventHandler(cfnRequest, context) {
41
65
  const sanitizedRequest = { ...cfnRequest, ResponseURL: '[redacted]' };
42
66
  (0, util_1.log)('onEventHandler', sanitizedRequest);
43
67
  cfnRequest.ResourceProperties = cfnRequest.ResourceProperties || {};
44
- const onEventResult = await processOnEvent(sanitizedRequest);
68
+ const onEventResult = await processOnEvent(sanitizedRequest, context);
45
69
  (0, util_1.log)('onEvent returned:', onEventResult);
46
70
  const resourceEvent = createResponseEvent(cfnRequest, onEventResult);
47
71
  if (cfnRequest.RequestType == 'Delete') {
@@ -61,10 +85,10 @@ async function onEventHandler(cfnRequest) {
61
85
  await (0, outbound_1.startExecution)(waiter);
62
86
  }
63
87
  }
64
- async function isCompleteHandler(event) {
88
+ async function isCompleteHandler(event, context) {
65
89
  const sanitizedRequest = { ...event, ResponseURL: '[redacted]' };
66
90
  (0, util_1.log)('isComplete', sanitizedRequest);
67
- const isCompleteResult = await processIsComplete(sanitizedRequest);
91
+ const isCompleteResult = await processIsComplete(sanitizedRequest, context);
68
92
  (0, util_1.log)('isComplete result', isCompleteResult);
69
93
  if (!isCompleteResult.IsComplete) {
70
94
  if (isCompleteResult.Data && Object.keys(isCompleteResult.Data).length > 0) {
@@ -82,17 +106,14 @@ async function isCompleteHandler(event) {
82
106
  };
83
107
  await cfnResponse.submitResponse('SUCCESS', response, { noEcho: event.NoEcho });
84
108
  }
85
- const processOnEvent = async (event) => {
86
- var _a;
109
+ const processOnEvent = async (event, context) => {
110
+ var _a, _b;
87
111
  console.log({ ...event, ResponseURL: '[redacted]' });
88
- const tableDef = (0, exports.extractTableInputFromEvent)(event);
112
+ const tableDef = await (0, exports.extractTableInputFromEvent)(event, context);
89
113
  console.log('Input table state: ', tableDef);
90
114
  let result;
91
115
  switch (event.RequestType) {
92
116
  case 'Create':
93
- if (tableDef.isImported) {
94
- return importTable(tableDef);
95
- }
96
117
  console.log('Initiating CREATE event');
97
118
  const createTableInput = (0, exports.toCreateTableInput)(tableDef);
98
119
  console.log('Create Table Params: ', createTableInput);
@@ -134,6 +155,34 @@ const processOnEvent = async (event) => {
134
155
  return replaceTable(describeTableResult.Table, tableDef);
135
156
  }
136
157
  }
158
+ const currentTableTags = await getTableTags(describeTableResult.Table.TableArn);
159
+ const newTags = [];
160
+ Object.values((_a = tableDef.tags) !== null && _a !== void 0 ? _a : []).forEach((tag) => {
161
+ newTags.push({ Key: tag.key, Value: tag.value });
162
+ });
163
+ const removeTags = [];
164
+ currentTableTags.forEach((tag) => {
165
+ if (!newTags.some((newTag) => newTag.Key === tag.Key)) {
166
+ removeTags.push(tag.Key);
167
+ }
168
+ });
169
+ if (removeTags.length > 0) {
170
+ await ddbClient.untagResource({
171
+ ResourceArn: describeTableResult.Table.TableArn,
172
+ TagKeys: removeTags,
173
+ });
174
+ await retry(async () => await isTableReady(event.PhysicalResourceId), (res) => res === true);
175
+ console.log(`Table '${event.PhysicalResourceId}' is ready after the deletion of Tags.`);
176
+ }
177
+ if ((0, exports.requiresTagsUpdate)(currentTableTags, newTags)) {
178
+ console.log('Detected tag changes: ', tableDef.tags);
179
+ await ddbClient.tagResource({
180
+ ResourceArn: describeTableResult.Table.TableArn,
181
+ Tags: newTags,
182
+ });
183
+ await retry(async () => await isTableReady(event.PhysicalResourceId), (res) => res === true);
184
+ console.log(`Table '${event.PhysicalResourceId}' is ready after the update of Tags.`);
185
+ }
137
186
  const describePointInTimeRecoveryResult = await ddbClient.describeContinuousBackups({ TableName: event.PhysicalResourceId });
138
187
  console.log('Current point in time recovery: ', describePointInTimeRecoveryResult);
139
188
  const pointInTimeUpdate = (0, exports.getPointInTimeRecoveryUpdate)(describePointInTimeRecoveryResult.ContinuousBackupsDescription, tableDef);
@@ -208,7 +257,7 @@ const processOnEvent = async (event) => {
208
257
  try {
209
258
  console.log('Fetching current table state');
210
259
  const describeTableResultBeforeDeletion = await ddbClient.describeTable({ TableName: event.PhysicalResourceId });
211
- if ((_a = describeTableResultBeforeDeletion.Table) === null || _a === void 0 ? void 0 : _a.DeletionProtectionEnabled) {
260
+ if ((_b = describeTableResultBeforeDeletion.Table) === null || _b === void 0 ? void 0 : _b.DeletionProtectionEnabled) {
212
261
  return result;
213
262
  }
214
263
  console.log('Initiating table deletion');
@@ -226,7 +275,7 @@ const processOnEvent = async (event) => {
226
275
  throw new Error(`Event type ${event.RequestType} is not supported`);
227
276
  }
228
277
  };
229
- const processIsComplete = async (event) => {
278
+ const processIsComplete = async (event, context) => {
230
279
  var _a, _b, _c;
231
280
  (0, util_1.log)('got event', { ...event, ResponseURL: '[redacted]' });
232
281
  if (event.RequestType === 'Delete') {
@@ -246,7 +295,7 @@ const processIsComplete = async (event) => {
246
295
  console.log('Some GSI is not active yet');
247
296
  return notFinished;
248
297
  }
249
- const endState = (0, exports.extractTableInputFromEvent)(event);
298
+ const endState = await (0, exports.extractTableInputFromEvent)(event, context);
250
299
  if (event.RequestType === 'Create' || ((_c = event.Data) === null || _c === void 0 ? void 0 : _c.IsTableReplaced) === true) {
251
300
  const describePointInTimeRecoveryResult = await ddbClient.describeContinuousBackups({ TableName: event.PhysicalResourceId });
252
301
  const pointInTimeUpdate = (0, exports.getPointInTimeRecoveryUpdate)(describePointInTimeRecoveryResult.ContinuousBackupsDescription, endState);
@@ -531,6 +580,27 @@ const getSseUpdate = (currentState, endState) => {
531
580
  return undefined;
532
581
  };
533
582
  exports.getSseUpdate = getSseUpdate;
583
+ const requiresTagsUpdate = (currentTags, newTags) => {
584
+ if (!newTags || newTags.length === 0) {
585
+ return false;
586
+ }
587
+ if (currentTags.length !== newTags.length) {
588
+ return true;
589
+ }
590
+ for (const newTag of newTags) {
591
+ if (!currentTags.find((currentTag) => currentTag.Key === newTag.Key)) {
592
+ return true;
593
+ }
594
+ else {
595
+ const currentTag = currentTags.find((tag) => tag.Key === newTag.Key);
596
+ if ((currentTag === null || currentTag === void 0 ? void 0 : currentTag.Value) !== newTag.Value) {
597
+ return true;
598
+ }
599
+ }
600
+ }
601
+ return false;
602
+ };
603
+ exports.requiresTagsUpdate = requiresTagsUpdate;
534
604
  const getDeletionProtectionUpdate = (currentState, endState) => {
535
605
  if (endState.deletionProtectionEnabled !== undefined && currentState.DeletionProtectionEnabled !== endState.deletionProtectionEnabled) {
536
606
  return {
@@ -613,8 +683,12 @@ const getPointInTimeRecoveryUpdate = (currentPointInTime, endState) => {
613
683
  return undefined;
614
684
  };
615
685
  exports.getPointInTimeRecoveryUpdate = getPointInTimeRecoveryUpdate;
616
- const extractTableInputFromEvent = (event) => {
617
- const resourceProperties = { ...event.ResourceProperties };
686
+ const extractTableInputFromEvent = async (event, context) => {
687
+ const tags = await (0, exports.getLambdaTags)(context.invokedFunctionArn);
688
+ const resourceProperties = {
689
+ ...event.ResourceProperties,
690
+ ...(tags.length > 0 && { tags }),
691
+ };
618
692
  delete resourceProperties.ServiceToken;
619
693
  const tableDef = convertStringToBooleanOrNumber(resourceProperties);
620
694
  return tableDef;
@@ -657,7 +731,6 @@ const convertStringToBooleanOrNumber = (obj) => {
657
731
  'pointInTimeRecoveryEnabled',
658
732
  'allowDestructiveGraphqlSchemaUpdates',
659
733
  'replaceTableUponGsiUpdate',
660
- 'isImported',
661
734
  ];
662
735
  const fieldsToBeConvertedToNumber = ['readCapacityUnits', 'writeCapacityUnits'];
663
736
  for (const key in obj) {
@@ -708,6 +781,7 @@ const toCreateTableInput = (props) => {
708
781
  ProvisionedThroughput: props.provisionedThroughput,
709
782
  SSESpecification: props.sseSpecification ? { Enabled: props.sseSpecification.sseEnabled } : undefined,
710
783
  DeletionProtectionEnabled: props.deletionProtectionEnabled,
784
+ Tags: props.tags,
711
785
  };
712
786
  return parsePropertiesToDynamoDBInput(createTableInput);
713
787
  };
@@ -860,24 +934,4 @@ const retry = async (func, successPredicate, settings, failurePredicate) => {
860
934
  throw new Error('Retry-able function did not match predicate within the given retry constraints');
861
935
  };
862
936
  const sleep = async (milliseconds) => new Promise((resolve) => setTimeout(resolve, milliseconds));
863
- const importTable = async (tableDef) => {
864
- console.log('Initiating table import process');
865
- console.log('Fetching current table state');
866
- console.log(`Table name: ${tableDef.tableName}`);
867
- const describeTableResult = await ddbClient.describeTable({ TableName: tableDef.tableName });
868
- if (!describeTableResult.Table) {
869
- throw new Error(`Could not find ${tableDef.tableName} to update`);
870
- }
871
- (0, util_1.log)('Current table state: ', describeTableResult);
872
- const result = {
873
- PhysicalResourceId: describeTableResult.Table.TableName,
874
- Data: {
875
- TableArn: describeTableResult.Table.TableArn,
876
- TableStreamArn: describeTableResult.Table.LatestStreamArn,
877
- TableName: describeTableResult.Table.TableName,
878
- },
879
- };
880
- console.log('Returning result: ', result);
881
- return result;
882
- };
883
937
  //# sourceMappingURL=amplify-table-manager-handler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"amplify-table-manager-handler.js","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,8DAgBkC;AAElC,4DAA8C;AAC9C,yCAA4C;AAC5C,iCAAqC;AAErC,MAAM,SAAS,GAAG,IAAI,0BAAQ,EAAE,CAAC;AAEjC,MAAM,QAAQ,GAAiD;IAC7D,UAAU,EAAE,IAAI;CACjB,CA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AmB,CAAC,CAAC;IAClD,MAAM,MAAM,GAAG;QACb,kBAAkB,EAAE,mBAAmB,CAAC,KAAK,CAAC,SAAS;QACvD,IAAI,EAAE;YACJ,QAAQ,EAAE,mBAAmB,CAAC,KAAK,CAAC,QAAQ;YAC5C,cAAc,EAAE,mBAAmB,CAAC,KAAK,CAAC,eAAe;YACzD,SAAS,EAAE,mBAAmB,CAAC,KAAK,CAAC,SAAS;SAC/C;KACF,CAAC;IACF,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IAC1C,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
1
+ {"version":3,"file":"amplify-table-manager-handler.js","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,8DAkBkC;AAClC,0DAAiE;AAEjE,4DAA8C;AAC9C,yCAA4C;AAC5C,iCAAqC;AAGrC,MAAM,SAAS,GAAG,IAAI,0BAAQ,EAAE,CAAC;AACjC,MAAM,YAAY,GAAG,IAAI,sBAAM,EAAE,CAAC;AAElC,MAAM,QAAQ,GAAiD;IAC7D,UAAU,EAAE,IAAI;CACjB,CAAC;AACF,MAAM,WAAW,GAAiD;IAChE,UAAU,EAAE,KAAK;CAClB,CAAC;AAGW,QAAA,OAAO,GAAG,WAAW,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;AAClD,QAAA,UAAU,GAAG,WAAW,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;AAE9D,MAAM,aAAa,GAAG,KAAK,EAAE,WAAmB,EAAqC,EAAE;;IAC5F,MAAM,OAAO,GAAG,IAAI,+BAAe,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC,CAAC;IAC/D,MAAM,IAAI,GAAG,MAAA,CAAC,MAAM,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,mCAAI,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FAAgF,CAAC,CAAC;AACpG,CAAC,CAAC;AAOF,MAAM,KAAK,GAAG,KAAK,EAAE,YAAoB,EAAiB,EAAE,CAAC,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC"}
@@ -13,7 +13,7 @@ export interface CloudFormationEventContext {
13
13
  Data?: any;
14
14
  }
15
15
  export declare function submitResponse(status: 'SUCCESS' | 'FAILED', event: CloudFormationEventContext, options?: CloudFormationResponseOptions): Promise<void>;
16
- export declare function safeHandler(block: (event: any) => Promise<void>): (event: any) => Promise<void>;
16
+ export declare function safeHandler(block: (event: any, context?: any) => Promise<void>): (event: any, context: any) => Promise<void>;
17
17
  export declare class Retry extends Error {
18
18
  }
19
19
  //# sourceMappingURL=cfn-response.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cfn-response.d.ts","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,gCAAgC,2DAA2D,CAAC;AACzG,eAAO,MAAM,0BAA0B,iEAAiE,CAAC;AAEzG,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ;AAED,wBAAsB,cAAc,CAClC,MAAM,EAAE,SAAS,GAAG,QAAQ,EAC5B,KAAK,EAAE,0BAA0B,EACjC,OAAO,GAAE,6BAAkC,iBAmC5C;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,WACzC,GAAG,mBAyCzB;AAED,qBAAa,KAAM,SAAQ,KAAK;CAAG"}
1
+ {"version":3,"file":"cfn-response.d.ts","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,gCAAgC,2DAA2D,CAAC;AACzG,eAAO,MAAM,0BAA0B,iEAAiE,CAAC;AAEzG,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ;AAED,wBAAsB,cAAc,CAClC,MAAM,EAAE,SAAS,GAAG,QAAQ,EAC5B,KAAK,EAAE,0BAA0B,EACjC,OAAO,GAAE,6BAAkC,iBAmC5C;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,IAAI,CAAC,WACxD,GAAG,WAAW,GAAG,mBAyCvC;AAED,qBAAa,KAAM,SAAQ,KAAK;CAAG"}
@@ -59,14 +59,14 @@ async function submitResponse(status, event, options = {}) {
59
59
  }
60
60
  exports.submitResponse = submitResponse;
61
61
  function safeHandler(block) {
62
- return async (event) => {
62
+ return async (event, context) => {
63
63
  if (event.RequestType === 'Delete' && event.PhysicalResourceId === exports.CREATE_FAILED_PHYSICAL_ID_MARKER) {
64
64
  console.log('ignoring DELETE event caused by a failed CREATE event');
65
65
  await submitResponse('SUCCESS', event);
66
66
  return;
67
67
  }
68
68
  try {
69
- await block(event);
69
+ await block(event, context);
70
70
  }
71
71
  catch (e) {
72
72
  if (e instanceof Retry) {
@@ -1 +1 @@
1
- {"version":3,"file":"cfn-response.js","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,yCAA2B;AAC3B,yCAAyC;AACzC,iCAA0C;AAE7B,QAAA,gCAAgC,GAAG,wDAAwD,CAAC;AAC5F,QAAA,0BAA0B,GAAG,8DAA8D,CAAC;AAgBlG,KAAK,UAAU,cAAc,CAClC,MAA4B,EAC5B,KAAiC,EACjC,UAAyC,EAAE;IAE3C,MAAM,IAAI,GAAmD;QAC3D,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,MAAM;QAChC,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,SAAS,EAAE,KAAK,CAAC,SAAS;QAC1B,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,IAAI,kCAA0B;QAC1E,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;QAC1C,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,IAAI,EAAE,KAAK,CAAC,IAAI;KACjB,CAAC;IAEF,IAAA,UAAG,EAAC,mCAAmC,EAAE,IAAI,CAAC,CAAC;IAE/C,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAE1C,MAAM,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAE/C,MAAM,YAAY,GAAG;QACnB,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,IAAI;KACZ,CAAC;IACF,MAAM,IAAA,kBAAW,EAAC,YAAY,EAAE,sBAAW,CAAC,CAC1C;QACE,QAAQ,EAAE,SAAS,CAAC,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D,kCA0CC;AAED,MAAa,KAAM,SAAQ,KAAK;CAAG;AAAnC,sBAAmC"}
1
+ {"version":3,"file":"cfn-response.js","sourceRoot":"","sources":["../../../../src/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,yCAA2B;AAC3B,yCAAyC;AACzC,iCAA0C;AAE7B,QAAA,gCAAgC,GAAG,wDAAwD,CAAC;AAC5F,QAAA,0BAA0B,GAAG,8DAA8D,CAAC;AAgBlG,KAAK,UAAU,cAAc,CAClC,MAA4B,EAC5B,KAAiC,EACjC,UAAyC,EAAE;IAE3C,MAAM,IAAI,GAAmD;QAC3D,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,MAAM;QAChC,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,SAAS,EAAE,KAAK,CAAC,SAAS;QAC1B,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,IAAI,kCAA0B;QAC1E,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;QAC1C,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,IAAI,EAAE,KAAK,CAAC,IAAI;KACjB,CAAC;IAEF,IAAA,UAAG,EAAC,mCAAmC,EAAE,IAAI,CAAC,CAAC;IAE/C,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAE1C,MAAM,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IAE/C,MAAM,YAAY,GAAG;QACnB,QAAQ,EAAE,CAAC;QACX,KAAK,EAAE,IAAI;KACZ,CAAC;IACF,MAAM,IAAA,kBAAW,EAAC,YAAY,EAAE,sBAAW,CAAC,CAC1C;QACE,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,IAAI,EAAE,SAAS,CAAC,IAAI;QACpB,MAAM,EAAE,KAAK;QACb,OAAO,EAAE;YACP,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