@aws-amplify/graphql-api-construct 1.8.1 → 1.9.0-gen2-release-0416.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (279) hide show
  1. package/.jsii +313 -200
  2. package/API.md +16 -3
  3. package/CHANGELOG.md +5 -2
  4. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  5. package/lib/amplify-graphql-api.js +3 -2
  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 +12 -1
  10. package/lib/internal/authorization-modes.js +47 -7
  11. package/lib/internal/codegen-assets.js +10 -1
  12. package/lib/sql-model-datasource-strategy.js +1 -1
  13. package/lib/types.d.ts +51 -5
  14. package/lib/types.js +1 -1
  15. package/node_modules/@aws-amplify/graphql-auth-transformer/API.md +3 -1
  16. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +5 -2
  17. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.d.ts.map +1 -1
  18. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js +34 -22
  19. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js.map +1 -1
  20. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.d.ts.map +1 -1
  21. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.js +1 -0
  22. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.js.map +1 -1
  23. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts +2 -1
  24. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts.map +1 -1
  25. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.js.map +1 -1
  26. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts +2 -1
  27. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts.map +1 -1
  28. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js +22 -11
  29. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js.map +1 -1
  30. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.d.ts.map +1 -1
  31. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js +11 -4
  32. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js.map +1 -1
  33. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.d.ts +1 -0
  34. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.d.ts.map +1 -1
  35. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.js +10 -1
  36. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.js.map +1 -1
  37. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.d.ts +4 -0
  38. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.d.ts.map +1 -0
  39. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.js +12 -0
  40. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.js.map +1 -0
  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 +20 -10
  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 +9 -2
  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 +16 -9
  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 +5 -4
  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 +5 -4
  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 +5 -4
  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 +15 -4
  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 +5 -4
  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 +8 -2
  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 +3 -2
  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 +27 -16
  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 +4 -0
  94. package/node_modules/@aws-amplify/graphql-default-value-transformer/LICENSE +201 -0
  95. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +9 -8
  96. package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +6 -0
  97. package/node_modules/@aws-amplify/graphql-directives/LICENSE +201 -0
  98. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.d.ts.map +1 -1
  99. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.js +1 -0
  100. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.js.map +1 -1
  101. package/node_modules/@aws-amplify/graphql-directives/package.json +3 -2
  102. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +4 -0
  103. package/node_modules/@aws-amplify/graphql-function-transformer/LICENSE +201 -0
  104. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +8 -7
  105. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +4 -0
  106. package/node_modules/@aws-amplify/graphql-http-transformer/LICENSE +201 -0
  107. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +8 -7
  108. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +6 -0
  109. package/node_modules/@aws-amplify/graphql-index-transformer/LICENSE +201 -0
  110. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.d.ts +1 -1
  111. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.d.ts.map +1 -1
  112. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js +19 -10
  113. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js.map +1 -1
  114. package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.d.ts.map +1 -1
  115. package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.js +13 -2
  116. package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.js.map +1 -1
  117. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +9 -8
  118. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +1 -1
  119. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  120. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +11 -11
  121. package/node_modules/@aws-amplify/graphql-model-transformer/API.md +3 -3
  122. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +6 -0
  123. package/node_modules/@aws-amplify/graphql-model-transformer/LICENSE +201 -0
  124. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts +1 -0
  125. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts.map +1 -1
  126. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js +2 -1
  127. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js.map +1 -1
  128. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
  129. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +29 -16
  130. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
  131. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts +1 -1
  132. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts.map +1 -1
  133. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js +11 -7
  134. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js.map +1 -1
  135. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  136. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  137. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  138. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts +1 -1
  139. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts.map +1 -1
  140. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js +18 -9
  141. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js.map +1 -1
  142. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts.map +1 -1
  143. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js +3 -3
  144. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js.map +1 -1
  145. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +8 -7
  146. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +4 -0
  147. package/node_modules/@aws-amplify/graphql-predictions-transformer/LICENSE +201 -0
  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 +8 -7
  150. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +7 -1
  151. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.d.ts +3 -4
  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 +7 -4
  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-ddb-references-transformer.d.ts +11 -0
  156. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.d.ts.map +1 -0
  157. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.js +35 -0
  158. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.js.map +1 -0
  159. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts +4 -5
  160. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts.map +1 -1
  161. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js +8 -5
  162. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js.map +1 -1
  163. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.d.ts +2 -2
  164. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.d.ts.map +1 -1
  165. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.js +19 -4
  166. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.js.map +1 -1
  167. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.d.ts +1 -1
  168. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.d.ts.map +1 -1
  169. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js +6 -7
  170. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js.map +1 -1
  171. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.d.ts +1 -1
  172. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.d.ts.map +1 -1
  173. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js +6 -9
  174. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js.map +1 -1
  175. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js +5 -6
  176. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js.map +1 -1
  177. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js.map +1 -1
  178. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.d.ts +2 -3
  179. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.d.ts.map +1 -1
  180. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.js +6 -2
  181. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.js.map +1 -1
  182. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.d.ts +11 -0
  183. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.d.ts.map +1 -0
  184. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js +44 -0
  185. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js.map +1 -0
  186. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts +4 -5
  187. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts.map +1 -1
  188. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js +7 -4
  189. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js.map +1 -1
  190. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.d.ts +1 -1
  191. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.d.ts.map +1 -1
  192. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.js +18 -3
  193. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.js.map +1 -1
  194. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.d.ts +3 -4
  195. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.d.ts.map +1 -1
  196. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.js +7 -4
  197. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.js.map +1 -1
  198. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.d.ts +11 -0
  199. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.d.ts.map +1 -0
  200. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js +44 -0
  201. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js.map +1 -0
  202. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts +4 -5
  203. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts.map +1 -1
  204. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js +7 -4
  205. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js.map +1 -1
  206. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.d.ts +1 -1
  207. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.d.ts.map +1 -1
  208. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.js +18 -3
  209. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.js.map +1 -1
  210. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.d.ts +3 -2
  211. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.d.ts.map +1 -1
  212. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.js +7 -4
  213. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.js.map +1 -1
  214. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.d.ts +11 -0
  215. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.d.ts.map +1 -0
  216. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.js +213 -0
  217. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.js.map +1 -0
  218. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/generator.d.ts +2 -2
  219. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/generator.d.ts.map +1 -1
  220. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/generator.js.map +1 -1
  221. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.d.ts.map +1 -1
  222. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js +1 -1
  223. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js.map +1 -1
  224. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.d.ts +3 -1
  225. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.d.ts.map +1 -1
  226. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.js +142 -17
  227. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.js.map +1 -1
  228. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.d.ts +1 -1
  229. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.d.ts.map +1 -1
  230. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.js.map +1 -1
  231. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts +5 -0
  232. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts.map +1 -1
  233. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts +2 -1
  234. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts.map +1 -1
  235. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js +7 -1
  236. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js.map +1 -1
  237. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +9 -9
  238. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +6 -0
  239. package/node_modules/@aws-amplify/graphql-searchable-transformer/LICENSE +201 -0
  240. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.d.ts +1 -1
  241. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.d.ts.map +1 -1
  242. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.js +20 -9
  243. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.js.map +1 -1
  244. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.d.ts.map +1 -1
  245. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js +14 -3
  246. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js.map +1 -1
  247. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  248. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +9 -8
  249. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +6 -0
  250. package/node_modules/@aws-amplify/graphql-sql-transformer/LICENSE +201 -0
  251. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.d.ts.map +1 -1
  252. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js +17 -8
  253. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js.map +1 -1
  254. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +9 -8
  255. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +1 -1
  256. package/node_modules/@aws-amplify/graphql-transformer/package.json +15 -15
  257. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +4 -0
  258. package/node_modules/@aws-amplify/graphql-transformer-core/LICENSE +201 -0
  259. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +6 -5
  260. package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +2 -1
  261. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +7 -0
  262. package/node_modules/@aws-amplify/graphql-transformer-interfaces/LICENSE +201 -0
  263. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts +1 -0
  264. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts.map +1 -1
  265. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-provider.d.ts +1 -1
  266. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-provider.d.ts.map +1 -1
  267. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +3 -2
  268. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/synth-parameters.ts +1 -0
  269. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transformer-context-provider.ts +1 -0
  270. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  271. package/node_modules/graphql-transformer-common/CHANGELOG.md +4 -0
  272. package/node_modules/graphql-transformer-common/LICENSE +201 -0
  273. package/node_modules/graphql-transformer-common/package.json +3 -2
  274. package/package.json +19 -19
  275. package/src/amplify-graphql-api.ts +2 -0
  276. package/src/index.ts +1 -0
  277. package/src/internal/authorization-modes.ts +57 -8
  278. package/src/internal/codegen-assets.ts +11 -2
  279. package/src/types.ts +56 -5
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.4",
12
- "@aws-amplify/graphql-default-value-transformer": "2.3.3",
13
- "@aws-amplify/graphql-directives": "1.0.1",
14
- "@aws-amplify/graphql-function-transformer": "2.1.20",
15
- "@aws-amplify/graphql-http-transformer": "2.1.20",
16
- "@aws-amplify/graphql-index-transformer": "2.3.9",
17
- "@aws-amplify/graphql-maps-to-transformer": "3.4.11",
18
- "@aws-amplify/graphql-model-transformer": "2.8.0",
19
- "@aws-amplify/graphql-predictions-transformer": "2.1.20",
20
- "@aws-amplify/graphql-relational-transformer": "2.4.4",
21
- "@aws-amplify/graphql-searchable-transformer": "2.6.3",
22
- "@aws-amplify/graphql-sql-transformer": "0.2.9",
23
- "@aws-amplify/graphql-transformer": "1.5.1",
24
- "@aws-amplify/graphql-transformer-core": "2.6.0",
25
- "@aws-amplify/graphql-transformer-interfaces": "3.6.0",
11
+ "@aws-amplify/graphql-auth-transformer": "3.5.0-gen2-release-0416.0",
12
+ "@aws-amplify/graphql-default-value-transformer": "2.3.4-gen2-release-0416.0",
13
+ "@aws-amplify/graphql-directives": "1.1.0-gen2-release-0416.0",
14
+ "@aws-amplify/graphql-function-transformer": "2.1.21-gen2-release-0416.0",
15
+ "@aws-amplify/graphql-http-transformer": "2.1.21-gen2-release-0416.0",
16
+ "@aws-amplify/graphql-index-transformer": "2.4.0-gen2-release-0416.0",
17
+ "@aws-amplify/graphql-maps-to-transformer": "3.4.11-gen2-release-0416.0",
18
+ "@aws-amplify/graphql-model-transformer": "2.9.0-gen2-release-0416.0",
19
+ "@aws-amplify/graphql-predictions-transformer": "2.1.21-gen2-release-0416.0",
20
+ "@aws-amplify/graphql-relational-transformer": "2.5.0-gen2-release-0416.0",
21
+ "@aws-amplify/graphql-searchable-transformer": "2.7.0-gen2-release-0416.0",
22
+ "@aws-amplify/graphql-sql-transformer": "0.3.0-gen2-release-0416.0",
23
+ "@aws-amplify/graphql-transformer": "1.5.1-gen2-release-0416.0",
24
+ "@aws-amplify/graphql-transformer-core": "2.6.1-gen2-release-0416.0",
25
+ "@aws-amplify/graphql-transformer-interfaces": "3.7.0-gen2-release-0416.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.30.0",
34
+ "graphql-transformer-common": "4.30.1-gen2-release-0416.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": 795
3540
+ "line": 846
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": 799
3553
+ "line": 850
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": 804
3569
+ "line": 855
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": 839
3586
+ "line": 890
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": 811
3604
+ "line": 862
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": 818
3622
+ "line": 869
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": 825
3640
+ "line": 876
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": 832
3658
+ "line": 883
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": 139
3954
+ "line": 140
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": 85
3989
+ "line": 86
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": 286
4001
+ "line": 288
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": 298
4050
+ "line": 300
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": 308
4097
+ "line": 310
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": 390
4144
+ "line": 392
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": 319
4179
+ "line": 321
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": 330
4227
+ "line": 332
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": 341
4275
+ "line": 343
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": 352
4314
+ "line": 354
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": 365
4362
+ "line": 367
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": 381
4429
+ "line": 383
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": 120
4470
+ "line": 121
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": 100
4485
+ "line": 101
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": 105
4518
+ "line": 106
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": 110
4534
+ "line": 111
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": 89
4549
+ "line": 90
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": 115
4565
+ "line": 116
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": 698
4588
+ "line": 749
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": 752
4601
+ "line": 803
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": 737
4622
+ "line": 788
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": 727
4643
+ "line": 778
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": 722
4664
+ "line": 773
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": 747
4685
+ "line": 798
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": 702
4706
+ "line": 753
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": 707
4722
+ "line": 758
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": 717
4738
+ "line": 768
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": 742
4759
+ "line": 793
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": 732
4780
+ "line": 783
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": 712
4801
+ "line": 763
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": 615
4824
+ "line": 666
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": 632
4838
+ "line": 683
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": 620
4855
+ "line": 671
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": 626
4872
+ "line": 677
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": 647
4891
+ "line": 698
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": 691
4909
+ "line": 742
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": 640
4929
+ "line": 691
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": 662
4952
+ "line": 713
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": 685
4987
+ "line": 736
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": 674
5004
+ "line": 725
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": 656
5022
+ "line": 707
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": 669
5048
+ "line": 720
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": 680
5070
+ "line": 731
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": 759
5093
+ "line": 810
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": 783
5106
+ "line": 834
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": 778
5122
+ "line": 829
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": 763
5143
+ "line": 814
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": 788
5159
+ "line": 839
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": 773
5180
+ "line": 824
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": 768
5201
+ "line": 819
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": 98
5431
+ "line": 141
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": 107
5444
+ "line": 150
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": 102
5460
+ "line": 145
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": 130
5483
+ "line": 173
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": 170
5497
+ "line": 221
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": 158
5520
+ "line": 209
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": 134
5537
+ "line": 177
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": "Applies to 'public' and 'private' auth strategies.",
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.",
5549
5549
  "stability": "stable",
5550
- "summary": "IAM Auth config, required if an 'iam' auth provider is specified in the Api."
5550
+ "summary": "IAM Auth config, required to allow IAM-based access to this API."
5551
5551
  },
5552
5552
  "immutable": true,
5553
5553
  "locationInModule": {
5554
5554
  "filename": "src/types.ts",
5555
- "line": 140
5555
+ "line": 185
5556
5556
  },
5557
5557
  "name": "iamConfig",
5558
5558
  "optional": true,
@@ -5560,6 +5560,24 @@
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
+ },
5563
5581
  {
5564
5582
  "abstract": true,
5565
5583
  "docs": {
@@ -5570,7 +5588,7 @@
5570
5588
  "immutable": true,
5571
5589
  "locationInModule": {
5572
5590
  "filename": "src/types.ts",
5573
- "line": 164
5591
+ "line": 215
5574
5592
  },
5575
5593
  "name": "lambdaConfig",
5576
5594
  "optional": true,
@@ -5588,7 +5606,7 @@
5588
5606
  "immutable": true,
5589
5607
  "locationInModule": {
5590
5608
  "filename": "src/types.ts",
5591
- "line": 152
5609
+ "line": 203
5592
5610
  },
5593
5611
  "name": "oidcConfig",
5594
5612
  "optional": true,
@@ -5606,7 +5624,7 @@
5606
5624
  "immutable": true,
5607
5625
  "locationInModule": {
5608
5626
  "filename": "src/types.ts",
5609
- "line": 146
5627
+ "line": 197
5610
5628
  },
5611
5629
  "name": "userPoolConfig",
5612
5630
  "optional": true,
@@ -5631,7 +5649,7 @@
5631
5649
  "kind": "interface",
5632
5650
  "locationInModule": {
5633
5651
  "filename": "src/types.ts",
5634
- "line": 191
5652
+ "line": 242
5635
5653
  },
5636
5654
  "name": "AutomergeConflictResolutionStrategy",
5637
5655
  "properties": [
@@ -5645,7 +5663,7 @@
5645
5663
  "immutable": true,
5646
5664
  "locationInModule": {
5647
5665
  "filename": "src/types.ts",
5648
- "line": 196
5666
+ "line": 247
5649
5667
  },
5650
5668
  "name": "handlerType",
5651
5669
  "type": {
@@ -5670,7 +5688,7 @@
5670
5688
  "kind": "interface",
5671
5689
  "locationInModule": {
5672
5690
  "filename": "src/types.ts",
5673
- "line": 239
5691
+ "line": 290
5674
5692
  },
5675
5693
  "name": "ConflictResolution",
5676
5694
  "symbolId": "src/types:ConflictResolution"
@@ -5686,7 +5704,7 @@
5686
5704
  "kind": "interface",
5687
5705
  "locationInModule": {
5688
5706
  "filename": "src/types.ts",
5689
- "line": 181
5707
+ "line": 232
5690
5708
  },
5691
5709
  "name": "ConflictResolutionStrategyBase",
5692
5710
  "properties": [
@@ -5699,7 +5717,7 @@
5699
5717
  "immutable": true,
5700
5718
  "locationInModule": {
5701
5719
  "filename": "src/types.ts",
5702
- "line": 185
5720
+ "line": 236
5703
5721
  },
5704
5722
  "name": "detectionType",
5705
5723
  "type": {
@@ -5723,7 +5741,7 @@
5723
5741
  "kind": "interface",
5724
5742
  "locationInModule": {
5725
5743
  "filename": "src/types.ts",
5726
- "line": 213
5744
+ "line": 264
5727
5745
  },
5728
5746
  "name": "CustomConflictResolutionStrategy",
5729
5747
  "properties": [
@@ -5736,7 +5754,7 @@
5736
5754
  "immutable": true,
5737
5755
  "locationInModule": {
5738
5756
  "filename": "src/types.ts",
5739
- "line": 224
5757
+ "line": 275
5740
5758
  },
5741
5759
  "name": "conflictHandler",
5742
5760
  "type": {
@@ -5753,7 +5771,7 @@
5753
5771
  "immutable": true,
5754
5772
  "locationInModule": {
5755
5773
  "filename": "src/types.ts",
5756
- "line": 219
5774
+ "line": 270
5757
5775
  },
5758
5776
  "name": "handlerType",
5759
5777
  "type": {
@@ -5841,7 +5859,7 @@
5841
5859
  "kind": "interface",
5842
5860
  "locationInModule": {
5843
5861
  "filename": "src/types.ts",
5844
- "line": 244
5862
+ "line": 295
5845
5863
  },
5846
5864
  "name": "DataStoreConfiguration",
5847
5865
  "properties": [
@@ -5854,7 +5872,7 @@
5854
5872
  "immutable": true,
5855
5873
  "locationInModule": {
5856
5874
  "filename": "src/types.ts",
5857
- "line": 253
5875
+ "line": 304
5858
5876
  },
5859
5877
  "name": "models",
5860
5878
  "optional": true,
@@ -5889,7 +5907,7 @@
5889
5907
  "immutable": true,
5890
5908
  "locationInModule": {
5891
5909
  "filename": "src/types.ts",
5892
- "line": 248
5910
+ "line": 299
5893
5911
  },
5894
5912
  "name": "project",
5895
5913
  "optional": true,
@@ -5971,7 +5989,7 @@
5971
5989
  "kind": "interface",
5972
5990
  "locationInModule": {
5973
5991
  "filename": "src/types.ts",
5974
- "line": 275
5992
+ "line": 326
5975
5993
  },
5976
5994
  "name": "FunctionSlotBase",
5977
5995
  "properties": [
@@ -5984,7 +6002,7 @@
5984
6002
  "immutable": true,
5985
6003
  "locationInModule": {
5986
6004
  "filename": "src/types.ts",
5987
- "line": 279
6005
+ "line": 330
5988
6006
  },
5989
6007
  "name": "fieldName",
5990
6008
  "type": {
@@ -6000,7 +6018,7 @@
6000
6018
  "immutable": true,
6001
6019
  "locationInModule": {
6002
6020
  "filename": "src/types.ts",
6003
- "line": 290
6021
+ "line": 341
6004
6022
  },
6005
6023
  "name": "function",
6006
6024
  "type": {
@@ -6017,7 +6035,7 @@
6017
6035
  "immutable": true,
6018
6036
  "locationInModule": {
6019
6037
  "filename": "src/types.ts",
6020
- "line": 285
6038
+ "line": 336
6021
6039
  },
6022
6040
  "name": "slotIndex",
6023
6041
  "type": {
@@ -6039,7 +6057,7 @@
6039
6057
  "kind": "interface",
6040
6058
  "locationInModule": {
6041
6059
  "filename": "src/types.ts",
6042
- "line": 260
6060
+ "line": 311
6043
6061
  },
6044
6062
  "name": "FunctionSlotOverride",
6045
6063
  "properties": [
@@ -6053,7 +6071,7 @@
6053
6071
  "immutable": true,
6054
6072
  "locationInModule": {
6055
6073
  "filename": "src/types.ts",
6056
- "line": 264
6074
+ "line": 315
6057
6075
  },
6058
6076
  "name": "requestMappingTemplate",
6059
6077
  "optional": true,
@@ -6071,7 +6089,7 @@
6071
6089
  "immutable": true,
6072
6090
  "locationInModule": {
6073
6091
  "filename": "src/types.ts",
6074
- "line": 269
6092
+ "line": 320
6075
6093
  },
6076
6094
  "name": "responseMappingTemplate",
6077
6095
  "optional": true,
@@ -6100,15 +6118,50 @@
6100
6118
  {
6101
6119
  "abstract": true,
6102
6120
  "docs": {
6103
- "stability": "stable",
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",
6104
6156
  "summary": "Authenticated user role, applies to { provider: iam, allow: private } access."
6105
6157
  },
6106
6158
  "immutable": true,
6107
6159
  "locationInModule": {
6108
6160
  "filename": "src/types.ts",
6109
- "line": 37
6161
+ "line": 43
6110
6162
  },
6111
6163
  "name": "authenticatedUserRole",
6164
+ "optional": true,
6112
6165
  "type": {
6113
6166
  "fqn": "aws-cdk-lib.aws_iam.IRole"
6114
6167
  }
@@ -6116,66 +6169,59 @@
6116
6169
  {
6117
6170
  "abstract": true,
6118
6171
  "docs": {
6119
- "remarks": "Format: `<region>:<id string>`",
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",
6120
6176
  "stability": "stable",
6121
- "summary": "ID for the Cognito Identity Pool vending auth and unauth roles."
6177
+ "summary": "Enables access for IAM principals."
6122
6178
  },
6123
6179
  "immutable": true,
6124
6180
  "locationInModule": {
6125
6181
  "filename": "src/types.ts",
6126
- "line": 32
6182
+ "line": 70
6127
6183
  },
6128
- "name": "identityPoolId",
6184
+ "name": "enableIamAuthorizationMode",
6185
+ "optional": true,
6129
6186
  "type": {
6130
- "primitive": "string"
6187
+ "primitive": "boolean"
6131
6188
  }
6132
6189
  },
6133
6190
  {
6134
6191
  "abstract": true,
6135
6192
  "docs": {
6136
- "stability": "stable",
6137
- "summary": "Unauthenticated user role, applies to { provider: iam, allow: public } access."
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."
6138
6197
  },
6139
6198
  "immutable": true,
6140
6199
  "locationInModule": {
6141
6200
  "filename": "src/types.ts",
6142
- "line": 42
6201
+ "line": 35
6143
6202
  },
6144
- "name": "unauthenticatedUserRole",
6203
+ "name": "identityPoolId",
6204
+ "optional": true,
6145
6205
  "type": {
6146
- "fqn": "aws-cdk-lib.aws_iam.IRole"
6206
+ "primitive": "string"
6147
6207
  }
6148
6208
  },
6149
6209
  {
6150
6210
  "abstract": true,
6151
6211
  "docs": {
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."
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."
6155
6215
  },
6156
6216
  "immutable": true,
6157
6217
  "locationInModule": {
6158
6218
  "filename": "src/types.ts",
6159
- "line": 49
6219
+ "line": 51
6160
6220
  },
6161
- "name": "allowListedRoles",
6221
+ "name": "unauthenticatedUserRole",
6162
6222
  "optional": true,
6163
6223
  "type": {
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
- }
6224
+ "fqn": "aws-cdk-lib.aws_iam.IRole"
6179
6225
  }
6180
6226
  }
6181
6227
  ],
@@ -6191,7 +6237,7 @@
6191
6237
  "kind": "interface",
6192
6238
  "locationInModule": {
6193
6239
  "filename": "src/types.ts",
6194
- "line": 549
6240
+ "line": 600
6195
6241
  },
6196
6242
  "name": "IAmplifyGraphqlDefinition",
6197
6243
  "properties": [
@@ -6206,7 +6252,7 @@
6206
6252
  "immutable": true,
6207
6253
  "locationInModule": {
6208
6254
  "filename": "src/types.ts",
6209
- "line": 574
6255
+ "line": 625
6210
6256
  },
6211
6257
  "name": "dataSourceStrategies",
6212
6258
  "type": {
@@ -6240,7 +6286,7 @@
6240
6286
  "immutable": true,
6241
6287
  "locationInModule": {
6242
6288
  "filename": "src/types.ts",
6243
- "line": 560
6289
+ "line": 611
6244
6290
  },
6245
6291
  "name": "functionSlots",
6246
6292
  "type": {
@@ -6274,7 +6320,7 @@
6274
6320
  "immutable": true,
6275
6321
  "locationInModule": {
6276
6322
  "filename": "src/types.ts",
6277
- "line": 554
6323
+ "line": 605
6278
6324
  },
6279
6325
  "name": "schema",
6280
6326
  "type": {
@@ -6291,7 +6337,7 @@
6291
6337
  "immutable": true,
6292
6338
  "locationInModule": {
6293
6339
  "filename": "src/types.ts",
6294
- "line": 580
6340
+ "line": 631
6295
6341
  },
6296
6342
  "name": "customSqlDataSourceStrategies",
6297
6343
  "optional": true,
@@ -6315,7 +6361,7 @@
6315
6361
  "immutable": true,
6316
6362
  "locationInModule": {
6317
6363
  "filename": "src/types.ts",
6318
- "line": 568
6364
+ "line": 619
6319
6365
  },
6320
6366
  "name": "referencedLambdaFunctions",
6321
6367
  "optional": true,
@@ -6341,7 +6387,7 @@
6341
6387
  "kind": "interface",
6342
6388
  "locationInModule": {
6343
6389
  "filename": "src/types.ts",
6344
- "line": 586
6390
+ "line": 637
6345
6391
  },
6346
6392
  "name": "IBackendOutputEntry",
6347
6393
  "properties": [
@@ -6354,7 +6400,7 @@
6354
6400
  "immutable": true,
6355
6401
  "locationInModule": {
6356
6402
  "filename": "src/types.ts",
6357
- "line": 595
6403
+ "line": 646
6358
6404
  },
6359
6405
  "name": "payload",
6360
6406
  "type": {
@@ -6375,7 +6421,7 @@
6375
6421
  "immutable": true,
6376
6422
  "locationInModule": {
6377
6423
  "filename": "src/types.ts",
6378
- "line": 590
6424
+ "line": 641
6379
6425
  },
6380
6426
  "name": "version",
6381
6427
  "type": {
@@ -6395,7 +6441,7 @@
6395
6441
  "kind": "interface",
6396
6442
  "locationInModule": {
6397
6443
  "filename": "src/types.ts",
6398
- "line": 601
6444
+ "line": 652
6399
6445
  },
6400
6446
  "methods": [
6401
6447
  {
@@ -6406,7 +6452,7 @@
6406
6452
  },
6407
6453
  "locationInModule": {
6408
6454
  "filename": "src/types.ts",
6409
- "line": 608
6455
+ "line": 659
6410
6456
  },
6411
6457
  "name": "addBackendOutputEntry",
6412
6458
  "parameters": [
@@ -6434,6 +6480,73 @@
6434
6480
  "name": "IBackendOutputStorageStrategy",
6435
6481
  "symbolId": "src/types:IBackendOutputStorageStrategy"
6436
6482
  },
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
+ },
6437
6550
  "@aws-amplify/graphql-api-construct.LambdaAuthorizationConfig": {
6438
6551
  "assembly": "@aws-amplify/graphql-api-construct",
6439
6552
  "datatype": true,
@@ -6445,7 +6558,7 @@
6445
6558
  "kind": "interface",
6446
6559
  "locationInModule": {
6447
6560
  "filename": "src/types.ts",
6448
- "line": 113
6561
+ "line": 156
6449
6562
  },
6450
6563
  "name": "LambdaAuthorizationConfig",
6451
6564
  "properties": [
@@ -6458,7 +6571,7 @@
6458
6571
  "immutable": true,
6459
6572
  "locationInModule": {
6460
6573
  "filename": "src/types.ts",
6461
- "line": 117
6574
+ "line": 160
6462
6575
  },
6463
6576
  "name": "function",
6464
6577
  "type": {
@@ -6474,7 +6587,7 @@
6474
6587
  "immutable": true,
6475
6588
  "locationInModule": {
6476
6589
  "filename": "src/types.ts",
6477
- "line": 122
6590
+ "line": 165
6478
6591
  },
6479
6592
  "name": "ttl",
6480
6593
  "type": {
@@ -6498,7 +6611,7 @@
6498
6611
  "kind": "interface",
6499
6612
  "locationInModule": {
6500
6613
  "filename": "src/types.ts",
6501
- "line": 296
6614
+ "line": 347
6502
6615
  },
6503
6616
  "name": "MutationFunctionSlot",
6504
6617
  "properties": [
@@ -6512,7 +6625,7 @@
6512
6625
  "immutable": true,
6513
6626
  "locationInModule": {
6514
6627
  "filename": "src/types.ts",
6515
- "line": 306
6628
+ "line": 357
6516
6629
  },
6517
6630
  "name": "slotName",
6518
6631
  "type": {
@@ -6528,7 +6641,7 @@
6528
6641
  "immutable": true,
6529
6642
  "locationInModule": {
6530
6643
  "filename": "src/types.ts",
6531
- "line": 300
6644
+ "line": 351
6532
6645
  },
6533
6646
  "name": "typeName",
6534
6647
  "type": {
@@ -6549,7 +6662,7 @@
6549
6662
  "kind": "interface",
6550
6663
  "locationInModule": {
6551
6664
  "filename": "src/types.ts",
6552
- "line": 65
6665
+ "line": 108
6553
6666
  },
6554
6667
  "name": "OIDCAuthorizationConfig",
6555
6668
  "properties": [
@@ -6562,7 +6675,7 @@
6562
6675
  "immutable": true,
6563
6676
  "locationInModule": {
6564
6677
  "filename": "src/types.ts",
6565
- "line": 74
6678
+ "line": 117
6566
6679
  },
6567
6680
  "name": "oidcIssuerUrl",
6568
6681
  "type": {
@@ -6578,7 +6691,7 @@
6578
6691
  "immutable": true,
6579
6692
  "locationInModule": {
6580
6693
  "filename": "src/types.ts",
6581
- "line": 69
6694
+ "line": 112
6582
6695
  },
6583
6696
  "name": "oidcProviderName",
6584
6697
  "type": {
@@ -6595,7 +6708,7 @@
6595
6708
  "immutable": true,
6596
6709
  "locationInModule": {
6597
6710
  "filename": "src/types.ts",
6598
- "line": 86
6711
+ "line": 129
6599
6712
  },
6600
6713
  "name": "tokenExpiryFromAuth",
6601
6714
  "type": {
@@ -6612,7 +6725,7 @@
6612
6725
  "immutable": true,
6613
6726
  "locationInModule": {
6614
6727
  "filename": "src/types.ts",
6615
- "line": 92
6728
+ "line": 135
6616
6729
  },
6617
6730
  "name": "tokenExpiryFromIssue",
6618
6731
  "type": {
@@ -6629,7 +6742,7 @@
6629
6742
  "immutable": true,
6630
6743
  "locationInModule": {
6631
6744
  "filename": "src/types.ts",
6632
- "line": 80
6745
+ "line": 123
6633
6746
  },
6634
6747
  "name": "clientId",
6635
6748
  "optional": true,
@@ -6654,7 +6767,7 @@
6654
6767
  "kind": "interface",
6655
6768
  "locationInModule": {
6656
6769
  "filename": "src/types.ts",
6657
- "line": 202
6770
+ "line": 253
6658
6771
  },
6659
6772
  "name": "OptimisticConflictResolutionStrategy",
6660
6773
  "properties": [
@@ -6668,7 +6781,7 @@
6668
6781
  "immutable": true,
6669
6782
  "locationInModule": {
6670
6783
  "filename": "src/types.ts",
6671
- "line": 207
6784
+ "line": 258
6672
6785
  },
6673
6786
  "name": "handlerType",
6674
6787
  "type": {
@@ -6689,7 +6802,7 @@
6689
6802
  "kind": "interface",
6690
6803
  "locationInModule": {
6691
6804
  "filename": "src/types.ts",
6692
- "line": 447
6805
+ "line": 498
6693
6806
  },
6694
6807
  "name": "PartialTranslationBehavior",
6695
6808
  "properties": [
@@ -6704,7 +6817,7 @@
6704
6817
  "immutable": true,
6705
6818
  "locationInModule": {
6706
6819
  "filename": "src/types.ts",
6707
- "line": 533
6820
+ "line": 584
6708
6821
  },
6709
6822
  "name": "allowDestructiveGraphqlSchemaUpdates",
6710
6823
  "optional": true,
@@ -6722,7 +6835,7 @@
6722
6835
  "immutable": true,
6723
6836
  "locationInModule": {
6724
6837
  "filename": "src/types.ts",
6725
- "line": 459
6838
+ "line": 510
6726
6839
  },
6727
6840
  "name": "disableResolverDeduping",
6728
6841
  "optional": true,
@@ -6744,7 +6857,7 @@
6744
6857
  "immutable": true,
6745
6858
  "locationInModule": {
6746
6859
  "filename": "src/types.ts",
6747
- "line": 498
6860
+ "line": 549
6748
6861
  },
6749
6862
  "name": "enableAutoIndexQueryNames",
6750
6863
  "optional": true,
@@ -6763,7 +6876,7 @@
6763
6876
  "immutable": true,
6764
6877
  "locationInModule": {
6765
6878
  "filename": "src/types.ts",
6766
- "line": 513
6879
+ "line": 564
6767
6880
  },
6768
6881
  "name": "enableSearchNodeToNodeEncryption",
6769
6882
  "optional": true,
@@ -6781,7 +6894,7 @@
6781
6894
  "immutable": true,
6782
6895
  "locationInModule": {
6783
6896
  "filename": "src/types.ts",
6784
- "line": 519
6897
+ "line": 570
6785
6898
  },
6786
6899
  "name": "enableTransformerCfnOutputs",
6787
6900
  "optional": true,
@@ -6799,7 +6912,7 @@
6799
6912
  "immutable": true,
6800
6913
  "locationInModule": {
6801
6914
  "filename": "src/types.ts",
6802
- "line": 478
6915
+ "line": 529
6803
6916
  },
6804
6917
  "name": "populateOwnerFieldForStaticGroupAuth",
6805
6918
  "optional": true,
@@ -6818,7 +6931,7 @@
6818
6931
  "immutable": true,
6819
6932
  "locationInModule": {
6820
6933
  "filename": "src/types.ts",
6821
- "line": 543
6934
+ "line": 594
6822
6935
  },
6823
6936
  "name": "replaceTableUponGsiUpdate",
6824
6937
  "optional": true,
@@ -6836,7 +6949,7 @@
6836
6949
  "immutable": true,
6837
6950
  "locationInModule": {
6838
6951
  "filename": "src/types.ts",
6839
- "line": 504
6952
+ "line": 555
6840
6953
  },
6841
6954
  "name": "respectPrimaryKeyAttributesOnConnectionField",
6842
6955
  "optional": true,
@@ -6854,7 +6967,7 @@
6854
6967
  "immutable": true,
6855
6968
  "locationInModule": {
6856
6969
  "filename": "src/types.ts",
6857
- "line": 465
6970
+ "line": 516
6858
6971
  },
6859
6972
  "name": "sandboxModeEnabled",
6860
6973
  "optional": true,
@@ -6875,7 +6988,7 @@
6875
6988
  "immutable": true,
6876
6989
  "locationInModule": {
6877
6990
  "filename": "src/types.ts",
6878
- "line": 491
6991
+ "line": 542
6879
6992
  },
6880
6993
  "name": "secondaryKeyAsGSI",
6881
6994
  "optional": true,
@@ -6896,7 +7009,7 @@
6896
7009
  "immutable": true,
6897
7010
  "locationInModule": {
6898
7011
  "filename": "src/types.ts",
6899
- "line": 452
7012
+ "line": 503
6900
7013
  },
6901
7014
  "name": "shouldDeepMergeDirectiveConfigDefaults",
6902
7015
  "optional": true,
@@ -6915,7 +7028,7 @@
6915
7028
  "immutable": true,
6916
7029
  "locationInModule": {
6917
7030
  "filename": "src/types.ts",
6918
- "line": 485
7031
+ "line": 536
6919
7032
  },
6920
7033
  "name": "suppressApiKeyGeneration",
6921
7034
  "optional": true,
@@ -6933,7 +7046,7 @@
6933
7046
  "immutable": true,
6934
7047
  "locationInModule": {
6935
7048
  "filename": "src/types.ts",
6936
- "line": 472
7049
+ "line": 523
6937
7050
  },
6938
7051
  "name": "useSubUsernameForDefaultIdentityClaim",
6939
7052
  "optional": true,
@@ -7043,7 +7156,7 @@
7043
7156
  "kind": "interface",
7044
7157
  "locationInModule": {
7045
7158
  "filename": "src/types.ts",
7046
- "line": 312
7159
+ "line": 363
7047
7160
  },
7048
7161
  "name": "QueryFunctionSlot",
7049
7162
  "properties": [
@@ -7057,7 +7170,7 @@
7057
7170
  "immutable": true,
7058
7171
  "locationInModule": {
7059
7172
  "filename": "src/types.ts",
7060
- "line": 322
7173
+ "line": 373
7061
7174
  },
7062
7175
  "name": "slotName",
7063
7176
  "type": {
@@ -7073,7 +7186,7 @@
7073
7186
  "immutable": true,
7074
7187
  "locationInModule": {
7075
7188
  "filename": "src/types.ts",
7076
- "line": 316
7189
+ "line": 367
7077
7190
  },
7078
7191
  "name": "typeName",
7079
7192
  "type": {
@@ -7716,7 +7829,7 @@
7716
7829
  "kind": "interface",
7717
7830
  "locationInModule": {
7718
7831
  "filename": "src/types.ts",
7719
- "line": 328
7832
+ "line": 379
7720
7833
  },
7721
7834
  "name": "SubscriptionFunctionSlot",
7722
7835
  "properties": [
@@ -7730,7 +7843,7 @@
7730
7843
  "immutable": true,
7731
7844
  "locationInModule": {
7732
7845
  "filename": "src/types.ts",
7733
- "line": 338
7846
+ "line": 389
7734
7847
  },
7735
7848
  "name": "slotName",
7736
7849
  "type": {
@@ -7746,7 +7859,7 @@
7746
7859
  "immutable": true,
7747
7860
  "locationInModule": {
7748
7861
  "filename": "src/types.ts",
7749
- "line": 332
7862
+ "line": 383
7750
7863
  },
7751
7864
  "name": "typeName",
7752
7865
  "type": {
@@ -7819,7 +7932,7 @@
7819
7932
  "kind": "interface",
7820
7933
  "locationInModule": {
7821
7934
  "filename": "src/types.ts",
7822
- "line": 352
7935
+ "line": 403
7823
7936
  },
7824
7937
  "name": "TranslationBehavior",
7825
7938
  "properties": [
@@ -7834,7 +7947,7 @@
7834
7947
  "immutable": true,
7835
7948
  "locationInModule": {
7836
7949
  "filename": "src/types.ts",
7837
- "line": 431
7950
+ "line": 482
7838
7951
  },
7839
7952
  "name": "allowDestructiveGraphqlSchemaUpdates",
7840
7953
  "type": {
@@ -7851,7 +7964,7 @@
7851
7964
  "immutable": true,
7852
7965
  "locationInModule": {
7853
7966
  "filename": "src/types.ts",
7854
- "line": 364
7967
+ "line": 415
7855
7968
  },
7856
7969
  "name": "disableResolverDeduping",
7857
7970
  "type": {
@@ -7872,7 +7985,7 @@
7872
7985
  "immutable": true,
7873
7986
  "locationInModule": {
7874
7987
  "filename": "src/types.ts",
7875
- "line": 403
7988
+ "line": 454
7876
7989
  },
7877
7990
  "name": "enableAutoIndexQueryNames",
7878
7991
  "type": {
@@ -7887,7 +8000,7 @@
7887
8000
  "immutable": true,
7888
8001
  "locationInModule": {
7889
8002
  "filename": "src/types.ts",
7890
- "line": 411
8003
+ "line": 462
7891
8004
  },
7892
8005
  "name": "enableSearchNodeToNodeEncryption",
7893
8006
  "type": {
@@ -7904,7 +8017,7 @@
7904
8017
  "immutable": true,
7905
8018
  "locationInModule": {
7906
8019
  "filename": "src/types.ts",
7907
- "line": 417
8020
+ "line": 468
7908
8021
  },
7909
8022
  "name": "enableTransformerCfnOutputs",
7910
8023
  "type": {
@@ -7921,7 +8034,7 @@
7921
8034
  "immutable": true,
7922
8035
  "locationInModule": {
7923
8036
  "filename": "src/types.ts",
7924
- "line": 383
8037
+ "line": 434
7925
8038
  },
7926
8039
  "name": "populateOwnerFieldForStaticGroupAuth",
7927
8040
  "type": {
@@ -7939,7 +8052,7 @@
7939
8052
  "immutable": true,
7940
8053
  "locationInModule": {
7941
8054
  "filename": "src/types.ts",
7942
- "line": 441
8055
+ "line": 492
7943
8056
  },
7944
8057
  "name": "replaceTableUponGsiUpdate",
7945
8058
  "type": {
@@ -7956,7 +8069,7 @@
7956
8069
  "immutable": true,
7957
8070
  "locationInModule": {
7958
8071
  "filename": "src/types.ts",
7959
- "line": 409
8072
+ "line": 460
7960
8073
  },
7961
8074
  "name": "respectPrimaryKeyAttributesOnConnectionField",
7962
8075
  "type": {
@@ -7973,7 +8086,7 @@
7973
8086
  "immutable": true,
7974
8087
  "locationInModule": {
7975
8088
  "filename": "src/types.ts",
7976
- "line": 370
8089
+ "line": 421
7977
8090
  },
7978
8091
  "name": "sandboxModeEnabled",
7979
8092
  "type": {
@@ -7993,7 +8106,7 @@
7993
8106
  "immutable": true,
7994
8107
  "locationInModule": {
7995
8108
  "filename": "src/types.ts",
7996
- "line": 396
8109
+ "line": 447
7997
8110
  },
7998
8111
  "name": "secondaryKeyAsGSI",
7999
8112
  "type": {
@@ -8013,7 +8126,7 @@
8013
8126
  "immutable": true,
8014
8127
  "locationInModule": {
8015
8128
  "filename": "src/types.ts",
8016
- "line": 357
8129
+ "line": 408
8017
8130
  },
8018
8131
  "name": "shouldDeepMergeDirectiveConfigDefaults",
8019
8132
  "type": {
@@ -8031,7 +8144,7 @@
8031
8144
  "immutable": true,
8032
8145
  "locationInModule": {
8033
8146
  "filename": "src/types.ts",
8034
- "line": 390
8147
+ "line": 441
8035
8148
  },
8036
8149
  "name": "suppressApiKeyGeneration",
8037
8150
  "type": {
@@ -8048,7 +8161,7 @@
8048
8161
  "immutable": true,
8049
8162
  "locationInModule": {
8050
8163
  "filename": "src/types.ts",
8051
- "line": 377
8164
+ "line": 428
8052
8165
  },
8053
8166
  "name": "useSubUsernameForDefaultIdentityClaim",
8054
8167
  "type": {
@@ -8069,7 +8182,7 @@
8069
8182
  "kind": "interface",
8070
8183
  "locationInModule": {
8071
8184
  "filename": "src/types.ts",
8072
- "line": 55
8185
+ "line": 98
8073
8186
  },
8074
8187
  "name": "UserPoolAuthorizationConfig",
8075
8188
  "properties": [
@@ -8082,7 +8195,7 @@
8082
8195
  "immutable": true,
8083
8196
  "locationInModule": {
8084
8197
  "filename": "src/types.ts",
8085
- "line": 59
8198
+ "line": 102
8086
8199
  },
8087
8200
  "name": "userPool",
8088
8201
  "type": {
@@ -8170,6 +8283,6 @@
8170
8283
  "symbolId": "src/model-datasource-strategy-types:VpcConfig"
8171
8284
  }
8172
8285
  },
8173
- "version": "1.8.1",
8174
- "fingerprint": "VIsfxprZNhSSF6JXV2vxddQyuoEc3W/sKrqgYe1h4fs="
8286
+ "version": "1.9.0-gen2-release-0416.0",
8287
+ "fingerprint": "03Getqe61EjsvTOn16lgpfrY7TjCWuyl7LZvZ7XJdTc="
8175
8288
  }