@aws-amplify/graphql-api-construct 1.7.1-gen2-release.0 → 1.8.0-data-schema-generator.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/.jsii +256 -331
  2. package/API.md +9 -17
  3. package/CHANGELOG.md +7 -2
  4. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  5. package/lib/amplify-graphql-api.js +3 -3
  6. package/lib/amplify-graphql-definition.js +1 -1
  7. package/lib/index.d.ts +1 -1
  8. package/lib/index.js +1 -1
  9. package/lib/internal/authorization-modes.d.ts +1 -12
  10. package/lib/internal/authorization-modes.js +7 -47
  11. package/lib/internal/codegen-assets.js +1 -10
  12. package/lib/internal/data-source-config.js +3 -2
  13. package/lib/model-datasource-strategy-types.d.ts +9 -1
  14. package/lib/model-datasource-strategy-types.js +1 -1
  15. package/lib/sql-model-datasource-strategy.d.ts +7 -1
  16. package/lib/sql-model-datasource-strategy.js +15 -4
  17. package/lib/types.d.ts +5 -51
  18. package/lib/types.js +1 -1
  19. package/node_modules/@aws-amplify/graphql-auth-transformer/API.md +1 -3
  20. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +4 -2
  21. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.d.ts.map +1 -1
  22. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js +43 -52
  23. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js.map +1 -1
  24. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.d.ts.map +1 -1
  25. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.js +0 -1
  26. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.js.map +1 -1
  27. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts +1 -2
  28. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts.map +1 -1
  29. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.js.map +1 -1
  30. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts +1 -2
  31. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts.map +1 -1
  32. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js +11 -22
  33. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js.map +1 -1
  34. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.d.ts.map +1 -1
  35. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js +4 -11
  36. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js.map +1 -1
  37. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.d.ts +0 -1
  38. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.d.ts.map +1 -1
  39. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.js +1 -10
  40. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.js.map +1 -1
  41. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.d.ts +1 -1
  42. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.d.ts.map +1 -1
  43. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.js +1 -1
  44. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.js.map +1 -1
  45. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.d.ts +1 -1
  46. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.d.ts.map +1 -1
  47. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.js +10 -20
  48. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.js.map +1 -1
  49. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.d.ts +2 -9
  50. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.d.ts.map +1 -1
  51. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.js +9 -16
  52. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.js.map +1 -1
  53. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/index.d.ts +1 -1
  54. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/index.d.ts.map +1 -1
  55. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/index.js +2 -2
  56. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/index.js.map +1 -1
  57. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.d.ts.map +1 -1
  58. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.js +4 -5
  59. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.js.map +1 -1
  60. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.d.ts.map +1 -1
  61. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.js +4 -5
  62. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.js.map +1 -1
  63. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.d.ts.map +1 -1
  64. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.js +4 -5
  65. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.js.map +1 -1
  66. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.d.ts.map +1 -1
  67. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.js +4 -15
  68. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.js.map +1 -1
  69. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.d.ts.map +1 -1
  70. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.js +4 -5
  71. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.js.map +1 -1
  72. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.d.ts.map +1 -1
  73. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.js +2 -8
  74. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.js.map +1 -1
  75. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.d.ts +1 -1
  76. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.d.ts.map +1 -1
  77. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.js +2 -2
  78. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.js.map +1 -1
  79. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.d.ts +2 -3
  80. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.d.ts.map +1 -1
  81. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.js +16 -27
  82. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.js.map +1 -1
  83. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.d.ts.map +1 -1
  84. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js +5 -5
  85. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js.map +1 -1
  86. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.js +3 -3
  87. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.js.map +1 -1
  88. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/subscription.js +1 -1
  89. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/subscription.js.map +1 -1
  90. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/vtl-generator.d.ts +1 -1
  91. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/vtl-generator.d.ts.map +1 -1
  92. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +13 -13
  93. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +1 -1
  94. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +8 -8
  95. package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +0 -6
  96. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.d.ts.map +1 -1
  97. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.js +0 -1
  98. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.js.map +1 -1
  99. package/node_modules/@aws-amplify/graphql-directives/package.json +2 -3
  100. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +1 -1
  101. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +7 -7
  102. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +1 -1
  103. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +7 -7
  104. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +1 -1
  105. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.d.ts +1 -1
  106. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.d.ts.map +1 -1
  107. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js +10 -19
  108. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js.map +1 -1
  109. package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.d.ts.map +1 -1
  110. package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.js +2 -13
  111. package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.js.map +1 -1
  112. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +8 -8
  113. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +1 -1
  114. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  115. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +11 -11
  116. package/node_modules/@aws-amplify/graphql-model-transformer/API.md +3 -3
  117. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +5 -2
  118. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts +0 -1
  119. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts.map +1 -1
  120. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js +1 -2
  121. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js.map +1 -1
  122. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
  123. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +16 -29
  124. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
  125. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts +1 -1
  126. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts.map +1 -1
  127. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js +7 -11
  128. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js.map +1 -1
  129. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  130. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  131. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  132. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts +1 -1
  133. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts.map +1 -1
  134. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js +9 -18
  135. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js.map +1 -1
  136. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts +3 -1
  137. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -1
  138. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +40 -5
  139. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -1
  140. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts.map +1 -1
  141. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js +3 -3
  142. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js.map +1 -1
  143. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.d.ts.map +1 -1
  144. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js +14 -10
  145. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js.map +1 -1
  146. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +7 -7
  147. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +1 -1
  148. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  149. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +7 -7
  150. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +2 -4
  151. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.d.ts +4 -3
  152. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.d.ts.map +1 -1
  153. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.js +4 -7
  154. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.js.map +1 -1
  155. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts +5 -4
  156. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts.map +1 -1
  157. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js +5 -8
  158. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js.map +1 -1
  159. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.d.ts +1 -1
  160. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.d.ts.map +1 -1
  161. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.js +3 -18
  162. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.js.map +1 -1
  163. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js +6 -5
  164. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js.map +1 -1
  165. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.d.ts.map +1 -1
  166. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js +7 -4
  167. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js.map +1 -1
  168. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js +6 -5
  169. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js.map +1 -1
  170. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js.map +1 -1
  171. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.d.ts +3 -2
  172. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.d.ts.map +1 -1
  173. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.js +2 -6
  174. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.js.map +1 -1
  175. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts +5 -4
  176. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts.map +1 -1
  177. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js +4 -7
  178. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js.map +1 -1
  179. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.d.ts +1 -1
  180. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.d.ts.map +1 -1
  181. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.js +3 -18
  182. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.js.map +1 -1
  183. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.d.ts +4 -3
  184. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.d.ts.map +1 -1
  185. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.js +4 -7
  186. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.js.map +1 -1
  187. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts +5 -4
  188. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts.map +1 -1
  189. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js +4 -7
  190. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js.map +1 -1
  191. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.d.ts +1 -1
  192. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.d.ts.map +1 -1
  193. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.js +3 -18
  194. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.js.map +1 -1
  195. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.d.ts +2 -3
  196. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.d.ts.map +1 -1
  197. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.js +3 -6
  198. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.js.map +1 -1
  199. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/generator.d.ts +2 -2
  200. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/generator.d.ts.map +1 -1
  201. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/generator.js.map +1 -1
  202. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.d.ts +1 -2
  203. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.d.ts.map +1 -1
  204. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.js +17 -72
  205. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.js.map +1 -1
  206. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.d.ts +1 -1
  207. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.d.ts.map +1 -1
  208. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.js.map +1 -1
  209. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts +0 -5
  210. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts.map +1 -1
  211. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts +1 -2
  212. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts.map +1 -1
  213. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js +1 -7
  214. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js.map +1 -1
  215. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +9 -9
  216. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +1 -1
  217. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.d.ts +1 -1
  218. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.d.ts.map +1 -1
  219. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.js +9 -20
  220. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.js.map +1 -1
  221. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.d.ts.map +1 -1
  222. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js +3 -14
  223. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js.map +1 -1
  224. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  225. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +8 -8
  226. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +1 -1
  227. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.d.ts.map +1 -1
  228. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js +8 -17
  229. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js.map +1 -1
  230. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +8 -8
  231. package/node_modules/@aws-amplify/graphql-transformer/API.md +2 -1
  232. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +4 -2
  233. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts +2 -2
  234. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts.map +1 -1
  235. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js +2 -1
  236. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js.map +1 -1
  237. package/node_modules/@aws-amplify/graphql-transformer/package.json +15 -15
  238. package/node_modules/@aws-amplify/graphql-transformer/src/graphql-transformer.ts +5 -1
  239. package/node_modules/@aws-amplify/graphql-transformer-core/API.md +7 -1
  240. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +5 -2
  241. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.d.ts +4 -3
  242. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.d.ts.map +1 -1
  243. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.js +11 -1
  244. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.js.map +1 -1
  245. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.d.ts +4 -3
  246. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.d.ts.map +1 -1
  247. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.js +4 -2
  248. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.js.map +1 -1
  249. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.d.ts +1 -0
  250. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.d.ts.map +1 -1
  251. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.js +7 -7
  252. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.js.map +1 -1
  253. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.d.ts +2 -0
  254. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.d.ts.map +1 -1
  255. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.js +2 -0
  256. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.js.map +1 -1
  257. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +5 -5
  258. package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +26 -4
  259. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +5 -2
  260. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +13 -1
  261. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts.map +1 -1
  262. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js +5 -1
  263. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js.map +1 -1
  264. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts +0 -1
  265. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts.map +1 -1
  266. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-provider.d.ts +3 -3
  267. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-provider.d.ts.map +1 -1
  268. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +2 -2
  269. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +39 -1
  270. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/synth-parameters.ts +0 -1
  271. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transformer-context-provider.ts +2 -3
  272. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  273. package/node_modules/graphql-transformer-common/API.md +3 -4
  274. package/node_modules/graphql-transformer-common/CHANGELOG.md +4 -2
  275. package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts +3 -4
  276. package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts.map +1 -1
  277. package/node_modules/graphql-transformer-common/lib/ResourceConstants.js +3 -4
  278. package/node_modules/graphql-transformer-common/lib/ResourceConstants.js.map +1 -1
  279. package/node_modules/graphql-transformer-common/package.json +2 -2
  280. package/package.json +19 -19
  281. package/src/amplify-graphql-api.ts +1 -2
  282. package/src/index.ts +0 -1
  283. package/src/internal/authorization-modes.ts +8 -57
  284. package/src/internal/codegen-assets.ts +2 -11
  285. package/src/internal/data-source-config.ts +5 -1
  286. package/src/model-datasource-strategy-types.ts +11 -1
  287. package/src/sql-model-datasource-strategy.ts +15 -1
  288. package/src/types.ts +5 -56
  289. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.d.ts +0 -4
  290. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.d.ts.map +0 -1
  291. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.js +0 -12
  292. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.js.map +0 -1
  293. package/node_modules/@aws-amplify/graphql-directives/LICENSE +0 -201
  294. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.d.ts +0 -11
  295. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.d.ts.map +0 -1
  296. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.js +0 -36
  297. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.js.map +0 -1
  298. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.d.ts +0 -11
  299. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.d.ts.map +0 -1
  300. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js +0 -37
  301. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js.map +0 -1
  302. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.d.ts +0 -11
  303. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.d.ts.map +0 -1
  304. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js +0 -37
  305. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js.map +0 -1
  306. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.d.ts +0 -9
  307. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.d.ts.map +0 -1
  308. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.js +0 -172
  309. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.js.map +0 -1
package/.jsii CHANGED
@@ -8,21 +8,21 @@
8
8
  "bundled": {
9
9
  "@aws-amplify/backend-output-schemas": "^0.4.0",
10
10
  "@aws-amplify/backend-output-storage": "^0.2.2",
11
- "@aws-amplify/graphql-auth-transformer": "3.4.3-gen2-release.0",
12
- "@aws-amplify/graphql-default-value-transformer": "2.3.3-gen2-release.0",
13
- "@aws-amplify/graphql-directives": "1.1.0-gen2-release.0",
14
- "@aws-amplify/graphql-function-transformer": "2.1.20-gen2-release.0",
15
- "@aws-amplify/graphql-http-transformer": "2.1.20-gen2-release.0",
16
- "@aws-amplify/graphql-index-transformer": "2.3.9-gen2-release.0",
17
- "@aws-amplify/graphql-maps-to-transformer": "3.4.10-gen2-release.0",
18
- "@aws-amplify/graphql-model-transformer": "2.7.1-gen2-release.0",
19
- "@aws-amplify/graphql-predictions-transformer": "2.1.20-gen2-release.0",
20
- "@aws-amplify/graphql-relational-transformer": "2.5.0-gen2-release.0",
21
- "@aws-amplify/graphql-searchable-transformer": "2.6.3-gen2-release.0",
22
- "@aws-amplify/graphql-sql-transformer": "0.2.9-gen2-release.0",
23
- "@aws-amplify/graphql-transformer": "1.4.1-gen2-release.0",
24
- "@aws-amplify/graphql-transformer-core": "2.5.2-gen2-release.0",
25
- "@aws-amplify/graphql-transformer-interfaces": "3.5.1-gen2-release.0",
11
+ "@aws-amplify/graphql-auth-transformer": "3.4.3-data-schema-generator.0",
12
+ "@aws-amplify/graphql-default-value-transformer": "2.3.3-data-schema-generator.0",
13
+ "@aws-amplify/graphql-directives": "1.0.1",
14
+ "@aws-amplify/graphql-function-transformer": "2.1.20-data-schema-generator.0",
15
+ "@aws-amplify/graphql-http-transformer": "2.1.20-data-schema-generator.0",
16
+ "@aws-amplify/graphql-index-transformer": "2.3.9-data-schema-generator.0",
17
+ "@aws-amplify/graphql-maps-to-transformer": "3.4.10-data-schema-generator.0",
18
+ "@aws-amplify/graphql-model-transformer": "2.8.0-data-schema-generator.0",
19
+ "@aws-amplify/graphql-predictions-transformer": "2.1.20-data-schema-generator.0",
20
+ "@aws-amplify/graphql-relational-transformer": "2.4.3-data-schema-generator.0",
21
+ "@aws-amplify/graphql-searchable-transformer": "2.6.3-data-schema-generator.0",
22
+ "@aws-amplify/graphql-sql-transformer": "0.2.9-data-schema-generator.0",
23
+ "@aws-amplify/graphql-transformer": "1.5.0-data-schema-generator.0",
24
+ "@aws-amplify/graphql-transformer-core": "2.6.0-data-schema-generator.0",
25
+ "@aws-amplify/graphql-transformer-interfaces": "3.6.0-data-schema-generator.0",
26
26
  "@aws-amplify/platform-core": "^0.2.0",
27
27
  "@aws-amplify/plugin-types": "^0.4.1",
28
28
  "charenc": "^0.0.2",
@@ -31,7 +31,7 @@
31
31
  "graceful-fs": "^4.2.11",
32
32
  "graphql": "^15.5.0",
33
33
  "graphql-mapping-template": "4.20.15",
34
- "graphql-transformer-common": "4.29.1-gen2-release.0",
34
+ "graphql-transformer-common": "4.30.0-data-schema-generator.0",
35
35
  "hjson": "^3.2.2",
36
36
  "immer": "^9.0.12",
37
37
  "is-buffer": "^2.0.5",
@@ -3537,7 +3537,7 @@
3537
3537
  "kind": "interface",
3538
3538
  "locationInModule": {
3539
3539
  "filename": "src/types.ts",
3540
- "line": 846
3540
+ "line": 795
3541
3541
  },
3542
3542
  "name": "AddFunctionProps",
3543
3543
  "properties": [
@@ -3550,7 +3550,7 @@
3550
3550
  "immutable": true,
3551
3551
  "locationInModule": {
3552
3552
  "filename": "src/types.ts",
3553
- "line": 850
3553
+ "line": 799
3554
3554
  },
3555
3555
  "name": "dataSource",
3556
3556
  "type": {
@@ -3566,7 +3566,7 @@
3566
3566
  "immutable": true,
3567
3567
  "locationInModule": {
3568
3568
  "filename": "src/types.ts",
3569
- "line": 855
3569
+ "line": 804
3570
3570
  },
3571
3571
  "name": "name",
3572
3572
  "type": {
@@ -3583,7 +3583,7 @@
3583
3583
  "immutable": true,
3584
3584
  "locationInModule": {
3585
3585
  "filename": "src/types.ts",
3586
- "line": 890
3586
+ "line": 839
3587
3587
  },
3588
3588
  "name": "code",
3589
3589
  "optional": true,
@@ -3601,7 +3601,7 @@
3601
3601
  "immutable": true,
3602
3602
  "locationInModule": {
3603
3603
  "filename": "src/types.ts",
3604
- "line": 862
3604
+ "line": 811
3605
3605
  },
3606
3606
  "name": "description",
3607
3607
  "optional": true,
@@ -3619,7 +3619,7 @@
3619
3619
  "immutable": true,
3620
3620
  "locationInModule": {
3621
3621
  "filename": "src/types.ts",
3622
- "line": 869
3622
+ "line": 818
3623
3623
  },
3624
3624
  "name": "requestMappingTemplate",
3625
3625
  "optional": true,
@@ -3637,7 +3637,7 @@
3637
3637
  "immutable": true,
3638
3638
  "locationInModule": {
3639
3639
  "filename": "src/types.ts",
3640
- "line": 876
3640
+ "line": 825
3641
3641
  },
3642
3642
  "name": "responseMappingTemplate",
3643
3643
  "optional": true,
@@ -3655,7 +3655,7 @@
3655
3655
  "immutable": true,
3656
3656
  "locationInModule": {
3657
3657
  "filename": "src/types.ts",
3658
- "line": 883
3658
+ "line": 832
3659
3659
  },
3660
3660
  "name": "runtime",
3661
3661
  "optional": true,
@@ -3951,7 +3951,7 @@
3951
3951
  },
3952
3952
  "locationInModule": {
3953
3953
  "filename": "src/amplify-graphql-api.ts",
3954
- "line": 140
3954
+ "line": 139
3955
3955
  },
3956
3956
  "parameters": [
3957
3957
  {
@@ -3986,7 +3986,7 @@
3986
3986
  "kind": "class",
3987
3987
  "locationInModule": {
3988
3988
  "filename": "src/amplify-graphql-api.ts",
3989
- "line": 86
3989
+ "line": 85
3990
3990
  },
3991
3991
  "methods": [
3992
3992
  {
@@ -3998,7 +3998,7 @@
3998
3998
  },
3999
3999
  "locationInModule": {
4000
4000
  "filename": "src/amplify-graphql-api.ts",
4001
- "line": 287
4001
+ "line": 286
4002
4002
  },
4003
4003
  "name": "addDynamoDbDataSource",
4004
4004
  "parameters": [
@@ -4047,7 +4047,7 @@
4047
4047
  },
4048
4048
  "locationInModule": {
4049
4049
  "filename": "src/amplify-graphql-api.ts",
4050
- "line": 299
4050
+ "line": 298
4051
4051
  },
4052
4052
  "name": "addElasticsearchDataSource",
4053
4053
  "parameters": [
@@ -4094,7 +4094,7 @@
4094
4094
  },
4095
4095
  "locationInModule": {
4096
4096
  "filename": "src/amplify-graphql-api.ts",
4097
- "line": 309
4097
+ "line": 308
4098
4098
  },
4099
4099
  "name": "addEventBridgeDataSource",
4100
4100
  "parameters": [
@@ -4141,7 +4141,7 @@
4141
4141
  },
4142
4142
  "locationInModule": {
4143
4143
  "filename": "src/amplify-graphql-api.ts",
4144
- "line": 391
4144
+ "line": 390
4145
4145
  },
4146
4146
  "name": "addFunction",
4147
4147
  "parameters": [
@@ -4176,7 +4176,7 @@
4176
4176
  },
4177
4177
  "locationInModule": {
4178
4178
  "filename": "src/amplify-graphql-api.ts",
4179
- "line": 320
4179
+ "line": 319
4180
4180
  },
4181
4181
  "name": "addHttpDataSource",
4182
4182
  "parameters": [
@@ -4224,7 +4224,7 @@
4224
4224
  },
4225
4225
  "locationInModule": {
4226
4226
  "filename": "src/amplify-graphql-api.ts",
4227
- "line": 331
4227
+ "line": 330
4228
4228
  },
4229
4229
  "name": "addLambdaDataSource",
4230
4230
  "parameters": [
@@ -4272,7 +4272,7 @@
4272
4272
  },
4273
4273
  "locationInModule": {
4274
4274
  "filename": "src/amplify-graphql-api.ts",
4275
- "line": 342
4275
+ "line": 341
4276
4276
  },
4277
4277
  "name": "addNoneDataSource",
4278
4278
  "parameters": [
@@ -4311,7 +4311,7 @@
4311
4311
  },
4312
4312
  "locationInModule": {
4313
4313
  "filename": "src/amplify-graphql-api.ts",
4314
- "line": 353
4314
+ "line": 352
4315
4315
  },
4316
4316
  "name": "addOpenSearchDataSource",
4317
4317
  "parameters": [
@@ -4359,7 +4359,7 @@
4359
4359
  },
4360
4360
  "locationInModule": {
4361
4361
  "filename": "src/amplify-graphql-api.ts",
4362
- "line": 366
4362
+ "line": 365
4363
4363
  },
4364
4364
  "name": "addRdsDataSource",
4365
4365
  "parameters": [
@@ -4426,7 +4426,7 @@
4426
4426
  },
4427
4427
  "locationInModule": {
4428
4428
  "filename": "src/amplify-graphql-api.ts",
4429
- "line": 382
4429
+ "line": 381
4430
4430
  },
4431
4431
  "name": "addResolver",
4432
4432
  "parameters": [
@@ -4467,7 +4467,7 @@
4467
4467
  "immutable": true,
4468
4468
  "locationInModule": {
4469
4469
  "filename": "src/amplify-graphql-api.ts",
4470
- "line": 121
4470
+ "line": 120
4471
4471
  },
4472
4472
  "name": "apiId",
4473
4473
  "type": {
@@ -4482,7 +4482,7 @@
4482
4482
  "immutable": true,
4483
4483
  "locationInModule": {
4484
4484
  "filename": "src/amplify-graphql-api.ts",
4485
- "line": 101
4485
+ "line": 100
4486
4486
  },
4487
4487
  "name": "generatedFunctionSlots",
4488
4488
  "type": {
@@ -4515,7 +4515,7 @@
4515
4515
  "immutable": true,
4516
4516
  "locationInModule": {
4517
4517
  "filename": "src/amplify-graphql-api.ts",
4518
- "line": 106
4518
+ "line": 105
4519
4519
  },
4520
4520
  "name": "graphqlUrl",
4521
4521
  "type": {
@@ -4531,7 +4531,7 @@
4531
4531
  "immutable": true,
4532
4532
  "locationInModule": {
4533
4533
  "filename": "src/amplify-graphql-api.ts",
4534
- "line": 111
4534
+ "line": 110
4535
4535
  },
4536
4536
  "name": "realtimeUrl",
4537
4537
  "type": {
@@ -4546,7 +4546,7 @@
4546
4546
  "immutable": true,
4547
4547
  "locationInModule": {
4548
4548
  "filename": "src/amplify-graphql-api.ts",
4549
- "line": 90
4549
+ "line": 89
4550
4550
  },
4551
4551
  "name": "resources",
4552
4552
  "type": {
@@ -4562,7 +4562,7 @@
4562
4562
  "immutable": true,
4563
4563
  "locationInModule": {
4564
4564
  "filename": "src/amplify-graphql-api.ts",
4565
- "line": 116
4565
+ "line": 115
4566
4566
  },
4567
4567
  "name": "apiKey",
4568
4568
  "optional": true,
@@ -4585,7 +4585,7 @@
4585
4585
  "kind": "interface",
4586
4586
  "locationInModule": {
4587
4587
  "filename": "src/types.ts",
4588
- "line": 749
4588
+ "line": 698
4589
4589
  },
4590
4590
  "name": "AmplifyGraphqlApiCfnResources",
4591
4591
  "properties": [
@@ -4598,7 +4598,7 @@
4598
4598
  "immutable": true,
4599
4599
  "locationInModule": {
4600
4600
  "filename": "src/types.ts",
4601
- "line": 803
4601
+ "line": 752
4602
4602
  },
4603
4603
  "name": "additionalCfnResources",
4604
4604
  "type": {
@@ -4619,7 +4619,7 @@
4619
4619
  "immutable": true,
4620
4620
  "locationInModule": {
4621
4621
  "filename": "src/types.ts",
4622
- "line": 788
4622
+ "line": 737
4623
4623
  },
4624
4624
  "name": "amplifyDynamoDbTables",
4625
4625
  "type": {
@@ -4640,7 +4640,7 @@
4640
4640
  "immutable": true,
4641
4641
  "locationInModule": {
4642
4642
  "filename": "src/types.ts",
4643
- "line": 778
4643
+ "line": 727
4644
4644
  },
4645
4645
  "name": "cfnDataSources",
4646
4646
  "type": {
@@ -4661,7 +4661,7 @@
4661
4661
  "immutable": true,
4662
4662
  "locationInModule": {
4663
4663
  "filename": "src/types.ts",
4664
- "line": 773
4664
+ "line": 722
4665
4665
  },
4666
4666
  "name": "cfnFunctionConfigurations",
4667
4667
  "type": {
@@ -4682,7 +4682,7 @@
4682
4682
  "immutable": true,
4683
4683
  "locationInModule": {
4684
4684
  "filename": "src/types.ts",
4685
- "line": 798
4685
+ "line": 747
4686
4686
  },
4687
4687
  "name": "cfnFunctions",
4688
4688
  "type": {
@@ -4703,7 +4703,7 @@
4703
4703
  "immutable": true,
4704
4704
  "locationInModule": {
4705
4705
  "filename": "src/types.ts",
4706
- "line": 753
4706
+ "line": 702
4707
4707
  },
4708
4708
  "name": "cfnGraphqlApi",
4709
4709
  "type": {
@@ -4719,7 +4719,7 @@
4719
4719
  "immutable": true,
4720
4720
  "locationInModule": {
4721
4721
  "filename": "src/types.ts",
4722
- "line": 758
4722
+ "line": 707
4723
4723
  },
4724
4724
  "name": "cfnGraphqlSchema",
4725
4725
  "type": {
@@ -4735,7 +4735,7 @@
4735
4735
  "immutable": true,
4736
4736
  "locationInModule": {
4737
4737
  "filename": "src/types.ts",
4738
- "line": 768
4738
+ "line": 717
4739
4739
  },
4740
4740
  "name": "cfnResolvers",
4741
4741
  "type": {
@@ -4756,7 +4756,7 @@
4756
4756
  "immutable": true,
4757
4757
  "locationInModule": {
4758
4758
  "filename": "src/types.ts",
4759
- "line": 793
4759
+ "line": 742
4760
4760
  },
4761
4761
  "name": "cfnRoles",
4762
4762
  "type": {
@@ -4777,7 +4777,7 @@
4777
4777
  "immutable": true,
4778
4778
  "locationInModule": {
4779
4779
  "filename": "src/types.ts",
4780
- "line": 783
4780
+ "line": 732
4781
4781
  },
4782
4782
  "name": "cfnTables",
4783
4783
  "type": {
@@ -4798,7 +4798,7 @@
4798
4798
  "immutable": true,
4799
4799
  "locationInModule": {
4800
4800
  "filename": "src/types.ts",
4801
- "line": 763
4801
+ "line": 712
4802
4802
  },
4803
4803
  "name": "cfnApiKey",
4804
4804
  "optional": true,
@@ -4821,7 +4821,7 @@
4821
4821
  "kind": "interface",
4822
4822
  "locationInModule": {
4823
4823
  "filename": "src/types.ts",
4824
- "line": 666
4824
+ "line": 615
4825
4825
  },
4826
4826
  "name": "AmplifyGraphqlApiProps",
4827
4827
  "properties": [
@@ -4835,7 +4835,7 @@
4835
4835
  "immutable": true,
4836
4836
  "locationInModule": {
4837
4837
  "filename": "src/types.ts",
4838
- "line": 683
4838
+ "line": 632
4839
4839
  },
4840
4840
  "name": "authorizationModes",
4841
4841
  "type": {
@@ -4852,7 +4852,7 @@
4852
4852
  "immutable": true,
4853
4853
  "locationInModule": {
4854
4854
  "filename": "src/types.ts",
4855
- "line": 671
4855
+ "line": 620
4856
4856
  },
4857
4857
  "name": "definition",
4858
4858
  "type": {
@@ -4869,7 +4869,7 @@
4869
4869
  "immutable": true,
4870
4870
  "locationInModule": {
4871
4871
  "filename": "src/types.ts",
4872
- "line": 677
4872
+ "line": 626
4873
4873
  },
4874
4874
  "name": "apiName",
4875
4875
  "optional": true,
@@ -4888,7 +4888,7 @@
4888
4888
  "immutable": true,
4889
4889
  "locationInModule": {
4890
4890
  "filename": "src/types.ts",
4891
- "line": 698
4891
+ "line": 647
4892
4892
  },
4893
4893
  "name": "conflictResolution",
4894
4894
  "optional": true,
@@ -4906,7 +4906,7 @@
4906
4906
  "immutable": true,
4907
4907
  "locationInModule": {
4908
4908
  "filename": "src/types.ts",
4909
- "line": 742
4909
+ "line": 691
4910
4910
  },
4911
4911
  "name": "dataStoreConfiguration",
4912
4912
  "optional": true,
@@ -4926,7 +4926,7 @@
4926
4926
  "immutable": true,
4927
4927
  "locationInModule": {
4928
4928
  "filename": "src/types.ts",
4929
- "line": 691
4929
+ "line": 640
4930
4930
  },
4931
4931
  "name": "functionNameMap",
4932
4932
  "optional": true,
@@ -4949,7 +4949,7 @@
4949
4949
  "immutable": true,
4950
4950
  "locationInModule": {
4951
4951
  "filename": "src/types.ts",
4952
- "line": 713
4952
+ "line": 662
4953
4953
  },
4954
4954
  "name": "functionSlots",
4955
4955
  "optional": true,
@@ -4984,7 +4984,7 @@
4984
4984
  "immutable": true,
4985
4985
  "locationInModule": {
4986
4986
  "filename": "src/types.ts",
4987
- "line": 736
4987
+ "line": 685
4988
4988
  },
4989
4989
  "name": "outputStorageStrategy",
4990
4990
  "optional": true,
@@ -5001,7 +5001,7 @@
5001
5001
  "immutable": true,
5002
5002
  "locationInModule": {
5003
5003
  "filename": "src/types.ts",
5004
- "line": 725
5004
+ "line": 674
5005
5005
  },
5006
5006
  "name": "predictionsBucket",
5007
5007
  "optional": true,
@@ -5019,7 +5019,7 @@
5019
5019
  "immutable": true,
5020
5020
  "locationInModule": {
5021
5021
  "filename": "src/types.ts",
5022
- "line": 707
5022
+ "line": 656
5023
5023
  },
5024
5024
  "name": "stackMappings",
5025
5025
  "optional": true,
@@ -5045,7 +5045,7 @@
5045
5045
  "immutable": true,
5046
5046
  "locationInModule": {
5047
5047
  "filename": "src/types.ts",
5048
- "line": 720
5048
+ "line": 669
5049
5049
  },
5050
5050
  "name": "transformerPlugins",
5051
5051
  "optional": true,
@@ -5067,7 +5067,7 @@
5067
5067
  "immutable": true,
5068
5068
  "locationInModule": {
5069
5069
  "filename": "src/types.ts",
5070
- "line": 731
5070
+ "line": 680
5071
5071
  },
5072
5072
  "name": "translationBehavior",
5073
5073
  "optional": true,
@@ -5090,7 +5090,7 @@
5090
5090
  "kind": "interface",
5091
5091
  "locationInModule": {
5092
5092
  "filename": "src/types.ts",
5093
- "line": 810
5093
+ "line": 759
5094
5094
  },
5095
5095
  "name": "AmplifyGraphqlApiResources",
5096
5096
  "properties": [
@@ -5103,7 +5103,7 @@
5103
5103
  "immutable": true,
5104
5104
  "locationInModule": {
5105
5105
  "filename": "src/types.ts",
5106
- "line": 834
5106
+ "line": 783
5107
5107
  },
5108
5108
  "name": "cfnResources",
5109
5109
  "type": {
@@ -5119,7 +5119,7 @@
5119
5119
  "immutable": true,
5120
5120
  "locationInModule": {
5121
5121
  "filename": "src/types.ts",
5122
- "line": 829
5122
+ "line": 778
5123
5123
  },
5124
5124
  "name": "functions",
5125
5125
  "type": {
@@ -5140,7 +5140,7 @@
5140
5140
  "immutable": true,
5141
5141
  "locationInModule": {
5142
5142
  "filename": "src/types.ts",
5143
- "line": 814
5143
+ "line": 763
5144
5144
  },
5145
5145
  "name": "graphqlApi",
5146
5146
  "type": {
@@ -5156,7 +5156,7 @@
5156
5156
  "immutable": true,
5157
5157
  "locationInModule": {
5158
5158
  "filename": "src/types.ts",
5159
- "line": 839
5159
+ "line": 788
5160
5160
  },
5161
5161
  "name": "nestedStacks",
5162
5162
  "type": {
@@ -5177,7 +5177,7 @@
5177
5177
  "immutable": true,
5178
5178
  "locationInModule": {
5179
5179
  "filename": "src/types.ts",
5180
- "line": 824
5180
+ "line": 773
5181
5181
  },
5182
5182
  "name": "roles",
5183
5183
  "type": {
@@ -5198,7 +5198,7 @@
5198
5198
  "immutable": true,
5199
5199
  "locationInModule": {
5200
5200
  "filename": "src/types.ts",
5201
- "line": 819
5201
+ "line": 768
5202
5202
  },
5203
5203
  "name": "tables",
5204
5204
  "type": {
@@ -5428,7 +5428,7 @@
5428
5428
  "kind": "interface",
5429
5429
  "locationInModule": {
5430
5430
  "filename": "src/types.ts",
5431
- "line": 141
5431
+ "line": 98
5432
5432
  },
5433
5433
  "name": "ApiKeyAuthorizationConfig",
5434
5434
  "properties": [
@@ -5441,7 +5441,7 @@
5441
5441
  "immutable": true,
5442
5442
  "locationInModule": {
5443
5443
  "filename": "src/types.ts",
5444
- "line": 150
5444
+ "line": 107
5445
5445
  },
5446
5446
  "name": "expires",
5447
5447
  "type": {
@@ -5457,7 +5457,7 @@
5457
5457
  "immutable": true,
5458
5458
  "locationInModule": {
5459
5459
  "filename": "src/types.ts",
5460
- "line": 145
5460
+ "line": 102
5461
5461
  },
5462
5462
  "name": "description",
5463
5463
  "optional": true,
@@ -5480,7 +5480,7 @@
5480
5480
  "kind": "interface",
5481
5481
  "locationInModule": {
5482
5482
  "filename": "src/types.ts",
5483
- "line": 173
5483
+ "line": 130
5484
5484
  },
5485
5485
  "name": "AuthorizationModes",
5486
5486
  "properties": [
@@ -5494,7 +5494,7 @@
5494
5494
  "immutable": true,
5495
5495
  "locationInModule": {
5496
5496
  "filename": "src/types.ts",
5497
- "line": 221
5497
+ "line": 170
5498
5498
  },
5499
5499
  "name": "adminRoles",
5500
5500
  "optional": true,
@@ -5517,7 +5517,7 @@
5517
5517
  "immutable": true,
5518
5518
  "locationInModule": {
5519
5519
  "filename": "src/types.ts",
5520
- "line": 209
5520
+ "line": 158
5521
5521
  },
5522
5522
  "name": "apiKeyConfig",
5523
5523
  "optional": true,
@@ -5534,7 +5534,7 @@
5534
5534
  "immutable": true,
5535
5535
  "locationInModule": {
5536
5536
  "filename": "src/types.ts",
5537
- "line": 177
5537
+ "line": 134
5538
5538
  },
5539
5539
  "name": "defaultAuthorizationMode",
5540
5540
  "optional": true,
@@ -5545,14 +5545,14 @@
5545
5545
  {
5546
5546
  "abstract": true,
5547
5547
  "docs": {
5548
- "remarks": "This applies to any IAM principal except Amazon Cognito identity pool's authenticated and unauthenticated roles.\nThis behavior was has recently been improved.\nSee https://docs.amplify.aws/cli/react/tools/cli/migration/iam-auth-updates-for-cdk-construct for details.",
5548
+ "remarks": "Applies to 'public' and 'private' auth strategies.",
5549
5549
  "stability": "stable",
5550
- "summary": "IAM Auth config, required to allow IAM-based access to this API."
5550
+ "summary": "IAM Auth config, required if an 'iam' auth provider is specified in the Api."
5551
5551
  },
5552
5552
  "immutable": true,
5553
5553
  "locationInModule": {
5554
5554
  "filename": "src/types.ts",
5555
- "line": 185
5555
+ "line": 140
5556
5556
  },
5557
5557
  "name": "iamConfig",
5558
5558
  "optional": true,
@@ -5560,24 +5560,6 @@
5560
5560
  "fqn": "@aws-amplify/graphql-api-construct.IAMAuthorizationConfig"
5561
5561
  }
5562
5562
  },
5563
- {
5564
- "abstract": true,
5565
- "docs": {
5566
- "remarks": "Applies to 'public' and 'private' auth strategies.",
5567
- "stability": "stable",
5568
- "summary": "Cognito Identity Pool config, required if an 'identityPool' auth provider is specified in the Api."
5569
- },
5570
- "immutable": true,
5571
- "locationInModule": {
5572
- "filename": "src/types.ts",
5573
- "line": 191
5574
- },
5575
- "name": "identityPoolConfig",
5576
- "optional": true,
5577
- "type": {
5578
- "fqn": "@aws-amplify/graphql-api-construct.IdentityPoolAuthorizationConfig"
5579
- }
5580
- },
5581
5563
  {
5582
5564
  "abstract": true,
5583
5565
  "docs": {
@@ -5588,7 +5570,7 @@
5588
5570
  "immutable": true,
5589
5571
  "locationInModule": {
5590
5572
  "filename": "src/types.ts",
5591
- "line": 215
5573
+ "line": 164
5592
5574
  },
5593
5575
  "name": "lambdaConfig",
5594
5576
  "optional": true,
@@ -5606,7 +5588,7 @@
5606
5588
  "immutable": true,
5607
5589
  "locationInModule": {
5608
5590
  "filename": "src/types.ts",
5609
- "line": 203
5591
+ "line": 152
5610
5592
  },
5611
5593
  "name": "oidcConfig",
5612
5594
  "optional": true,
@@ -5624,7 +5606,7 @@
5624
5606
  "immutable": true,
5625
5607
  "locationInModule": {
5626
5608
  "filename": "src/types.ts",
5627
- "line": 197
5609
+ "line": 146
5628
5610
  },
5629
5611
  "name": "userPoolConfig",
5630
5612
  "optional": true,
@@ -5649,7 +5631,7 @@
5649
5631
  "kind": "interface",
5650
5632
  "locationInModule": {
5651
5633
  "filename": "src/types.ts",
5652
- "line": 242
5634
+ "line": 191
5653
5635
  },
5654
5636
  "name": "AutomergeConflictResolutionStrategy",
5655
5637
  "properties": [
@@ -5663,7 +5645,7 @@
5663
5645
  "immutable": true,
5664
5646
  "locationInModule": {
5665
5647
  "filename": "src/types.ts",
5666
- "line": 247
5648
+ "line": 196
5667
5649
  },
5668
5650
  "name": "handlerType",
5669
5651
  "type": {
@@ -5688,7 +5670,7 @@
5688
5670
  "kind": "interface",
5689
5671
  "locationInModule": {
5690
5672
  "filename": "src/types.ts",
5691
- "line": 290
5673
+ "line": 239
5692
5674
  },
5693
5675
  "name": "ConflictResolution",
5694
5676
  "symbolId": "src/types:ConflictResolution"
@@ -5704,7 +5686,7 @@
5704
5686
  "kind": "interface",
5705
5687
  "locationInModule": {
5706
5688
  "filename": "src/types.ts",
5707
- "line": 232
5689
+ "line": 181
5708
5690
  },
5709
5691
  "name": "ConflictResolutionStrategyBase",
5710
5692
  "properties": [
@@ -5717,7 +5699,7 @@
5717
5699
  "immutable": true,
5718
5700
  "locationInModule": {
5719
5701
  "filename": "src/types.ts",
5720
- "line": 236
5702
+ "line": 185
5721
5703
  },
5722
5704
  "name": "detectionType",
5723
5705
  "type": {
@@ -5741,7 +5723,7 @@
5741
5723
  "kind": "interface",
5742
5724
  "locationInModule": {
5743
5725
  "filename": "src/types.ts",
5744
- "line": 264
5726
+ "line": 213
5745
5727
  },
5746
5728
  "name": "CustomConflictResolutionStrategy",
5747
5729
  "properties": [
@@ -5754,7 +5736,7 @@
5754
5736
  "immutable": true,
5755
5737
  "locationInModule": {
5756
5738
  "filename": "src/types.ts",
5757
- "line": 275
5739
+ "line": 224
5758
5740
  },
5759
5741
  "name": "conflictHandler",
5760
5742
  "type": {
@@ -5771,7 +5753,7 @@
5771
5753
  "immutable": true,
5772
5754
  "locationInModule": {
5773
5755
  "filename": "src/types.ts",
5774
- "line": 270
5756
+ "line": 219
5775
5757
  },
5776
5758
  "name": "handlerType",
5777
5759
  "type": {
@@ -5793,7 +5775,7 @@
5793
5775
  "kind": "interface",
5794
5776
  "locationInModule": {
5795
5777
  "filename": "src/model-datasource-strategy-types.ts",
5796
- "line": 180
5778
+ "line": 190
5797
5779
  },
5798
5780
  "name": "CustomSqlDataSourceStrategy",
5799
5781
  "properties": [
@@ -5806,7 +5788,7 @@
5806
5788
  "immutable": true,
5807
5789
  "locationInModule": {
5808
5790
  "filename": "src/model-datasource-strategy-types.ts",
5809
- "line": 185
5791
+ "line": 195
5810
5792
  },
5811
5793
  "name": "fieldName",
5812
5794
  "type": {
@@ -5822,7 +5804,7 @@
5822
5804
  "immutable": true,
5823
5805
  "locationInModule": {
5824
5806
  "filename": "src/model-datasource-strategy-types.ts",
5825
- "line": 188
5807
+ "line": 198
5826
5808
  },
5827
5809
  "name": "strategy",
5828
5810
  "type": {
@@ -5838,7 +5820,7 @@
5838
5820
  "immutable": true,
5839
5821
  "locationInModule": {
5840
5822
  "filename": "src/model-datasource-strategy-types.ts",
5841
- "line": 182
5823
+ "line": 192
5842
5824
  },
5843
5825
  "name": "typeName",
5844
5826
  "type": {
@@ -5859,7 +5841,7 @@
5859
5841
  "kind": "interface",
5860
5842
  "locationInModule": {
5861
5843
  "filename": "src/types.ts",
5862
- "line": 295
5844
+ "line": 244
5863
5845
  },
5864
5846
  "name": "DataStoreConfiguration",
5865
5847
  "properties": [
@@ -5872,7 +5854,7 @@
5872
5854
  "immutable": true,
5873
5855
  "locationInModule": {
5874
5856
  "filename": "src/types.ts",
5875
- "line": 304
5857
+ "line": 253
5876
5858
  },
5877
5859
  "name": "models",
5878
5860
  "optional": true,
@@ -5907,7 +5889,7 @@
5907
5889
  "immutable": true,
5908
5890
  "locationInModule": {
5909
5891
  "filename": "src/types.ts",
5910
- "line": 299
5892
+ "line": 248
5911
5893
  },
5912
5894
  "name": "project",
5913
5895
  "optional": true,
@@ -5989,7 +5971,7 @@
5989
5971
  "kind": "interface",
5990
5972
  "locationInModule": {
5991
5973
  "filename": "src/types.ts",
5992
- "line": 326
5974
+ "line": 275
5993
5975
  },
5994
5976
  "name": "FunctionSlotBase",
5995
5977
  "properties": [
@@ -6002,7 +5984,7 @@
6002
5984
  "immutable": true,
6003
5985
  "locationInModule": {
6004
5986
  "filename": "src/types.ts",
6005
- "line": 330
5987
+ "line": 279
6006
5988
  },
6007
5989
  "name": "fieldName",
6008
5990
  "type": {
@@ -6018,7 +6000,7 @@
6018
6000
  "immutable": true,
6019
6001
  "locationInModule": {
6020
6002
  "filename": "src/types.ts",
6021
- "line": 341
6003
+ "line": 290
6022
6004
  },
6023
6005
  "name": "function",
6024
6006
  "type": {
@@ -6035,7 +6017,7 @@
6035
6017
  "immutable": true,
6036
6018
  "locationInModule": {
6037
6019
  "filename": "src/types.ts",
6038
- "line": 336
6020
+ "line": 285
6039
6021
  },
6040
6022
  "name": "slotIndex",
6041
6023
  "type": {
@@ -6057,7 +6039,7 @@
6057
6039
  "kind": "interface",
6058
6040
  "locationInModule": {
6059
6041
  "filename": "src/types.ts",
6060
- "line": 311
6042
+ "line": 260
6061
6043
  },
6062
6044
  "name": "FunctionSlotOverride",
6063
6045
  "properties": [
@@ -6071,7 +6053,7 @@
6071
6053
  "immutable": true,
6072
6054
  "locationInModule": {
6073
6055
  "filename": "src/types.ts",
6074
- "line": 315
6056
+ "line": 264
6075
6057
  },
6076
6058
  "name": "requestMappingTemplate",
6077
6059
  "optional": true,
@@ -6089,7 +6071,7 @@
6089
6071
  "immutable": true,
6090
6072
  "locationInModule": {
6091
6073
  "filename": "src/types.ts",
6092
- "line": 320
6074
+ "line": 269
6093
6075
  },
6094
6076
  "name": "responseMappingTemplate",
6095
6077
  "optional": true,
@@ -6118,50 +6100,15 @@
6118
6100
  {
6119
6101
  "abstract": true,
6120
6102
  "docs": {
6121
- "deprecated": "Use 'enableIamAuthorizationMode' and IAM Policy to control access for IAM principals.\nSee https://docs.amplify.aws/cli/react/tools/cli/migration/iam-auth-updates-for-cdk-construct for details.",
6122
- "remarks": "If an IRole is provided, the role `name` will be used for matching.\nIf a string is provided, the raw value will be used for matching.",
6123
- "stability": "deprecated",
6124
- "summary": "A list of IAM roles which will be granted full read/write access to the generated model if IAM auth is enabled."
6125
- },
6126
- "immutable": true,
6127
- "locationInModule": {
6128
- "filename": "src/types.ts",
6129
- "line": 61
6130
- },
6131
- "name": "allowListedRoles",
6132
- "optional": true,
6133
- "type": {
6134
- "collection": {
6135
- "elementtype": {
6136
- "union": {
6137
- "types": [
6138
- {
6139
- "primitive": "string"
6140
- },
6141
- {
6142
- "fqn": "aws-cdk-lib.aws_iam.IRole"
6143
- }
6144
- ]
6145
- }
6146
- },
6147
- "kind": "array"
6148
- }
6149
- }
6150
- },
6151
- {
6152
- "abstract": true,
6153
- "docs": {
6154
- "deprecated": "Use 'IdentityPoolAuthorizationConfig.authenticatedUserRole' instead.\nSee https://docs.amplify.aws/cli/react/tools/cli/migration/iam-auth-updates-for-cdk-construct for details.",
6155
- "stability": "deprecated",
6103
+ "stability": "stable",
6156
6104
  "summary": "Authenticated user role, applies to { provider: iam, allow: private } access."
6157
6105
  },
6158
6106
  "immutable": true,
6159
6107
  "locationInModule": {
6160
6108
  "filename": "src/types.ts",
6161
- "line": 43
6109
+ "line": 37
6162
6110
  },
6163
6111
  "name": "authenticatedUserRole",
6164
- "optional": true,
6165
6112
  "type": {
6166
6113
  "fqn": "aws-cdk-lib.aws_iam.IRole"
6167
6114
  }
@@ -6169,59 +6116,66 @@
6169
6116
  {
6170
6117
  "abstract": true,
6171
6118
  "docs": {
6172
- "custom": {
6173
- "auth": "directive rules are not applied.\nInstead, access should be defined by IAM Policy, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsappsync.html.\n\nDoes not apply to authenticated and unauthenticated IAM Roles attached to Cognito Identity Pool.\nUse IdentityPoolAuthorizationConfig to configure their access."
6174
- },
6175
- "remarks": "If enabled",
6119
+ "remarks": "Format: `<region>:<id string>`",
6176
6120
  "stability": "stable",
6177
- "summary": "Enables access for IAM principals."
6121
+ "summary": "ID for the Cognito Identity Pool vending auth and unauth roles."
6178
6122
  },
6179
6123
  "immutable": true,
6180
6124
  "locationInModule": {
6181
6125
  "filename": "src/types.ts",
6182
- "line": 70
6126
+ "line": 32
6183
6127
  },
6184
- "name": "enableIamAuthorizationMode",
6185
- "optional": true,
6128
+ "name": "identityPoolId",
6186
6129
  "type": {
6187
- "primitive": "boolean"
6130
+ "primitive": "string"
6188
6131
  }
6189
6132
  },
6190
6133
  {
6191
6134
  "abstract": true,
6192
6135
  "docs": {
6193
- "deprecated": "Use 'IdentityPoolAuthorizationConfig.identityPoolId' instead.\nSee https://docs.amplify.aws/cli/react/tools/cli/migration/iam-auth-updates-for-cdk-construct for details.",
6194
- "remarks": "Format: `<region>:<id string>`",
6195
- "stability": "deprecated",
6196
- "summary": "ID for the Cognito Identity Pool vending auth and unauth roles."
6136
+ "stability": "stable",
6137
+ "summary": "Unauthenticated user role, applies to { provider: iam, allow: public } access."
6197
6138
  },
6198
6139
  "immutable": true,
6199
6140
  "locationInModule": {
6200
6141
  "filename": "src/types.ts",
6201
- "line": 35
6142
+ "line": 42
6202
6143
  },
6203
- "name": "identityPoolId",
6204
- "optional": true,
6144
+ "name": "unauthenticatedUserRole",
6205
6145
  "type": {
6206
- "primitive": "string"
6146
+ "fqn": "aws-cdk-lib.aws_iam.IRole"
6207
6147
  }
6208
6148
  },
6209
6149
  {
6210
6150
  "abstract": true,
6211
6151
  "docs": {
6212
- "deprecated": "Use 'IdentityPoolAuthorizationConfig.unauthenticatedUserRole' instead.\nSee https://docs.amplify.aws/cli/react/tools/cli/migration/iam-auth-updates-for-cdk-construct for details.",
6213
- "stability": "deprecated",
6214
- "summary": "Unauthenticated user role, applies to { provider: iam, allow: public } access."
6152
+ "remarks": "If an IRole is provided, the role `name` will be used for matching.\nIf a string is provided, the raw value will be used for matching.",
6153
+ "stability": "stable",
6154
+ "summary": "A list of IAM roles which will be granted full read/write access to the generated model if IAM auth is enabled."
6215
6155
  },
6216
6156
  "immutable": true,
6217
6157
  "locationInModule": {
6218
6158
  "filename": "src/types.ts",
6219
- "line": 51
6159
+ "line": 49
6220
6160
  },
6221
- "name": "unauthenticatedUserRole",
6161
+ "name": "allowListedRoles",
6222
6162
  "optional": true,
6223
6163
  "type": {
6224
- "fqn": "aws-cdk-lib.aws_iam.IRole"
6164
+ "collection": {
6165
+ "elementtype": {
6166
+ "union": {
6167
+ "types": [
6168
+ {
6169
+ "primitive": "string"
6170
+ },
6171
+ {
6172
+ "fqn": "aws-cdk-lib.aws_iam.IRole"
6173
+ }
6174
+ ]
6175
+ }
6176
+ },
6177
+ "kind": "array"
6178
+ }
6225
6179
  }
6226
6180
  }
6227
6181
  ],
@@ -6237,7 +6191,7 @@
6237
6191
  "kind": "interface",
6238
6192
  "locationInModule": {
6239
6193
  "filename": "src/types.ts",
6240
- "line": 600
6194
+ "line": 549
6241
6195
  },
6242
6196
  "name": "IAmplifyGraphqlDefinition",
6243
6197
  "properties": [
@@ -6252,7 +6206,7 @@
6252
6206
  "immutable": true,
6253
6207
  "locationInModule": {
6254
6208
  "filename": "src/types.ts",
6255
- "line": 625
6209
+ "line": 574
6256
6210
  },
6257
6211
  "name": "dataSourceStrategies",
6258
6212
  "type": {
@@ -6286,7 +6240,7 @@
6286
6240
  "immutable": true,
6287
6241
  "locationInModule": {
6288
6242
  "filename": "src/types.ts",
6289
- "line": 611
6243
+ "line": 560
6290
6244
  },
6291
6245
  "name": "functionSlots",
6292
6246
  "type": {
@@ -6320,7 +6274,7 @@
6320
6274
  "immutable": true,
6321
6275
  "locationInModule": {
6322
6276
  "filename": "src/types.ts",
6323
- "line": 605
6277
+ "line": 554
6324
6278
  },
6325
6279
  "name": "schema",
6326
6280
  "type": {
@@ -6337,7 +6291,7 @@
6337
6291
  "immutable": true,
6338
6292
  "locationInModule": {
6339
6293
  "filename": "src/types.ts",
6340
- "line": 631
6294
+ "line": 580
6341
6295
  },
6342
6296
  "name": "customSqlDataSourceStrategies",
6343
6297
  "optional": true,
@@ -6361,7 +6315,7 @@
6361
6315
  "immutable": true,
6362
6316
  "locationInModule": {
6363
6317
  "filename": "src/types.ts",
6364
- "line": 619
6318
+ "line": 568
6365
6319
  },
6366
6320
  "name": "referencedLambdaFunctions",
6367
6321
  "optional": true,
@@ -6387,7 +6341,7 @@
6387
6341
  "kind": "interface",
6388
6342
  "locationInModule": {
6389
6343
  "filename": "src/types.ts",
6390
- "line": 637
6344
+ "line": 586
6391
6345
  },
6392
6346
  "name": "IBackendOutputEntry",
6393
6347
  "properties": [
@@ -6400,7 +6354,7 @@
6400
6354
  "immutable": true,
6401
6355
  "locationInModule": {
6402
6356
  "filename": "src/types.ts",
6403
- "line": 646
6357
+ "line": 595
6404
6358
  },
6405
6359
  "name": "payload",
6406
6360
  "type": {
@@ -6421,7 +6375,7 @@
6421
6375
  "immutable": true,
6422
6376
  "locationInModule": {
6423
6377
  "filename": "src/types.ts",
6424
- "line": 641
6378
+ "line": 590
6425
6379
  },
6426
6380
  "name": "version",
6427
6381
  "type": {
@@ -6441,7 +6395,7 @@
6441
6395
  "kind": "interface",
6442
6396
  "locationInModule": {
6443
6397
  "filename": "src/types.ts",
6444
- "line": 652
6398
+ "line": 601
6445
6399
  },
6446
6400
  "methods": [
6447
6401
  {
@@ -6452,7 +6406,7 @@
6452
6406
  },
6453
6407
  "locationInModule": {
6454
6408
  "filename": "src/types.ts",
6455
- "line": 659
6409
+ "line": 608
6456
6410
  },
6457
6411
  "name": "addBackendOutputEntry",
6458
6412
  "parameters": [
@@ -6480,73 +6434,6 @@
6480
6434
  "name": "IBackendOutputStorageStrategy",
6481
6435
  "symbolId": "src/types:IBackendOutputStorageStrategy"
6482
6436
  },
6483
- "@aws-amplify/graphql-api-construct.IdentityPoolAuthorizationConfig": {
6484
- "assembly": "@aws-amplify/graphql-api-construct",
6485
- "datatype": true,
6486
- "docs": {
6487
- "stability": "stable",
6488
- "summary": "Configuration for Cognito Identity Pool Authorization on the Graphql Api."
6489
- },
6490
- "fqn": "@aws-amplify/graphql-api-construct.IdentityPoolAuthorizationConfig",
6491
- "kind": "interface",
6492
- "locationInModule": {
6493
- "filename": "src/types.ts",
6494
- "line": 77
6495
- },
6496
- "name": "IdentityPoolAuthorizationConfig",
6497
- "properties": [
6498
- {
6499
- "abstract": true,
6500
- "docs": {
6501
- "stability": "stable",
6502
- "summary": "Authenticated user role, applies to { provider: iam, allow: private } access."
6503
- },
6504
- "immutable": true,
6505
- "locationInModule": {
6506
- "filename": "src/types.ts",
6507
- "line": 87
6508
- },
6509
- "name": "authenticatedUserRole",
6510
- "type": {
6511
- "fqn": "aws-cdk-lib.aws_iam.IRole"
6512
- }
6513
- },
6514
- {
6515
- "abstract": true,
6516
- "docs": {
6517
- "remarks": "Format: `<region>:<id string>`",
6518
- "stability": "stable",
6519
- "summary": "ID for the Cognito Identity Pool vending auth and unauth roles."
6520
- },
6521
- "immutable": true,
6522
- "locationInModule": {
6523
- "filename": "src/types.ts",
6524
- "line": 82
6525
- },
6526
- "name": "identityPoolId",
6527
- "type": {
6528
- "primitive": "string"
6529
- }
6530
- },
6531
- {
6532
- "abstract": true,
6533
- "docs": {
6534
- "stability": "stable",
6535
- "summary": "Unauthenticated user role, applies to { provider: iam, allow: public } access."
6536
- },
6537
- "immutable": true,
6538
- "locationInModule": {
6539
- "filename": "src/types.ts",
6540
- "line": 92
6541
- },
6542
- "name": "unauthenticatedUserRole",
6543
- "type": {
6544
- "fqn": "aws-cdk-lib.aws_iam.IRole"
6545
- }
6546
- }
6547
- ],
6548
- "symbolId": "src/types:IdentityPoolAuthorizationConfig"
6549
- },
6550
6437
  "@aws-amplify/graphql-api-construct.LambdaAuthorizationConfig": {
6551
6438
  "assembly": "@aws-amplify/graphql-api-construct",
6552
6439
  "datatype": true,
@@ -6558,7 +6445,7 @@
6558
6445
  "kind": "interface",
6559
6446
  "locationInModule": {
6560
6447
  "filename": "src/types.ts",
6561
- "line": 156
6448
+ "line": 113
6562
6449
  },
6563
6450
  "name": "LambdaAuthorizationConfig",
6564
6451
  "properties": [
@@ -6571,7 +6458,7 @@
6571
6458
  "immutable": true,
6572
6459
  "locationInModule": {
6573
6460
  "filename": "src/types.ts",
6574
- "line": 160
6461
+ "line": 117
6575
6462
  },
6576
6463
  "name": "function",
6577
6464
  "type": {
@@ -6587,7 +6474,7 @@
6587
6474
  "immutable": true,
6588
6475
  "locationInModule": {
6589
6476
  "filename": "src/types.ts",
6590
- "line": 165
6477
+ "line": 122
6591
6478
  },
6592
6479
  "name": "ttl",
6593
6480
  "type": {
@@ -6611,7 +6498,7 @@
6611
6498
  "kind": "interface",
6612
6499
  "locationInModule": {
6613
6500
  "filename": "src/types.ts",
6614
- "line": 347
6501
+ "line": 296
6615
6502
  },
6616
6503
  "name": "MutationFunctionSlot",
6617
6504
  "properties": [
@@ -6625,7 +6512,7 @@
6625
6512
  "immutable": true,
6626
6513
  "locationInModule": {
6627
6514
  "filename": "src/types.ts",
6628
- "line": 357
6515
+ "line": 306
6629
6516
  },
6630
6517
  "name": "slotName",
6631
6518
  "type": {
@@ -6641,7 +6528,7 @@
6641
6528
  "immutable": true,
6642
6529
  "locationInModule": {
6643
6530
  "filename": "src/types.ts",
6644
- "line": 351
6531
+ "line": 300
6645
6532
  },
6646
6533
  "name": "typeName",
6647
6534
  "type": {
@@ -6662,7 +6549,7 @@
6662
6549
  "kind": "interface",
6663
6550
  "locationInModule": {
6664
6551
  "filename": "src/types.ts",
6665
- "line": 108
6552
+ "line": 65
6666
6553
  },
6667
6554
  "name": "OIDCAuthorizationConfig",
6668
6555
  "properties": [
@@ -6675,7 +6562,7 @@
6675
6562
  "immutable": true,
6676
6563
  "locationInModule": {
6677
6564
  "filename": "src/types.ts",
6678
- "line": 117
6565
+ "line": 74
6679
6566
  },
6680
6567
  "name": "oidcIssuerUrl",
6681
6568
  "type": {
@@ -6691,7 +6578,7 @@
6691
6578
  "immutable": true,
6692
6579
  "locationInModule": {
6693
6580
  "filename": "src/types.ts",
6694
- "line": 112
6581
+ "line": 69
6695
6582
  },
6696
6583
  "name": "oidcProviderName",
6697
6584
  "type": {
@@ -6708,7 +6595,7 @@
6708
6595
  "immutable": true,
6709
6596
  "locationInModule": {
6710
6597
  "filename": "src/types.ts",
6711
- "line": 129
6598
+ "line": 86
6712
6599
  },
6713
6600
  "name": "tokenExpiryFromAuth",
6714
6601
  "type": {
@@ -6725,7 +6612,7 @@
6725
6612
  "immutable": true,
6726
6613
  "locationInModule": {
6727
6614
  "filename": "src/types.ts",
6728
- "line": 135
6615
+ "line": 92
6729
6616
  },
6730
6617
  "name": "tokenExpiryFromIssue",
6731
6618
  "type": {
@@ -6742,7 +6629,7 @@
6742
6629
  "immutable": true,
6743
6630
  "locationInModule": {
6744
6631
  "filename": "src/types.ts",
6745
- "line": 123
6632
+ "line": 80
6746
6633
  },
6747
6634
  "name": "clientId",
6748
6635
  "optional": true,
@@ -6767,7 +6654,7 @@
6767
6654
  "kind": "interface",
6768
6655
  "locationInModule": {
6769
6656
  "filename": "src/types.ts",
6770
- "line": 253
6657
+ "line": 202
6771
6658
  },
6772
6659
  "name": "OptimisticConflictResolutionStrategy",
6773
6660
  "properties": [
@@ -6781,7 +6668,7 @@
6781
6668
  "immutable": true,
6782
6669
  "locationInModule": {
6783
6670
  "filename": "src/types.ts",
6784
- "line": 258
6671
+ "line": 207
6785
6672
  },
6786
6673
  "name": "handlerType",
6787
6674
  "type": {
@@ -6802,7 +6689,7 @@
6802
6689
  "kind": "interface",
6803
6690
  "locationInModule": {
6804
6691
  "filename": "src/types.ts",
6805
- "line": 498
6692
+ "line": 447
6806
6693
  },
6807
6694
  "name": "PartialTranslationBehavior",
6808
6695
  "properties": [
@@ -6817,7 +6704,7 @@
6817
6704
  "immutable": true,
6818
6705
  "locationInModule": {
6819
6706
  "filename": "src/types.ts",
6820
- "line": 584
6707
+ "line": 533
6821
6708
  },
6822
6709
  "name": "allowDestructiveGraphqlSchemaUpdates",
6823
6710
  "optional": true,
@@ -6835,7 +6722,7 @@
6835
6722
  "immutable": true,
6836
6723
  "locationInModule": {
6837
6724
  "filename": "src/types.ts",
6838
- "line": 510
6725
+ "line": 459
6839
6726
  },
6840
6727
  "name": "disableResolverDeduping",
6841
6728
  "optional": true,
@@ -6857,7 +6744,7 @@
6857
6744
  "immutable": true,
6858
6745
  "locationInModule": {
6859
6746
  "filename": "src/types.ts",
6860
- "line": 549
6747
+ "line": 498
6861
6748
  },
6862
6749
  "name": "enableAutoIndexQueryNames",
6863
6750
  "optional": true,
@@ -6876,7 +6763,7 @@
6876
6763
  "immutable": true,
6877
6764
  "locationInModule": {
6878
6765
  "filename": "src/types.ts",
6879
- "line": 564
6766
+ "line": 513
6880
6767
  },
6881
6768
  "name": "enableSearchNodeToNodeEncryption",
6882
6769
  "optional": true,
@@ -6894,7 +6781,7 @@
6894
6781
  "immutable": true,
6895
6782
  "locationInModule": {
6896
6783
  "filename": "src/types.ts",
6897
- "line": 570
6784
+ "line": 519
6898
6785
  },
6899
6786
  "name": "enableTransformerCfnOutputs",
6900
6787
  "optional": true,
@@ -6912,7 +6799,7 @@
6912
6799
  "immutable": true,
6913
6800
  "locationInModule": {
6914
6801
  "filename": "src/types.ts",
6915
- "line": 529
6802
+ "line": 478
6916
6803
  },
6917
6804
  "name": "populateOwnerFieldForStaticGroupAuth",
6918
6805
  "optional": true,
@@ -6931,7 +6818,7 @@
6931
6818
  "immutable": true,
6932
6819
  "locationInModule": {
6933
6820
  "filename": "src/types.ts",
6934
- "line": 594
6821
+ "line": 543
6935
6822
  },
6936
6823
  "name": "replaceTableUponGsiUpdate",
6937
6824
  "optional": true,
@@ -6949,7 +6836,7 @@
6949
6836
  "immutable": true,
6950
6837
  "locationInModule": {
6951
6838
  "filename": "src/types.ts",
6952
- "line": 555
6839
+ "line": 504
6953
6840
  },
6954
6841
  "name": "respectPrimaryKeyAttributesOnConnectionField",
6955
6842
  "optional": true,
@@ -6967,7 +6854,7 @@
6967
6854
  "immutable": true,
6968
6855
  "locationInModule": {
6969
6856
  "filename": "src/types.ts",
6970
- "line": 516
6857
+ "line": 465
6971
6858
  },
6972
6859
  "name": "sandboxModeEnabled",
6973
6860
  "optional": true,
@@ -6988,7 +6875,7 @@
6988
6875
  "immutable": true,
6989
6876
  "locationInModule": {
6990
6877
  "filename": "src/types.ts",
6991
- "line": 542
6878
+ "line": 491
6992
6879
  },
6993
6880
  "name": "secondaryKeyAsGSI",
6994
6881
  "optional": true,
@@ -7009,7 +6896,7 @@
7009
6896
  "immutable": true,
7010
6897
  "locationInModule": {
7011
6898
  "filename": "src/types.ts",
7012
- "line": 503
6899
+ "line": 452
7013
6900
  },
7014
6901
  "name": "shouldDeepMergeDirectiveConfigDefaults",
7015
6902
  "optional": true,
@@ -7028,7 +6915,7 @@
7028
6915
  "immutable": true,
7029
6916
  "locationInModule": {
7030
6917
  "filename": "src/types.ts",
7031
- "line": 536
6918
+ "line": 485
7032
6919
  },
7033
6920
  "name": "suppressApiKeyGeneration",
7034
6921
  "optional": true,
@@ -7046,7 +6933,7 @@
7046
6933
  "immutable": true,
7047
6934
  "locationInModule": {
7048
6935
  "filename": "src/types.ts",
7049
- "line": 523
6936
+ "line": 472
7050
6937
  },
7051
6938
  "name": "useSubUsernameForDefaultIdentityClaim",
7052
6939
  "optional": true,
@@ -7156,7 +7043,7 @@
7156
7043
  "kind": "interface",
7157
7044
  "locationInModule": {
7158
7045
  "filename": "src/types.ts",
7159
- "line": 363
7046
+ "line": 312
7160
7047
  },
7161
7048
  "name": "QueryFunctionSlot",
7162
7049
  "properties": [
@@ -7170,7 +7057,7 @@
7170
7057
  "immutable": true,
7171
7058
  "locationInModule": {
7172
7059
  "filename": "src/types.ts",
7173
- "line": 373
7060
+ "line": 322
7174
7061
  },
7175
7062
  "name": "slotName",
7176
7063
  "type": {
@@ -7186,7 +7073,7 @@
7186
7073
  "immutable": true,
7187
7074
  "locationInModule": {
7188
7075
  "filename": "src/types.ts",
7189
- "line": 367
7076
+ "line": 316
7190
7077
  },
7191
7078
  "name": "typeName",
7192
7079
  "type": {
@@ -7231,6 +7118,9 @@
7231
7118
  },
7232
7119
  {
7233
7120
  "fqn": "@aws-amplify/graphql-api-construct.SqlModelDataSourceSsmDbConnectionConfig"
7121
+ },
7122
+ {
7123
+ "fqn": "@aws-amplify/graphql-api-construct.SqlModelDataSourceSsmDbConnectionStringConfig"
7234
7124
  }
7235
7125
  ]
7236
7126
  }
@@ -7344,7 +7234,7 @@
7344
7234
  "kind": "class",
7345
7235
  "locationInModule": {
7346
7236
  "filename": "src/sql-model-datasource-strategy.ts",
7347
- "line": 71
7237
+ "line": 85
7348
7238
  },
7349
7239
  "methods": [
7350
7240
  {
@@ -7355,7 +7245,7 @@
7355
7245
  },
7356
7246
  "locationInModule": {
7357
7247
  "filename": "src/sql-model-datasource-strategy.ts",
7358
- "line": 78
7248
+ "line": 92
7359
7249
  },
7360
7250
  "name": "fromCustomSqlFiles",
7361
7251
  "parameters": [
@@ -7501,7 +7391,7 @@
7501
7391
  "kind": "interface",
7502
7392
  "locationInModule": {
7503
7393
  "filename": "src/model-datasource-strategy-types.ts",
7504
- "line": 134
7394
+ "line": 144
7505
7395
  },
7506
7396
  "name": "SqlModelDataSourceSecretsManagerDbConnectionConfig",
7507
7397
  "properties": [
@@ -7514,7 +7404,7 @@
7514
7404
  "immutable": true,
7515
7405
  "locationInModule": {
7516
7406
  "filename": "src/model-datasource-strategy-types.ts",
7517
- "line": 145
7407
+ "line": 155
7518
7408
  },
7519
7409
  "name": "databaseName",
7520
7410
  "type": {
@@ -7530,7 +7420,7 @@
7530
7420
  "immutable": true,
7531
7421
  "locationInModule": {
7532
7422
  "filename": "src/model-datasource-strategy-types.ts",
7533
- "line": 148
7423
+ "line": 158
7534
7424
  },
7535
7425
  "name": "hostname",
7536
7426
  "type": {
@@ -7546,7 +7436,7 @@
7546
7436
  "immutable": true,
7547
7437
  "locationInModule": {
7548
7438
  "filename": "src/model-datasource-strategy-types.ts",
7549
- "line": 142
7439
+ "line": 152
7550
7440
  },
7551
7441
  "name": "port",
7552
7442
  "type": {
@@ -7563,7 +7453,7 @@
7563
7453
  "immutable": true,
7564
7454
  "locationInModule": {
7565
7455
  "filename": "src/model-datasource-strategy-types.ts",
7566
- "line": 136
7456
+ "line": 146
7567
7457
  },
7568
7458
  "name": "secretArn",
7569
7459
  "type": {
@@ -7580,7 +7470,7 @@
7580
7470
  "immutable": true,
7581
7471
  "locationInModule": {
7582
7472
  "filename": "src/model-datasource-strategy-types.ts",
7583
- "line": 139
7473
+ "line": 149
7584
7474
  },
7585
7475
  "name": "keyArn",
7586
7476
  "optional": true,
@@ -7603,7 +7493,7 @@
7603
7493
  "kind": "interface",
7604
7494
  "locationInModule": {
7605
7495
  "filename": "src/model-datasource-strategy-types.ts",
7606
- "line": 156
7496
+ "line": 166
7607
7497
  },
7608
7498
  "name": "SqlModelDataSourceSsmDbConnectionConfig",
7609
7499
  "properties": [
@@ -7616,7 +7506,7 @@
7616
7506
  "immutable": true,
7617
7507
  "locationInModule": {
7618
7508
  "filename": "src/model-datasource-strategy-types.ts",
7619
- "line": 172
7509
+ "line": 182
7620
7510
  },
7621
7511
  "name": "databaseNameSsmPath",
7622
7512
  "type": {
@@ -7633,7 +7523,7 @@
7633
7523
  "immutable": true,
7634
7524
  "locationInModule": {
7635
7525
  "filename": "src/model-datasource-strategy-types.ts",
7636
- "line": 160
7526
+ "line": 170
7637
7527
  },
7638
7528
  "name": "hostnameSsmPath",
7639
7529
  "type": {
@@ -7649,7 +7539,7 @@
7649
7539
  "immutable": true,
7650
7540
  "locationInModule": {
7651
7541
  "filename": "src/model-datasource-strategy-types.ts",
7652
- "line": 169
7542
+ "line": 179
7653
7543
  },
7654
7544
  "name": "passwordSsmPath",
7655
7545
  "type": {
@@ -7665,7 +7555,7 @@
7665
7555
  "immutable": true,
7666
7556
  "locationInModule": {
7667
7557
  "filename": "src/model-datasource-strategy-types.ts",
7668
- "line": 163
7558
+ "line": 173
7669
7559
  },
7670
7560
  "name": "portSsmPath",
7671
7561
  "type": {
@@ -7681,7 +7571,7 @@
7681
7571
  "immutable": true,
7682
7572
  "locationInModule": {
7683
7573
  "filename": "src/model-datasource-strategy-types.ts",
7684
- "line": 166
7574
+ "line": 176
7685
7575
  },
7686
7576
  "name": "usernameSsmPath",
7687
7577
  "type": {
@@ -7691,6 +7581,41 @@
7691
7581
  ],
7692
7582
  "symbolId": "src/model-datasource-strategy-types:SqlModelDataSourceSsmDbConnectionConfig"
7693
7583
  },
7584
+ "@aws-amplify/graphql-api-construct.SqlModelDataSourceSsmDbConnectionStringConfig": {
7585
+ "assembly": "@aws-amplify/graphql-api-construct",
7586
+ "datatype": true,
7587
+ "docs": {
7588
+ "stability": "experimental",
7589
+ "summary": "The configuration option to use a Secure Systems Manager parameter to store the connection string to the database."
7590
+ },
7591
+ "fqn": "@aws-amplify/graphql-api-construct.SqlModelDataSourceSsmDbConnectionStringConfig",
7592
+ "kind": "interface",
7593
+ "locationInModule": {
7594
+ "filename": "src/model-datasource-strategy-types.ts",
7595
+ "line": 133
7596
+ },
7597
+ "name": "SqlModelDataSourceSsmDbConnectionStringConfig",
7598
+ "properties": [
7599
+ {
7600
+ "abstract": true,
7601
+ "docs": {
7602
+ "remarks": "*",
7603
+ "stability": "experimental",
7604
+ "summary": "The SSM Path to the secure connection string used for connecting to the database."
7605
+ },
7606
+ "immutable": true,
7607
+ "locationInModule": {
7608
+ "filename": "src/model-datasource-strategy-types.ts",
7609
+ "line": 135
7610
+ },
7611
+ "name": "connectionUriSsmPath",
7612
+ "type": {
7613
+ "primitive": "string"
7614
+ }
7615
+ }
7616
+ ],
7617
+ "symbolId": "src/model-datasource-strategy-types:SqlModelDataSourceSsmDbConnectionStringConfig"
7618
+ },
7694
7619
  "@aws-amplify/graphql-api-construct.StreamSpecification": {
7695
7620
  "assembly": "@aws-amplify/graphql-api-construct",
7696
7621
  "datatype": true,
@@ -7791,7 +7716,7 @@
7791
7716
  "kind": "interface",
7792
7717
  "locationInModule": {
7793
7718
  "filename": "src/types.ts",
7794
- "line": 379
7719
+ "line": 328
7795
7720
  },
7796
7721
  "name": "SubscriptionFunctionSlot",
7797
7722
  "properties": [
@@ -7805,7 +7730,7 @@
7805
7730
  "immutable": true,
7806
7731
  "locationInModule": {
7807
7732
  "filename": "src/types.ts",
7808
- "line": 389
7733
+ "line": 338
7809
7734
  },
7810
7735
  "name": "slotName",
7811
7736
  "type": {
@@ -7821,7 +7746,7 @@
7821
7746
  "immutable": true,
7822
7747
  "locationInModule": {
7823
7748
  "filename": "src/types.ts",
7824
- "line": 383
7749
+ "line": 332
7825
7750
  },
7826
7751
  "name": "typeName",
7827
7752
  "type": {
@@ -7894,7 +7819,7 @@
7894
7819
  "kind": "interface",
7895
7820
  "locationInModule": {
7896
7821
  "filename": "src/types.ts",
7897
- "line": 403
7822
+ "line": 352
7898
7823
  },
7899
7824
  "name": "TranslationBehavior",
7900
7825
  "properties": [
@@ -7909,7 +7834,7 @@
7909
7834
  "immutable": true,
7910
7835
  "locationInModule": {
7911
7836
  "filename": "src/types.ts",
7912
- "line": 482
7837
+ "line": 431
7913
7838
  },
7914
7839
  "name": "allowDestructiveGraphqlSchemaUpdates",
7915
7840
  "type": {
@@ -7926,7 +7851,7 @@
7926
7851
  "immutable": true,
7927
7852
  "locationInModule": {
7928
7853
  "filename": "src/types.ts",
7929
- "line": 415
7854
+ "line": 364
7930
7855
  },
7931
7856
  "name": "disableResolverDeduping",
7932
7857
  "type": {
@@ -7947,7 +7872,7 @@
7947
7872
  "immutable": true,
7948
7873
  "locationInModule": {
7949
7874
  "filename": "src/types.ts",
7950
- "line": 454
7875
+ "line": 403
7951
7876
  },
7952
7877
  "name": "enableAutoIndexQueryNames",
7953
7878
  "type": {
@@ -7962,7 +7887,7 @@
7962
7887
  "immutable": true,
7963
7888
  "locationInModule": {
7964
7889
  "filename": "src/types.ts",
7965
- "line": 462
7890
+ "line": 411
7966
7891
  },
7967
7892
  "name": "enableSearchNodeToNodeEncryption",
7968
7893
  "type": {
@@ -7979,7 +7904,7 @@
7979
7904
  "immutable": true,
7980
7905
  "locationInModule": {
7981
7906
  "filename": "src/types.ts",
7982
- "line": 468
7907
+ "line": 417
7983
7908
  },
7984
7909
  "name": "enableTransformerCfnOutputs",
7985
7910
  "type": {
@@ -7996,7 +7921,7 @@
7996
7921
  "immutable": true,
7997
7922
  "locationInModule": {
7998
7923
  "filename": "src/types.ts",
7999
- "line": 434
7924
+ "line": 383
8000
7925
  },
8001
7926
  "name": "populateOwnerFieldForStaticGroupAuth",
8002
7927
  "type": {
@@ -8014,7 +7939,7 @@
8014
7939
  "immutable": true,
8015
7940
  "locationInModule": {
8016
7941
  "filename": "src/types.ts",
8017
- "line": 492
7942
+ "line": 441
8018
7943
  },
8019
7944
  "name": "replaceTableUponGsiUpdate",
8020
7945
  "type": {
@@ -8031,7 +7956,7 @@
8031
7956
  "immutable": true,
8032
7957
  "locationInModule": {
8033
7958
  "filename": "src/types.ts",
8034
- "line": 460
7959
+ "line": 409
8035
7960
  },
8036
7961
  "name": "respectPrimaryKeyAttributesOnConnectionField",
8037
7962
  "type": {
@@ -8048,7 +7973,7 @@
8048
7973
  "immutable": true,
8049
7974
  "locationInModule": {
8050
7975
  "filename": "src/types.ts",
8051
- "line": 421
7976
+ "line": 370
8052
7977
  },
8053
7978
  "name": "sandboxModeEnabled",
8054
7979
  "type": {
@@ -8068,7 +7993,7 @@
8068
7993
  "immutable": true,
8069
7994
  "locationInModule": {
8070
7995
  "filename": "src/types.ts",
8071
- "line": 447
7996
+ "line": 396
8072
7997
  },
8073
7998
  "name": "secondaryKeyAsGSI",
8074
7999
  "type": {
@@ -8088,7 +8013,7 @@
8088
8013
  "immutable": true,
8089
8014
  "locationInModule": {
8090
8015
  "filename": "src/types.ts",
8091
- "line": 408
8016
+ "line": 357
8092
8017
  },
8093
8018
  "name": "shouldDeepMergeDirectiveConfigDefaults",
8094
8019
  "type": {
@@ -8106,7 +8031,7 @@
8106
8031
  "immutable": true,
8107
8032
  "locationInModule": {
8108
8033
  "filename": "src/types.ts",
8109
- "line": 441
8034
+ "line": 390
8110
8035
  },
8111
8036
  "name": "suppressApiKeyGeneration",
8112
8037
  "type": {
@@ -8123,7 +8048,7 @@
8123
8048
  "immutable": true,
8124
8049
  "locationInModule": {
8125
8050
  "filename": "src/types.ts",
8126
- "line": 428
8051
+ "line": 377
8127
8052
  },
8128
8053
  "name": "useSubUsernameForDefaultIdentityClaim",
8129
8054
  "type": {
@@ -8144,7 +8069,7 @@
8144
8069
  "kind": "interface",
8145
8070
  "locationInModule": {
8146
8071
  "filename": "src/types.ts",
8147
- "line": 98
8072
+ "line": 55
8148
8073
  },
8149
8074
  "name": "UserPoolAuthorizationConfig",
8150
8075
  "properties": [
@@ -8157,7 +8082,7 @@
8157
8082
  "immutable": true,
8158
8083
  "locationInModule": {
8159
8084
  "filename": "src/types.ts",
8160
- "line": 102
8085
+ "line": 59
8161
8086
  },
8162
8087
  "name": "userPool",
8163
8088
  "type": {
@@ -8245,6 +8170,6 @@
8245
8170
  "symbolId": "src/model-datasource-strategy-types:VpcConfig"
8246
8171
  }
8247
8172
  },
8248
- "version": "1.7.1-gen2-release.0",
8249
- "fingerprint": "YbPOWRUvL8IS16JRx71Y/3nTQJlmmL0hnaUVlfDTsUQ="
8173
+ "version": "1.8.0-data-schema-generator.0",
8174
+ "fingerprint": "emBFVbIhB1UfQa2UYNJxd/ivInQUd25igs8PJLB3fA0="
8250
8175
  }