@aws-amplify/graphql-api-construct 1.11.0 → 1.12.0-gen2-migration.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +147 -74
- package/API.md +11 -1
- package/CHANGELOG.md +11 -0
- package/lib/amplify-dynamodb-table-wrapper.js +1 -1
- package/lib/amplify-graphql-api.js +6 -2
- package/lib/amplify-graphql-definition.js +1 -1
- package/lib/model-datasource-strategy-types.d.ts +19 -1
- package/lib/model-datasource-strategy-types.js +1 -1
- package/lib/sql-model-datasource-strategy.js +1 -1
- package/lib/types.d.ts +1 -1
- package/lib/types.js +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +8 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +12 -12
- package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +8 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +7 -7
- package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +8 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/package.json +6 -6
- package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +8 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/package.json +6 -6
- package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +8 -0
- package/node_modules/@aws-amplify/graphql-index-transformer/package.json +7 -7
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +8 -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 +11 -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 +47 -2
- 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.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js +11 -2
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js +4 -2
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js.map +1 -1
- 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
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js +24 -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 -1
- 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 +3 -1
- 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/lib/resources/model-resource-generator.d.ts +1 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js +3 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/package.json +6 -6
- package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +8 -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 +8 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +8 -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-sql-transformer/CHANGELOG.md +8 -0
- package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +7 -7
- package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +10 -0
- package/node_modules/@aws-amplify/graphql-transformer/package.json +15 -15
- package/node_modules/@aws-amplify/graphql-transformer-core/API.md +4 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +11 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +3 -2
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
- 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/lib/utils/model-datasource-strategy-utils.d.ts +2 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js +9 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.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 +12 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +7 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +6 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js.map +1 -1
- 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 +2 -2
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +10 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transform-parameters.ts +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
- package/node_modules/graphql-transformer-common/API.md +1 -0
- package/node_modules/graphql-transformer-common/CHANGELOG.md +12 -0
- package/node_modules/graphql-transformer-common/LICENSE +201 -0
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts +1 -0
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts.map +1 -1
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.js +1 -0
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.js.map +1 -1
- package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js +1 -1
- package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js.map +1 -1
- package/node_modules/graphql-transformer-common/package.json +3 -2
- package/package.json +19 -19
- package/src/amplify-graphql-api.ts +4 -0
- package/src/model-datasource-strategy-types.ts +21 -0
- package/src/types.ts +1 -1
package/.jsii
CHANGED
@@ -8,21 +8,21 @@
|
|
8
8
|
"bundled": {
|
9
9
|
"@aws-amplify/backend-output-schemas": "^0.4.0",
|
10
10
|
"@aws-amplify/backend-output-storage": "^0.2.2",
|
11
|
-
"@aws-amplify/graphql-auth-transformer": "3.6.
|
12
|
-
"@aws-amplify/graphql-default-value-transformer": "2.3.
|
11
|
+
"@aws-amplify/graphql-auth-transformer": "3.6.3-gen2-migration.0",
|
12
|
+
"@aws-amplify/graphql-default-value-transformer": "2.3.11-gen2-migration.0",
|
13
13
|
"@aws-amplify/graphql-directives": "1.1.0",
|
14
|
-
"@aws-amplify/graphql-function-transformer": "2.1.
|
15
|
-
"@aws-amplify/graphql-http-transformer": "2.1.
|
16
|
-
"@aws-amplify/graphql-index-transformer": "2.4.
|
17
|
-
"@aws-amplify/graphql-maps-to-transformer": "3.4.
|
18
|
-
"@aws-amplify/graphql-model-transformer": "2.
|
19
|
-
"@aws-amplify/graphql-predictions-transformer": "2.1.
|
20
|
-
"@aws-amplify/graphql-relational-transformer": "2.5.
|
21
|
-
"@aws-amplify/graphql-searchable-transformer": "2.7.
|
22
|
-
"@aws-amplify/graphql-sql-transformer": "0.3.
|
23
|
-
"@aws-amplify/graphql-transformer": "1.
|
24
|
-
"@aws-amplify/graphql-transformer-core": "2.
|
25
|
-
"@aws-amplify/graphql-transformer-interfaces": "3.
|
14
|
+
"@aws-amplify/graphql-function-transformer": "2.1.26-gen2-migration.0",
|
15
|
+
"@aws-amplify/graphql-http-transformer": "2.1.26-gen2-migration.0",
|
16
|
+
"@aws-amplify/graphql-index-transformer": "2.4.7-gen2-migration.0",
|
17
|
+
"@aws-amplify/graphql-maps-to-transformer": "3.4.21-gen2-migration.0",
|
18
|
+
"@aws-amplify/graphql-model-transformer": "2.12.0-gen2-migration.0",
|
19
|
+
"@aws-amplify/graphql-predictions-transformer": "2.1.26-gen2-migration.0",
|
20
|
+
"@aws-amplify/graphql-relational-transformer": "2.5.9-gen2-migration.0",
|
21
|
+
"@aws-amplify/graphql-searchable-transformer": "2.7.7-gen2-migration.0",
|
22
|
+
"@aws-amplify/graphql-sql-transformer": "0.3.7-gen2-migration.0",
|
23
|
+
"@aws-amplify/graphql-transformer": "1.7.0-gen2-migration.0",
|
24
|
+
"@aws-amplify/graphql-transformer-core": "2.10.0-gen2-migration.0",
|
25
|
+
"@aws-amplify/graphql-transformer-interfaces": "3.11.0-gen2-migration.0",
|
26
26
|
"@aws-amplify/platform-core": "^0.2.0",
|
27
27
|
"@aws-amplify/plugin-types": "^0.4.1",
|
28
28
|
"charenc": "^0.0.2",
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"graceful-fs": "^4.2.11",
|
32
32
|
"graphql": "^15.5.0",
|
33
33
|
"graphql-mapping-template": "4.20.16",
|
34
|
-
"graphql-transformer-common": "4.
|
34
|
+
"graphql-transformer-common": "4.32.0-gen2-migration.0",
|
35
35
|
"hjson": "^3.2.2",
|
36
36
|
"immer": "^9.0.12",
|
37
37
|
"is-buffer": "^2.0.5",
|
@@ -3677,7 +3677,7 @@
|
|
3677
3677
|
"kind": "interface",
|
3678
3678
|
"locationInModule": {
|
3679
3679
|
"filename": "src/model-datasource-strategy-types.ts",
|
3680
|
-
"line":
|
3680
|
+
"line": 39
|
3681
3681
|
},
|
3682
3682
|
"name": "AmplifyDynamoDbModelDataSourceStrategy",
|
3683
3683
|
"properties": [
|
@@ -3689,7 +3689,7 @@
|
|
3689
3689
|
"immutable": true,
|
3690
3690
|
"locationInModule": {
|
3691
3691
|
"filename": "src/model-datasource-strategy-types.ts",
|
3692
|
-
"line":
|
3692
|
+
"line": 40
|
3693
3693
|
},
|
3694
3694
|
"name": "dbType",
|
3695
3695
|
"type": {
|
@@ -3704,7 +3704,7 @@
|
|
3704
3704
|
"immutable": true,
|
3705
3705
|
"locationInModule": {
|
3706
3706
|
"filename": "src/model-datasource-strategy-types.ts",
|
3707
|
-
"line":
|
3707
|
+
"line": 41
|
3708
3708
|
},
|
3709
3709
|
"name": "provisionStrategy",
|
3710
3710
|
"type": {
|
@@ -3998,7 +3998,7 @@
|
|
3998
3998
|
},
|
3999
3999
|
"locationInModule": {
|
4000
4000
|
"filename": "src/amplify-graphql-api.ts",
|
4001
|
-
"line":
|
4001
|
+
"line": 287
|
4002
4002
|
},
|
4003
4003
|
"name": "addDynamoDbDataSource",
|
4004
4004
|
"parameters": [
|
@@ -4047,7 +4047,7 @@
|
|
4047
4047
|
},
|
4048
4048
|
"locationInModule": {
|
4049
4049
|
"filename": "src/amplify-graphql-api.ts",
|
4050
|
-
"line":
|
4050
|
+
"line": 299
|
4051
4051
|
},
|
4052
4052
|
"name": "addElasticsearchDataSource",
|
4053
4053
|
"parameters": [
|
@@ -4094,7 +4094,7 @@
|
|
4094
4094
|
},
|
4095
4095
|
"locationInModule": {
|
4096
4096
|
"filename": "src/amplify-graphql-api.ts",
|
4097
|
-
"line":
|
4097
|
+
"line": 309
|
4098
4098
|
},
|
4099
4099
|
"name": "addEventBridgeDataSource",
|
4100
4100
|
"parameters": [
|
@@ -4141,7 +4141,7 @@
|
|
4141
4141
|
},
|
4142
4142
|
"locationInModule": {
|
4143
4143
|
"filename": "src/amplify-graphql-api.ts",
|
4144
|
-
"line":
|
4144
|
+
"line": 391
|
4145
4145
|
},
|
4146
4146
|
"name": "addFunction",
|
4147
4147
|
"parameters": [
|
@@ -4176,7 +4176,7 @@
|
|
4176
4176
|
},
|
4177
4177
|
"locationInModule": {
|
4178
4178
|
"filename": "src/amplify-graphql-api.ts",
|
4179
|
-
"line":
|
4179
|
+
"line": 320
|
4180
4180
|
},
|
4181
4181
|
"name": "addHttpDataSource",
|
4182
4182
|
"parameters": [
|
@@ -4224,7 +4224,7 @@
|
|
4224
4224
|
},
|
4225
4225
|
"locationInModule": {
|
4226
4226
|
"filename": "src/amplify-graphql-api.ts",
|
4227
|
-
"line":
|
4227
|
+
"line": 331
|
4228
4228
|
},
|
4229
4229
|
"name": "addLambdaDataSource",
|
4230
4230
|
"parameters": [
|
@@ -4272,7 +4272,7 @@
|
|
4272
4272
|
},
|
4273
4273
|
"locationInModule": {
|
4274
4274
|
"filename": "src/amplify-graphql-api.ts",
|
4275
|
-
"line":
|
4275
|
+
"line": 342
|
4276
4276
|
},
|
4277
4277
|
"name": "addNoneDataSource",
|
4278
4278
|
"parameters": [
|
@@ -4311,7 +4311,7 @@
|
|
4311
4311
|
},
|
4312
4312
|
"locationInModule": {
|
4313
4313
|
"filename": "src/amplify-graphql-api.ts",
|
4314
|
-
"line":
|
4314
|
+
"line": 353
|
4315
4315
|
},
|
4316
4316
|
"name": "addOpenSearchDataSource",
|
4317
4317
|
"parameters": [
|
@@ -4359,7 +4359,7 @@
|
|
4359
4359
|
},
|
4360
4360
|
"locationInModule": {
|
4361
4361
|
"filename": "src/amplify-graphql-api.ts",
|
4362
|
-
"line":
|
4362
|
+
"line": 366
|
4363
4363
|
},
|
4364
4364
|
"name": "addRdsDataSource",
|
4365
4365
|
"parameters": [
|
@@ -4426,7 +4426,7 @@
|
|
4426
4426
|
},
|
4427
4427
|
"locationInModule": {
|
4428
4428
|
"filename": "src/amplify-graphql-api.ts",
|
4429
|
-
"line":
|
4429
|
+
"line": 382
|
4430
4430
|
},
|
4431
4431
|
"name": "addResolver",
|
4432
4432
|
"parameters": [
|
@@ -4977,7 +4977,7 @@
|
|
4977
4977
|
{
|
4978
4978
|
"abstract": true,
|
4979
4979
|
"docs": {
|
4980
|
-
"remarks": "If no
|
4980
|
+
"remarks": "If no outputStorageStrategy is provided a default strategy will be used.",
|
4981
4981
|
"stability": "stable",
|
4982
4982
|
"summary": "Strategy to store construct outputs."
|
4983
4983
|
},
|
@@ -5346,6 +5346,9 @@
|
|
5346
5346
|
{
|
5347
5347
|
"fqn": "@aws-amplify/graphql-api-construct.AmplifyDynamoDbModelDataSourceStrategy"
|
5348
5348
|
},
|
5349
|
+
{
|
5350
|
+
"fqn": "@aws-amplify/graphql-api-construct.ImportedAmplifyDynamoDbModelDataSourceStrategy"
|
5351
|
+
},
|
5349
5352
|
{
|
5350
5353
|
"fqn": "@aws-amplify/graphql-api-construct.SQLLambdaModelDataSourceStrategy"
|
5351
5354
|
}
|
@@ -5398,6 +5401,9 @@
|
|
5398
5401
|
{
|
5399
5402
|
"fqn": "@aws-amplify/graphql-api-construct.AmplifyDynamoDbModelDataSourceStrategy"
|
5400
5403
|
},
|
5404
|
+
{
|
5405
|
+
"fqn": "@aws-amplify/graphql-api-construct.ImportedAmplifyDynamoDbModelDataSourceStrategy"
|
5406
|
+
},
|
5401
5407
|
{
|
5402
5408
|
"fqn": "@aws-amplify/graphql-api-construct.SQLLambdaModelDataSourceStrategy"
|
5403
5409
|
}
|
@@ -5793,7 +5799,7 @@
|
|
5793
5799
|
"kind": "interface",
|
5794
5800
|
"locationInModule": {
|
5795
5801
|
"filename": "src/model-datasource-strategy-types.ts",
|
5796
|
-
"line":
|
5802
|
+
"line": 256
|
5797
5803
|
},
|
5798
5804
|
"name": "CustomSqlDataSourceStrategy",
|
5799
5805
|
"properties": [
|
@@ -5806,7 +5812,7 @@
|
|
5806
5812
|
"immutable": true,
|
5807
5813
|
"locationInModule": {
|
5808
5814
|
"filename": "src/model-datasource-strategy-types.ts",
|
5809
|
-
"line":
|
5815
|
+
"line": 261
|
5810
5816
|
},
|
5811
5817
|
"name": "fieldName",
|
5812
5818
|
"type": {
|
@@ -5822,7 +5828,7 @@
|
|
5822
5828
|
"immutable": true,
|
5823
5829
|
"locationInModule": {
|
5824
5830
|
"filename": "src/model-datasource-strategy-types.ts",
|
5825
|
-
"line":
|
5831
|
+
"line": 264
|
5826
5832
|
},
|
5827
5833
|
"name": "strategy",
|
5828
5834
|
"type": {
|
@@ -5838,7 +5844,7 @@
|
|
5838
5844
|
"immutable": true,
|
5839
5845
|
"locationInModule": {
|
5840
5846
|
"filename": "src/model-datasource-strategy-types.ts",
|
5841
|
-
"line":
|
5847
|
+
"line": 258
|
5842
5848
|
},
|
5843
5849
|
"name": "typeName",
|
5844
5850
|
"type": {
|
@@ -5941,7 +5947,7 @@
|
|
5941
5947
|
"kind": "interface",
|
5942
5948
|
"locationInModule": {
|
5943
5949
|
"filename": "src/model-datasource-strategy-types.ts",
|
5944
|
-
"line":
|
5950
|
+
"line": 31
|
5945
5951
|
},
|
5946
5952
|
"name": "DefaultDynamoDbModelDataSourceStrategy",
|
5947
5953
|
"properties": [
|
@@ -5953,7 +5959,7 @@
|
|
5953
5959
|
"immutable": true,
|
5954
5960
|
"locationInModule": {
|
5955
5961
|
"filename": "src/model-datasource-strategy-types.ts",
|
5956
|
-
"line":
|
5962
|
+
"line": 32
|
5957
5963
|
},
|
5958
5964
|
"name": "dbType",
|
5959
5965
|
"type": {
|
@@ -5968,7 +5974,7 @@
|
|
5968
5974
|
"immutable": true,
|
5969
5975
|
"locationInModule": {
|
5970
5976
|
"filename": "src/model-datasource-strategy-types.ts",
|
5971
|
-
"line":
|
5977
|
+
"line": 33
|
5972
5978
|
},
|
5973
5979
|
"name": "provisionStrategy",
|
5974
5980
|
"type": {
|
@@ -6266,6 +6272,9 @@
|
|
6266
6272
|
{
|
6267
6273
|
"fqn": "@aws-amplify/graphql-api-construct.AmplifyDynamoDbModelDataSourceStrategy"
|
6268
6274
|
},
|
6275
|
+
{
|
6276
|
+
"fqn": "@aws-amplify/graphql-api-construct.ImportedAmplifyDynamoDbModelDataSourceStrategy"
|
6277
|
+
},
|
6269
6278
|
{
|
6270
6279
|
"fqn": "@aws-amplify/graphql-api-construct.SQLLambdaModelDataSourceStrategy"
|
6271
6280
|
}
|
@@ -6547,6 +6556,70 @@
|
|
6547
6556
|
],
|
6548
6557
|
"symbolId": "src/types:IdentityPoolAuthorizationConfig"
|
6549
6558
|
},
|
6559
|
+
"@aws-amplify/graphql-api-construct.ImportedAmplifyDynamoDbModelDataSourceStrategy": {
|
6560
|
+
"assembly": "@aws-amplify/graphql-api-construct",
|
6561
|
+
"datatype": true,
|
6562
|
+
"docs": {
|
6563
|
+
"remarks": "Tables can be imported only if they meet the following criteria.\n1. The imported table must have been created with through an Amplify Gen 1 project.\n2. The imported table must be in the same account and region as this construct.\n3. The imported table properties must match the corresponding table properties specified in this construct.\n (AttributeDefinitions, KeySchema, GlobalSecondaryIndexes, BillingModeSummary, ProvisionedThroughput, StreamSpecification, SSEDescription, DeletionProtectionEnabled)\n\nThe imported tables will follow the auth rules defined in this construct.\nThe auth rules of the source Gen 1 project will not apply to the API created by this construct.\nEnsure the correct auth rules have been set to prevent data exposure.",
|
6564
|
+
"stability": "stable",
|
6565
|
+
"summary": "Use custom resource type 'Custom::ImportedAmplifyDynamoDBTable' to manage an imported table."
|
6566
|
+
},
|
6567
|
+
"fqn": "@aws-amplify/graphql-api-construct.ImportedAmplifyDynamoDbModelDataSourceStrategy",
|
6568
|
+
"kind": "interface",
|
6569
|
+
"locationInModule": {
|
6570
|
+
"filename": "src/model-datasource-strategy-types.ts",
|
6571
|
+
"line": 58
|
6572
|
+
},
|
6573
|
+
"name": "ImportedAmplifyDynamoDbModelDataSourceStrategy",
|
6574
|
+
"properties": [
|
6575
|
+
{
|
6576
|
+
"abstract": true,
|
6577
|
+
"docs": {
|
6578
|
+
"stability": "stable"
|
6579
|
+
},
|
6580
|
+
"immutable": true,
|
6581
|
+
"locationInModule": {
|
6582
|
+
"filename": "src/model-datasource-strategy-types.ts",
|
6583
|
+
"line": 59
|
6584
|
+
},
|
6585
|
+
"name": "dbType",
|
6586
|
+
"type": {
|
6587
|
+
"primitive": "string"
|
6588
|
+
}
|
6589
|
+
},
|
6590
|
+
{
|
6591
|
+
"abstract": true,
|
6592
|
+
"docs": {
|
6593
|
+
"stability": "stable"
|
6594
|
+
},
|
6595
|
+
"immutable": true,
|
6596
|
+
"locationInModule": {
|
6597
|
+
"filename": "src/model-datasource-strategy-types.ts",
|
6598
|
+
"line": 60
|
6599
|
+
},
|
6600
|
+
"name": "provisionStrategy",
|
6601
|
+
"type": {
|
6602
|
+
"primitive": "string"
|
6603
|
+
}
|
6604
|
+
},
|
6605
|
+
{
|
6606
|
+
"abstract": true,
|
6607
|
+
"docs": {
|
6608
|
+
"stability": "stable"
|
6609
|
+
},
|
6610
|
+
"immutable": true,
|
6611
|
+
"locationInModule": {
|
6612
|
+
"filename": "src/model-datasource-strategy-types.ts",
|
6613
|
+
"line": 61
|
6614
|
+
},
|
6615
|
+
"name": "tableName",
|
6616
|
+
"type": {
|
6617
|
+
"primitive": "string"
|
6618
|
+
}
|
6619
|
+
}
|
6620
|
+
],
|
6621
|
+
"symbolId": "src/model-datasource-strategy-types:ImportedAmplifyDynamoDbModelDataSourceStrategy"
|
6622
|
+
},
|
6550
6623
|
"@aws-amplify/graphql-api-construct.LambdaAuthorizationConfig": {
|
6551
6624
|
"assembly": "@aws-amplify/graphql-api-construct",
|
6552
6625
|
"datatype": true,
|
@@ -7086,7 +7159,7 @@
|
|
7086
7159
|
"kind": "interface",
|
7087
7160
|
"locationInModule": {
|
7088
7161
|
"filename": "src/model-datasource-strategy-types.ts",
|
7089
|
-
"line":
|
7162
|
+
"line": 122
|
7090
7163
|
},
|
7091
7164
|
"name": "ProvisionedConcurrencyConfig",
|
7092
7165
|
"properties": [
|
@@ -7100,7 +7173,7 @@
|
|
7100
7173
|
"immutable": true,
|
7101
7174
|
"locationInModule": {
|
7102
7175
|
"filename": "src/model-datasource-strategy-types.ts",
|
7103
|
-
"line":
|
7176
|
+
"line": 124
|
7104
7177
|
},
|
7105
7178
|
"name": "provisionedConcurrentExecutions",
|
7106
7179
|
"type": {
|
@@ -7225,7 +7298,7 @@
|
|
7225
7298
|
"kind": "interface",
|
7226
7299
|
"locationInModule": {
|
7227
7300
|
"filename": "src/model-datasource-strategy-types.ts",
|
7228
|
-
"line":
|
7301
|
+
"line": 67
|
7229
7302
|
},
|
7230
7303
|
"name": "SQLLambdaModelDataSourceStrategy",
|
7231
7304
|
"properties": [
|
@@ -7238,7 +7311,7 @@
|
|
7238
7311
|
"immutable": true,
|
7239
7312
|
"locationInModule": {
|
7240
7313
|
"filename": "src/model-datasource-strategy-types.ts",
|
7241
|
-
"line":
|
7314
|
+
"line": 82
|
7242
7315
|
},
|
7243
7316
|
"name": "dbConnectionConfig",
|
7244
7317
|
"type": {
|
@@ -7266,7 +7339,7 @@
|
|
7266
7339
|
"immutable": true,
|
7267
7340
|
"locationInModule": {
|
7268
7341
|
"filename": "src/model-datasource-strategy-types.ts",
|
7269
|
-
"line":
|
7342
|
+
"line": 77
|
7270
7343
|
},
|
7271
7344
|
"name": "dbType",
|
7272
7345
|
"type": {
|
@@ -7283,7 +7356,7 @@
|
|
7283
7356
|
"immutable": true,
|
7284
7357
|
"locationInModule": {
|
7285
7358
|
"filename": "src/model-datasource-strategy-types.ts",
|
7286
|
-
"line":
|
7359
|
+
"line": 72
|
7287
7360
|
},
|
7288
7361
|
"name": "name",
|
7289
7362
|
"type": {
|
@@ -7300,7 +7373,7 @@
|
|
7300
7373
|
"immutable": true,
|
7301
7374
|
"locationInModule": {
|
7302
7375
|
"filename": "src/model-datasource-strategy-types.ts",
|
7303
|
-
"line":
|
7376
|
+
"line": 93
|
7304
7377
|
},
|
7305
7378
|
"name": "customSqlStatements",
|
7306
7379
|
"optional": true,
|
@@ -7322,7 +7395,7 @@
|
|
7322
7395
|
"immutable": true,
|
7323
7396
|
"locationInModule": {
|
7324
7397
|
"filename": "src/model-datasource-strategy-types.ts",
|
7325
|
-
"line":
|
7398
|
+
"line": 98
|
7326
7399
|
},
|
7327
7400
|
"name": "sqlLambdaProvisionedConcurrencyConfig",
|
7328
7401
|
"optional": true,
|
@@ -7339,7 +7412,7 @@
|
|
7339
7412
|
"immutable": true,
|
7340
7413
|
"locationInModule": {
|
7341
7414
|
"filename": "src/model-datasource-strategy-types.ts",
|
7342
|
-
"line":
|
7415
|
+
"line": 87
|
7343
7416
|
},
|
7344
7417
|
"name": "vpcConfiguration",
|
7345
7418
|
"optional": true,
|
@@ -7522,7 +7595,7 @@
|
|
7522
7595
|
"kind": "interface",
|
7523
7596
|
"locationInModule": {
|
7524
7597
|
"filename": "src/model-datasource-strategy-types.ts",
|
7525
|
-
"line":
|
7598
|
+
"line": 197
|
7526
7599
|
},
|
7527
7600
|
"name": "SqlModelDataSourceSecretsManagerDbConnectionConfig",
|
7528
7601
|
"properties": [
|
@@ -7535,7 +7608,7 @@
|
|
7535
7608
|
"immutable": true,
|
7536
7609
|
"locationInModule": {
|
7537
7610
|
"filename": "src/model-datasource-strategy-types.ts",
|
7538
|
-
"line":
|
7611
|
+
"line": 211
|
7539
7612
|
},
|
7540
7613
|
"name": "databaseName",
|
7541
7614
|
"type": {
|
@@ -7551,7 +7624,7 @@
|
|
7551
7624
|
"immutable": true,
|
7552
7625
|
"locationInModule": {
|
7553
7626
|
"filename": "src/model-datasource-strategy-types.ts",
|
7554
|
-
"line":
|
7627
|
+
"line": 214
|
7555
7628
|
},
|
7556
7629
|
"name": "hostname",
|
7557
7630
|
"type": {
|
@@ -7567,7 +7640,7 @@
|
|
7567
7640
|
"immutable": true,
|
7568
7641
|
"locationInModule": {
|
7569
7642
|
"filename": "src/model-datasource-strategy-types.ts",
|
7570
|
-
"line":
|
7643
|
+
"line": 208
|
7571
7644
|
},
|
7572
7645
|
"name": "port",
|
7573
7646
|
"type": {
|
@@ -7584,7 +7657,7 @@
|
|
7584
7657
|
"immutable": true,
|
7585
7658
|
"locationInModule": {
|
7586
7659
|
"filename": "src/model-datasource-strategy-types.ts",
|
7587
|
-
"line":
|
7660
|
+
"line": 199
|
7588
7661
|
},
|
7589
7662
|
"name": "secretArn",
|
7590
7663
|
"type": {
|
@@ -7601,7 +7674,7 @@
|
|
7601
7674
|
"immutable": true,
|
7602
7675
|
"locationInModule": {
|
7603
7676
|
"filename": "src/model-datasource-strategy-types.ts",
|
7604
|
-
"line":
|
7677
|
+
"line": 205
|
7605
7678
|
},
|
7606
7679
|
"name": "keyArn",
|
7607
7680
|
"optional": true,
|
@@ -7618,7 +7691,7 @@
|
|
7618
7691
|
"immutable": true,
|
7619
7692
|
"locationInModule": {
|
7620
7693
|
"filename": "src/model-datasource-strategy-types.ts",
|
7621
|
-
"line":
|
7694
|
+
"line": 219
|
7622
7695
|
},
|
7623
7696
|
"name": "sslCertConfig",
|
7624
7697
|
"optional": true,
|
@@ -7641,7 +7714,7 @@
|
|
7641
7714
|
"kind": "interface",
|
7642
7715
|
"locationInModule": {
|
7643
7716
|
"filename": "src/model-datasource-strategy-types.ts",
|
7644
|
-
"line":
|
7717
|
+
"line": 227
|
7645
7718
|
},
|
7646
7719
|
"name": "SqlModelDataSourceSsmDbConnectionConfig",
|
7647
7720
|
"properties": [
|
@@ -7654,7 +7727,7 @@
|
|
7654
7727
|
"immutable": true,
|
7655
7728
|
"locationInModule": {
|
7656
7729
|
"filename": "src/model-datasource-strategy-types.ts",
|
7657
|
-
"line":
|
7730
|
+
"line": 243
|
7658
7731
|
},
|
7659
7732
|
"name": "databaseNameSsmPath",
|
7660
7733
|
"type": {
|
@@ -7671,7 +7744,7 @@
|
|
7671
7744
|
"immutable": true,
|
7672
7745
|
"locationInModule": {
|
7673
7746
|
"filename": "src/model-datasource-strategy-types.ts",
|
7674
|
-
"line":
|
7747
|
+
"line": 231
|
7675
7748
|
},
|
7676
7749
|
"name": "hostnameSsmPath",
|
7677
7750
|
"type": {
|
@@ -7687,7 +7760,7 @@
|
|
7687
7760
|
"immutable": true,
|
7688
7761
|
"locationInModule": {
|
7689
7762
|
"filename": "src/model-datasource-strategy-types.ts",
|
7690
|
-
"line":
|
7763
|
+
"line": 240
|
7691
7764
|
},
|
7692
7765
|
"name": "passwordSsmPath",
|
7693
7766
|
"type": {
|
@@ -7703,7 +7776,7 @@
|
|
7703
7776
|
"immutable": true,
|
7704
7777
|
"locationInModule": {
|
7705
7778
|
"filename": "src/model-datasource-strategy-types.ts",
|
7706
|
-
"line":
|
7779
|
+
"line": 234
|
7707
7780
|
},
|
7708
7781
|
"name": "portSsmPath",
|
7709
7782
|
"type": {
|
@@ -7719,7 +7792,7 @@
|
|
7719
7792
|
"immutable": true,
|
7720
7793
|
"locationInModule": {
|
7721
7794
|
"filename": "src/model-datasource-strategy-types.ts",
|
7722
|
-
"line":
|
7795
|
+
"line": 237
|
7723
7796
|
},
|
7724
7797
|
"name": "usernameSsmPath",
|
7725
7798
|
"type": {
|
@@ -7735,7 +7808,7 @@
|
|
7735
7808
|
"immutable": true,
|
7736
7809
|
"locationInModule": {
|
7737
7810
|
"filename": "src/model-datasource-strategy-types.ts",
|
7738
|
-
"line":
|
7811
|
+
"line": 248
|
7739
7812
|
},
|
7740
7813
|
"name": "sslCertConfig",
|
7741
7814
|
"optional": true,
|
@@ -7757,7 +7830,7 @@
|
|
7757
7830
|
"kind": "interface",
|
7758
7831
|
"locationInModule": {
|
7759
7832
|
"filename": "src/model-datasource-strategy-types.ts",
|
7760
|
-
"line":
|
7833
|
+
"line": 176
|
7761
7834
|
},
|
7762
7835
|
"name": "SqlModelDataSourceSsmDbConnectionStringConfig",
|
7763
7836
|
"properties": [
|
@@ -7771,7 +7844,7 @@
|
|
7771
7844
|
"immutable": true,
|
7772
7845
|
"locationInModule": {
|
7773
7846
|
"filename": "src/model-datasource-strategy-types.ts",
|
7774
|
-
"line":
|
7847
|
+
"line": 183
|
7775
7848
|
},
|
7776
7849
|
"name": "connectionUriSsmPath",
|
7777
7850
|
"type": {
|
@@ -7801,7 +7874,7 @@
|
|
7801
7874
|
"immutable": true,
|
7802
7875
|
"locationInModule": {
|
7803
7876
|
"filename": "src/model-datasource-strategy-types.ts",
|
7804
|
-
"line":
|
7877
|
+
"line": 188
|
7805
7878
|
},
|
7806
7879
|
"name": "sslCertConfig",
|
7807
7880
|
"optional": true,
|
@@ -7824,7 +7897,7 @@
|
|
7824
7897
|
"kind": "interface",
|
7825
7898
|
"locationInModule": {
|
7826
7899
|
"filename": "src/model-datasource-strategy-types.ts",
|
7827
|
-
"line":
|
7900
|
+
"line": 155
|
7828
7901
|
},
|
7829
7902
|
"name": "SslCertConfig",
|
7830
7903
|
"symbolId": "src/model-datasource-strategy-types:SslCertConfig"
|
@@ -7842,7 +7915,7 @@
|
|
7842
7915
|
"kind": "interface",
|
7843
7916
|
"locationInModule": {
|
7844
7917
|
"filename": "src/model-datasource-strategy-types.ts",
|
7845
|
-
"line":
|
7918
|
+
"line": 157
|
7846
7919
|
},
|
7847
7920
|
"name": "SslCertSsmPathConfig",
|
7848
7921
|
"properties": [
|
@@ -7856,7 +7929,7 @@
|
|
7856
7929
|
"immutable": true,
|
7857
7930
|
"locationInModule": {
|
7858
7931
|
"filename": "src/model-datasource-strategy-types.ts",
|
7859
|
-
"line":
|
7932
|
+
"line": 169
|
7860
7933
|
},
|
7861
7934
|
"name": "ssmPath",
|
7862
7935
|
"type": {
|
@@ -7927,7 +8000,7 @@
|
|
7927
8000
|
"kind": "interface",
|
7928
8001
|
"locationInModule": {
|
7929
8002
|
"filename": "src/model-datasource-strategy-types.ts",
|
7930
|
-
"line":
|
8003
|
+
"line": 132
|
7931
8004
|
},
|
7932
8005
|
"name": "SubnetAvailabilityZone",
|
7933
8006
|
"properties": [
|
@@ -7940,7 +8013,7 @@
|
|
7940
8013
|
"immutable": true,
|
7941
8014
|
"locationInModule": {
|
7942
8015
|
"filename": "src/model-datasource-strategy-types.ts",
|
7943
|
-
"line":
|
8016
|
+
"line": 137
|
7944
8017
|
},
|
7945
8018
|
"name": "availabilityZone",
|
7946
8019
|
"type": {
|
@@ -7956,7 +8029,7 @@
|
|
7956
8029
|
"immutable": true,
|
7957
8030
|
"locationInModule": {
|
7958
8031
|
"filename": "src/model-datasource-strategy-types.ts",
|
7959
|
-
"line":
|
8032
|
+
"line": 134
|
7960
8033
|
},
|
7961
8034
|
"name": "subnetId",
|
7962
8035
|
"type": {
|
@@ -8385,7 +8458,7 @@
|
|
8385
8458
|
"kind": "interface",
|
8386
8459
|
"locationInModule": {
|
8387
8460
|
"filename": "src/model-datasource-strategy-types.ts",
|
8388
|
-
"line":
|
8461
|
+
"line": 108
|
8389
8462
|
},
|
8390
8463
|
"name": "VpcConfig",
|
8391
8464
|
"properties": [
|
@@ -8398,7 +8471,7 @@
|
|
8398
8471
|
"immutable": true,
|
8399
8472
|
"locationInModule": {
|
8400
8473
|
"filename": "src/model-datasource-strategy-types.ts",
|
8401
|
-
"line":
|
8474
|
+
"line": 113
|
8402
8475
|
},
|
8403
8476
|
"name": "securityGroupIds",
|
8404
8477
|
"type": {
|
@@ -8419,7 +8492,7 @@
|
|
8419
8492
|
"immutable": true,
|
8420
8493
|
"locationInModule": {
|
8421
8494
|
"filename": "src/model-datasource-strategy-types.ts",
|
8422
|
-
"line":
|
8495
|
+
"line": 116
|
8423
8496
|
},
|
8424
8497
|
"name": "subnetAvailabilityZoneConfig",
|
8425
8498
|
"type": {
|
@@ -8440,7 +8513,7 @@
|
|
8440
8513
|
"immutable": true,
|
8441
8514
|
"locationInModule": {
|
8442
8515
|
"filename": "src/model-datasource-strategy-types.ts",
|
8443
|
-
"line":
|
8516
|
+
"line": 110
|
8444
8517
|
},
|
8445
8518
|
"name": "vpcId",
|
8446
8519
|
"type": {
|
@@ -8451,6 +8524,6 @@
|
|
8451
8524
|
"symbolId": "src/model-datasource-strategy-types:VpcConfig"
|
8452
8525
|
}
|
8453
8526
|
},
|
8454
|
-
"version": "1.
|
8455
|
-
"fingerprint": "
|
8527
|
+
"version": "1.12.0-gen2-migration.0",
|
8528
|
+
"fingerprint": "8wU+/SIeguAFhSukJ8kDXKv5bUAnk/aj7J5Debh6kNU="
|
8456
8529
|
}
|
package/API.md
CHANGED
@@ -276,6 +276,16 @@ export interface IdentityPoolAuthorizationConfig {
|
|
276
276
|
readonly unauthenticatedUserRole: IRole;
|
277
277
|
}
|
278
278
|
|
279
|
+
// @public
|
280
|
+
export interface ImportedAmplifyDynamoDbModelDataSourceStrategy {
|
281
|
+
// (undocumented)
|
282
|
+
readonly dbType: 'DYNAMODB';
|
283
|
+
// (undocumented)
|
284
|
+
readonly provisionStrategy: 'IMPORTED_AMPLIFY_TABLE';
|
285
|
+
// (undocumented)
|
286
|
+
readonly tableName: string;
|
287
|
+
}
|
288
|
+
|
279
289
|
// @public
|
280
290
|
export interface LambdaAuthorizationConfig {
|
281
291
|
readonly function: IFunction;
|
@@ -283,7 +293,7 @@ export interface LambdaAuthorizationConfig {
|
|
283
293
|
}
|
284
294
|
|
285
295
|
// @public
|
286
|
-
export type ModelDataSourceStrategy = DefaultDynamoDbModelDataSourceStrategy | AmplifyDynamoDbModelDataSourceStrategy | SQLLambdaModelDataSourceStrategy;
|
296
|
+
export type ModelDataSourceStrategy = DefaultDynamoDbModelDataSourceStrategy | AmplifyDynamoDbModelDataSourceStrategy | ImportedAmplifyDynamoDbModelDataSourceStrategy | SQLLambdaModelDataSourceStrategy;
|
287
297
|
|
288
298
|
// @public
|
289
299
|
export type ModelDataSourceStrategyDbType = 'DYNAMODB' | ModelDataSourceStrategySqlDbType;
|