@aws-amplify/graphql-api-construct 1.9.0-gen2-release-0423.0 → 1.9.1-cdk-upgrade-2.129.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. package/.jsii +231 -34
  2. package/CHANGELOG.md +5 -1
  3. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  4. package/lib/amplify-graphql-api.js +1 -1
  5. package/lib/amplify-graphql-definition.js +1 -1
  6. package/lib/sql-model-datasource-strategy.js +1 -1
  7. package/lib/types.d.ts +1 -1
  8. package/lib/types.js +1 -1
  9. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +7 -1
  10. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.d.ts.map +1 -1
  11. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js +3 -0
  12. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js.map +1 -1
  13. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +16 -16
  14. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +5 -1
  15. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +9 -9
  16. package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +1 -1
  17. package/node_modules/@aws-amplify/graphql-directives/package.json +2 -3
  18. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +5 -1
  19. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +10 -10
  20. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +5 -1
  21. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +10 -10
  22. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +5 -1
  23. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +11 -11
  24. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +7 -1
  25. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  26. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +14 -14
  27. package/node_modules/@aws-amplify/graphql-model-transformer/API.md +1 -1
  28. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +13 -1
  29. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts +1 -1
  30. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
  31. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
  32. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  33. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  34. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  35. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/mutation.d.ts.map +1 -1
  36. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/mutation.js +10 -10
  37. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/mutation.js.map +1 -1
  38. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/query.d.ts.map +1 -1
  39. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/query.js +5 -5
  40. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/query.js.map +1 -1
  41. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts +0 -8
  42. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -1
  43. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +7 -36
  44. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -1
  45. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.d.ts +0 -1
  46. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.d.ts.map +1 -1
  47. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js +57 -42
  48. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js.map +1 -1
  49. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.d.ts +2 -2
  50. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.d.ts.map +1 -1
  51. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js +111 -17
  52. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js.map +1 -1
  53. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.d.ts +19 -0
  54. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.d.ts.map +1 -0
  55. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.js +95 -0
  56. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.js.map +1 -0
  57. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/outbound.d.ts +9 -0
  58. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/outbound.d.ts.map +1 -0
  59. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/outbound.js +55 -0
  60. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/outbound.js.map +1 -0
  61. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/util.d.ts +8 -0
  62. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/util.d.ts.map +1 -0
  63. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/util.js +39 -0
  64. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/util.js.map +1 -0
  65. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/provider.d.ts +17 -0
  66. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/provider.d.ts.map +1 -0
  67. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/provider.js +26 -0
  68. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/provider.js.map +1 -0
  69. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/waiter-state-machine.d.ts +14 -0
  70. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/waiter-state-machine.d.ts.map +1 -0
  71. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/waiter-state-machine.js +50 -0
  72. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/waiter-state-machine.js.map +1 -0
  73. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.d.ts +2 -2
  74. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.d.ts.map +1 -1
  75. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.js +39 -33
  76. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.js.map +1 -1
  77. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +12 -11
  78. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +5 -1
  79. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  80. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +10 -10
  81. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +9 -1
  82. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.d.ts.map +1 -1
  83. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.js +1 -0
  84. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.js.map +1 -1
  85. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts.map +1 -1
  86. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js +1 -0
  87. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js.map +1 -1
  88. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.d.ts.map +1 -1
  89. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js +1 -0
  90. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js.map +1 -1
  91. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts.map +1 -1
  92. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js +1 -0
  93. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js.map +1 -1
  94. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.d.ts.map +1 -1
  95. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js +1 -0
  96. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js.map +1 -1
  97. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts.map +1 -1
  98. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js +1 -0
  99. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js.map +1 -1
  100. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.d.ts.map +1 -1
  101. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.js +2 -2
  102. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.js.map +1 -1
  103. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.d.ts +2 -2
  104. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.d.ts.map +1 -1
  105. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js +9 -5
  106. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js.map +1 -1
  107. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts +1 -0
  108. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts.map +1 -1
  109. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js +38 -5
  110. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js.map +1 -1
  111. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +12 -12
  112. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +5 -1
  113. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  114. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +11 -11
  115. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +5 -1
  116. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +11 -11
  117. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +5 -1
  118. package/node_modules/@aws-amplify/graphql-transformer/package.json +17 -17
  119. package/node_modules/@aws-amplify/graphql-transformer-core/API.md +19 -0
  120. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +9 -1
  121. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +1 -1
  122. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -1
  123. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +14 -8
  124. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
  125. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.d.ts +1 -1
  126. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.d.ts.map +1 -1
  127. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.js +7 -1
  128. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.js.map +1 -1
  129. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-util.d.ts +9 -0
  130. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-util.d.ts.map +1 -1
  131. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-util.js +34 -1
  132. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-util.js.map +1 -1
  133. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +8 -7
  134. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +5 -1
  135. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +4 -4
  136. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  137. package/node_modules/graphql-mapping-template/API.md +14 -1
  138. package/node_modules/graphql-mapping-template/CHANGELOG.md +6 -0
  139. package/node_modules/graphql-mapping-template/lib/ast.d.ts +7 -1
  140. package/node_modules/graphql-mapping-template/lib/ast.d.ts.map +1 -1
  141. package/node_modules/graphql-mapping-template/lib/ast.js +9 -1
  142. package/node_modules/graphql-mapping-template/lib/ast.js.map +1 -1
  143. package/node_modules/graphql-mapping-template/lib/print.d.ts.map +1 -1
  144. package/node_modules/graphql-mapping-template/lib/print.js +5 -0
  145. package/node_modules/graphql-mapping-template/lib/print.js.map +1 -1
  146. package/node_modules/graphql-mapping-template/package.json +3 -3
  147. package/node_modules/graphql-transformer-common/CHANGELOG.md +1 -1
  148. package/node_modules/graphql-transformer-common/package.json +3 -4
  149. package/package.json +24 -24
  150. package/src/types.ts +1 -1
  151. package/node_modules/@aws-amplify/graphql-directives/LICENSE +0 -201
  152. package/node_modules/graphql-transformer-common/LICENSE +0 -201
@@ -137,7 +137,7 @@ export interface EqualsNode {
137
137
  }
138
138
 
139
139
  // @public (undocumented)
140
- export type Expression = IfNode | IfElseNode | AndNode | OrNode | ParensNode | EqualsNode | NotEqualsNode | ForEachNode | StringNode | RawNode | QuotesNode | FloatNode | IntNode | BooleanNode | NullNode | ReferenceNode | QuietReferenceNode | ObjectNode | ListNode | SetNode | CommentNode | CompoundExpressionNode | ToJsonNode | IsNullOrEmptyNode | NotNode | NewLineNode | ReturnNode;
140
+ export type Expression = IfNode | IfElseNode | AndNode | OrNode | ParensNode | EqualsNode | NotEqualsNode | GreaterThanNode | ForEachNode | StringNode | RawNode | QuotesNode | FloatNode | IntNode | BooleanNode | NullNode | ReferenceNode | QuietReferenceNode | ObjectNode | ListNode | SetNode | CommentNode | CompoundExpressionNode | ToJsonNode | IsNullOrEmptyNode | NotNode | NewLineNode | ReturnNode;
141
141
 
142
142
  // @public (undocumented)
143
143
  export function float(value: number): FloatNode;
@@ -165,6 +165,19 @@ export interface ForEachNode {
165
165
  kind: 'ForEach';
166
166
  }
167
167
 
168
+ // @public (undocumented)
169
+ export function greaterThan(leftExpr: Expression, rightExpr: Expression): GreaterThanNode;
170
+
171
+ // @public (undocumented)
172
+ export interface GreaterThanNode {
173
+ // (undocumented)
174
+ kind: 'GreaterThan';
175
+ // (undocumented)
176
+ leftExpr: Expression;
177
+ // (undocumented)
178
+ rightExpr: Expression;
179
+ }
180
+
168
181
  // @public (undocumented)
169
182
  export class HttpMappingTemplate {
170
183
  // (undocumented)
@@ -3,6 +3,12 @@
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
+ ## [4.20.16](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.15...graphql-mapping-template@4.20.16) (2024-04-26)
7
+
8
+ ### Bug Fixes
9
+
10
+ - ddb references hasOne returns record if multiple exist ([#2497](https://github.com/aws-amplify/amplify-category-api/issues/2497)) ([c105138](https://github.com/aws-amplify/amplify-category-api/commit/c1051384780c732ea2ddb98301994bda55bb62d9))
11
+
6
12
  ## [4.20.15](https://github.com/aws-amplify/amplify-category-api/compare/graphql-mapping-template@4.20.14...graphql-mapping-template@4.20.15) (2024-02-28)
7
13
 
8
14
  **Note:** Version bump only for package graphql-mapping-template
@@ -40,6 +40,12 @@ export interface NotEqualsNode {
40
40
  rightExpr: Expression;
41
41
  }
42
42
  export declare function notEquals(leftExpr: Expression, rightExpr: Expression): NotEqualsNode;
43
+ export interface GreaterThanNode {
44
+ kind: 'GreaterThan';
45
+ leftExpr: Expression;
46
+ rightExpr: Expression;
47
+ }
48
+ export declare function greaterThan(leftExpr: Expression, rightExpr: Expression): GreaterThanNode;
43
49
  export interface NotNode {
44
50
  kind: 'Not';
45
51
  expr: Expression;
@@ -147,5 +153,5 @@ export type NewLineNode = {
147
153
  export declare function newline(): NewLineNode;
148
154
  export declare function block(name: string, exprs: Expression[]): CompoundExpressionNode;
149
155
  export declare function methodCall(methodName: ReferenceNode, ...params: Expression[]): CompoundExpressionNode;
150
- export type Expression = IfNode | IfElseNode | AndNode | OrNode | ParensNode | EqualsNode | NotEqualsNode | ForEachNode | StringNode | RawNode | QuotesNode | FloatNode | IntNode | BooleanNode | NullNode | ReferenceNode | QuietReferenceNode | ObjectNode | ListNode | SetNode | CommentNode | CompoundExpressionNode | ToJsonNode | IsNullOrEmptyNode | NotNode | NewLineNode | ReturnNode;
156
+ export type Expression = IfNode | IfElseNode | AndNode | OrNode | ParensNode | EqualsNode | NotEqualsNode | GreaterThanNode | ForEachNode | StringNode | RawNode | QuotesNode | FloatNode | IntNode | BooleanNode | NullNode | ReferenceNode | QuietReferenceNode | ObjectNode | ListNode | SetNode | CommentNode | CompoundExpressionNode | ToJsonNode | IsNullOrEmptyNode | NotNode | NewLineNode | ReturnNode;
151
157
  //# sourceMappingURL=ast.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ast.d.ts","sourceRoot":"","sources":["../src/ast.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,MAAM;IACrB,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,EAAE,UAAU,CAAC;IACtB,IAAI,EAAE,UAAU,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;CACjB;AACD,wBAAgB,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAOrF;AAKD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,EAAE,UAAU,CAAC;IACtB,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,UAAU,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;CACjB;AACD,wBAAgB,MAAM,CAAC,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,CAQpH;AAKD,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CAClB,CAAC;AAEF,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,iBAAiB,CAKjE;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,SAAS,CAAC;CACjB,CAAC;AACF,wBAAgB,OAAO,IAAI,WAAW,CAIrC;AAED,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,sBAAsB,CAE/E;AAED,wBAAgB,UAAU,CAAC,UAAU,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,UAAU,EAAE,GAAG,sBAAsB,CAErG;AAKD,MAAM,MAAM,UAAU,GAClB,MAAM,GACN,UAAU,GACV,OAAO,GACP,MAAM,GACN,UAAU,GACV,UAAU,GACV,aAAa,GACb,eAAe,GACf,WAAW,GACX,UAAU,GACV,OAAO,GACP,UAAU,GACV,SAAS,GACT,OAAO,GACP,WAAW,GACX,QAAQ,GACR,aAAa,GACb,kBAAkB,GAClB,UAAU,GACV,QAAQ,GACR,OAAO,GACP,WAAW,GACX,sBAAsB,GACtB,UAAU,GACV,iBAAiB,GACjB,OAAO,GACP,WAAW,GACX,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.methodCall = exports.block = exports.newline = exports.isNullOrEmpty = exports.toJson = exports.compoundExpression = exports.comment = exports.set = exports.list = exports.obj = exports.qref = exports.ref = exports.nul = exports.bool = exports.int = exports.float = exports.quotes = exports.raw = exports.str = exports.forEach = exports.ret = exports.not = exports.notEquals = exports.equals = exports.parens = exports.or = exports.and = exports.ifElse = exports.iff = void 0;
3
+ exports.methodCall = exports.block = exports.newline = exports.isNullOrEmpty = exports.toJson = exports.compoundExpression = exports.comment = exports.set = exports.list = exports.obj = exports.qref = exports.ref = exports.nul = exports.bool = exports.int = exports.float = exports.quotes = exports.raw = exports.str = exports.forEach = exports.ret = exports.not = exports.greaterThan = exports.notEquals = exports.equals = exports.parens = exports.or = exports.and = exports.ifElse = exports.iff = void 0;
4
4
  function iff(predicate, expr, inline) {
5
5
  return {
6
6
  kind: 'If',
@@ -57,6 +57,14 @@ function notEquals(leftExpr, rightExpr) {
57
57
  };
58
58
  }
59
59
  exports.notEquals = notEquals;
60
+ function greaterThan(leftExpr, rightExpr) {
61
+ return {
62
+ kind: 'GreaterThan',
63
+ leftExpr,
64
+ rightExpr,
65
+ };
66
+ }
67
+ exports.greaterThan = greaterThan;
60
68
  function not(expr) {
61
69
  return {
62
70
  kind: 'Not',
@@ -1 +1 @@
1
- {"version":3,"file":"ast.js","sourceRoot":"","sources":["../src/ast.ts"],"names":[],"mappings":";;;AASA,SAAgB,GAAG,CAAC,SAAqB,EAAE,IAAgB,EAAE,MAAgB;IAC3E,OAAO;QACL,IAAI,EAAE,IAAI;QACV,SAAS;QACT,IAAI;QACJ,MAAM;KACP,CAAC;AACJ,CAAC;AAPD,kBAOC;AAYD,SAAgB,MAAM,CAAC,SAAqB,EAAE,MAAkB,EAAE,QAAoB,EAAE,MAAgB;IACtG,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,SAAS;QACT,MAAM;QACN,QAAQ;QACR,MAAM;KACP,CAAC;AACJ,CAAC;AARD,wBAQC;AASD,SAAgB,GAAG,CAAC,WAAyB;IAC3C,OAAO;QACL,IAAI,EAAE,KAAK;QACX,WAAW;KACZ,CAAC;AACJ,CAAC;AALD,kBAKC;AASD,SAAgB,EAAE,CAAC,WAAyB;IAC1C,OAAO;QACL,IAAI,EAAE,IAAI;QACV,WAAW;KACZ,CAAC;AACJ,CAAC;AALD,gBAKC;AASD,SAAgB,MAAM,CAAC,IAAgB;IACrC,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,IAAI;KACL,CAAC;AACJ,CAAC;AALD,wBAKC;AAUD,SAAgB,MAAM,CAAC,QAAoB,EAAE,SAAqB;IAChE,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,QAAQ;QACR,SAAS;KACV,CAAC;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":["../src/print.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAcV,UAAU,EAiBX,MAAM,OAAO,CAAC;AAyFf,wBAAgB,WAAW,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,GAAE,MAAW,GAAG,MAAM,CAMzE;AA8GD,wBAAgB,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAE9C;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,UACvB,UAAU,KAAG,MAAM,CAIlC"}
1
+ {"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../src/print.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAcV,UAAU,EAkBX,MAAM,OAAO,CAAC;AA6Ff,wBAAgB,WAAW,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,GAAE,MAAW,GAAG,MAAM,CAMzE;AAgHD,wBAAgB,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAE9C;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,UACvB,UAAU,KAAG,MAAM,CAIlC"}
@@ -31,6 +31,9 @@ function printParens(node, indent = '') {
31
31
  function printEquals(node, indent = '') {
32
32
  return `${indent}${printExpr(node.leftExpr)} == ${printExpr(node.rightExpr)}`;
33
33
  }
34
+ function printGreaterThan(node, indent = '') {
35
+ return `${indent}${printExpr(node.leftExpr)} > ${printExpr(node.rightExpr)}`;
36
+ }
34
37
  function printNotEquals(node, indent = '') {
35
38
  return `${indent}${printExpr(node.leftExpr)} != ${printExpr(node.rightExpr)}`;
36
39
  }
@@ -129,6 +132,8 @@ function printExpr(expr, indent = '') {
129
132
  return printEquals(expr, indent);
130
133
  case 'NotEquals':
131
134
  return printNotEquals(expr, indent);
135
+ case 'GreaterThan':
136
+ return printGreaterThan(expr, indent);
132
137
  case 'ForEach':
133
138
  return printForEach(expr, indent);
134
139
  case 'String':
@@ -1 +1 @@
1
- {"version":3,"file":"print.js","sourceRoot":"","sources":["../src/print.ts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ppSync resolvers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -42,8 +42,8 @@
42
42
  "coverageProvider": "v8",
43
43
  "coverageThreshold": {
44
44
  "global": {
45
- "branches": 60,
46
- "functions": 32,
45
+ "branches": 59,
46
+ "functions": 31,
47
47
  "lines": 50
48
48
  }
49
49
  },
@@ -3,7 +3,7 @@
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
- ## [4.30.1-gen2-release-0423.0](https://github.com/aws-amplify/amplify-category-api/compare/graphql-transformer-common@4.30.0...graphql-transformer-common@4.30.1-gen2-release-0423.0) (2024-04-23)
6
+ ## [4.30.1](https://github.com/aws-amplify/amplify-category-api/compare/graphql-transformer-common@4.30.0...graphql-transformer-common@4.30.1) (2024-04-26)
7
7
 
8
8
  **Note:** Version bump only for package graphql-transformer-common
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphql-transformer-common",
3
- "version": "4.30.1-gen2-release-0423.0",
3
+ "version": "4.30.1",
4
4
  "description": "Common code and constants for AppSync Transformers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "graphql": "^15.5.0",
28
- "graphql-mapping-template": "4.20.15",
28
+ "graphql-mapping-template": "4.20.16",
29
29
  "md5": "^2.2.1",
30
30
  "pluralize": "8.0.0"
31
31
  },
@@ -65,6 +65,5 @@
65
65
  "coveragePathIgnorePatterns": [
66
66
  "/__tests__/"
67
67
  ]
68
- },
69
- "gitHead": "f450cc3e4a785bd0068a1cdb070c424328b64a8c"
68
+ }
70
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-api-construct",
3
- "version": "1.9.0-gen2-release-0423.0",
3
+ "version": "1.9.1-cdk-upgrade-2.129.0.0",
4
4
  "description": "AppSync GraphQL Api Construct using Amplify GraphQL Transformer.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -76,21 +76,21 @@
76
76
  "dependencies": {
77
77
  "@aws-amplify/backend-output-schemas": "^0.4.0",
78
78
  "@aws-amplify/backend-output-storage": "^0.2.2",
79
- "@aws-amplify/graphql-auth-transformer": "3.5.0-gen2-release-0423.0",
80
- "@aws-amplify/graphql-default-value-transformer": "2.3.4-gen2-release-0423.0",
81
- "@aws-amplify/graphql-directives": "1.1.0-gen2-release-0423.0",
82
- "@aws-amplify/graphql-function-transformer": "2.1.21-gen2-release-0423.0",
83
- "@aws-amplify/graphql-http-transformer": "2.1.21-gen2-release-0423.0",
84
- "@aws-amplify/graphql-index-transformer": "2.4.0-gen2-release-0423.0",
85
- "@aws-amplify/graphql-maps-to-transformer": "3.4.12-gen2-release-0423.0",
86
- "@aws-amplify/graphql-model-transformer": "2.9.0-gen2-release-0423.0",
87
- "@aws-amplify/graphql-predictions-transformer": "2.1.21-gen2-release-0423.0",
88
- "@aws-amplify/graphql-relational-transformer": "2.5.0-gen2-release-0423.0",
89
- "@aws-amplify/graphql-searchable-transformer": "2.7.0-gen2-release-0423.0",
90
- "@aws-amplify/graphql-sql-transformer": "0.3.0-gen2-release-0423.0",
91
- "@aws-amplify/graphql-transformer": "1.5.2-gen2-release-0423.0",
92
- "@aws-amplify/graphql-transformer-core": "2.7.0-gen2-release-0423.0",
93
- "@aws-amplify/graphql-transformer-interfaces": "3.7.0-gen2-release-0423.0",
79
+ "@aws-amplify/graphql-auth-transformer": "3.5.1-cdk-upgrade-2.129.0.0",
80
+ "@aws-amplify/graphql-default-value-transformer": "2.3.5-cdk-upgrade-2.129.0.0",
81
+ "@aws-amplify/graphql-directives": "1.1.0",
82
+ "@aws-amplify/graphql-function-transformer": "2.1.22-cdk-upgrade-2.129.0.0",
83
+ "@aws-amplify/graphql-http-transformer": "2.1.22-cdk-upgrade-2.129.0.0",
84
+ "@aws-amplify/graphql-index-transformer": "2.4.1-cdk-upgrade-2.129.0.0",
85
+ "@aws-amplify/graphql-maps-to-transformer": "3.4.13-cdk-upgrade-2.129.0.0",
86
+ "@aws-amplify/graphql-model-transformer": "2.9.1-cdk-upgrade-2.129.0.0",
87
+ "@aws-amplify/graphql-predictions-transformer": "2.1.22-cdk-upgrade-2.129.0.0",
88
+ "@aws-amplify/graphql-relational-transformer": "2.5.1-cdk-upgrade-2.129.0.0",
89
+ "@aws-amplify/graphql-searchable-transformer": "2.7.1-cdk-upgrade-2.129.0.0",
90
+ "@aws-amplify/graphql-sql-transformer": "0.3.1-cdk-upgrade-2.129.0.0",
91
+ "@aws-amplify/graphql-transformer": "1.5.3-cdk-upgrade-2.129.0.0",
92
+ "@aws-amplify/graphql-transformer-core": "2.7.1-cdk-upgrade-2.129.0.0",
93
+ "@aws-amplify/graphql-transformer-interfaces": "3.7.1-cdk-upgrade-2.129.0.0",
94
94
  "@aws-amplify/platform-core": "^0.2.0",
95
95
  "@aws-amplify/plugin-types": "^0.4.1",
96
96
  "charenc": "^0.0.2",
@@ -98,8 +98,8 @@
98
98
  "fs-extra": "^8.1.0",
99
99
  "graceful-fs": "^4.2.11",
100
100
  "graphql": "^15.5.0",
101
- "graphql-mapping-template": "4.20.15",
102
- "graphql-transformer-common": "4.30.1-gen2-release-0423.0",
101
+ "graphql-mapping-template": "4.20.16",
102
+ "graphql-transformer-common": "4.30.1",
103
103
  "hjson": "^3.2.2",
104
104
  "immer": "^9.0.12",
105
105
  "is-buffer": "^2.0.5",
@@ -114,11 +114,11 @@
114
114
  "zod": "^3.22.3"
115
115
  },
116
116
  "devDependencies": {
117
- "@aws-amplify/graphql-transformer-test-utils": "0.5.1-gen2-release-0423.0",
117
+ "@aws-amplify/graphql-transformer-test-utils": "0.5.2-cdk-upgrade-2.129.0.0",
118
118
  "@types/fs-extra": "^8.0.1",
119
119
  "@types/node": "^12.12.6",
120
- "aws-cdk-lib": "2.80.0",
121
- "constructs": "10.0.5",
120
+ "aws-cdk-lib": "2.129.0",
121
+ "constructs": "10.3.0",
122
122
  "jsii": "^5.1.5",
123
123
  "jsii-docgen": "9.1.2",
124
124
  "jsii-pacmak": "^1.84.0",
@@ -127,8 +127,8 @@
127
127
  "ts-node": "^8.10.1"
128
128
  },
129
129
  "peerDependencies": {
130
- "aws-cdk-lib": "^2.80.0",
131
- "constructs": "^10.0.5"
130
+ "aws-cdk-lib": "^2.129.0",
131
+ "constructs": "^10.3.0"
132
132
  },
133
133
  "stability": "stable",
134
134
  "types": "lib/index.d.ts",
@@ -179,5 +179,5 @@
179
179
  "/__tests__/"
180
180
  ]
181
181
  },
182
- "gitHead": "f450cc3e4a785bd0068a1cdb070c424328b64a8c"
182
+ "gitHead": "4e83897590ee38d2488a3c081a8928741ab6c1d6"
183
183
  }
package/src/types.ts CHANGED
@@ -714,7 +714,7 @@ export interface AmplifyGraphqlApiProps {
714
714
 
715
715
  /**
716
716
  * Provide a list of additional custom transformers which are injected into the transform process.
717
- * These custom transformers must be implemented with aws-cdk-lib >=2.80.0, and @aws-amplify/graphql-transformer-core >= 2.1.1
717
+ * These custom transformers must be implemented with aws-cdk-lib >=2.129.0, and @aws-amplify/graphql-transformer-core >= 2.1.1
718
718
  * @experimental
719
719
  */
720
720
  readonly transformerPlugins?: any[];
@@ -1,201 +0,0 @@
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.