aws-sdk-core 2.11.174 → 2.11.175

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66c7caa32974dece55217f48b74e97bb278aa9bf
4
- data.tar.gz: 58cd7cd0c43cfbbcc9b86996f9d142fe5e68e764
3
+ metadata.gz: 2704a0fd3ec58947bddca3ee2088e2a76db72a4f
4
+ data.tar.gz: 29100ed5617f9a7cb3c10f7633dcecc7c6fb1067
5
5
  SHA512:
6
- metadata.gz: bee9d72f35266e83f06b4d9a7c61377b53382b18a7c719a104159bfb21cb44364f33297bf3f3383cf7944f5da7a05fac36ef769dd7ae0cd209117c33cd9d56bc
7
- data.tar.gz: 52aa2cf43665e650d74e72b3d9cd3a4829e77aa9c2d1cc6914c72fe588000e9510511adc34e623445dd843ea367bb7a086d11aa015060ab59bfa31e6b458ec34
6
+ metadata.gz: c82c4e822c4eef660d3efbd09ee245878d944c6e0a19784a14267a24c066cafcb0a75ea99087f08ac8dbbca7a4d7ca7013e083d6baeb0084bc64b325d574e261
7
+ data.tar.gz: f8d7f2462e48cf124ec35327841ac6438ffdcdd4389e1a7a723a01772575ae91008b4ff335f3194593b27a4fccd18908a48597f5d1a943db6863ecad4cde31ce
@@ -7,6 +7,7 @@
7
7
  "protocol":"rest-json",
8
8
  "serviceAbbreviation":"AWSAppSync",
9
9
  "serviceFullName":"AWS AppSync",
10
+ "serviceId":"AppSync",
10
11
  "signatureVersion":"v4",
11
12
  "signingName":"appsync",
12
13
  "uid":"appsync-2017-07-25"
@@ -47,6 +48,21 @@
47
48
  {"shape":"InternalFailureException"}
48
49
  ]
49
50
  },
51
+ "CreateFunction":{
52
+ "name":"CreateFunction",
53
+ "http":{
54
+ "method":"POST",
55
+ "requestUri":"/v1/apis/{apiId}/functions"
56
+ },
57
+ "input":{"shape":"CreateFunctionRequest"},
58
+ "output":{"shape":"CreateFunctionResponse"},
59
+ "errors":[
60
+ {"shape":"ConcurrentModificationException"},
61
+ {"shape":"NotFoundException"},
62
+ {"shape":"UnauthorizedException"},
63
+ {"shape":"InternalFailureException"}
64
+ ]
65
+ },
50
66
  "CreateGraphqlApi":{
51
67
  "name":"CreateGraphqlApi",
52
68
  "http":{
@@ -126,6 +142,21 @@
126
142
  {"shape":"InternalFailureException"}
127
143
  ]
128
144
  },
145
+ "DeleteFunction":{
146
+ "name":"DeleteFunction",
147
+ "http":{
148
+ "method":"DELETE",
149
+ "requestUri":"/v1/apis/{apiId}/functions/{functionId}"
150
+ },
151
+ "input":{"shape":"DeleteFunctionRequest"},
152
+ "output":{"shape":"DeleteFunctionResponse"},
153
+ "errors":[
154
+ {"shape":"ConcurrentModificationException"},
155
+ {"shape":"NotFoundException"},
156
+ {"shape":"UnauthorizedException"},
157
+ {"shape":"InternalFailureException"}
158
+ ]
159
+ },
129
160
  "DeleteGraphqlApi":{
130
161
  "name":"DeleteGraphqlApi",
131
162
  "http":{
@@ -189,6 +220,20 @@
189
220
  {"shape":"InternalFailureException"}
190
221
  ]
191
222
  },
223
+ "GetFunction":{
224
+ "name":"GetFunction",
225
+ "http":{
226
+ "method":"GET",
227
+ "requestUri":"/v1/apis/{apiId}/functions/{functionId}"
228
+ },
229
+ "input":{"shape":"GetFunctionRequest"},
230
+ "output":{"shape":"GetFunctionResponse"},
231
+ "errors":[
232
+ {"shape":"ConcurrentModificationException"},
233
+ {"shape":"NotFoundException"},
234
+ {"shape":"UnauthorizedException"}
235
+ ]
236
+ },
192
237
  "GetGraphqlApi":{
193
238
  "name":"GetGraphqlApi",
194
239
  "http":{
@@ -294,6 +339,21 @@
294
339
  {"shape":"InternalFailureException"}
295
340
  ]
296
341
  },
342
+ "ListFunctions":{
343
+ "name":"ListFunctions",
344
+ "http":{
345
+ "method":"GET",
346
+ "requestUri":"/v1/apis/{apiId}/functions"
347
+ },
348
+ "input":{"shape":"ListFunctionsRequest"},
349
+ "output":{"shape":"ListFunctionsResponse"},
350
+ "errors":[
351
+ {"shape":"BadRequestException"},
352
+ {"shape":"NotFoundException"},
353
+ {"shape":"UnauthorizedException"},
354
+ {"shape":"InternalFailureException"}
355
+ ]
356
+ },
297
357
  "ListGraphqlApis":{
298
358
  "name":"ListGraphqlApis",
299
359
  "http":{
@@ -323,6 +383,21 @@
323
383
  {"shape":"InternalFailureException"}
324
384
  ]
325
385
  },
386
+ "ListResolversByFunction":{
387
+ "name":"ListResolversByFunction",
388
+ "http":{
389
+ "method":"GET",
390
+ "requestUri":"/v1/apis/{apiId}/functions/{functionId}/resolvers"
391
+ },
392
+ "input":{"shape":"ListResolversByFunctionRequest"},
393
+ "output":{"shape":"ListResolversByFunctionResponse"},
394
+ "errors":[
395
+ {"shape":"BadRequestException"},
396
+ {"shape":"NotFoundException"},
397
+ {"shape":"UnauthorizedException"},
398
+ {"shape":"InternalFailureException"}
399
+ ]
400
+ },
326
401
  "ListTypes":{
327
402
  "name":"ListTypes",
328
403
  "http":{
@@ -388,6 +463,21 @@
388
463
  {"shape":"InternalFailureException"}
389
464
  ]
390
465
  },
466
+ "UpdateFunction":{
467
+ "name":"UpdateFunction",
468
+ "http":{
469
+ "method":"POST",
470
+ "requestUri":"/v1/apis/{apiId}/functions/{functionId}"
471
+ },
472
+ "input":{"shape":"UpdateFunctionRequest"},
473
+ "output":{"shape":"UpdateFunctionResponse"},
474
+ "errors":[
475
+ {"shape":"ConcurrentModificationException"},
476
+ {"shape":"NotFoundException"},
477
+ {"shape":"UnauthorizedException"},
478
+ {"shape":"InternalFailureException"}
479
+ ]
480
+ },
391
481
  "UpdateGraphqlApi":{
392
482
  "name":"UpdateGraphqlApi",
393
483
  "http":{
@@ -482,6 +572,25 @@
482
572
  "OPENID_CONNECT"
483
573
  ]
484
574
  },
575
+ "AuthorizationConfig":{
576
+ "type":"structure",
577
+ "required":["authorizationType"],
578
+ "members":{
579
+ "authorizationType":{"shape":"AuthorizationType"},
580
+ "awsIamConfig":{"shape":"AwsIamConfig"}
581
+ }
582
+ },
583
+ "AuthorizationType":{
584
+ "type":"string",
585
+ "enum":["AWS_IAM"]
586
+ },
587
+ "AwsIamConfig":{
588
+ "type":"structure",
589
+ "members":{
590
+ "signingRegion":{"shape":"String"},
591
+ "signingServiceName":{"shape":"String"}
592
+ }
593
+ },
485
594
  "BadRequestException":{
486
595
  "type":"structure",
487
596
  "members":{
@@ -539,7 +648,8 @@
539
648
  "dynamodbConfig":{"shape":"DynamodbDataSourceConfig"},
540
649
  "lambdaConfig":{"shape":"LambdaDataSourceConfig"},
541
650
  "elasticsearchConfig":{"shape":"ElasticsearchDataSourceConfig"},
542
- "httpConfig":{"shape":"HttpDataSourceConfig"}
651
+ "httpConfig":{"shape":"HttpDataSourceConfig"},
652
+ "relationalDatabaseConfig":{"shape":"RelationalDatabaseDataSourceConfig"}
543
653
  }
544
654
  },
545
655
  "CreateDataSourceResponse":{
@@ -548,6 +658,35 @@
548
658
  "dataSource":{"shape":"DataSource"}
549
659
  }
550
660
  },
661
+ "CreateFunctionRequest":{
662
+ "type":"structure",
663
+ "required":[
664
+ "apiId",
665
+ "name",
666
+ "dataSourceName",
667
+ "requestMappingTemplate",
668
+ "functionVersion"
669
+ ],
670
+ "members":{
671
+ "apiId":{
672
+ "shape":"String",
673
+ "location":"uri",
674
+ "locationName":"apiId"
675
+ },
676
+ "name":{"shape":"ResourceName"},
677
+ "description":{"shape":"String"},
678
+ "dataSourceName":{"shape":"ResourceName"},
679
+ "requestMappingTemplate":{"shape":"MappingTemplate"},
680
+ "responseMappingTemplate":{"shape":"MappingTemplate"},
681
+ "functionVersion":{"shape":"String"}
682
+ }
683
+ },
684
+ "CreateFunctionResponse":{
685
+ "type":"structure",
686
+ "members":{
687
+ "functionConfiguration":{"shape":"FunctionConfiguration"}
688
+ }
689
+ },
551
690
  "CreateGraphqlApiRequest":{
552
691
  "type":"structure",
553
692
  "required":[
@@ -574,7 +713,6 @@
574
713
  "apiId",
575
714
  "typeName",
576
715
  "fieldName",
577
- "dataSourceName",
578
716
  "requestMappingTemplate"
579
717
  ],
580
718
  "members":{
@@ -591,7 +729,9 @@
591
729
  "fieldName":{"shape":"ResourceName"},
592
730
  "dataSourceName":{"shape":"ResourceName"},
593
731
  "requestMappingTemplate":{"shape":"MappingTemplate"},
594
- "responseMappingTemplate":{"shape":"MappingTemplate"}
732
+ "responseMappingTemplate":{"shape":"MappingTemplate"},
733
+ "kind":{"shape":"ResolverKind"},
734
+ "pipelineConfig":{"shape":"PipelineConfig"}
595
735
  }
596
736
  },
597
737
  "CreateResolverResponse":{
@@ -634,7 +774,8 @@
634
774
  "dynamodbConfig":{"shape":"DynamodbDataSourceConfig"},
635
775
  "lambdaConfig":{"shape":"LambdaDataSourceConfig"},
636
776
  "elasticsearchConfig":{"shape":"ElasticsearchDataSourceConfig"},
637
- "httpConfig":{"shape":"HttpDataSourceConfig"}
777
+ "httpConfig":{"shape":"HttpDataSourceConfig"},
778
+ "relationalDatabaseConfig":{"shape":"RelationalDatabaseDataSourceConfig"}
638
779
  }
639
780
  },
640
781
  "DataSourceType":{
@@ -644,7 +785,8 @@
644
785
  "AMAZON_DYNAMODB",
645
786
  "AMAZON_ELASTICSEARCH",
646
787
  "NONE",
647
- "HTTP"
788
+ "HTTP",
789
+ "RELATIONAL_DATABASE"
648
790
  ]
649
791
  },
650
792
  "DataSources":{
@@ -706,6 +848,30 @@
706
848
  "members":{
707
849
  }
708
850
  },
851
+ "DeleteFunctionRequest":{
852
+ "type":"structure",
853
+ "required":[
854
+ "apiId",
855
+ "functionId"
856
+ ],
857
+ "members":{
858
+ "apiId":{
859
+ "shape":"String",
860
+ "location":"uri",
861
+ "locationName":"apiId"
862
+ },
863
+ "functionId":{
864
+ "shape":"ResourceName",
865
+ "location":"uri",
866
+ "locationName":"functionId"
867
+ }
868
+ }
869
+ },
870
+ "DeleteFunctionResponse":{
871
+ "type":"structure",
872
+ "members":{
873
+ }
874
+ },
709
875
  "DeleteGraphqlApiRequest":{
710
876
  "type":"structure",
711
877
  "required":["apiId"],
@@ -808,6 +974,27 @@
808
974
  "ALL"
809
975
  ]
810
976
  },
977
+ "FunctionConfiguration":{
978
+ "type":"structure",
979
+ "members":{
980
+ "functionId":{"shape":"String"},
981
+ "functionArn":{"shape":"String"},
982
+ "name":{"shape":"ResourceName"},
983
+ "description":{"shape":"String"},
984
+ "dataSourceName":{"shape":"ResourceName"},
985
+ "requestMappingTemplate":{"shape":"MappingTemplate"},
986
+ "responseMappingTemplate":{"shape":"MappingTemplate"},
987
+ "functionVersion":{"shape":"String"}
988
+ }
989
+ },
990
+ "Functions":{
991
+ "type":"list",
992
+ "member":{"shape":"FunctionConfiguration"}
993
+ },
994
+ "FunctionsIds":{
995
+ "type":"list",
996
+ "member":{"shape":"String"}
997
+ },
811
998
  "GetDataSourceRequest":{
812
999
  "type":"structure",
813
1000
  "required":[
@@ -833,6 +1020,31 @@
833
1020
  "dataSource":{"shape":"DataSource"}
834
1021
  }
835
1022
  },
1023
+ "GetFunctionRequest":{
1024
+ "type":"structure",
1025
+ "required":[
1026
+ "apiId",
1027
+ "functionId"
1028
+ ],
1029
+ "members":{
1030
+ "apiId":{
1031
+ "shape":"String",
1032
+ "location":"uri",
1033
+ "locationName":"apiId"
1034
+ },
1035
+ "functionId":{
1036
+ "shape":"ResourceName",
1037
+ "location":"uri",
1038
+ "locationName":"functionId"
1039
+ }
1040
+ }
1041
+ },
1042
+ "GetFunctionResponse":{
1043
+ "type":"structure",
1044
+ "members":{
1045
+ "functionConfiguration":{"shape":"FunctionConfiguration"}
1046
+ }
1047
+ },
836
1048
  "GetGraphqlApiRequest":{
837
1049
  "type":"structure",
838
1050
  "required":["apiId"],
@@ -984,7 +1196,8 @@
984
1196
  "HttpDataSourceConfig":{
985
1197
  "type":"structure",
986
1198
  "members":{
987
- "endpoint":{"shape":"String"}
1199
+ "endpoint":{"shape":"String"},
1200
+ "authorizationConfig":{"shape":"AuthorizationConfig"}
988
1201
  }
989
1202
  },
990
1203
  "InternalFailureException":{
@@ -1067,6 +1280,34 @@
1067
1280
  "nextToken":{"shape":"PaginationToken"}
1068
1281
  }
1069
1282
  },
1283
+ "ListFunctionsRequest":{
1284
+ "type":"structure",
1285
+ "required":["apiId"],
1286
+ "members":{
1287
+ "apiId":{
1288
+ "shape":"String",
1289
+ "location":"uri",
1290
+ "locationName":"apiId"
1291
+ },
1292
+ "nextToken":{
1293
+ "shape":"PaginationToken",
1294
+ "location":"querystring",
1295
+ "locationName":"nextToken"
1296
+ },
1297
+ "maxResults":{
1298
+ "shape":"MaxResults",
1299
+ "location":"querystring",
1300
+ "locationName":"maxResults"
1301
+ }
1302
+ }
1303
+ },
1304
+ "ListFunctionsResponse":{
1305
+ "type":"structure",
1306
+ "members":{
1307
+ "functions":{"shape":"Functions"},
1308
+ "nextToken":{"shape":"PaginationToken"}
1309
+ }
1310
+ },
1070
1311
  "ListGraphqlApisRequest":{
1071
1312
  "type":"structure",
1072
1313
  "members":{
@@ -1089,6 +1330,42 @@
1089
1330
  "nextToken":{"shape":"PaginationToken"}
1090
1331
  }
1091
1332
  },
1333
+ "ListResolversByFunctionRequest":{
1334
+ "type":"structure",
1335
+ "required":[
1336
+ "apiId",
1337
+ "functionId"
1338
+ ],
1339
+ "members":{
1340
+ "apiId":{
1341
+ "shape":"String",
1342
+ "location":"uri",
1343
+ "locationName":"apiId"
1344
+ },
1345
+ "functionId":{
1346
+ "shape":"String",
1347
+ "location":"uri",
1348
+ "locationName":"functionId"
1349
+ },
1350
+ "nextToken":{
1351
+ "shape":"PaginationToken",
1352
+ "location":"querystring",
1353
+ "locationName":"nextToken"
1354
+ },
1355
+ "maxResults":{
1356
+ "shape":"MaxResults",
1357
+ "location":"querystring",
1358
+ "locationName":"maxResults"
1359
+ }
1360
+ }
1361
+ },
1362
+ "ListResolversByFunctionResponse":{
1363
+ "type":"structure",
1364
+ "members":{
1365
+ "resolvers":{"shape":"Resolvers"},
1366
+ "nextToken":{"shape":"PaginationToken"}
1367
+ }
1368
+ },
1092
1369
  "ListResolversRequest":{
1093
1370
  "type":"structure",
1094
1371
  "required":[
@@ -1217,6 +1494,33 @@
1217
1494
  "type":"string",
1218
1495
  "pattern":"[\\\\S]+"
1219
1496
  },
1497
+ "PipelineConfig":{
1498
+ "type":"structure",
1499
+ "members":{
1500
+ "functions":{"shape":"FunctionsIds"}
1501
+ }
1502
+ },
1503
+ "RdsHttpEndpointConfig":{
1504
+ "type":"structure",
1505
+ "members":{
1506
+ "awsRegion":{"shape":"String"},
1507
+ "dbClusterIdentifier":{"shape":"String"},
1508
+ "databaseName":{"shape":"String"},
1509
+ "schema":{"shape":"String"},
1510
+ "awsSecretStoreArn":{"shape":"String"}
1511
+ }
1512
+ },
1513
+ "RelationalDatabaseDataSourceConfig":{
1514
+ "type":"structure",
1515
+ "members":{
1516
+ "relationalDatabaseSourceType":{"shape":"RelationalDatabaseSourceType"},
1517
+ "rdsHttpEndpointConfig":{"shape":"RdsHttpEndpointConfig"}
1518
+ }
1519
+ },
1520
+ "RelationalDatabaseSourceType":{
1521
+ "type":"string",
1522
+ "enum":["RDS_HTTP_ENDPOINT"]
1523
+ },
1220
1524
  "Resolver":{
1221
1525
  "type":"structure",
1222
1526
  "members":{
@@ -1225,9 +1529,18 @@
1225
1529
  "dataSourceName":{"shape":"ResourceName"},
1226
1530
  "resolverArn":{"shape":"String"},
1227
1531
  "requestMappingTemplate":{"shape":"MappingTemplate"},
1228
- "responseMappingTemplate":{"shape":"MappingTemplate"}
1532
+ "responseMappingTemplate":{"shape":"MappingTemplate"},
1533
+ "kind":{"shape":"ResolverKind"},
1534
+ "pipelineConfig":{"shape":"PipelineConfig"}
1229
1535
  }
1230
1536
  },
1537
+ "ResolverKind":{
1538
+ "type":"string",
1539
+ "enum":[
1540
+ "UNIT",
1541
+ "PIPELINE"
1542
+ ]
1543
+ },
1231
1544
  "Resolvers":{
1232
1545
  "type":"list",
1233
1546
  "member":{"shape":"Resolver"}
@@ -1346,7 +1659,8 @@
1346
1659
  "dynamodbConfig":{"shape":"DynamodbDataSourceConfig"},
1347
1660
  "lambdaConfig":{"shape":"LambdaDataSourceConfig"},
1348
1661
  "elasticsearchConfig":{"shape":"ElasticsearchDataSourceConfig"},
1349
- "httpConfig":{"shape":"HttpDataSourceConfig"}
1662
+ "httpConfig":{"shape":"HttpDataSourceConfig"},
1663
+ "relationalDatabaseConfig":{"shape":"RelationalDatabaseDataSourceConfig"}
1350
1664
  }
1351
1665
  },
1352
1666
  "UpdateDataSourceResponse":{
@@ -1355,6 +1669,41 @@
1355
1669
  "dataSource":{"shape":"DataSource"}
1356
1670
  }
1357
1671
  },
1672
+ "UpdateFunctionRequest":{
1673
+ "type":"structure",
1674
+ "required":[
1675
+ "apiId",
1676
+ "name",
1677
+ "functionId",
1678
+ "dataSourceName",
1679
+ "requestMappingTemplate",
1680
+ "functionVersion"
1681
+ ],
1682
+ "members":{
1683
+ "apiId":{
1684
+ "shape":"String",
1685
+ "location":"uri",
1686
+ "locationName":"apiId"
1687
+ },
1688
+ "name":{"shape":"ResourceName"},
1689
+ "description":{"shape":"String"},
1690
+ "functionId":{
1691
+ "shape":"ResourceName",
1692
+ "location":"uri",
1693
+ "locationName":"functionId"
1694
+ },
1695
+ "dataSourceName":{"shape":"ResourceName"},
1696
+ "requestMappingTemplate":{"shape":"MappingTemplate"},
1697
+ "responseMappingTemplate":{"shape":"MappingTemplate"},
1698
+ "functionVersion":{"shape":"String"}
1699
+ }
1700
+ },
1701
+ "UpdateFunctionResponse":{
1702
+ "type":"structure",
1703
+ "members":{
1704
+ "functionConfiguration":{"shape":"FunctionConfiguration"}
1705
+ }
1706
+ },
1358
1707
  "UpdateGraphqlApiRequest":{
1359
1708
  "type":"structure",
1360
1709
  "required":[
@@ -1386,7 +1735,6 @@
1386
1735
  "apiId",
1387
1736
  "typeName",
1388
1737
  "fieldName",
1389
- "dataSourceName",
1390
1738
  "requestMappingTemplate"
1391
1739
  ],
1392
1740
  "members":{
@@ -1407,7 +1755,9 @@
1407
1755
  },
1408
1756
  "dataSourceName":{"shape":"ResourceName"},
1409
1757
  "requestMappingTemplate":{"shape":"MappingTemplate"},
1410
- "responseMappingTemplate":{"shape":"MappingTemplate"}
1758
+ "responseMappingTemplate":{"shape":"MappingTemplate"},
1759
+ "kind":{"shape":"ResolverKind"},
1760
+ "pipelineConfig":{"shape":"PipelineConfig"}
1411
1761
  }
1412
1762
  },
1413
1763
  "UpdateResolverResponse":{