@aws-amplify/graphql-api-construct 1.7.1-gen2-release.1 → 1.8.0-gen2-release.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. package/.jsii +72 -34
  2. package/API.md +6 -1
  3. package/CHANGELOG.md +6 -0
  4. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  5. package/lib/amplify-graphql-api.js +1 -1
  6. package/lib/amplify-graphql-definition.js +1 -1
  7. package/lib/internal/data-source-config.js +3 -2
  8. package/lib/model-datasource-strategy-types.d.ts +9 -1
  9. package/lib/model-datasource-strategy-types.js +1 -1
  10. package/lib/sql-model-datasource-strategy.d.ts +7 -1
  11. package/lib/sql-model-datasource-strategy.js +15 -4
  12. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +4 -0
  13. package/node_modules/@aws-amplify/graphql-auth-transformer/LICENSE +201 -0
  14. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +12 -11
  15. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +4 -0
  16. package/node_modules/@aws-amplify/graphql-default-value-transformer/LICENSE +201 -0
  17. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +7 -6
  18. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +4 -0
  19. package/node_modules/@aws-amplify/graphql-function-transformer/LICENSE +201 -0
  20. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +6 -5
  21. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +4 -0
  22. package/node_modules/@aws-amplify/graphql-http-transformer/LICENSE +201 -0
  23. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +6 -5
  24. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +4 -0
  25. package/node_modules/@aws-amplify/graphql-index-transformer/LICENSE +201 -0
  26. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +7 -6
  27. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +4 -0
  28. package/node_modules/@aws-amplify/graphql-maps-to-transformer/LICENSE +201 -0
  29. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  30. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +10 -9
  31. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +6 -0
  32. package/node_modules/@aws-amplify/graphql-model-transformer/LICENSE +201 -0
  33. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  34. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  35. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  36. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -1
  37. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +7 -0
  38. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -1
  39. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.d.ts.map +1 -1
  40. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js +5 -0
  41. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js.map +1 -1
  42. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +6 -5
  43. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +4 -0
  44. package/node_modules/@aws-amplify/graphql-predictions-transformer/LICENSE +201 -0
  45. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  46. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +6 -5
  47. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +4 -0
  48. package/node_modules/@aws-amplify/graphql-relational-transformer/LICENSE +201 -0
  49. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +8 -7
  50. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +4 -0
  51. package/node_modules/@aws-amplify/graphql-searchable-transformer/LICENSE +201 -0
  52. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  53. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +7 -6
  54. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +4 -0
  55. package/node_modules/@aws-amplify/graphql-sql-transformer/LICENSE +201 -0
  56. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +7 -6
  57. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +4 -0
  58. package/node_modules/@aws-amplify/graphql-transformer/LICENSE +201 -0
  59. package/node_modules/@aws-amplify/graphql-transformer/package.json +16 -15
  60. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +4 -0
  61. package/node_modules/@aws-amplify/graphql-transformer-core/LICENSE +201 -0
  62. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +4 -3
  63. package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +10 -1
  64. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +6 -0
  65. package/node_modules/@aws-amplify/graphql-transformer-interfaces/LICENSE +201 -0
  66. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +5 -1
  67. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts.map +1 -1
  68. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js +5 -1
  69. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js.map +1 -1
  70. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +3 -2
  71. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +20 -1
  72. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  73. package/package.json +17 -17
  74. package/src/internal/data-source-config.ts +5 -1
  75. package/src/model-datasource-strategy-types.ts +11 -1
  76. package/src/sql-model-datasource-strategy.ts +15 -1
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2017 - 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -1 +1 @@
1
- {"version":3,"file":"resolver.d.ts","sourceRoot":"","sources":["../../../src/resolvers/rds/resolver.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAgB,MAAM,aAAa,CAAC;AACvD,OAAO,EACL,UAAU,EAcX,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,sBAAsB,EAAmB,MAAM,uCAAuC,CAAC;AAChG,OAAO,EACL,kBAAkB,EAClB,eAAe,EAEf,0BAA0B,EAC1B,SAAS,EACT,4BAA4B,EAC5B,oCAAoC,EAGrC,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAU,KAAK,EAAmD,MAAM,qBAAqB,CAAC;AACrG,OAAO,EAAE,SAAS,EAA4D,MAAM,wBAAwB,CAAC;AAC7G,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAqD,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEtG,OAAO,EAAE,iBAAiB,EAA+C,MAAM,8BAA8B,CAAC;AAK9G,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;AAMlF,oBAAY,uBAAuB;IACjC,GAAG,QAAQ;IACX,eAAe,oBAAoB;CACpC;AAWD,eAAO,MAAM,mBAAmB,UAAW,SAAS,WAAW,eAAe,iBAAiB,sBAAsB,KAAG,UAGpH,CAAC;AAQL,eAAO,MAAM,eAAe,UACnB,SAAS,cACJ,kBAAkB,cAClB,KAAK,mBACA,MAAM,iBACR,sBAAsB,2BACZ,uBAAuB,GAAG,SAAS;;oCAEvC,SAAS,0CACU,4BAA4B,KACnE,SAgEF,CAAC;AAYF,eAAO,MAAM,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O,MAAM,6BAA6B,cAC7B,MAAM,aACN,MAAM,iBACF,MAAM,OAChB,0BAA0B,KAC9B,MA2BF,CAAC;AAMF,eAAO,MAAM,iCAAiC,kBAAmB,OAAO,KAAG,MAiB1E,CAAC;AAQF,eAAO,MAAM,4CAA4C,kBAAmB,OAAO,yBAAqB,MAkBvG,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,wBAAwB,GAAG,SAAS,OAAO,0BAA0B,KAAG,MAAM,EAMxH,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,wBAAwB,GAAG,SAAS,OAAO,0BAA0B,KAAG,MAAM,EAKpH,CAAC;AAEF,eAAO,MAAM,iCAAiC,cAAe,MAAM,OAAO,0BAA0B,KAAG,UACyB,CAAC;AAEjI,eAAO,MAAM,6BAA6B,cAAe,MAAM,OAAO,0BAA0B,KAAG,UACqB,CAAC;AAEzH,eAAO,MAAM,0BAA0B,QAAO,UAU7C,CAAC;AAEF,eAAO,MAAM,4BAA4B,YAAa,MAAM,KAAG,UAC+D,CAAC"}
@@ -174,6 +174,13 @@ const createRdsLambdaRole = (roleName, scope, secretEntry, resourceNames) => {
174
174
  }));
175
175
  }
176
176
  }
177
+ else if ((0, graphql_transformer_interfaces_1.isSqlModelDataSourceSsmDbConnectionStringConfig)(secretEntry)) {
178
+ policyStatements.push(new aws_iam_1.PolicyStatement({
179
+ actions: ['ssm:GetParameter', 'ssm:GetParameters'],
180
+ effect: aws_iam_1.Effect.ALLOW,
181
+ resources: [`arn:aws:ssm:*:*:parameter${secretEntry.connectionUriSsmPath}`],
182
+ }));
183
+ }
177
184
  else {
178
185
  throw new Error('Unable to determine if SSM or Secrets Manager should be used for credentials.');
179
186
  }
@@ -1 +1 @@
1
- {"version":3,"file":"resolver.js","sourceRoot":"","sources":["../../../src/resolvers/rds/resolver.ts"],"names":[],"mappings":";;;;;;AAAA,gDAAwB;AACxB,6CAAuD;AACvD,uEAekC;AAClC,2EAA4F;AAC5F,oFAAgG;AAChG,gGAU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AAE,GAA+B,EAAc,EAAE,CAC9G,IAAA,8BAAG,EAAC,IAAA,8BAAG,EAAC,uCAAuC,CAAC,EAAE,IAAA,+BAAI,EAAC,IAAA,sBAAc,EAAC,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,EAAE,GAAG,CAAC,CAAC,GAAG,CAAC,8BAAG,CAAC,CAAC,CAAC,CAAC;AAD5G,QAAA,6BAA6B,iCAC+E;AAElH,MAAM,0BAA0B,GAAG,GAAe,EAAE;IACzD,OAAO,IAAA,6CAAkB,EAAC;QACxB,IAAA,8BAAG,EAAC,IAAA,8BAAG,EAAC,oCAAoC,CAAC,EAAE,IAAA,8BAAG,EAAC,EAAE,CAAC,CAAC;QACvD,IAAA,+BAAI,EACF,IAAA,qCAAU,EACR,IAAA,8BAAG,EAAC,2CAA2C,CAAC,EAChD,IAAA,qCAAU,EAAC,IAAA,8BAAG,EAAC,oBAAoB,CAAC,EAAE,IAAA,8BAAG,EAAC,wBAAwB,CAAC,EAAE,IAAA,8BAAG,EAAC,EAAE,CAAC,CAAC,CAC9E,CACF;KACF,CAAC,CAAC;AACL,CAAC,CAAC;AAVW,QAAA,0BAA0B,8BAUrC;AAEK,MAAM,4BAA4B,GAAG,CAAC,OAAe,EAAc,EAAE,CAC1E,IAAA,8BAAG,EAAC,IAAA,8BAAG,EAAC,IAAA,qCAAU,EAAC,IAAA,8BAAG,EAAC,oBAAoB,CAAC,EAAE,IAAA,8BAAG,EAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,IAAA,8BAAG,EAAC,IAAA,8BAAG,EAAC,OAAO,CAAC,EAAE,IAAA,8BAAG,EAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;AADlH,QAAA,4BAA4B,gCACsF"}
@@ -1 +1 @@
1
- {"version":3,"file":"rds-model-resource-generator.d.ts","sourceRoot":"","sources":["../../src/resources/rds-model-resource-generator.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,gCAAgC,EAChC,0BAA0B,EAG3B,MAAM,6CAA6C,CAAC;AAIrD,OAAO,EAAE,iBAAiB,EAAwB,MAAM,cAAc,CAAC;AAUvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAMpE,qBAAa,yBAA0B,SAAQ,sBAAsB;IACnE,SAAS,CAAC,QAAQ,CAAC,aAAa,+BAA+B;IAS/D,iBAAiB,CAAC,OAAO,EAAE,0BAA0B,EAAE,gBAAgB,CAAC,EAAE,gCAAgC,GAAG,IAAI;IA+CjH,OAAO,CAAC,yCAAyC,CA+F/C;IAGF,eAAe,IAAI,iBAAiB;IAIpC,iCAAiC,CAAC,OAAO,EAAE,0BAA0B,GAAG,IAAI;CAqB7E"}
1
+ {"version":3,"file":"rds-model-resource-generator.d.ts","sourceRoot":"","sources":["../../src/resources/rds-model-resource-generator.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,gCAAgC,EAChC,0BAA0B,EAI3B,MAAM,6CAA6C,CAAC;AAIrD,OAAO,EAAE,iBAAiB,EAAwB,MAAM,cAAc,CAAC;AAUvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAMpE,qBAAa,yBAA0B,SAAQ,sBAAsB;IACnE,SAAS,CAAC,QAAQ,CAAC,aAAa,+BAA+B;IAS/D,iBAAiB,CAAC,OAAO,EAAE,0BAA0B,EAAE,gBAAgB,CAAC,EAAE,gCAAgC,GAAG,IAAI;IA+CjH,OAAO,CAAC,yCAAyC,CAmG/C;IAGF,eAAe,IAAI,iBAAiB;IAIpC,iCAAiC,CAAC,OAAO,EAAE,0BAA0B,GAAG,IAAI;CAqB7E"}
@@ -46,6 +46,11 @@ class RdsModelResourceGenerator extends model_resource_generator_1.ModelResource
46
46
  environment.host = secretEntry.hostname;
47
47
  credentialStorageMethod = rds_1.CredentialStorageMethod.SECRETS_MANAGER;
48
48
  }
49
+ else if ((0, graphql_transformer_interfaces_1.isSqlModelDataSourceSsmDbConnectionStringConfig)(secretEntry)) {
50
+ environment.CREDENTIAL_STORAGE_METHOD = 'SSM';
51
+ environment.connectionString = secretEntry.connectionUriSsmPath;
52
+ credentialStorageMethod = rds_1.CredentialStorageMethod.SSM;
53
+ }
49
54
  const lambda = (0, rds_1.createRdsLambda)(lambdaScope, context.api, role, layerVersionArn, resourceNames, credentialStorageMethod, environment, strategy.vpcConfiguration, strategy.sqlLambdaProvisionedConcurrencyConfig);
50
55
  const patchingLambdaRoleScope = context.stackManager.getScopeFor(resourceNames.sqlPatchingLambdaExecutionRole, resourceNames.sqlStack);
51
56
  const patchingLambdaRole = (0, rds_1.createRdsPatchingLambdaRole)(context.resourceHelper.generateIAMRoleName(resourceNames.sqlPatchingLambdaExecutionRole), patchingLambdaRoleScope, lambda.functionArn, resourceNames);
@@ -1 +1 @@
1
- {"version":3,"file":"rds-model-resource-generator.js","sourceRoot":"","sources":["../../src/resources/rds-model-resource-generator.ts"],"names":[],"mappings":";;;AAAA,6CAAiC;AAEjC,iDAAgE;AAChE,6EAAuE;AACvE,oFAK+C;AAC/C,gGAMqD;AACrD,2EAA+D;AAG/D,4CAAuE;AACvE,0CAQ0B;AAC1B,yEAAoE;AAMpE,MAAa,yBAA0B,SAAQ,iDAAsB;IAArE;;QACqB,kBAAa,GAAG,2BAA2B,CAAC;QAwDvD,8CAAyC,GAAG,CAClD,OAAmC,EACnC,QAA0C,EACxB,EAAE;YACpB,MAAM,aAAa,GAAG,IAAA,sDAA2B,EAAC,QAAQ,CAAC,CAAC;YAE5D,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC;YAC/B,MAAM,MAAM,GAAG,IAAA,+DAAoC,EAAC,MAAM,CAAC,CAAC;YAC5D,MAAM,kBAAkB,GAAG,QAAQ,CAAC,kBAAkB,CAAC;YACvD,MAAM,WAAW,GAAG,QAAQ,CAAC,kBAAkB,CAAC;YAChD,MAAM,EAAE,uCAAuC,EAAE,oCAAoC,EAAE,GAAG,8CAAiB,CAAC,SAAS,CAAC;YAEtH,MAAM,eAAe,GAAG,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C,EAAE,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;YACpH,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AApLD,8DAoLC;AAcD,MAAM,mBAAmB,GAAG,CAAC,KAAgB,EAAE,OAAmC,EAAE,aAAqC,EAAU,EAAE;IACnI,IAAI,eAAuB,CAAC;IAC5B,IAAI,OAAO,CAAC,eAAe,EAAE;QAC3B,IAAA,yBAAmB,EAAC,KAAK,EAAE,OAAO,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;QACnE,eAAe,GAAG,gBAAE,CAAC,SAAS,CAAC,aAAa,CAAC,sBAAsB,EAAE,gBAAE,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,aAAa,CAAC,CAAC;KAC5G;SAAM;QACL,MAAM,0BAA0B,GAAG,IAAA,sCAAgC,EAAC,KAAK,EAAE,aAAa,CAAC,CAAC;QAC1F,eAAe,GAAG,0BAA0B,CAAC,gBAAgB,CAAC,MAAM,CAAC,CAAC;KACvE;IACD,OAAO,eAAe,CAAC;AACzB,CAAC,CAAC"}
1
+ {"version":3,"file":"rds-model-resource-generator.js","sourceRoot":"","sources":["../../src/resources/rds-model-resource-generator.ts"],"names":[],"mappings":";;;AAAA,6CAAiC;AAEjC,iDAAgE;AAChE,6EAAuE;AACvE,oFAK+C;AAC/C,gGAOqD;AACrD,2EAA+D;AAG/D,4CAAuE;AACvE,0CAQ0B;AAC1B,yEAAoE;AAMpE,MAAa,yBAA0B,SAAQ,iDAAsB;IAArE;;QACqB,kBAAa,GAAG,2BAA2B,CAAC;QAwDvD,8CAAyC,GAAG,CAClD,OAAmC,EACnC,QAA0C,EACxB,EAAE;YACpB,MAAM,aAAa,GAAG,IAAA,sDAA2B,EAAC,QAAQ,CAAC,CAAC;YAE5D,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,C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ACzB,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-model-transformer",
3
- "version": "2.7.1-gen2-release.0",
3
+ "version": "2.8.0-gen2-release.0",
4
4
  "description": "Amplify graphql @model transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@aws-amplify/graphql-directives": "1.1.0-gen2-release.0",
36
- "@aws-amplify/graphql-transformer-core": "2.5.2-gen2-release.0",
37
- "@aws-amplify/graphql-transformer-interfaces": "3.5.1-gen2-release.0",
36
+ "@aws-amplify/graphql-transformer-core": "2.5.2-gen2-release.1",
37
+ "@aws-amplify/graphql-transformer-interfaces": "3.6.0-gen2-release.0",
38
38
  "graphql": "^15.5.0",
39
39
  "graphql-mapping-template": "4.20.15",
40
40
  "graphql-transformer-common": "4.29.1-gen2-release.0"
@@ -44,7 +44,7 @@
44
44
  "constructs": "^10.0.5"
45
45
  },
46
46
  "devDependencies": {
47
- "@aws-amplify/graphql-transformer-test-utils": "0.4.8-gen2-release.0",
47
+ "@aws-amplify/graphql-transformer-test-utils": "0.4.8-gen2-release.1",
48
48
  "@aws-sdk/client-dynamodb": "^3.431.0",
49
49
  "@types/aws-lambda": "8.10.119",
50
50
  "@types/node": "^12.12.6"
@@ -85,5 +85,6 @@
85
85
  "coveragePathIgnorePatterns": [
86
86
  "/__tests__/"
87
87
  ]
88
- }
88
+ },
89
+ "gitHead": "990369ef2ef303d9abaea74f5c8c24e745af3461"
89
90
  }
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.1.20-gen2-release.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-predictions-transformer@2.1.20-gen2-release.0...@aws-amplify/graphql-predictions-transformer@2.1.20-gen2-release.1) (2024-04-03)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/graphql-predictions-transformer
9
+
6
10
  ## [2.1.20-gen2-release.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-predictions-transformer@2.1.19-gen2-release.1...@aws-amplify/graphql-predictions-transformer@2.1.20-gen2-release.0) (2024-03-29)
7
11
 
8
12
  **Note:** Version bump only for package @aws-amplify/graphql-predictions-transformer
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2017 - 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.