@aws-amplify/graphql-api-construct 1.4.0-nov-14-cut.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. package/.jsii +143 -108
  2. package/API.md +2 -0
  3. package/CHANGELOG.md +3 -1
  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/default-parameters.js +2 -1
  8. package/lib/types.d.ts +16 -0
  9. package/lib/types.js +1 -1
  10. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +2 -1
  11. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js +4 -4
  12. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +10 -10
  13. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +2 -1
  14. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +7 -7
  15. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +1 -1
  16. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +6 -6
  17. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +1 -1
  18. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +6 -6
  19. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +5 -1
  20. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js +2 -2
  21. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +7 -7
  22. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +1 -1
  23. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  24. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +10 -10
  25. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +3 -1
  26. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  27. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  28. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  29. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -1
  30. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +40 -41
  31. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -1
  32. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.d.ts.map +1 -1
  33. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js +1 -0
  34. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js.map +1 -1
  35. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts +1 -0
  36. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts.map +1 -1
  37. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js +2 -1
  38. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js.map +1 -1
  39. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.d.ts +1 -1
  40. 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
  41. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js +52 -35
  42. 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
  43. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.d.ts +1 -1
  44. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.d.ts.map +1 -1
  45. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js +14 -14
  46. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js.map +1 -1
  47. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +6 -6
  48. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +1 -1
  49. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  50. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +6 -6
  51. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +5 -1
  52. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js +6 -6
  53. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +8 -8
  54. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +1 -1
  55. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  56. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +7 -7
  57. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +5 -1
  58. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js +1 -1
  59. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +7 -7
  60. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +2 -1
  61. package/node_modules/@aws-amplify/graphql-transformer/package.json +15 -15
  62. package/node_modules/@aws-amplify/graphql-transformer-core/API.md +3 -3
  63. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +3 -1
  64. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +1 -1
  65. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +2 -2
  66. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.d.ts.map +1 -1
  67. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.js +1 -0
  68. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.js.map +1 -1
  69. package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/import-appsync-api-types.d.ts +1 -1
  70. package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/import-appsync-api-types.js +2 -2
  71. package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/index.d.ts +1 -1
  72. package/node_modules/@aws-amplify/graphql-transformer-core/lib/types/index.js +2 -2
  73. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +4 -4
  74. package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +1 -0
  75. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +2 -1
  76. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.d.ts +1 -0
  77. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.d.ts.map +1 -1
  78. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +2 -2
  79. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transform-parameters.ts +1 -0
  80. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  81. package/node_modules/graphql-transformer-common/API.md +12 -10
  82. package/node_modules/graphql-transformer-common/CHANGELOG.md +2 -1
  83. package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts +12 -10
  84. package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts.map +1 -1
  85. package/node_modules/graphql-transformer-common/lib/ResourceConstants.js +12 -10
  86. package/node_modules/graphql-transformer-common/lib/ResourceConstants.js.map +1 -1
  87. package/node_modules/graphql-transformer-common/package.json +2 -2
  88. package/package.json +17 -17
  89. package/src/internal/default-parameters.ts +1 -0
  90. package/src/types.ts +18 -0
package/.jsii CHANGED
@@ -8,20 +8,20 @@
8
8
  "bundled": {
9
9
  "@aws-amplify/backend-output-schemas": "^0.2.1",
10
10
  "@aws-amplify/backend-output-storage": "^0.2.0",
11
- "@aws-amplify/graphql-auth-transformer": "3.2.0-nov-14-cut.0",
12
- "@aws-amplify/graphql-default-value-transformer": "2.1.9-nov-14-cut.0",
13
- "@aws-amplify/graphql-function-transformer": "2.1.8-nov-14-cut.0",
14
- "@aws-amplify/graphql-http-transformer": "2.1.8-nov-14-cut.0",
15
- "@aws-amplify/graphql-index-transformer": "2.2.0-nov-14-cut.0",
16
- "@aws-amplify/graphql-maps-to-transformer": "3.3.0-nov-14-cut.0",
17
- "@aws-amplify/graphql-model-transformer": "2.3.0-nov-14-cut.0",
18
- "@aws-amplify/graphql-predictions-transformer": "2.1.8-nov-14-cut.0",
19
- "@aws-amplify/graphql-relational-transformer": "2.2.0-nov-14-cut.0",
20
- "@aws-amplify/graphql-searchable-transformer": "2.3.0-nov-14-cut.0",
21
- "@aws-amplify/graphql-sql-transformer": "0.1.0-nov-14-cut.0",
22
- "@aws-amplify/graphql-transformer": "1.3.0-nov-14-cut.0",
23
- "@aws-amplify/graphql-transformer-core": "2.3.0-nov-14-cut.0",
24
- "@aws-amplify/graphql-transformer-interfaces": "3.3.0-nov-14-cut.0",
11
+ "@aws-amplify/graphql-auth-transformer": "3.2.0",
12
+ "@aws-amplify/graphql-default-value-transformer": "2.1.9",
13
+ "@aws-amplify/graphql-function-transformer": "2.1.8",
14
+ "@aws-amplify/graphql-http-transformer": "2.1.8",
15
+ "@aws-amplify/graphql-index-transformer": "2.2.0",
16
+ "@aws-amplify/graphql-maps-to-transformer": "3.3.0",
17
+ "@aws-amplify/graphql-model-transformer": "2.3.0",
18
+ "@aws-amplify/graphql-predictions-transformer": "2.1.8",
19
+ "@aws-amplify/graphql-relational-transformer": "2.2.0",
20
+ "@aws-amplify/graphql-searchable-transformer": "2.3.0",
21
+ "@aws-amplify/graphql-sql-transformer": "0.1.0",
22
+ "@aws-amplify/graphql-transformer": "1.3.0",
23
+ "@aws-amplify/graphql-transformer-core": "2.3.0",
24
+ "@aws-amplify/graphql-transformer-interfaces": "3.3.0",
25
25
  "@aws-amplify/platform-core": "^0.1.3",
26
26
  "@aws-amplify/plugin-types": "^0.3.0",
27
27
  "charenc": "^0.0.2",
@@ -30,7 +30,7 @@
30
30
  "graceful-fs": "^4.2.11",
31
31
  "graphql": "^15.5.0",
32
32
  "graphql-mapping-template": "4.20.12",
33
- "graphql-transformer-common": "4.26.0-nov-14-cut.0",
33
+ "graphql-transformer-common": "4.26.0",
34
34
  "hjson": "^3.2.2",
35
35
  "immer": "^9.0.12",
36
36
  "is-buffer": "^2.0.5",
@@ -3536,7 +3536,7 @@
3536
3536
  "kind": "interface",
3537
3537
  "locationInModule": {
3538
3538
  "filename": "src/types.ts",
3539
- "line": 759
3539
+ "line": 777
3540
3540
  },
3541
3541
  "name": "AddFunctionProps",
3542
3542
  "properties": [
@@ -3549,7 +3549,7 @@
3549
3549
  "immutable": true,
3550
3550
  "locationInModule": {
3551
3551
  "filename": "src/types.ts",
3552
- "line": 763
3552
+ "line": 781
3553
3553
  },
3554
3554
  "name": "dataSource",
3555
3555
  "type": {
@@ -3565,7 +3565,7 @@
3565
3565
  "immutable": true,
3566
3566
  "locationInModule": {
3567
3567
  "filename": "src/types.ts",
3568
- "line": 768
3568
+ "line": 786
3569
3569
  },
3570
3570
  "name": "name",
3571
3571
  "type": {
@@ -3582,7 +3582,7 @@
3582
3582
  "immutable": true,
3583
3583
  "locationInModule": {
3584
3584
  "filename": "src/types.ts",
3585
- "line": 803
3585
+ "line": 821
3586
3586
  },
3587
3587
  "name": "code",
3588
3588
  "optional": true,
@@ -3600,7 +3600,7 @@
3600
3600
  "immutable": true,
3601
3601
  "locationInModule": {
3602
3602
  "filename": "src/types.ts",
3603
- "line": 775
3603
+ "line": 793
3604
3604
  },
3605
3605
  "name": "description",
3606
3606
  "optional": true,
@@ -3618,7 +3618,7 @@
3618
3618
  "immutable": true,
3619
3619
  "locationInModule": {
3620
3620
  "filename": "src/types.ts",
3621
- "line": 782
3621
+ "line": 800
3622
3622
  },
3623
3623
  "name": "requestMappingTemplate",
3624
3624
  "optional": true,
@@ -3636,7 +3636,7 @@
3636
3636
  "immutable": true,
3637
3637
  "locationInModule": {
3638
3638
  "filename": "src/types.ts",
3639
- "line": 789
3639
+ "line": 807
3640
3640
  },
3641
3641
  "name": "responseMappingTemplate",
3642
3642
  "optional": true,
@@ -3654,7 +3654,7 @@
3654
3654
  "immutable": true,
3655
3655
  "locationInModule": {
3656
3656
  "filename": "src/types.ts",
3657
- "line": 796
3657
+ "line": 814
3658
3658
  },
3659
3659
  "name": "runtime",
3660
3660
  "optional": true,
@@ -3676,7 +3676,7 @@
3676
3676
  "kind": "interface",
3677
3677
  "locationInModule": {
3678
3678
  "filename": "src/types.ts",
3679
- "line": 831
3679
+ "line": 849
3680
3680
  },
3681
3681
  "name": "AmplifyDynamoDbModelDataSourceStrategy",
3682
3682
  "properties": [
@@ -3688,7 +3688,7 @@
3688
3688
  "immutable": true,
3689
3689
  "locationInModule": {
3690
3690
  "filename": "src/types.ts",
3691
- "line": 832
3691
+ "line": 850
3692
3692
  },
3693
3693
  "name": "dbType",
3694
3694
  "type": {
@@ -3703,7 +3703,7 @@
3703
3703
  "immutable": true,
3704
3704
  "locationInModule": {
3705
3705
  "filename": "src/types.ts",
3706
- "line": 833
3706
+ "line": 851
3707
3707
  },
3708
3708
  "name": "provisionStrategy",
3709
3709
  "type": {
@@ -4562,7 +4562,7 @@
4562
4562
  "kind": "interface",
4563
4563
  "locationInModule": {
4564
4564
  "filename": "src/types.ts",
4565
- "line": 662
4565
+ "line": 680
4566
4566
  },
4567
4567
  "name": "AmplifyGraphqlApiCfnResources",
4568
4568
  "properties": [
@@ -4575,7 +4575,7 @@
4575
4575
  "immutable": true,
4576
4576
  "locationInModule": {
4577
4577
  "filename": "src/types.ts",
4578
- "line": 711
4578
+ "line": 729
4579
4579
  },
4580
4580
  "name": "additionalCfnResources",
4581
4581
  "type": {
@@ -4596,7 +4596,7 @@
4596
4596
  "immutable": true,
4597
4597
  "locationInModule": {
4598
4598
  "filename": "src/types.ts",
4599
- "line": 691
4599
+ "line": 709
4600
4600
  },
4601
4601
  "name": "cfnDataSources",
4602
4602
  "type": {
@@ -4617,7 +4617,7 @@
4617
4617
  "immutable": true,
4618
4618
  "locationInModule": {
4619
4619
  "filename": "src/types.ts",
4620
- "line": 686
4620
+ "line": 704
4621
4621
  },
4622
4622
  "name": "cfnFunctionConfigurations",
4623
4623
  "type": {
@@ -4638,7 +4638,7 @@
4638
4638
  "immutable": true,
4639
4639
  "locationInModule": {
4640
4640
  "filename": "src/types.ts",
4641
- "line": 706
4641
+ "line": 724
4642
4642
  },
4643
4643
  "name": "cfnFunctions",
4644
4644
  "type": {
@@ -4659,7 +4659,7 @@
4659
4659
  "immutable": true,
4660
4660
  "locationInModule": {
4661
4661
  "filename": "src/types.ts",
4662
- "line": 666
4662
+ "line": 684
4663
4663
  },
4664
4664
  "name": "cfnGraphqlApi",
4665
4665
  "type": {
@@ -4675,7 +4675,7 @@
4675
4675
  "immutable": true,
4676
4676
  "locationInModule": {
4677
4677
  "filename": "src/types.ts",
4678
- "line": 671
4678
+ "line": 689
4679
4679
  },
4680
4680
  "name": "cfnGraphqlSchema",
4681
4681
  "type": {
@@ -4691,7 +4691,7 @@
4691
4691
  "immutable": true,
4692
4692
  "locationInModule": {
4693
4693
  "filename": "src/types.ts",
4694
- "line": 681
4694
+ "line": 699
4695
4695
  },
4696
4696
  "name": "cfnResolvers",
4697
4697
  "type": {
@@ -4712,7 +4712,7 @@
4712
4712
  "immutable": true,
4713
4713
  "locationInModule": {
4714
4714
  "filename": "src/types.ts",
4715
- "line": 701
4715
+ "line": 719
4716
4716
  },
4717
4717
  "name": "cfnRoles",
4718
4718
  "type": {
@@ -4733,7 +4733,7 @@
4733
4733
  "immutable": true,
4734
4734
  "locationInModule": {
4735
4735
  "filename": "src/types.ts",
4736
- "line": 696
4736
+ "line": 714
4737
4737
  },
4738
4738
  "name": "cfnTables",
4739
4739
  "type": {
@@ -4754,7 +4754,7 @@
4754
4754
  "immutable": true,
4755
4755
  "locationInModule": {
4756
4756
  "filename": "src/types.ts",
4757
- "line": 676
4757
+ "line": 694
4758
4758
  },
4759
4759
  "name": "cfnApiKey",
4760
4760
  "optional": true,
@@ -4777,7 +4777,7 @@
4777
4777
  "kind": "interface",
4778
4778
  "locationInModule": {
4779
4779
  "filename": "src/types.ts",
4780
- "line": 586
4780
+ "line": 604
4781
4781
  },
4782
4782
  "name": "AmplifyGraphqlApiProps",
4783
4783
  "properties": [
@@ -4791,7 +4791,7 @@
4791
4791
  "immutable": true,
4792
4792
  "locationInModule": {
4793
4793
  "filename": "src/types.ts",
4794
- "line": 603
4794
+ "line": 621
4795
4795
  },
4796
4796
  "name": "authorizationModes",
4797
4797
  "type": {
@@ -4808,7 +4808,7 @@
4808
4808
  "immutable": true,
4809
4809
  "locationInModule": {
4810
4810
  "filename": "src/types.ts",
4811
- "line": 591
4811
+ "line": 609
4812
4812
  },
4813
4813
  "name": "definition",
4814
4814
  "type": {
@@ -4825,7 +4825,7 @@
4825
4825
  "immutable": true,
4826
4826
  "locationInModule": {
4827
4827
  "filename": "src/types.ts",
4828
- "line": 597
4828
+ "line": 615
4829
4829
  },
4830
4830
  "name": "apiName",
4831
4831
  "optional": true,
@@ -4843,7 +4843,7 @@
4843
4843
  "immutable": true,
4844
4844
  "locationInModule": {
4845
4845
  "filename": "src/types.ts",
4846
- "line": 617
4846
+ "line": 635
4847
4847
  },
4848
4848
  "name": "conflictResolution",
4849
4849
  "optional": true,
@@ -4863,7 +4863,7 @@
4863
4863
  "immutable": true,
4864
4864
  "locationInModule": {
4865
4865
  "filename": "src/types.ts",
4866
- "line": 611
4866
+ "line": 629
4867
4867
  },
4868
4868
  "name": "functionNameMap",
4869
4869
  "optional": true,
@@ -4886,7 +4886,7 @@
4886
4886
  "immutable": true,
4887
4887
  "locationInModule": {
4888
4888
  "filename": "src/types.ts",
4889
- "line": 632
4889
+ "line": 650
4890
4890
  },
4891
4891
  "name": "functionSlots",
4892
4892
  "optional": true,
@@ -4921,7 +4921,7 @@
4921
4921
  "immutable": true,
4922
4922
  "locationInModule": {
4923
4923
  "filename": "src/types.ts",
4924
- "line": 655
4924
+ "line": 673
4925
4925
  },
4926
4926
  "name": "outputStorageStrategy",
4927
4927
  "optional": true,
@@ -4938,7 +4938,7 @@
4938
4938
  "immutable": true,
4939
4939
  "locationInModule": {
4940
4940
  "filename": "src/types.ts",
4941
- "line": 644
4941
+ "line": 662
4942
4942
  },
4943
4943
  "name": "predictionsBucket",
4944
4944
  "optional": true,
@@ -4956,7 +4956,7 @@
4956
4956
  "immutable": true,
4957
4957
  "locationInModule": {
4958
4958
  "filename": "src/types.ts",
4959
- "line": 626
4959
+ "line": 644
4960
4960
  },
4961
4961
  "name": "stackMappings",
4962
4962
  "optional": true,
@@ -4982,7 +4982,7 @@
4982
4982
  "immutable": true,
4983
4983
  "locationInModule": {
4984
4984
  "filename": "src/types.ts",
4985
- "line": 639
4985
+ "line": 657
4986
4986
  },
4987
4987
  "name": "transformerPlugins",
4988
4988
  "optional": true,
@@ -5004,7 +5004,7 @@
5004
5004
  "immutable": true,
5005
5005
  "locationInModule": {
5006
5006
  "filename": "src/types.ts",
5007
- "line": 650
5007
+ "line": 668
5008
5008
  },
5009
5009
  "name": "translationBehavior",
5010
5010
  "optional": true,
@@ -5027,7 +5027,7 @@
5027
5027
  "kind": "interface",
5028
5028
  "locationInModule": {
5029
5029
  "filename": "src/types.ts",
5030
- "line": 718
5030
+ "line": 736
5031
5031
  },
5032
5032
  "name": "AmplifyGraphqlApiResources",
5033
5033
  "properties": [
@@ -5040,7 +5040,7 @@
5040
5040
  "immutable": true,
5041
5041
  "locationInModule": {
5042
5042
  "filename": "src/types.ts",
5043
- "line": 732
5043
+ "line": 750
5044
5044
  },
5045
5045
  "name": "amplifyDynamoDbTables",
5046
5046
  "type": {
@@ -5061,7 +5061,7 @@
5061
5061
  "immutable": true,
5062
5062
  "locationInModule": {
5063
5063
  "filename": "src/types.ts",
5064
- "line": 747
5064
+ "line": 765
5065
5065
  },
5066
5066
  "name": "cfnResources",
5067
5067
  "type": {
@@ -5077,7 +5077,7 @@
5077
5077
  "immutable": true,
5078
5078
  "locationInModule": {
5079
5079
  "filename": "src/types.ts",
5080
- "line": 742
5080
+ "line": 760
5081
5081
  },
5082
5082
  "name": "functions",
5083
5083
  "type": {
@@ -5098,7 +5098,7 @@
5098
5098
  "immutable": true,
5099
5099
  "locationInModule": {
5100
5100
  "filename": "src/types.ts",
5101
- "line": 722
5101
+ "line": 740
5102
5102
  },
5103
5103
  "name": "graphqlApi",
5104
5104
  "type": {
@@ -5114,7 +5114,7 @@
5114
5114
  "immutable": true,
5115
5115
  "locationInModule": {
5116
5116
  "filename": "src/types.ts",
5117
- "line": 752
5117
+ "line": 770
5118
5118
  },
5119
5119
  "name": "nestedStacks",
5120
5120
  "type": {
@@ -5135,7 +5135,7 @@
5135
5135
  "immutable": true,
5136
5136
  "locationInModule": {
5137
5137
  "filename": "src/types.ts",
5138
- "line": 737
5138
+ "line": 755
5139
5139
  },
5140
5140
  "name": "roles",
5141
5141
  "type": {
@@ -5156,7 +5156,7 @@
5156
5156
  "immutable": true,
5157
5157
  "locationInModule": {
5158
5158
  "filename": "src/types.ts",
5159
- "line": 727
5159
+ "line": 745
5160
5160
  },
5161
5161
  "name": "tables",
5162
5162
  "type": {
@@ -5797,7 +5797,7 @@
5797
5797
  "kind": "interface",
5798
5798
  "locationInModule": {
5799
5799
  "filename": "src/types.ts",
5800
- "line": 822
5800
+ "line": 840
5801
5801
  },
5802
5802
  "name": "DefaultDynamoDbModelDataSourceStrategy",
5803
5803
  "properties": [
@@ -5809,7 +5809,7 @@
5809
5809
  "immutable": true,
5810
5810
  "locationInModule": {
5811
5811
  "filename": "src/types.ts",
5812
- "line": 823
5812
+ "line": 841
5813
5813
  },
5814
5814
  "name": "dbType",
5815
5815
  "type": {
@@ -5824,7 +5824,7 @@
5824
5824
  "immutable": true,
5825
5825
  "locationInModule": {
5826
5826
  "filename": "src/types.ts",
5827
- "line": 824
5827
+ "line": 842
5828
5828
  },
5829
5829
  "name": "provisionStrategy",
5830
5830
  "type": {
@@ -6065,7 +6065,7 @@
6065
6065
  "kind": "interface",
6066
6066
  "locationInModule": {
6067
6067
  "filename": "src/types.ts",
6068
- "line": 522
6068
+ "line": 540
6069
6069
  },
6070
6070
  "name": "IAmplifyGraphqlDefinition",
6071
6071
  "properties": [
@@ -6080,7 +6080,7 @@
6080
6080
  "immutable": true,
6081
6081
  "locationInModule": {
6082
6082
  "filename": "src/types.ts",
6083
- "line": 551
6083
+ "line": 569
6084
6084
  },
6085
6085
  "name": "dataSourceStrategies",
6086
6086
  "type": {
@@ -6114,7 +6114,7 @@
6114
6114
  "immutable": true,
6115
6115
  "locationInModule": {
6116
6116
  "filename": "src/types.ts",
6117
- "line": 533
6117
+ "line": 551
6118
6118
  },
6119
6119
  "name": "functionSlots",
6120
6120
  "type": {
@@ -6148,7 +6148,7 @@
6148
6148
  "immutable": true,
6149
6149
  "locationInModule": {
6150
6150
  "filename": "src/types.ts",
6151
- "line": 527
6151
+ "line": 545
6152
6152
  },
6153
6153
  "name": "schema",
6154
6154
  "type": {
@@ -6166,7 +6166,7 @@
6166
6166
  "immutable": true,
6167
6167
  "locationInModule": {
6168
6168
  "filename": "src/types.ts",
6169
- "line": 541
6169
+ "line": 559
6170
6170
  },
6171
6171
  "name": "referencedLambdaFunctions",
6172
6172
  "optional": true,
@@ -6192,7 +6192,7 @@
6192
6192
  "kind": "interface",
6193
6193
  "locationInModule": {
6194
6194
  "filename": "src/types.ts",
6195
- "line": 557
6195
+ "line": 575
6196
6196
  },
6197
6197
  "name": "IBackendOutputEntry",
6198
6198
  "properties": [
@@ -6205,7 +6205,7 @@
6205
6205
  "immutable": true,
6206
6206
  "locationInModule": {
6207
6207
  "filename": "src/types.ts",
6208
- "line": 566
6208
+ "line": 584
6209
6209
  },
6210
6210
  "name": "payload",
6211
6211
  "type": {
@@ -6226,7 +6226,7 @@
6226
6226
  "immutable": true,
6227
6227
  "locationInModule": {
6228
6228
  "filename": "src/types.ts",
6229
- "line": 561
6229
+ "line": 579
6230
6230
  },
6231
6231
  "name": "version",
6232
6232
  "type": {
@@ -6246,7 +6246,7 @@
6246
6246
  "kind": "interface",
6247
6247
  "locationInModule": {
6248
6248
  "filename": "src/types.ts",
6249
- "line": 572
6249
+ "line": 590
6250
6250
  },
6251
6251
  "methods": [
6252
6252
  {
@@ -6257,7 +6257,7 @@
6257
6257
  },
6258
6258
  "locationInModule": {
6259
6259
  "filename": "src/types.ts",
6260
- "line": 579
6260
+ "line": 597
6261
6261
  },
6262
6262
  "name": "addBackendOutputEntry",
6263
6263
  "parameters": [
@@ -6540,7 +6540,7 @@
6540
6540
  "kind": "interface",
6541
6541
  "locationInModule": {
6542
6542
  "filename": "src/types.ts",
6543
- "line": 430
6543
+ "line": 439
6544
6544
  },
6545
6545
  "name": "PartialTranslationBehavior",
6546
6546
  "properties": [
@@ -6555,7 +6555,7 @@
6555
6555
  "immutable": true,
6556
6556
  "locationInModule": {
6557
6557
  "filename": "src/types.ts",
6558
- "line": 516
6558
+ "line": 525
6559
6559
  },
6560
6560
  "name": "allowDestructiveGraphqlSchemaUpdates",
6561
6561
  "optional": true,
@@ -6573,7 +6573,7 @@
6573
6573
  "immutable": true,
6574
6574
  "locationInModule": {
6575
6575
  "filename": "src/types.ts",
6576
- "line": 442
6576
+ "line": 451
6577
6577
  },
6578
6578
  "name": "disableResolverDeduping",
6579
6579
  "optional": true,
@@ -6595,7 +6595,7 @@
6595
6595
  "immutable": true,
6596
6596
  "locationInModule": {
6597
6597
  "filename": "src/types.ts",
6598
- "line": 481
6598
+ "line": 490
6599
6599
  },
6600
6600
  "name": "enableAutoIndexQueryNames",
6601
6601
  "optional": true,
@@ -6614,7 +6614,7 @@
6614
6614
  "immutable": true,
6615
6615
  "locationInModule": {
6616
6616
  "filename": "src/types.ts",
6617
- "line": 496
6617
+ "line": 505
6618
6618
  },
6619
6619
  "name": "enableSearchNodeToNodeEncryption",
6620
6620
  "optional": true,
@@ -6632,7 +6632,7 @@
6632
6632
  "immutable": true,
6633
6633
  "locationInModule": {
6634
6634
  "filename": "src/types.ts",
6635
- "line": 502
6635
+ "line": 511
6636
6636
  },
6637
6637
  "name": "enableTransformerCfnOutputs",
6638
6638
  "optional": true,
@@ -6650,7 +6650,7 @@
6650
6650
  "immutable": true,
6651
6651
  "locationInModule": {
6652
6652
  "filename": "src/types.ts",
6653
- "line": 461
6653
+ "line": 470
6654
6654
  },
6655
6655
  "name": "populateOwnerFieldForStaticGroupAuth",
6656
6656
  "optional": true,
@@ -6658,6 +6658,24 @@
6658
6658
  "primitive": "boolean"
6659
6659
  }
6660
6660
  },
6661
+ {
6662
+ "abstract": true,
6663
+ "docs": {
6664
+ "default": "false",
6665
+ "stability": "experimental",
6666
+ "summary": "This behavior will only come into effect when both \"allowDestructiveGraphqlSchemaUpdates\" and this value are set to true When enabled, any global secondary index update operation will replace the table instead of iterative deployment, which will WIPE ALL EXISTING DATA but cost much less time for deployment This will only affect DynamoDB tables with provision strategy \"AMPLIFY_TABLE\"."
6667
+ },
6668
+ "immutable": true,
6669
+ "locationInModule": {
6670
+ "filename": "src/types.ts",
6671
+ "line": 534
6672
+ },
6673
+ "name": "replaceTableUponGsiUpdate",
6674
+ "optional": true,
6675
+ "type": {
6676
+ "primitive": "boolean"
6677
+ }
6678
+ },
6661
6679
  {
6662
6680
  "abstract": true,
6663
6681
  "docs": {
@@ -6668,7 +6686,7 @@
6668
6686
  "immutable": true,
6669
6687
  "locationInModule": {
6670
6688
  "filename": "src/types.ts",
6671
- "line": 487
6689
+ "line": 496
6672
6690
  },
6673
6691
  "name": "respectPrimaryKeyAttributesOnConnectionField",
6674
6692
  "optional": true,
@@ -6686,7 +6704,7 @@
6686
6704
  "immutable": true,
6687
6705
  "locationInModule": {
6688
6706
  "filename": "src/types.ts",
6689
- "line": 448
6707
+ "line": 457
6690
6708
  },
6691
6709
  "name": "sandboxModeEnabled",
6692
6710
  "optional": true,
@@ -6707,7 +6725,7 @@
6707
6725
  "immutable": true,
6708
6726
  "locationInModule": {
6709
6727
  "filename": "src/types.ts",
6710
- "line": 474
6728
+ "line": 483
6711
6729
  },
6712
6730
  "name": "secondaryKeyAsGSI",
6713
6731
  "optional": true,
@@ -6728,7 +6746,7 @@
6728
6746
  "immutable": true,
6729
6747
  "locationInModule": {
6730
6748
  "filename": "src/types.ts",
6731
- "line": 435
6749
+ "line": 444
6732
6750
  },
6733
6751
  "name": "shouldDeepMergeDirectiveConfigDefaults",
6734
6752
  "optional": true,
@@ -6747,7 +6765,7 @@
6747
6765
  "immutable": true,
6748
6766
  "locationInModule": {
6749
6767
  "filename": "src/types.ts",
6750
- "line": 468
6768
+ "line": 477
6751
6769
  },
6752
6770
  "name": "suppressApiKeyGeneration",
6753
6771
  "optional": true,
@@ -6765,7 +6783,7 @@
6765
6783
  "immutable": true,
6766
6784
  "locationInModule": {
6767
6785
  "filename": "src/types.ts",
6768
- "line": 455
6786
+ "line": 464
6769
6787
  },
6770
6788
  "name": "useSubUsernameForDefaultIdentityClaim",
6771
6789
  "optional": true,
@@ -6787,7 +6805,7 @@
6787
6805
  "kind": "interface",
6788
6806
  "locationInModule": {
6789
6807
  "filename": "src/types.ts",
6790
- "line": 903
6808
+ "line": 921
6791
6809
  },
6792
6810
  "name": "ProvisionedConcurrencyConfig",
6793
6811
  "properties": [
@@ -6801,7 +6819,7 @@
6801
6819
  "immutable": true,
6802
6820
  "locationInModule": {
6803
6821
  "filename": "src/types.ts",
6804
- "line": 905
6822
+ "line": 923
6805
6823
  },
6806
6824
  "name": "provisionedConcurrentExecutions",
6807
6825
  "type": {
@@ -6926,7 +6944,7 @@
6926
6944
  "kind": "interface",
6927
6945
  "locationInModule": {
6928
6946
  "filename": "src/types.ts",
6929
- "line": 841
6947
+ "line": 859
6930
6948
  },
6931
6949
  "name": "SQLLambdaModelDataSourceStrategy",
6932
6950
  "properties": [
@@ -6939,7 +6957,7 @@
6939
6957
  "immutable": true,
6940
6958
  "locationInModule": {
6941
6959
  "filename": "src/types.ts",
6942
- "line": 856
6960
+ "line": 874
6943
6961
  },
6944
6962
  "name": "dbConnectionConfig",
6945
6963
  "type": {
@@ -6955,7 +6973,7 @@
6955
6973
  "immutable": true,
6956
6974
  "locationInModule": {
6957
6975
  "filename": "src/types.ts",
6958
- "line": 851
6976
+ "line": 869
6959
6977
  },
6960
6978
  "name": "dbType",
6961
6979
  "type": {
@@ -6972,7 +6990,7 @@
6972
6990
  "immutable": true,
6973
6991
  "locationInModule": {
6974
6992
  "filename": "src/types.ts",
6975
- "line": 846
6993
+ "line": 864
6976
6994
  },
6977
6995
  "name": "name",
6978
6996
  "type": {
@@ -6989,7 +7007,7 @@
6989
7007
  "immutable": true,
6990
7008
  "locationInModule": {
6991
7009
  "filename": "src/types.ts",
6992
- "line": 867
7010
+ "line": 885
6993
7011
  },
6994
7012
  "name": "customSqlStatements",
6995
7013
  "optional": true,
@@ -7011,7 +7029,7 @@
7011
7029
  "immutable": true,
7012
7030
  "locationInModule": {
7013
7031
  "filename": "src/types.ts",
7014
- "line": 872
7032
+ "line": 890
7015
7033
  },
7016
7034
  "name": "sqlLambdaLayerMapping",
7017
7035
  "optional": true,
@@ -7033,7 +7051,7 @@
7033
7051
  "immutable": true,
7034
7052
  "locationInModule": {
7035
7053
  "filename": "src/types.ts",
7036
- "line": 877
7054
+ "line": 895
7037
7055
  },
7038
7056
  "name": "sqlLambdaProvisionedConcurrencyConfig",
7039
7057
  "optional": true,
@@ -7050,7 +7068,7 @@
7050
7068
  "immutable": true,
7051
7069
  "locationInModule": {
7052
7070
  "filename": "src/types.ts",
7053
- "line": 861
7071
+ "line": 879
7054
7072
  },
7055
7073
  "name": "vpcConfiguration",
7056
7074
  "optional": true,
@@ -7168,7 +7186,7 @@
7168
7186
  "kind": "interface",
7169
7187
  "locationInModule": {
7170
7188
  "filename": "src/types.ts",
7171
- "line": 934
7189
+ "line": 952
7172
7190
  },
7173
7191
  "name": "SqlModelDataSourceDbConnectionConfig",
7174
7192
  "properties": [
@@ -7181,7 +7199,7 @@
7181
7199
  "immutable": true,
7182
7200
  "locationInModule": {
7183
7201
  "filename": "src/types.ts",
7184
- "line": 950
7202
+ "line": 968
7185
7203
  },
7186
7204
  "name": "databaseNameSsmPath",
7187
7205
  "type": {
@@ -7198,7 +7216,7 @@
7198
7216
  "immutable": true,
7199
7217
  "locationInModule": {
7200
7218
  "filename": "src/types.ts",
7201
- "line": 938
7219
+ "line": 956
7202
7220
  },
7203
7221
  "name": "hostnameSsmPath",
7204
7222
  "type": {
@@ -7214,7 +7232,7 @@
7214
7232
  "immutable": true,
7215
7233
  "locationInModule": {
7216
7234
  "filename": "src/types.ts",
7217
- "line": 947
7235
+ "line": 965
7218
7236
  },
7219
7237
  "name": "passwordSsmPath",
7220
7238
  "type": {
@@ -7230,7 +7248,7 @@
7230
7248
  "immutable": true,
7231
7249
  "locationInModule": {
7232
7250
  "filename": "src/types.ts",
7233
- "line": 941
7251
+ "line": 959
7234
7252
  },
7235
7253
  "name": "portSsmPath",
7236
7254
  "type": {
@@ -7246,7 +7264,7 @@
7246
7264
  "immutable": true,
7247
7265
  "locationInModule": {
7248
7266
  "filename": "src/types.ts",
7249
- "line": 944
7267
+ "line": 962
7250
7268
  },
7251
7269
  "name": "usernameSsmPath",
7252
7270
  "type": {
@@ -7303,7 +7321,7 @@
7303
7321
  "kind": "interface",
7304
7322
  "locationInModule": {
7305
7323
  "filename": "src/types.ts",
7306
- "line": 914
7324
+ "line": 932
7307
7325
  },
7308
7326
  "name": "SubnetAvailabilityZone",
7309
7327
  "properties": [
@@ -7316,7 +7334,7 @@
7316
7334
  "immutable": true,
7317
7335
  "locationInModule": {
7318
7336
  "filename": "src/types.ts",
7319
- "line": 919
7337
+ "line": 937
7320
7338
  },
7321
7339
  "name": "availabilityZone",
7322
7340
  "type": {
@@ -7332,7 +7350,7 @@
7332
7350
  "immutable": true,
7333
7351
  "locationInModule": {
7334
7352
  "filename": "src/types.ts",
7335
- "line": 916
7353
+ "line": 934
7336
7354
  },
7337
7355
  "name": "subnetId",
7338
7356
  "type": {
@@ -7568,6 +7586,23 @@
7568
7586
  "primitive": "boolean"
7569
7587
  }
7570
7588
  },
7589
+ {
7590
+ "abstract": true,
7591
+ "docs": {
7592
+ "default": "false",
7593
+ "stability": "experimental",
7594
+ "summary": "This behavior will only come into effect when both \"allowDestructiveGraphqlSchemaUpdates\" and this value are set to true When enabled, any GSI update operation will replace the table instead of iterative deployment, which will WIPE ALL EXISTING DATA but cost much less time for deployment This will only affect DynamoDB tables with provision strategy \"AMPLIFY_TABLE\"."
7595
+ },
7596
+ "immutable": true,
7597
+ "locationInModule": {
7598
+ "filename": "src/types.ts",
7599
+ "line": 433
7600
+ },
7601
+ "name": "replaceTableUponGsiUpdate",
7602
+ "type": {
7603
+ "primitive": "boolean"
7604
+ }
7605
+ },
7571
7606
  {
7572
7607
  "abstract": true,
7573
7608
  "docs": {
@@ -7726,7 +7761,7 @@
7726
7761
  "kind": "interface",
7727
7762
  "locationInModule": {
7728
7763
  "filename": "src/types.ts",
7729
- "line": 888
7764
+ "line": 906
7730
7765
  },
7731
7766
  "name": "VpcConfig",
7732
7767
  "properties": [
@@ -7739,7 +7774,7 @@
7739
7774
  "immutable": true,
7740
7775
  "locationInModule": {
7741
7776
  "filename": "src/types.ts",
7742
- "line": 893
7777
+ "line": 911
7743
7778
  },
7744
7779
  "name": "securityGroupIds",
7745
7780
  "type": {
@@ -7760,7 +7795,7 @@
7760
7795
  "immutable": true,
7761
7796
  "locationInModule": {
7762
7797
  "filename": "src/types.ts",
7763
- "line": 896
7798
+ "line": 914
7764
7799
  },
7765
7800
  "name": "subnetAvailabilityZoneConfig",
7766
7801
  "type": {
@@ -7781,7 +7816,7 @@
7781
7816
  "immutable": true,
7782
7817
  "locationInModule": {
7783
7818
  "filename": "src/types.ts",
7784
- "line": 890
7819
+ "line": 908
7785
7820
  },
7786
7821
  "name": "vpcId",
7787
7822
  "type": {
@@ -7792,6 +7827,6 @@
7792
7827
  "symbolId": "src/types:VpcConfig"
7793
7828
  }
7794
7829
  },
7795
- "version": "1.4.0-nov-14-cut.0",
7796
- "fingerprint": "1fpxd7QS8+G872Bs4IXjmV1xFSMrtHU8ofgZtZXopq0="
7830
+ "version": "1.4.0",
7831
+ "fingerprint": "bbHF71JtX99CaTgvkkfB8FUw6zPUGGBT+ij/aPEqeTA="
7797
7832
  }