@aws-amplify/graphql-api-construct 1.1.4 → 1.2.0-amplify-table-preview.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +133 -80
- package/API.md +4 -0
- package/CHANGELOG.md +8 -0
- package/lib/amplify-graphql-api.js +1 -1
- package/lib/amplify-graphql-definition.js +1 -1
- package/lib/internal/construct-exports.js +7 -1
- package/lib/internal/default-parameters.js +2 -1
- package/lib/types.d.ts +15 -4
- package/lib/types.js +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +10 -10
- package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +7 -7
- package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/package.json +6 -6
- package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/package.json +6 -6
- package/node_modules/@aws-amplify/graphql-index-transformer/API.md +3 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +7 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/index.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/index.js +2 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.d.ts +1 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js +26 -7
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/package.json +7 -7
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +10 -10
- package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +8 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +4 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.d.ts +13 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js +167 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts +40 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js +242 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.d.ts +13 -0
- 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 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js +665 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.d.ts +5 -2
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.js +46 -60
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/package.json +7 -6
- package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +6 -6
- package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +7 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.js +3 -10
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +4 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +7 -7
- package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +6 -0
- package/node_modules/@aws-amplify/graphql-transformer/package.json +14 -14
- package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +6 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.js +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/package.json +4 -4
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +6 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.d.ts +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +3 -2
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transform-parameters.ts +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
- package/node_modules/graphql-transformer-common/API.md +3 -0
- package/node_modules/graphql-transformer-common/CHANGELOG.md +6 -0
- package/node_modules/graphql-transformer-common/LICENSE +201 -0
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts +3 -0
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts.map +1 -1
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.js +3 -0
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.js.map +1 -1
- package/node_modules/graphql-transformer-common/package.json +3 -2
- package/package.json +16 -16
- package/src/internal/construct-exports.ts +6 -0
- package/src/internal/default-parameters.ts +1 -0
- package/src/types.ts +18 -4
package/.jsii
CHANGED
@@ -8,26 +8,26 @@
|
|
8
8
|
"bundled": {
|
9
9
|
"@aws-amplify/backend-output-schemas": "^0.2.0-alpha.6",
|
10
10
|
"@aws-amplify/backend-output-storage": "^0.1.1-alpha.2",
|
11
|
-
"@aws-amplify/graphql-auth-transformer": "3.1.
|
12
|
-
"@aws-amplify/graphql-default-value-transformer": "2.1.
|
13
|
-
"@aws-amplify/graphql-function-transformer": "2.1.
|
14
|
-
"@aws-amplify/graphql-http-transformer": "2.1.
|
15
|
-
"@aws-amplify/graphql-index-transformer": "2.
|
16
|
-
"@aws-amplify/graphql-maps-to-transformer": "3.2.
|
17
|
-
"@aws-amplify/graphql-model-transformer": "2.
|
18
|
-
"@aws-amplify/graphql-predictions-transformer": "2.1.
|
19
|
-
"@aws-amplify/graphql-relational-transformer": "2.
|
20
|
-
"@aws-amplify/graphql-searchable-transformer": "2.2.
|
21
|
-
"@aws-amplify/graphql-transformer": "1.
|
22
|
-
"@aws-amplify/graphql-transformer-core": "2.
|
23
|
-
"@aws-amplify/graphql-transformer-interfaces": "3.
|
11
|
+
"@aws-amplify/graphql-auth-transformer": "3.1.9-amplify-table-preview.0",
|
12
|
+
"@aws-amplify/graphql-default-value-transformer": "2.1.8-amplify-table-preview.0",
|
13
|
+
"@aws-amplify/graphql-function-transformer": "2.1.7-amplify-table-preview.0",
|
14
|
+
"@aws-amplify/graphql-http-transformer": "2.1.7-amplify-table-preview.0",
|
15
|
+
"@aws-amplify/graphql-index-transformer": "2.2.0-amplify-table-preview.0",
|
16
|
+
"@aws-amplify/graphql-maps-to-transformer": "3.2.5-amplify-table-preview.0",
|
17
|
+
"@aws-amplify/graphql-model-transformer": "2.3.0-amplify-table-preview.0",
|
18
|
+
"@aws-amplify/graphql-predictions-transformer": "2.1.7-amplify-table-preview.0",
|
19
|
+
"@aws-amplify/graphql-relational-transformer": "2.2.0-amplify-table-preview.0",
|
20
|
+
"@aws-amplify/graphql-searchable-transformer": "2.2.4-amplify-table-preview.0",
|
21
|
+
"@aws-amplify/graphql-transformer": "1.3.0-amplify-table-preview.0",
|
22
|
+
"@aws-amplify/graphql-transformer-core": "2.3.0-amplify-table-preview.0",
|
23
|
+
"@aws-amplify/graphql-transformer-interfaces": "3.3.0-amplify-table-preview.0",
|
24
24
|
"charenc": "^0.0.2",
|
25
25
|
"crypt": "^0.0.2",
|
26
26
|
"fs-extra": "^8.1.0",
|
27
27
|
"graceful-fs": "^4.2.11",
|
28
28
|
"graphql": "^15.5.0",
|
29
29
|
"graphql-mapping-template": "4.20.12",
|
30
|
-
"graphql-transformer-common": "4.
|
30
|
+
"graphql-transformer-common": "4.26.0-amplify-table-preview.0",
|
31
31
|
"hjson": "^3.2.2",
|
32
32
|
"immer": "^9.0.12",
|
33
33
|
"is-buffer": "^2.0.5",
|
@@ -3533,7 +3533,7 @@
|
|
3533
3533
|
"kind": "interface",
|
3534
3534
|
"locationInModule": {
|
3535
3535
|
"filename": "src/types.ts",
|
3536
|
-
"line":
|
3536
|
+
"line": 720
|
3537
3537
|
},
|
3538
3538
|
"name": "AddFunctionProps",
|
3539
3539
|
"properties": [
|
@@ -3546,7 +3546,7 @@
|
|
3546
3546
|
"immutable": true,
|
3547
3547
|
"locationInModule": {
|
3548
3548
|
"filename": "src/types.ts",
|
3549
|
-
"line":
|
3549
|
+
"line": 724
|
3550
3550
|
},
|
3551
3551
|
"name": "dataSource",
|
3552
3552
|
"type": {
|
@@ -3562,7 +3562,7 @@
|
|
3562
3562
|
"immutable": true,
|
3563
3563
|
"locationInModule": {
|
3564
3564
|
"filename": "src/types.ts",
|
3565
|
-
"line":
|
3565
|
+
"line": 729
|
3566
3566
|
},
|
3567
3567
|
"name": "name",
|
3568
3568
|
"type": {
|
@@ -3579,7 +3579,7 @@
|
|
3579
3579
|
"immutable": true,
|
3580
3580
|
"locationInModule": {
|
3581
3581
|
"filename": "src/types.ts",
|
3582
|
-
"line":
|
3582
|
+
"line": 764
|
3583
3583
|
},
|
3584
3584
|
"name": "code",
|
3585
3585
|
"optional": true,
|
@@ -3597,7 +3597,7 @@
|
|
3597
3597
|
"immutable": true,
|
3598
3598
|
"locationInModule": {
|
3599
3599
|
"filename": "src/types.ts",
|
3600
|
-
"line":
|
3600
|
+
"line": 736
|
3601
3601
|
},
|
3602
3602
|
"name": "description",
|
3603
3603
|
"optional": true,
|
@@ -3615,7 +3615,7 @@
|
|
3615
3615
|
"immutable": true,
|
3616
3616
|
"locationInModule": {
|
3617
3617
|
"filename": "src/types.ts",
|
3618
|
-
"line":
|
3618
|
+
"line": 743
|
3619
3619
|
},
|
3620
3620
|
"name": "requestMappingTemplate",
|
3621
3621
|
"optional": true,
|
@@ -3633,7 +3633,7 @@
|
|
3633
3633
|
"immutable": true,
|
3634
3634
|
"locationInModule": {
|
3635
3635
|
"filename": "src/types.ts",
|
3636
|
-
"line":
|
3636
|
+
"line": 750
|
3637
3637
|
},
|
3638
3638
|
"name": "responseMappingTemplate",
|
3639
3639
|
"optional": true,
|
@@ -3651,7 +3651,7 @@
|
|
3651
3651
|
"immutable": true,
|
3652
3652
|
"locationInModule": {
|
3653
3653
|
"filename": "src/types.ts",
|
3654
|
-
"line":
|
3654
|
+
"line": 757
|
3655
3655
|
},
|
3656
3656
|
"name": "runtime",
|
3657
3657
|
"optional": true,
|
@@ -4296,7 +4296,7 @@
|
|
4296
4296
|
"kind": "interface",
|
4297
4297
|
"locationInModule": {
|
4298
4298
|
"filename": "src/types.ts",
|
4299
|
-
"line":
|
4299
|
+
"line": 623
|
4300
4300
|
},
|
4301
4301
|
"name": "AmplifyGraphqlApiCfnResources",
|
4302
4302
|
"properties": [
|
@@ -4309,7 +4309,7 @@
|
|
4309
4309
|
"immutable": true,
|
4310
4310
|
"locationInModule": {
|
4311
4311
|
"filename": "src/types.ts",
|
4312
|
-
"line":
|
4312
|
+
"line": 677
|
4313
4313
|
},
|
4314
4314
|
"name": "additionalCfnResources",
|
4315
4315
|
"type": {
|
@@ -4321,6 +4321,27 @@
|
|
4321
4321
|
}
|
4322
4322
|
}
|
4323
4323
|
},
|
4324
|
+
{
|
4325
|
+
"abstract": true,
|
4326
|
+
"docs": {
|
4327
|
+
"stability": "stable",
|
4328
|
+
"summary": "The Generated Amplify DynamoDB Table L1 Resources, keyed by model name."
|
4329
|
+
},
|
4330
|
+
"immutable": true,
|
4331
|
+
"locationInModule": {
|
4332
|
+
"filename": "src/types.ts",
|
4333
|
+
"line": 662
|
4334
|
+
},
|
4335
|
+
"name": "cfnAmplifyTables",
|
4336
|
+
"type": {
|
4337
|
+
"collection": {
|
4338
|
+
"elementtype": {
|
4339
|
+
"fqn": "aws-cdk-lib.CfnResource"
|
4340
|
+
},
|
4341
|
+
"kind": "map"
|
4342
|
+
}
|
4343
|
+
}
|
4344
|
+
},
|
4324
4345
|
{
|
4325
4346
|
"abstract": true,
|
4326
4347
|
"docs": {
|
@@ -4330,7 +4351,7 @@
|
|
4330
4351
|
"immutable": true,
|
4331
4352
|
"locationInModule": {
|
4332
4353
|
"filename": "src/types.ts",
|
4333
|
-
"line":
|
4354
|
+
"line": 652
|
4334
4355
|
},
|
4335
4356
|
"name": "cfnDataSources",
|
4336
4357
|
"type": {
|
@@ -4351,7 +4372,7 @@
|
|
4351
4372
|
"immutable": true,
|
4352
4373
|
"locationInModule": {
|
4353
4374
|
"filename": "src/types.ts",
|
4354
|
-
"line":
|
4375
|
+
"line": 647
|
4355
4376
|
},
|
4356
4377
|
"name": "cfnFunctionConfigurations",
|
4357
4378
|
"type": {
|
@@ -4372,7 +4393,7 @@
|
|
4372
4393
|
"immutable": true,
|
4373
4394
|
"locationInModule": {
|
4374
4395
|
"filename": "src/types.ts",
|
4375
|
-
"line":
|
4396
|
+
"line": 672
|
4376
4397
|
},
|
4377
4398
|
"name": "cfnFunctions",
|
4378
4399
|
"type": {
|
@@ -4393,7 +4414,7 @@
|
|
4393
4414
|
"immutable": true,
|
4394
4415
|
"locationInModule": {
|
4395
4416
|
"filename": "src/types.ts",
|
4396
|
-
"line":
|
4417
|
+
"line": 627
|
4397
4418
|
},
|
4398
4419
|
"name": "cfnGraphqlApi",
|
4399
4420
|
"type": {
|
@@ -4409,7 +4430,7 @@
|
|
4409
4430
|
"immutable": true,
|
4410
4431
|
"locationInModule": {
|
4411
4432
|
"filename": "src/types.ts",
|
4412
|
-
"line":
|
4433
|
+
"line": 632
|
4413
4434
|
},
|
4414
4435
|
"name": "cfnGraphqlSchema",
|
4415
4436
|
"type": {
|
@@ -4425,7 +4446,7 @@
|
|
4425
4446
|
"immutable": true,
|
4426
4447
|
"locationInModule": {
|
4427
4448
|
"filename": "src/types.ts",
|
4428
|
-
"line":
|
4449
|
+
"line": 642
|
4429
4450
|
},
|
4430
4451
|
"name": "cfnResolvers",
|
4431
4452
|
"type": {
|
@@ -4446,7 +4467,7 @@
|
|
4446
4467
|
"immutable": true,
|
4447
4468
|
"locationInModule": {
|
4448
4469
|
"filename": "src/types.ts",
|
4449
|
-
"line":
|
4470
|
+
"line": 667
|
4450
4471
|
},
|
4451
4472
|
"name": "cfnRoles",
|
4452
4473
|
"type": {
|
@@ -4467,7 +4488,7 @@
|
|
4467
4488
|
"immutable": true,
|
4468
4489
|
"locationInModule": {
|
4469
4490
|
"filename": "src/types.ts",
|
4470
|
-
"line":
|
4491
|
+
"line": 657
|
4471
4492
|
},
|
4472
4493
|
"name": "cfnTables",
|
4473
4494
|
"type": {
|
@@ -4488,7 +4509,7 @@
|
|
4488
4509
|
"immutable": true,
|
4489
4510
|
"locationInModule": {
|
4490
4511
|
"filename": "src/types.ts",
|
4491
|
-
"line":
|
4512
|
+
"line": 637
|
4492
4513
|
},
|
4493
4514
|
"name": "cfnApiKey",
|
4494
4515
|
"optional": true,
|
@@ -4511,7 +4532,7 @@
|
|
4511
4532
|
"kind": "interface",
|
4512
4533
|
"locationInModule": {
|
4513
4534
|
"filename": "src/types.ts",
|
4514
|
-
"line":
|
4535
|
+
"line": 547
|
4515
4536
|
},
|
4516
4537
|
"name": "AmplifyGraphqlApiProps",
|
4517
4538
|
"properties": [
|
@@ -4525,7 +4546,7 @@
|
|
4525
4546
|
"immutable": true,
|
4526
4547
|
"locationInModule": {
|
4527
4548
|
"filename": "src/types.ts",
|
4528
|
-
"line":
|
4549
|
+
"line": 564
|
4529
4550
|
},
|
4530
4551
|
"name": "authorizationModes",
|
4531
4552
|
"type": {
|
@@ -4542,7 +4563,7 @@
|
|
4542
4563
|
"immutable": true,
|
4543
4564
|
"locationInModule": {
|
4544
4565
|
"filename": "src/types.ts",
|
4545
|
-
"line":
|
4566
|
+
"line": 552
|
4546
4567
|
},
|
4547
4568
|
"name": "definition",
|
4548
4569
|
"type": {
|
@@ -4559,7 +4580,7 @@
|
|
4559
4580
|
"immutable": true,
|
4560
4581
|
"locationInModule": {
|
4561
4582
|
"filename": "src/types.ts",
|
4562
|
-
"line":
|
4583
|
+
"line": 558
|
4563
4584
|
},
|
4564
4585
|
"name": "apiName",
|
4565
4586
|
"optional": true,
|
@@ -4577,7 +4598,7 @@
|
|
4577
4598
|
"immutable": true,
|
4578
4599
|
"locationInModule": {
|
4579
4600
|
"filename": "src/types.ts",
|
4580
|
-
"line":
|
4601
|
+
"line": 578
|
4581
4602
|
},
|
4582
4603
|
"name": "conflictResolution",
|
4583
4604
|
"optional": true,
|
@@ -4597,7 +4618,7 @@
|
|
4597
4618
|
"immutable": true,
|
4598
4619
|
"locationInModule": {
|
4599
4620
|
"filename": "src/types.ts",
|
4600
|
-
"line":
|
4621
|
+
"line": 572
|
4601
4622
|
},
|
4602
4623
|
"name": "functionNameMap",
|
4603
4624
|
"optional": true,
|
@@ -4620,7 +4641,7 @@
|
|
4620
4641
|
"immutable": true,
|
4621
4642
|
"locationInModule": {
|
4622
4643
|
"filename": "src/types.ts",
|
4623
|
-
"line":
|
4644
|
+
"line": 593
|
4624
4645
|
},
|
4625
4646
|
"name": "functionSlots",
|
4626
4647
|
"optional": true,
|
@@ -4655,7 +4676,7 @@
|
|
4655
4676
|
"immutable": true,
|
4656
4677
|
"locationInModule": {
|
4657
4678
|
"filename": "src/types.ts",
|
4658
|
-
"line":
|
4679
|
+
"line": 616
|
4659
4680
|
},
|
4660
4681
|
"name": "outputStorageStrategy",
|
4661
4682
|
"optional": true,
|
@@ -4672,7 +4693,7 @@
|
|
4672
4693
|
"immutable": true,
|
4673
4694
|
"locationInModule": {
|
4674
4695
|
"filename": "src/types.ts",
|
4675
|
-
"line":
|
4696
|
+
"line": 605
|
4676
4697
|
},
|
4677
4698
|
"name": "predictionsBucket",
|
4678
4699
|
"optional": true,
|
@@ -4690,7 +4711,7 @@
|
|
4690
4711
|
"immutable": true,
|
4691
4712
|
"locationInModule": {
|
4692
4713
|
"filename": "src/types.ts",
|
4693
|
-
"line":
|
4714
|
+
"line": 587
|
4694
4715
|
},
|
4695
4716
|
"name": "stackMappings",
|
4696
4717
|
"optional": true,
|
@@ -4716,7 +4737,7 @@
|
|
4716
4737
|
"immutable": true,
|
4717
4738
|
"locationInModule": {
|
4718
4739
|
"filename": "src/types.ts",
|
4719
|
-
"line":
|
4740
|
+
"line": 600
|
4720
4741
|
},
|
4721
4742
|
"name": "transformerPlugins",
|
4722
4743
|
"optional": true,
|
@@ -4738,7 +4759,7 @@
|
|
4738
4759
|
"immutable": true,
|
4739
4760
|
"locationInModule": {
|
4740
4761
|
"filename": "src/types.ts",
|
4741
|
-
"line":
|
4762
|
+
"line": 611
|
4742
4763
|
},
|
4743
4764
|
"name": "translationBehavior",
|
4744
4765
|
"optional": true,
|
@@ -4761,7 +4782,7 @@
|
|
4761
4782
|
"kind": "interface",
|
4762
4783
|
"locationInModule": {
|
4763
4784
|
"filename": "src/types.ts",
|
4764
|
-
"line":
|
4785
|
+
"line": 684
|
4765
4786
|
},
|
4766
4787
|
"name": "AmplifyGraphqlApiResources",
|
4767
4788
|
"properties": [
|
@@ -4774,7 +4795,7 @@
|
|
4774
4795
|
"immutable": true,
|
4775
4796
|
"locationInModule": {
|
4776
4797
|
"filename": "src/types.ts",
|
4777
|
-
"line":
|
4798
|
+
"line": 708
|
4778
4799
|
},
|
4779
4800
|
"name": "cfnResources",
|
4780
4801
|
"type": {
|
@@ -4790,7 +4811,7 @@
|
|
4790
4811
|
"immutable": true,
|
4791
4812
|
"locationInModule": {
|
4792
4813
|
"filename": "src/types.ts",
|
4793
|
-
"line":
|
4814
|
+
"line": 703
|
4794
4815
|
},
|
4795
4816
|
"name": "functions",
|
4796
4817
|
"type": {
|
@@ -4811,7 +4832,7 @@
|
|
4811
4832
|
"immutable": true,
|
4812
4833
|
"locationInModule": {
|
4813
4834
|
"filename": "src/types.ts",
|
4814
|
-
"line":
|
4835
|
+
"line": 688
|
4815
4836
|
},
|
4816
4837
|
"name": "graphqlApi",
|
4817
4838
|
"type": {
|
@@ -4827,7 +4848,7 @@
|
|
4827
4848
|
"immutable": true,
|
4828
4849
|
"locationInModule": {
|
4829
4850
|
"filename": "src/types.ts",
|
4830
|
-
"line":
|
4851
|
+
"line": 713
|
4831
4852
|
},
|
4832
4853
|
"name": "nestedStacks",
|
4833
4854
|
"type": {
|
@@ -4848,7 +4869,7 @@
|
|
4848
4869
|
"immutable": true,
|
4849
4870
|
"locationInModule": {
|
4850
4871
|
"filename": "src/types.ts",
|
4851
|
-
"line":
|
4872
|
+
"line": 698
|
4852
4873
|
},
|
4853
4874
|
"name": "roles",
|
4854
4875
|
"type": {
|
@@ -4869,7 +4890,7 @@
|
|
4869
4890
|
"immutable": true,
|
4870
4891
|
"locationInModule": {
|
4871
4892
|
"filename": "src/types.ts",
|
4872
|
-
"line":
|
4893
|
+
"line": 693
|
4873
4894
|
},
|
4874
4895
|
"name": "tables",
|
4875
4896
|
"type": {
|
@@ -5572,7 +5593,7 @@
|
|
5572
5593
|
"kind": "interface",
|
5573
5594
|
"locationInModule": {
|
5574
5595
|
"filename": "src/types.ts",
|
5575
|
-
"line":
|
5596
|
+
"line": 501
|
5576
5597
|
},
|
5577
5598
|
"name": "IAmplifyGraphqlDefinition",
|
5578
5599
|
"properties": [
|
@@ -5586,7 +5607,7 @@
|
|
5586
5607
|
"immutable": true,
|
5587
5608
|
"locationInModule": {
|
5588
5609
|
"filename": "src/types.ts",
|
5589
|
-
"line":
|
5610
|
+
"line": 512
|
5590
5611
|
},
|
5591
5612
|
"name": "functionSlots",
|
5592
5613
|
"type": {
|
@@ -5620,7 +5641,7 @@
|
|
5620
5641
|
"immutable": true,
|
5621
5642
|
"locationInModule": {
|
5622
5643
|
"filename": "src/types.ts",
|
5623
|
-
"line":
|
5644
|
+
"line": 506
|
5624
5645
|
},
|
5625
5646
|
"name": "schema",
|
5626
5647
|
"type": {
|
@@ -5640,7 +5661,7 @@
|
|
5640
5661
|
"kind": "interface",
|
5641
5662
|
"locationInModule": {
|
5642
5663
|
"filename": "src/types.ts",
|
5643
|
-
"line":
|
5664
|
+
"line": 518
|
5644
5665
|
},
|
5645
5666
|
"name": "IBackendOutputEntry",
|
5646
5667
|
"properties": [
|
@@ -5653,7 +5674,7 @@
|
|
5653
5674
|
"immutable": true,
|
5654
5675
|
"locationInModule": {
|
5655
5676
|
"filename": "src/types.ts",
|
5656
|
-
"line":
|
5677
|
+
"line": 527
|
5657
5678
|
},
|
5658
5679
|
"name": "payload",
|
5659
5680
|
"type": {
|
@@ -5674,7 +5695,7 @@
|
|
5674
5695
|
"immutable": true,
|
5675
5696
|
"locationInModule": {
|
5676
5697
|
"filename": "src/types.ts",
|
5677
|
-
"line":
|
5698
|
+
"line": 522
|
5678
5699
|
},
|
5679
5700
|
"name": "version",
|
5680
5701
|
"type": {
|
@@ -5694,7 +5715,7 @@
|
|
5694
5715
|
"kind": "interface",
|
5695
5716
|
"locationInModule": {
|
5696
5717
|
"filename": "src/types.ts",
|
5697
|
-
"line":
|
5718
|
+
"line": 533
|
5698
5719
|
},
|
5699
5720
|
"methods": [
|
5700
5721
|
{
|
@@ -5705,7 +5726,7 @@
|
|
5705
5726
|
},
|
5706
5727
|
"locationInModule": {
|
5707
5728
|
"filename": "src/types.ts",
|
5708
|
-
"line":
|
5729
|
+
"line": 540
|
5709
5730
|
},
|
5710
5731
|
"name": "addBackendOutputEntry",
|
5711
5732
|
"parameters": [
|
@@ -5988,7 +6009,7 @@
|
|
5988
6009
|
"kind": "interface",
|
5989
6010
|
"locationInModule": {
|
5990
6011
|
"filename": "src/types.ts",
|
5991
|
-
"line":
|
6012
|
+
"line": 416
|
5992
6013
|
},
|
5993
6014
|
"name": "PartialTranslationBehavior",
|
5994
6015
|
"properties": [
|
@@ -6002,7 +6023,7 @@
|
|
6002
6023
|
"immutable": true,
|
6003
6024
|
"locationInModule": {
|
6004
6025
|
"filename": "src/types.ts",
|
6005
|
-
"line":
|
6026
|
+
"line": 428
|
6006
6027
|
},
|
6007
6028
|
"name": "disableResolverDeduping",
|
6008
6029
|
"optional": true,
|
@@ -6024,7 +6045,7 @@
|
|
6024
6045
|
"immutable": true,
|
6025
6046
|
"locationInModule": {
|
6026
6047
|
"filename": "src/types.ts",
|
6027
|
-
"line":
|
6048
|
+
"line": 467
|
6028
6049
|
},
|
6029
6050
|
"name": "enableAutoIndexQueryNames",
|
6030
6051
|
"optional": true,
|
@@ -6043,7 +6064,7 @@
|
|
6043
6064
|
"immutable": true,
|
6044
6065
|
"locationInModule": {
|
6045
6066
|
"filename": "src/types.ts",
|
6046
|
-
"line":
|
6067
|
+
"line": 482
|
6047
6068
|
},
|
6048
6069
|
"name": "enableSearchNodeToNodeEncryption",
|
6049
6070
|
"optional": true,
|
@@ -6061,7 +6082,7 @@
|
|
6061
6082
|
"immutable": true,
|
6062
6083
|
"locationInModule": {
|
6063
6084
|
"filename": "src/types.ts",
|
6064
|
-
"line":
|
6085
|
+
"line": 488
|
6065
6086
|
},
|
6066
6087
|
"name": "enableTransformerCfnOutputs",
|
6067
6088
|
"optional": true,
|
@@ -6079,7 +6100,7 @@
|
|
6079
6100
|
"immutable": true,
|
6080
6101
|
"locationInModule": {
|
6081
6102
|
"filename": "src/types.ts",
|
6082
|
-
"line":
|
6103
|
+
"line": 447
|
6083
6104
|
},
|
6084
6105
|
"name": "populateOwnerFieldForStaticGroupAuth",
|
6085
6106
|
"optional": true,
|
@@ -6097,7 +6118,7 @@
|
|
6097
6118
|
"immutable": true,
|
6098
6119
|
"locationInModule": {
|
6099
6120
|
"filename": "src/types.ts",
|
6100
|
-
"line":
|
6121
|
+
"line": 473
|
6101
6122
|
},
|
6102
6123
|
"name": "respectPrimaryKeyAttributesOnConnectionField",
|
6103
6124
|
"optional": true,
|
@@ -6115,7 +6136,7 @@
|
|
6115
6136
|
"immutable": true,
|
6116
6137
|
"locationInModule": {
|
6117
6138
|
"filename": "src/types.ts",
|
6118
|
-
"line":
|
6139
|
+
"line": 434
|
6119
6140
|
},
|
6120
6141
|
"name": "sandboxModeEnabled",
|
6121
6142
|
"optional": true,
|
@@ -6136,7 +6157,7 @@
|
|
6136
6157
|
"immutable": true,
|
6137
6158
|
"locationInModule": {
|
6138
6159
|
"filename": "src/types.ts",
|
6139
|
-
"line":
|
6160
|
+
"line": 460
|
6140
6161
|
},
|
6141
6162
|
"name": "secondaryKeyAsGSI",
|
6142
6163
|
"optional": true,
|
@@ -6157,7 +6178,7 @@
|
|
6157
6178
|
"immutable": true,
|
6158
6179
|
"locationInModule": {
|
6159
6180
|
"filename": "src/types.ts",
|
6160
|
-
"line":
|
6181
|
+
"line": 421
|
6161
6182
|
},
|
6162
6183
|
"name": "shouldDeepMergeDirectiveConfigDefaults",
|
6163
6184
|
"optional": true,
|
@@ -6176,7 +6197,7 @@
|
|
6176
6197
|
"immutable": true,
|
6177
6198
|
"locationInModule": {
|
6178
6199
|
"filename": "src/types.ts",
|
6179
|
-
"line":
|
6200
|
+
"line": 454
|
6180
6201
|
},
|
6181
6202
|
"name": "suppressApiKeyGeneration",
|
6182
6203
|
"optional": true,
|
@@ -6184,6 +6205,24 @@
|
|
6184
6205
|
"primitive": "boolean"
|
6185
6206
|
}
|
6186
6207
|
},
|
6208
|
+
{
|
6209
|
+
"abstract": true,
|
6210
|
+
"docs": {
|
6211
|
+
"default": "false",
|
6212
|
+
"stability": "experimental",
|
6213
|
+
"summary": "When enabled, amplify DynamoDB table will be generated instead of CFN pre-defined DynamoDB table."
|
6214
|
+
},
|
6215
|
+
"immutable": true,
|
6216
|
+
"locationInModule": {
|
6217
|
+
"filename": "src/types.ts",
|
6218
|
+
"line": 495
|
6219
|
+
},
|
6220
|
+
"name": "useAmplifyManagedTableResources",
|
6221
|
+
"optional": true,
|
6222
|
+
"type": {
|
6223
|
+
"primitive": "boolean"
|
6224
|
+
}
|
6225
|
+
},
|
6187
6226
|
{
|
6188
6227
|
"abstract": true,
|
6189
6228
|
"docs": {
|
@@ -6194,7 +6233,7 @@
|
|
6194
6233
|
"immutable": true,
|
6195
6234
|
"locationInModule": {
|
6196
6235
|
"filename": "src/types.ts",
|
6197
|
-
"line":
|
6236
|
+
"line": 441
|
6198
6237
|
},
|
6199
6238
|
"name": "useSubUsernameForDefaultIdentityClaim",
|
6200
6239
|
"optional": true,
|
@@ -6370,15 +6409,12 @@
|
|
6370
6409
|
{
|
6371
6410
|
"abstract": true,
|
6372
6411
|
"docs": {
|
6373
|
-
"
|
6374
|
-
"remarks": "Not recommended for use, prefer\nto use `Object.values(resources.additionalResources['AWS::Elasticsearch::Domain']).forEach((domain: CfnDomain) => {\n domain.NodeToNodeEncryptionOptions = { Enabled: True };\n});",
|
6375
|
-
"stability": "stable",
|
6376
|
-
"summary": "If enabled, set nodeToNodeEncryption on the searchable domain (if one exists)."
|
6412
|
+
"stability": "stable"
|
6377
6413
|
},
|
6378
6414
|
"immutable": true,
|
6379
6415
|
"locationInModule": {
|
6380
6416
|
"filename": "src/types.ts",
|
6381
|
-
"line":
|
6417
|
+
"line": 404
|
6382
6418
|
},
|
6383
6419
|
"name": "enableSearchNodeToNodeEncryption",
|
6384
6420
|
"type": {
|
@@ -6395,7 +6431,7 @@
|
|
6395
6431
|
"immutable": true,
|
6396
6432
|
"locationInModule": {
|
6397
6433
|
"filename": "src/types.ts",
|
6398
|
-
"line":
|
6434
|
+
"line": 410
|
6399
6435
|
},
|
6400
6436
|
"name": "enableTransformerCfnOutputs",
|
6401
6437
|
"type": {
|
@@ -6511,6 +6547,23 @@
|
|
6511
6547
|
"primitive": "boolean"
|
6512
6548
|
}
|
6513
6549
|
},
|
6550
|
+
{
|
6551
|
+
"abstract": true,
|
6552
|
+
"docs": {
|
6553
|
+
"default": "false",
|
6554
|
+
"stability": "experimental",
|
6555
|
+
"summary": "Used for AmplifyGrapqhlApi construct ONLY If enabled, the table resources will be generated under custom resource provider, which enables the multiple GSI updates within one deployment phase."
|
6556
|
+
},
|
6557
|
+
"immutable": true,
|
6558
|
+
"locationInModule": {
|
6559
|
+
"filename": "src/types.ts",
|
6560
|
+
"line": 402
|
6561
|
+
},
|
6562
|
+
"name": "useAmplifyManagedTableResources",
|
6563
|
+
"type": {
|
6564
|
+
"primitive": "boolean"
|
6565
|
+
}
|
6566
|
+
},
|
6514
6567
|
{
|
6515
6568
|
"abstract": true,
|
6516
6569
|
"docs": {
|
@@ -6566,6 +6619,6 @@
|
|
6566
6619
|
"symbolId": "src/types:UserPoolAuthorizationConfig"
|
6567
6620
|
}
|
6568
6621
|
},
|
6569
|
-
"version": "1.
|
6570
|
-
"fingerprint": "
|
6622
|
+
"version": "1.2.0-amplify-table-preview.0",
|
6623
|
+
"fingerprint": "N8FG+0daJzBLzghMHeHzJejIxNCp+rdCSRDdw8A/z9c="
|
6571
6624
|
}
|
package/API.md
CHANGED
@@ -81,6 +81,7 @@ export class AmplifyGraphqlApi extends Construct {
|
|
81
81
|
// @public
|
82
82
|
export interface AmplifyGraphqlApiCfnResources {
|
83
83
|
readonly additionalCfnResources: Record<string, CfnResource>;
|
84
|
+
readonly cfnAmplifyTables: Record<string, CfnResource>;
|
84
85
|
readonly cfnApiKey?: CfnApiKey;
|
85
86
|
readonly cfnDataSources: Record<string, CfnDataSource>;
|
86
87
|
readonly cfnFunctionConfigurations: Record<string, CfnFunctionConfiguration>;
|
@@ -246,6 +247,7 @@ export interface PartialTranslationBehavior {
|
|
246
247
|
readonly secondaryKeyAsGSI?: boolean;
|
247
248
|
readonly shouldDeepMergeDirectiveConfigDefaults?: boolean;
|
248
249
|
readonly suppressApiKeyGeneration?: boolean;
|
250
|
+
readonly useAmplifyManagedTableResources?: boolean;
|
249
251
|
readonly useSubUsernameForDefaultIdentityClaim?: boolean;
|
250
252
|
}
|
251
253
|
|
@@ -265,6 +267,7 @@ export interface SubscriptionFunctionSlot extends FunctionSlotBase {
|
|
265
267
|
export interface TranslationBehavior {
|
266
268
|
readonly disableResolverDeduping: boolean;
|
267
269
|
readonly enableAutoIndexQueryNames: boolean;
|
270
|
+
// (undocumented)
|
268
271
|
readonly enableSearchNodeToNodeEncryption: boolean;
|
269
272
|
readonly enableTransformerCfnOutputs: boolean;
|
270
273
|
readonly populateOwnerFieldForStaticGroupAuth: boolean;
|
@@ -273,6 +276,7 @@ export interface TranslationBehavior {
|
|
273
276
|
readonly secondaryKeyAsGSI: boolean;
|
274
277
|
readonly shouldDeepMergeDirectiveConfigDefaults: boolean;
|
275
278
|
readonly suppressApiKeyGeneration: boolean;
|
279
|
+
readonly useAmplifyManagedTableResources: boolean;
|
276
280
|
readonly useSubUsernameForDefaultIdentityClaim: boolean;
|
277
281
|
}
|
278
282
|
|