aws-sdk-appsync 1.41.0 → 1.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f6abeafdc0788ba74469d684352e3365ba6c6c073550f6ebb48d1f042629bd5
4
- data.tar.gz: fdc01d2c263bbb1b45e97239afde2329b6e347ac1ad46b89419a8e4d23a13dab
3
+ metadata.gz: abd8e3b9f6bb1ffd9e3bb43044b8be065f54f2b4cdbe05275329b5526ee91ff1
4
+ data.tar.gz: bfb4e574030d434a9ed107d6cc00b609f2d444a4771206d4b31dc8a1897e33fd
5
5
  SHA512:
6
- metadata.gz: 61ee7f64b76a109ce086b3fbb8c4d347b81f65a3faf907100b74b4f765cc5090bc1a3bc00af8deb85cc4feec9eafe9aa2c506ed5388505104bace9e391cf9d98
7
- data.tar.gz: c27a29b5a52642991081523a708695a707f4bca60b0a3c4d3dfbb7119cc53a50d175ca0a5289b3631e035e62fccada189377166da2248e4279fcf14e70cfecdc
6
+ metadata.gz: aa5554c713aea57952dd33c68bfefd735efd6125ee18940e716ec751005697e61ccbadc9e831e57c2ad344ea16e72dbc11690598d953aec638ccffc9d621c965
7
+ data.tar.gz: 67dc19ceb56281b8ee59f3ecb14c8a63ef210b4991d3f4c226f6655676f6b760e5e861bba30cecff24a9d1fa6a22cc1a457b931b4903d5bc716ce6d301fe8c4f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2021-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.44.0 (2021-09-23)
10
+ ------------------
11
+
12
+ * Feature - Documented the new OpenSearchServiceDataSourceConfig data type. Added deprecation notes to the ElasticsearchDataSourceConfig data type.
13
+
14
+ 1.43.0 (2021-09-01)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.42.0 (2021-07-30)
20
+ ------------------
21
+
22
+ * Feature - AWS AppSync now supports a new authorization mode allowing you to define your own authorization logic using an AWS Lambda function.
23
+
4
24
  1.41.0 (2021-07-28)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.41.0
1
+ 1.45.0
@@ -484,17 +484,25 @@ module Aws::AppSync
484
484
  # The type of the `DataSource`.
485
485
  #
486
486
  # @option params [String] :service_role_arn
487
- # The AWS IAM service role ARN for the data source. The system assumes
488
- # this role when accessing the data source.
487
+ # The Identity and Access Management service role ARN for the data
488
+ # source. The system assumes this role when accessing the data source.
489
489
  #
490
490
  # @option params [Types::DynamodbDataSourceConfig] :dynamodb_config
491
491
  # Amazon DynamoDB settings.
492
492
  #
493
493
  # @option params [Types::LambdaDataSourceConfig] :lambda_config
494
- # AWS Lambda settings.
494
+ # Amazon Web Services Lambda settings.
495
495
  #
496
496
  # @option params [Types::ElasticsearchDataSourceConfig] :elasticsearch_config
497
- # Amazon Elasticsearch Service settings.
497
+ # Amazon OpenSearch Service settings.
498
+ #
499
+ # As of September 2021, Amazon Elasticsearch service is Amazon
500
+ # OpenSearch Service. This configuration is deprecated. For new data
501
+ # sources, use CreateDataSourceRequest$openSearchServiceConfig to create
502
+ # an OpenSearch data source.
503
+ #
504
+ # @option params [Types::OpenSearchServiceDataSourceConfig] :open_search_service_config
505
+ # Amazon OpenSearch Service settings.
498
506
  #
499
507
  # @option params [Types::HttpDataSourceConfig] :http_config
500
508
  # HTTP endpoint settings.
@@ -512,7 +520,7 @@ module Aws::AppSync
512
520
  # api_id: "String", # required
513
521
  # name: "ResourceName", # required
514
522
  # description: "String",
515
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE
523
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE
516
524
  # service_role_arn: "String",
517
525
  # dynamodb_config: {
518
526
  # table_name: "String", # required
@@ -532,6 +540,10 @@ module Aws::AppSync
532
540
  # endpoint: "String", # required
533
541
  # aws_region: "String", # required
534
542
  # },
543
+ # open_search_service_config: {
544
+ # endpoint: "String", # required
545
+ # aws_region: "String", # required
546
+ # },
535
547
  # http_config: {
536
548
  # endpoint: "String",
537
549
  # authorization_config: {
@@ -559,7 +571,7 @@ module Aws::AppSync
559
571
  # resp.data_source.data_source_arn #=> String
560
572
  # resp.data_source.name #=> String
561
573
  # resp.data_source.description #=> String
562
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
574
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
563
575
  # resp.data_source.service_role_arn #=> String
564
576
  # resp.data_source.dynamodb_config.table_name #=> String
565
577
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -571,6 +583,8 @@ module Aws::AppSync
571
583
  # resp.data_source.lambda_config.lambda_function_arn #=> String
572
584
  # resp.data_source.elasticsearch_config.endpoint #=> String
573
585
  # resp.data_source.elasticsearch_config.aws_region #=> String
586
+ # resp.data_source.open_search_service_config.endpoint #=> String
587
+ # resp.data_source.open_search_service_config.aws_region #=> String
574
588
  # resp.data_source.http_config.endpoint #=> String
575
589
  # resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
576
590
  # resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
@@ -680,8 +694,8 @@ module Aws::AppSync
680
694
  # The Amazon CloudWatch Logs configuration.
681
695
  #
682
696
  # @option params [required, String] :authentication_type
683
- # The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito
684
- # user pools.
697
+ # The authentication type: API key, Identity and Access Management,
698
+ # OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
685
699
  #
686
700
  # @option params [Types::UserPoolConfig] :user_pool_config
687
701
  # The Amazon Cognito user pool configuration.
@@ -700,6 +714,9 @@ module Aws::AppSync
700
714
  # A flag indicating whether to enable X-Ray tracing for the
701
715
  # `GraphqlApi`.
702
716
  #
717
+ # @option params [Types::LambdaAuthorizerConfig] :lambda_authorizer_config
718
+ # Configuration for Amazon Web Services Lambda function authorization.
719
+ #
703
720
  # @return [Types::CreateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
704
721
  #
705
722
  # * {Types::CreateGraphqlApiResponse#graphql_api #graphql_api} => Types::GraphqlApi
@@ -713,7 +730,7 @@ module Aws::AppSync
713
730
  # cloud_watch_logs_role_arn: "String", # required
714
731
  # exclude_verbose_content: false,
715
732
  # },
716
- # authentication_type: "API_KEY", # required, accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
733
+ # authentication_type: "API_KEY", # required, accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
717
734
  # user_pool_config: {
718
735
  # user_pool_id: "String", # required
719
736
  # aws_region: "String", # required
@@ -731,7 +748,7 @@ module Aws::AppSync
731
748
  # },
732
749
  # additional_authentication_providers: [
733
750
  # {
734
- # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
751
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
735
752
  # open_id_connect_config: {
736
753
  # issuer: "String", # required
737
754
  # client_id: "String",
@@ -743,16 +760,26 @@ module Aws::AppSync
743
760
  # aws_region: "String", # required
744
761
  # app_id_client_regex: "String",
745
762
  # },
763
+ # lambda_authorizer_config: {
764
+ # authorizer_result_ttl_in_seconds: 1,
765
+ # authorizer_uri: "String", # required
766
+ # identity_validation_expression: "String",
767
+ # },
746
768
  # },
747
769
  # ],
748
770
  # xray_enabled: false,
771
+ # lambda_authorizer_config: {
772
+ # authorizer_result_ttl_in_seconds: 1,
773
+ # authorizer_uri: "String", # required
774
+ # identity_validation_expression: "String",
775
+ # },
749
776
  # })
750
777
  #
751
778
  # @example Response structure
752
779
  #
753
780
  # resp.graphql_api.name #=> String
754
781
  # resp.graphql_api.api_id #=> String
755
- # resp.graphql_api.authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
782
+ # resp.graphql_api.authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
756
783
  # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL"
757
784
  # resp.graphql_api.log_config.cloud_watch_logs_role_arn #=> String
758
785
  # resp.graphql_api.log_config.exclude_verbose_content #=> Boolean
@@ -770,7 +797,7 @@ module Aws::AppSync
770
797
  # resp.graphql_api.tags #=> Hash
771
798
  # resp.graphql_api.tags["TagKey"] #=> String
772
799
  # resp.graphql_api.additional_authentication_providers #=> Array
773
- # resp.graphql_api.additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
800
+ # resp.graphql_api.additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
774
801
  # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.issuer #=> String
775
802
  # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.client_id #=> String
776
803
  # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.iat_ttl #=> Integer
@@ -778,8 +805,14 @@ module Aws::AppSync
778
805
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.user_pool_id #=> String
779
806
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
780
807
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
808
+ # resp.graphql_api.additional_authentication_providers[0].lambda_authorizer_config.authorizer_result_ttl_in_seconds #=> Integer
809
+ # resp.graphql_api.additional_authentication_providers[0].lambda_authorizer_config.authorizer_uri #=> String
810
+ # resp.graphql_api.additional_authentication_providers[0].lambda_authorizer_config.identity_validation_expression #=> String
781
811
  # resp.graphql_api.xray_enabled #=> Boolean
782
812
  # resp.graphql_api.waf_web_acl_arn #=> String
813
+ # resp.graphql_api.lambda_authorizer_config.authorizer_result_ttl_in_seconds #=> Integer
814
+ # resp.graphql_api.lambda_authorizer_config.authorizer_uri #=> String
815
+ # resp.graphql_api.lambda_authorizer_config.identity_validation_expression #=> String
783
816
  #
784
817
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi AWS API Documentation
785
818
  #
@@ -1203,7 +1236,7 @@ module Aws::AppSync
1203
1236
  # resp.data_source.data_source_arn #=> String
1204
1237
  # resp.data_source.name #=> String
1205
1238
  # resp.data_source.description #=> String
1206
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
1239
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
1207
1240
  # resp.data_source.service_role_arn #=> String
1208
1241
  # resp.data_source.dynamodb_config.table_name #=> String
1209
1242
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -1215,6 +1248,8 @@ module Aws::AppSync
1215
1248
  # resp.data_source.lambda_config.lambda_function_arn #=> String
1216
1249
  # resp.data_source.elasticsearch_config.endpoint #=> String
1217
1250
  # resp.data_source.elasticsearch_config.aws_region #=> String
1251
+ # resp.data_source.open_search_service_config.endpoint #=> String
1252
+ # resp.data_source.open_search_service_config.aws_region #=> String
1218
1253
  # resp.data_source.http_config.endpoint #=> String
1219
1254
  # resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
1220
1255
  # resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
@@ -1296,7 +1331,7 @@ module Aws::AppSync
1296
1331
  #
1297
1332
  # resp.graphql_api.name #=> String
1298
1333
  # resp.graphql_api.api_id #=> String
1299
- # resp.graphql_api.authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
1334
+ # resp.graphql_api.authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
1300
1335
  # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL"
1301
1336
  # resp.graphql_api.log_config.cloud_watch_logs_role_arn #=> String
1302
1337
  # resp.graphql_api.log_config.exclude_verbose_content #=> Boolean
@@ -1314,7 +1349,7 @@ module Aws::AppSync
1314
1349
  # resp.graphql_api.tags #=> Hash
1315
1350
  # resp.graphql_api.tags["TagKey"] #=> String
1316
1351
  # resp.graphql_api.additional_authentication_providers #=> Array
1317
- # resp.graphql_api.additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
1352
+ # resp.graphql_api.additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
1318
1353
  # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.issuer #=> String
1319
1354
  # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.client_id #=> String
1320
1355
  # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.iat_ttl #=> Integer
@@ -1322,8 +1357,14 @@ module Aws::AppSync
1322
1357
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.user_pool_id #=> String
1323
1358
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
1324
1359
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
1360
+ # resp.graphql_api.additional_authentication_providers[0].lambda_authorizer_config.authorizer_result_ttl_in_seconds #=> Integer
1361
+ # resp.graphql_api.additional_authentication_providers[0].lambda_authorizer_config.authorizer_uri #=> String
1362
+ # resp.graphql_api.additional_authentication_providers[0].lambda_authorizer_config.identity_validation_expression #=> String
1325
1363
  # resp.graphql_api.xray_enabled #=> Boolean
1326
1364
  # resp.graphql_api.waf_web_acl_arn #=> String
1365
+ # resp.graphql_api.lambda_authorizer_config.authorizer_result_ttl_in_seconds #=> Integer
1366
+ # resp.graphql_api.lambda_authorizer_config.authorizer_uri #=> String
1367
+ # resp.graphql_api.lambda_authorizer_config.identity_validation_expression #=> String
1327
1368
  #
1328
1369
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi AWS API Documentation
1329
1370
  #
@@ -1574,7 +1615,7 @@ module Aws::AppSync
1574
1615
  # resp.data_sources[0].data_source_arn #=> String
1575
1616
  # resp.data_sources[0].name #=> String
1576
1617
  # resp.data_sources[0].description #=> String
1577
- # resp.data_sources[0].type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
1618
+ # resp.data_sources[0].type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
1578
1619
  # resp.data_sources[0].service_role_arn #=> String
1579
1620
  # resp.data_sources[0].dynamodb_config.table_name #=> String
1580
1621
  # resp.data_sources[0].dynamodb_config.aws_region #=> String
@@ -1586,6 +1627,8 @@ module Aws::AppSync
1586
1627
  # resp.data_sources[0].lambda_config.lambda_function_arn #=> String
1587
1628
  # resp.data_sources[0].elasticsearch_config.endpoint #=> String
1588
1629
  # resp.data_sources[0].elasticsearch_config.aws_region #=> String
1630
+ # resp.data_sources[0].open_search_service_config.endpoint #=> String
1631
+ # resp.data_sources[0].open_search_service_config.aws_region #=> String
1589
1632
  # resp.data_sources[0].http_config.endpoint #=> String
1590
1633
  # resp.data_sources[0].http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
1591
1634
  # resp.data_sources[0].http_config.authorization_config.aws_iam_config.signing_region #=> String
@@ -1685,7 +1728,7 @@ module Aws::AppSync
1685
1728
  # resp.graphql_apis #=> Array
1686
1729
  # resp.graphql_apis[0].name #=> String
1687
1730
  # resp.graphql_apis[0].api_id #=> String
1688
- # resp.graphql_apis[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
1731
+ # resp.graphql_apis[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
1689
1732
  # resp.graphql_apis[0].log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL"
1690
1733
  # resp.graphql_apis[0].log_config.cloud_watch_logs_role_arn #=> String
1691
1734
  # resp.graphql_apis[0].log_config.exclude_verbose_content #=> Boolean
@@ -1703,7 +1746,7 @@ module Aws::AppSync
1703
1746
  # resp.graphql_apis[0].tags #=> Hash
1704
1747
  # resp.graphql_apis[0].tags["TagKey"] #=> String
1705
1748
  # resp.graphql_apis[0].additional_authentication_providers #=> Array
1706
- # resp.graphql_apis[0].additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
1749
+ # resp.graphql_apis[0].additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
1707
1750
  # resp.graphql_apis[0].additional_authentication_providers[0].open_id_connect_config.issuer #=> String
1708
1751
  # resp.graphql_apis[0].additional_authentication_providers[0].open_id_connect_config.client_id #=> String
1709
1752
  # resp.graphql_apis[0].additional_authentication_providers[0].open_id_connect_config.iat_ttl #=> Integer
@@ -1711,8 +1754,14 @@ module Aws::AppSync
1711
1754
  # resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.user_pool_id #=> String
1712
1755
  # resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.aws_region #=> String
1713
1756
  # resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
1757
+ # resp.graphql_apis[0].additional_authentication_providers[0].lambda_authorizer_config.authorizer_result_ttl_in_seconds #=> Integer
1758
+ # resp.graphql_apis[0].additional_authentication_providers[0].lambda_authorizer_config.authorizer_uri #=> String
1759
+ # resp.graphql_apis[0].additional_authentication_providers[0].lambda_authorizer_config.identity_validation_expression #=> String
1714
1760
  # resp.graphql_apis[0].xray_enabled #=> Boolean
1715
1761
  # resp.graphql_apis[0].waf_web_acl_arn #=> String
1762
+ # resp.graphql_apis[0].lambda_authorizer_config.authorizer_result_ttl_in_seconds #=> Integer
1763
+ # resp.graphql_apis[0].lambda_authorizer_config.authorizer_uri #=> String
1764
+ # resp.graphql_apis[0].lambda_authorizer_config.identity_validation_expression #=> String
1716
1765
  # resp.next_token #=> String
1717
1766
  #
1718
1767
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis AWS API Documentation
@@ -2163,10 +2212,18 @@ module Aws::AppSync
2163
2212
  # The new Amazon DynamoDB configuration.
2164
2213
  #
2165
2214
  # @option params [Types::LambdaDataSourceConfig] :lambda_config
2166
- # The new AWS Lambda configuration.
2215
+ # The new Amazon Web Services Lambda configuration.
2167
2216
  #
2168
2217
  # @option params [Types::ElasticsearchDataSourceConfig] :elasticsearch_config
2169
- # The new Elasticsearch Service configuration.
2218
+ # The new OpenSearch configuration.
2219
+ #
2220
+ # As of September 2021, Amazon Elasticsearch service is Amazon
2221
+ # OpenSearch Service. This configuration is deprecated. Instead, use
2222
+ # UpdateDataSourceRequest$openSearchServiceConfig to update an
2223
+ # OpenSearch data source.
2224
+ #
2225
+ # @option params [Types::OpenSearchServiceDataSourceConfig] :open_search_service_config
2226
+ # The new OpenSearch configuration.
2170
2227
  #
2171
2228
  # @option params [Types::HttpDataSourceConfig] :http_config
2172
2229
  # The new HTTP endpoint configuration.
@@ -2184,7 +2241,7 @@ module Aws::AppSync
2184
2241
  # api_id: "String", # required
2185
2242
  # name: "ResourceName", # required
2186
2243
  # description: "String",
2187
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE
2244
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE
2188
2245
  # service_role_arn: "String",
2189
2246
  # dynamodb_config: {
2190
2247
  # table_name: "String", # required
@@ -2204,6 +2261,10 @@ module Aws::AppSync
2204
2261
  # endpoint: "String", # required
2205
2262
  # aws_region: "String", # required
2206
2263
  # },
2264
+ # open_search_service_config: {
2265
+ # endpoint: "String", # required
2266
+ # aws_region: "String", # required
2267
+ # },
2207
2268
  # http_config: {
2208
2269
  # endpoint: "String",
2209
2270
  # authorization_config: {
@@ -2231,7 +2292,7 @@ module Aws::AppSync
2231
2292
  # resp.data_source.data_source_arn #=> String
2232
2293
  # resp.data_source.name #=> String
2233
2294
  # resp.data_source.description #=> String
2234
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
2295
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
2235
2296
  # resp.data_source.service_role_arn #=> String
2236
2297
  # resp.data_source.dynamodb_config.table_name #=> String
2237
2298
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -2243,6 +2304,8 @@ module Aws::AppSync
2243
2304
  # resp.data_source.lambda_config.lambda_function_arn #=> String
2244
2305
  # resp.data_source.elasticsearch_config.endpoint #=> String
2245
2306
  # resp.data_source.elasticsearch_config.aws_region #=> String
2307
+ # resp.data_source.open_search_service_config.endpoint #=> String
2308
+ # resp.data_source.open_search_service_config.aws_region #=> String
2246
2309
  # resp.data_source.http_config.endpoint #=> String
2247
2310
  # resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
2248
2311
  # resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
@@ -2373,6 +2436,9 @@ module Aws::AppSync
2373
2436
  # A flag indicating whether to enable X-Ray tracing for the
2374
2437
  # `GraphqlApi`.
2375
2438
  #
2439
+ # @option params [Types::LambdaAuthorizerConfig] :lambda_authorizer_config
2440
+ # Configuration for Amazon Web Services Lambda function authorization.
2441
+ #
2376
2442
  # @return [Types::UpdateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2377
2443
  #
2378
2444
  # * {Types::UpdateGraphqlApiResponse#graphql_api #graphql_api} => Types::GraphqlApi
@@ -2387,7 +2453,7 @@ module Aws::AppSync
2387
2453
  # cloud_watch_logs_role_arn: "String", # required
2388
2454
  # exclude_verbose_content: false,
2389
2455
  # },
2390
- # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
2456
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
2391
2457
  # user_pool_config: {
2392
2458
  # user_pool_id: "String", # required
2393
2459
  # aws_region: "String", # required
@@ -2402,7 +2468,7 @@ module Aws::AppSync
2402
2468
  # },
2403
2469
  # additional_authentication_providers: [
2404
2470
  # {
2405
- # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
2471
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
2406
2472
  # open_id_connect_config: {
2407
2473
  # issuer: "String", # required
2408
2474
  # client_id: "String",
@@ -2414,16 +2480,26 @@ module Aws::AppSync
2414
2480
  # aws_region: "String", # required
2415
2481
  # app_id_client_regex: "String",
2416
2482
  # },
2483
+ # lambda_authorizer_config: {
2484
+ # authorizer_result_ttl_in_seconds: 1,
2485
+ # authorizer_uri: "String", # required
2486
+ # identity_validation_expression: "String",
2487
+ # },
2417
2488
  # },
2418
2489
  # ],
2419
2490
  # xray_enabled: false,
2491
+ # lambda_authorizer_config: {
2492
+ # authorizer_result_ttl_in_seconds: 1,
2493
+ # authorizer_uri: "String", # required
2494
+ # identity_validation_expression: "String",
2495
+ # },
2420
2496
  # })
2421
2497
  #
2422
2498
  # @example Response structure
2423
2499
  #
2424
2500
  # resp.graphql_api.name #=> String
2425
2501
  # resp.graphql_api.api_id #=> String
2426
- # resp.graphql_api.authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
2502
+ # resp.graphql_api.authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
2427
2503
  # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL"
2428
2504
  # resp.graphql_api.log_config.cloud_watch_logs_role_arn #=> String
2429
2505
  # resp.graphql_api.log_config.exclude_verbose_content #=> Boolean
@@ -2441,7 +2517,7 @@ module Aws::AppSync
2441
2517
  # resp.graphql_api.tags #=> Hash
2442
2518
  # resp.graphql_api.tags["TagKey"] #=> String
2443
2519
  # resp.graphql_api.additional_authentication_providers #=> Array
2444
- # resp.graphql_api.additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
2520
+ # resp.graphql_api.additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
2445
2521
  # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.issuer #=> String
2446
2522
  # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.client_id #=> String
2447
2523
  # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.iat_ttl #=> Integer
@@ -2449,8 +2525,14 @@ module Aws::AppSync
2449
2525
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.user_pool_id #=> String
2450
2526
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
2451
2527
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
2528
+ # resp.graphql_api.additional_authentication_providers[0].lambda_authorizer_config.authorizer_result_ttl_in_seconds #=> Integer
2529
+ # resp.graphql_api.additional_authentication_providers[0].lambda_authorizer_config.authorizer_uri #=> String
2530
+ # resp.graphql_api.additional_authentication_providers[0].lambda_authorizer_config.identity_validation_expression #=> String
2452
2531
  # resp.graphql_api.xray_enabled #=> Boolean
2453
2532
  # resp.graphql_api.waf_web_acl_arn #=> String
2533
+ # resp.graphql_api.lambda_authorizer_config.authorizer_result_ttl_in_seconds #=> Integer
2534
+ # resp.graphql_api.lambda_authorizer_config.authorizer_uri #=> String
2535
+ # resp.graphql_api.lambda_authorizer_config.identity_validation_expression #=> String
2454
2536
  #
2455
2537
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi AWS API Documentation
2456
2538
  #
@@ -2624,7 +2706,7 @@ module Aws::AppSync
2624
2706
  params: params,
2625
2707
  config: config)
2626
2708
  context[:gem_name] = 'aws-sdk-appsync'
2627
- context[:gem_version] = '1.41.0'
2709
+ context[:gem_version] = '1.45.0'
2628
2710
  Seahorse::Client::Request.new(handlers, context)
2629
2711
  end
2630
2712
 
@@ -102,6 +102,7 @@ module Aws::AppSync
102
102
  GraphqlApis = Shapes::ListShape.new(name: 'GraphqlApis')
103
103
  HttpDataSourceConfig = Shapes::StructureShape.new(name: 'HttpDataSourceConfig')
104
104
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
105
+ LambdaAuthorizerConfig = Shapes::StructureShape.new(name: 'LambdaAuthorizerConfig')
105
106
  LambdaConflictHandlerConfig = Shapes::StructureShape.new(name: 'LambdaConflictHandlerConfig')
106
107
  LambdaDataSourceConfig = Shapes::StructureShape.new(name: 'LambdaDataSourceConfig')
107
108
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -128,6 +129,7 @@ module Aws::AppSync
128
129
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
129
130
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
130
131
  OpenIDConnectConfig = Shapes::StructureShape.new(name: 'OpenIDConnectConfig')
132
+ OpenSearchServiceDataSourceConfig = Shapes::StructureShape.new(name: 'OpenSearchServiceDataSourceConfig')
131
133
  OutputType = Shapes::StringShape.new(name: 'OutputType')
132
134
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
133
135
  PipelineConfig = Shapes::StructureShape.new(name: 'PipelineConfig')
@@ -144,6 +146,7 @@ module Aws::AppSync
144
146
  StartSchemaCreationResponse = Shapes::StructureShape.new(name: 'StartSchemaCreationResponse')
145
147
  String = Shapes::StringShape.new(name: 'String')
146
148
  SyncConfig = Shapes::StructureShape.new(name: 'SyncConfig')
149
+ TTL = Shapes::IntegerShape.new(name: 'TTL')
147
150
  TagKey = Shapes::StringShape.new(name: 'TagKey')
148
151
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
149
152
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -178,6 +181,7 @@ module Aws::AppSync
178
181
  AdditionalAuthenticationProvider.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, location_name: "authenticationType"))
179
182
  AdditionalAuthenticationProvider.add_member(:open_id_connect_config, Shapes::ShapeRef.new(shape: OpenIDConnectConfig, location_name: "openIDConnectConfig"))
180
183
  AdditionalAuthenticationProvider.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: CognitoUserPoolConfig, location_name: "userPoolConfig"))
184
+ AdditionalAuthenticationProvider.add_member(:lambda_authorizer_config, Shapes::ShapeRef.new(shape: LambdaAuthorizerConfig, location_name: "lambdaAuthorizerConfig"))
181
185
  AdditionalAuthenticationProvider.struct_class = Types::AdditionalAuthenticationProvider
182
186
 
183
187
  AdditionalAuthenticationProviders.member = Shapes::ShapeRef.new(shape: AdditionalAuthenticationProvider)
@@ -259,6 +263,7 @@ module Aws::AppSync
259
263
  CreateDataSourceRequest.add_member(:dynamodb_config, Shapes::ShapeRef.new(shape: DynamodbDataSourceConfig, location_name: "dynamodbConfig"))
260
264
  CreateDataSourceRequest.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaDataSourceConfig, location_name: "lambdaConfig"))
261
265
  CreateDataSourceRequest.add_member(:elasticsearch_config, Shapes::ShapeRef.new(shape: ElasticsearchDataSourceConfig, location_name: "elasticsearchConfig"))
266
+ CreateDataSourceRequest.add_member(:open_search_service_config, Shapes::ShapeRef.new(shape: OpenSearchServiceDataSourceConfig, location_name: "openSearchServiceConfig"))
262
267
  CreateDataSourceRequest.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
263
268
  CreateDataSourceRequest.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
264
269
  CreateDataSourceRequest.struct_class = Types::CreateDataSourceRequest
@@ -287,6 +292,7 @@ module Aws::AppSync
287
292
  CreateGraphqlApiRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
288
293
  CreateGraphqlApiRequest.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
289
294
  CreateGraphqlApiRequest.add_member(:xray_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "xrayEnabled"))
295
+ CreateGraphqlApiRequest.add_member(:lambda_authorizer_config, Shapes::ShapeRef.new(shape: LambdaAuthorizerConfig, location_name: "lambdaAuthorizerConfig"))
290
296
  CreateGraphqlApiRequest.struct_class = Types::CreateGraphqlApiRequest
291
297
 
292
298
  CreateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
@@ -323,6 +329,7 @@ module Aws::AppSync
323
329
  DataSource.add_member(:dynamodb_config, Shapes::ShapeRef.new(shape: DynamodbDataSourceConfig, location_name: "dynamodbConfig"))
324
330
  DataSource.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaDataSourceConfig, location_name: "lambdaConfig"))
325
331
  DataSource.add_member(:elasticsearch_config, Shapes::ShapeRef.new(shape: ElasticsearchDataSourceConfig, location_name: "elasticsearchConfig"))
332
+ DataSource.add_member(:open_search_service_config, Shapes::ShapeRef.new(shape: OpenSearchServiceDataSourceConfig, location_name: "openSearchServiceConfig"))
326
333
  DataSource.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
327
334
  DataSource.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
328
335
  DataSource.struct_class = Types::DataSource
@@ -480,6 +487,7 @@ module Aws::AppSync
480
487
  GraphqlApi.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
481
488
  GraphqlApi.add_member(:xray_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "xrayEnabled"))
482
489
  GraphqlApi.add_member(:waf_web_acl_arn, Shapes::ShapeRef.new(shape: String, location_name: "wafWebAclArn"))
490
+ GraphqlApi.add_member(:lambda_authorizer_config, Shapes::ShapeRef.new(shape: LambdaAuthorizerConfig, location_name: "lambdaAuthorizerConfig"))
483
491
  GraphqlApi.struct_class = Types::GraphqlApi
484
492
 
485
493
  GraphqlApis.member = Shapes::ShapeRef.new(shape: GraphqlApi)
@@ -491,6 +499,11 @@ module Aws::AppSync
491
499
  InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
492
500
  InternalFailureException.struct_class = Types::InternalFailureException
493
501
 
502
+ LambdaAuthorizerConfig.add_member(:authorizer_result_ttl_in_seconds, Shapes::ShapeRef.new(shape: TTL, location_name: "authorizerResultTtlInSeconds"))
503
+ LambdaAuthorizerConfig.add_member(:authorizer_uri, Shapes::ShapeRef.new(shape: String, required: true, location_name: "authorizerUri"))
504
+ LambdaAuthorizerConfig.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: String, location_name: "identityValidationExpression"))
505
+ LambdaAuthorizerConfig.struct_class = Types::LambdaAuthorizerConfig
506
+
494
507
  LambdaConflictHandlerConfig.add_member(:lambda_conflict_handler_arn, Shapes::ShapeRef.new(shape: String, location_name: "lambdaConflictHandlerArn"))
495
508
  LambdaConflictHandlerConfig.struct_class = Types::LambdaConflictHandlerConfig
496
509
 
@@ -588,6 +601,10 @@ module Aws::AppSync
588
601
  OpenIDConnectConfig.add_member(:auth_ttl, Shapes::ShapeRef.new(shape: Long, location_name: "authTTL"))
589
602
  OpenIDConnectConfig.struct_class = Types::OpenIDConnectConfig
590
603
 
604
+ OpenSearchServiceDataSourceConfig.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpoint"))
605
+ OpenSearchServiceDataSourceConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
606
+ OpenSearchServiceDataSourceConfig.struct_class = Types::OpenSearchServiceDataSourceConfig
607
+
591
608
  PipelineConfig.add_member(:functions, Shapes::ShapeRef.new(shape: FunctionsIds, location_name: "functions"))
592
609
  PipelineConfig.struct_class = Types::PipelineConfig
593
610
 
@@ -683,6 +700,7 @@ module Aws::AppSync
683
700
  UpdateDataSourceRequest.add_member(:dynamodb_config, Shapes::ShapeRef.new(shape: DynamodbDataSourceConfig, location_name: "dynamodbConfig"))
684
701
  UpdateDataSourceRequest.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaDataSourceConfig, location_name: "lambdaConfig"))
685
702
  UpdateDataSourceRequest.add_member(:elasticsearch_config, Shapes::ShapeRef.new(shape: ElasticsearchDataSourceConfig, location_name: "elasticsearchConfig"))
703
+ UpdateDataSourceRequest.add_member(:open_search_service_config, Shapes::ShapeRef.new(shape: OpenSearchServiceDataSourceConfig, location_name: "openSearchServiceConfig"))
686
704
  UpdateDataSourceRequest.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
687
705
  UpdateDataSourceRequest.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
688
706
  UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
@@ -712,6 +730,7 @@ module Aws::AppSync
712
730
  UpdateGraphqlApiRequest.add_member(:open_id_connect_config, Shapes::ShapeRef.new(shape: OpenIDConnectConfig, location_name: "openIDConnectConfig"))
713
731
  UpdateGraphqlApiRequest.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
714
732
  UpdateGraphqlApiRequest.add_member(:xray_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "xrayEnabled"))
733
+ UpdateGraphqlApiRequest.add_member(:lambda_authorizer_config, Shapes::ShapeRef.new(shape: LambdaAuthorizerConfig, location_name: "lambdaAuthorizerConfig"))
715
734
  UpdateGraphqlApiRequest.struct_class = Types::UpdateGraphqlApiRequest
716
735
 
717
736
  UpdateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
@@ -29,7 +29,7 @@ module Aws::AppSync
29
29
  # data as a hash:
30
30
  #
31
31
  # {
32
- # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
32
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
33
33
  # open_id_connect_config: {
34
34
  # issuer: "String", # required
35
35
  # client_id: "String",
@@ -41,11 +41,16 @@ module Aws::AppSync
41
41
  # aws_region: "String", # required
42
42
  # app_id_client_regex: "String",
43
43
  # },
44
+ # lambda_authorizer_config: {
45
+ # authorizer_result_ttl_in_seconds: 1,
46
+ # authorizer_uri: "String", # required
47
+ # identity_validation_expression: "String",
48
+ # },
44
49
  # }
45
50
  #
46
51
  # @!attribute [rw] authentication_type
47
- # The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito
48
- # user pools.
52
+ # The authentication type: API key, Identity and Access Management,
53
+ # OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
49
54
  # @return [String]
50
55
  #
51
56
  # @!attribute [rw] open_id_connect_config
@@ -56,12 +61,17 @@ module Aws::AppSync
56
61
  # The Amazon Cognito user pool configuration.
57
62
  # @return [Types::CognitoUserPoolConfig]
58
63
  #
64
+ # @!attribute [rw] lambda_authorizer_config
65
+ # Configuration for Amazon Web Services Lambda function authorization.
66
+ # @return [Types::LambdaAuthorizerConfig]
67
+ #
59
68
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AdditionalAuthenticationProvider AWS API Documentation
60
69
  #
61
70
  class AdditionalAuthenticationProvider < Struct.new(
62
71
  :authentication_type,
63
72
  :open_id_connect_config,
64
- :user_pool_config)
73
+ :user_pool_config,
74
+ :lambda_authorizer_config)
65
75
  SENSITIVE = []
66
76
  include Aws::Structure
67
77
  end
@@ -163,8 +173,8 @@ module Aws::AppSync
163
173
 
164
174
  # Describes an API key.
165
175
  #
166
- # Customers invoke AWS AppSync GraphQL API operations with API keys as
167
- # an identity mechanism. There are two key versions:
176
+ # Customers invoke AppSync GraphQL API operations with API keys as an
177
+ # identity mechanism. There are two key versions:
168
178
  #
169
179
  # **da1**\: This version was introduced at launch in November 2017.
170
180
  # These keys always expire after 7 days. Key expiration is managed by
@@ -301,7 +311,7 @@ module Aws::AppSync
301
311
  # @return [String]
302
312
  #
303
313
  # @!attribute [rw] aws_iam_config
304
- # The AWS IAM settings.
314
+ # The Identity and Access Management settings.
305
315
  # @return [Types::AwsIamConfig]
306
316
  #
307
317
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AuthorizationConfig AWS API Documentation
@@ -313,7 +323,7 @@ module Aws::AppSync
313
323
  include Aws::Structure
314
324
  end
315
325
 
316
- # The AWS IAM configuration.
326
+ # The Identity and Access Management configuration.
317
327
  #
318
328
  # @note When making an API call, you may pass AwsIamConfig
319
329
  # data as a hash:
@@ -324,11 +334,12 @@ module Aws::AppSync
324
334
  # }
325
335
  #
326
336
  # @!attribute [rw] signing_region
327
- # The signing region for AWS IAM authorization.
337
+ # The signing region for Identity and Access Management authorization.
328
338
  # @return [String]
329
339
  #
330
340
  # @!attribute [rw] signing_service_name
331
- # The signing service name for AWS IAM authorization.
341
+ # The signing service name for Identity and Access Management
342
+ # authorization.
332
343
  # @return [String]
333
344
  #
334
345
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AwsIamConfig AWS API Documentation
@@ -402,7 +413,7 @@ module Aws::AppSync
402
413
  # @return [String]
403
414
  #
404
415
  # @!attribute [rw] aws_region
405
- # The AWS Region in which the user pool was created.
416
+ # The Amazon Web Services Region in which the user pool was created.
406
417
  # @return [String]
407
418
  #
408
419
  # @!attribute [rw] app_id_client_regex
@@ -598,7 +609,7 @@ module Aws::AppSync
598
609
  # api_id: "String", # required
599
610
  # name: "ResourceName", # required
600
611
  # description: "String",
601
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE
612
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE
602
613
  # service_role_arn: "String",
603
614
  # dynamodb_config: {
604
615
  # table_name: "String", # required
@@ -618,6 +629,10 @@ module Aws::AppSync
618
629
  # endpoint: "String", # required
619
630
  # aws_region: "String", # required
620
631
  # },
632
+ # open_search_service_config: {
633
+ # endpoint: "String", # required
634
+ # aws_region: "String", # required
635
+ # },
621
636
  # http_config: {
622
637
  # endpoint: "String",
623
638
  # authorization_config: {
@@ -657,8 +672,8 @@ module Aws::AppSync
657
672
  # @return [String]
658
673
  #
659
674
  # @!attribute [rw] service_role_arn
660
- # The AWS IAM service role ARN for the data source. The system assumes
661
- # this role when accessing the data source.
675
+ # The Identity and Access Management service role ARN for the data
676
+ # source. The system assumes this role when accessing the data source.
662
677
  # @return [String]
663
678
  #
664
679
  # @!attribute [rw] dynamodb_config
@@ -666,13 +681,22 @@ module Aws::AppSync
666
681
  # @return [Types::DynamodbDataSourceConfig]
667
682
  #
668
683
  # @!attribute [rw] lambda_config
669
- # AWS Lambda settings.
684
+ # Amazon Web Services Lambda settings.
670
685
  # @return [Types::LambdaDataSourceConfig]
671
686
  #
672
687
  # @!attribute [rw] elasticsearch_config
673
- # Amazon Elasticsearch Service settings.
688
+ # Amazon OpenSearch Service settings.
689
+ #
690
+ # As of September 2021, Amazon Elasticsearch service is Amazon
691
+ # OpenSearch Service. This configuration is deprecated. For new data
692
+ # sources, use CreateDataSourceRequest$openSearchServiceConfig to
693
+ # create an OpenSearch data source.
674
694
  # @return [Types::ElasticsearchDataSourceConfig]
675
695
  #
696
+ # @!attribute [rw] open_search_service_config
697
+ # Amazon OpenSearch Service settings.
698
+ # @return [Types::OpenSearchServiceDataSourceConfig]
699
+ #
676
700
  # @!attribute [rw] http_config
677
701
  # HTTP endpoint settings.
678
702
  # @return [Types::HttpDataSourceConfig]
@@ -692,6 +716,7 @@ module Aws::AppSync
692
716
  :dynamodb_config,
693
717
  :lambda_config,
694
718
  :elasticsearch_config,
719
+ :open_search_service_config,
695
720
  :http_config,
696
721
  :relational_database_config)
697
722
  SENSITIVE = []
@@ -805,7 +830,7 @@ module Aws::AppSync
805
830
  # cloud_watch_logs_role_arn: "String", # required
806
831
  # exclude_verbose_content: false,
807
832
  # },
808
- # authentication_type: "API_KEY", # required, accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
833
+ # authentication_type: "API_KEY", # required, accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
809
834
  # user_pool_config: {
810
835
  # user_pool_id: "String", # required
811
836
  # aws_region: "String", # required
@@ -823,7 +848,7 @@ module Aws::AppSync
823
848
  # },
824
849
  # additional_authentication_providers: [
825
850
  # {
826
- # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
851
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
827
852
  # open_id_connect_config: {
828
853
  # issuer: "String", # required
829
854
  # client_id: "String",
@@ -835,9 +860,19 @@ module Aws::AppSync
835
860
  # aws_region: "String", # required
836
861
  # app_id_client_regex: "String",
837
862
  # },
863
+ # lambda_authorizer_config: {
864
+ # authorizer_result_ttl_in_seconds: 1,
865
+ # authorizer_uri: "String", # required
866
+ # identity_validation_expression: "String",
867
+ # },
838
868
  # },
839
869
  # ],
840
870
  # xray_enabled: false,
871
+ # lambda_authorizer_config: {
872
+ # authorizer_result_ttl_in_seconds: 1,
873
+ # authorizer_uri: "String", # required
874
+ # identity_validation_expression: "String",
875
+ # },
841
876
  # }
842
877
  #
843
878
  # @!attribute [rw] name
@@ -849,8 +884,8 @@ module Aws::AppSync
849
884
  # @return [Types::LogConfig]
850
885
  #
851
886
  # @!attribute [rw] authentication_type
852
- # The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito
853
- # user pools.
887
+ # The authentication type: API key, Identity and Access Management,
888
+ # OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
854
889
  # @return [String]
855
890
  #
856
891
  # @!attribute [rw] user_pool_config
@@ -875,6 +910,10 @@ module Aws::AppSync
875
910
  # `GraphqlApi`.
876
911
  # @return [Boolean]
877
912
  #
913
+ # @!attribute [rw] lambda_authorizer_config
914
+ # Configuration for Amazon Web Services Lambda function authorization.
915
+ # @return [Types::LambdaAuthorizerConfig]
916
+ #
878
917
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest AWS API Documentation
879
918
  #
880
919
  class CreateGraphqlApiRequest < Struct.new(
@@ -885,7 +924,8 @@ module Aws::AppSync
885
924
  :open_id_connect_config,
886
925
  :tags,
887
926
  :additional_authentication_providers,
888
- :xray_enabled)
927
+ :xray_enabled,
928
+ :lambda_authorizer_config)
889
929
  SENSITIVE = []
890
930
  include Aws::Structure
891
931
  end
@@ -1082,13 +1122,17 @@ module Aws::AppSync
1082
1122
  # @!attribute [rw] type
1083
1123
  # The type of the data source.
1084
1124
  #
1125
+ # * **AWS\_LAMBDA**\: The data source is an Amazon Web Services Lambda
1126
+ # function.
1127
+ #
1085
1128
  # * **AMAZON\_DYNAMODB**\: The data source is an Amazon DynamoDB
1086
1129
  # table.
1087
1130
  #
1088
1131
  # * **AMAZON\_ELASTICSEARCH**\: The data source is an Amazon
1089
- # Elasticsearch Service domain.
1132
+ # OpenSearch Service domain.
1090
1133
  #
1091
- # * **AWS\_LAMBDA**\: The data source is an AWS Lambda function.
1134
+ # * **AMAZON\_OPENSEARCH\_SERVICE**\: The data source is an Amazon
1135
+ # OpenSearch Service domain.
1092
1136
  #
1093
1137
  # * **NONE**\: There is no data source. This type is used when you
1094
1138
  # wish to invoke a GraphQL operation without connecting to a data
@@ -1102,8 +1146,8 @@ module Aws::AppSync
1102
1146
  # @return [String]
1103
1147
  #
1104
1148
  # @!attribute [rw] service_role_arn
1105
- # The AWS IAM service role ARN for the data source. The system assumes
1106
- # this role when accessing the data source.
1149
+ # The Identity and Access Management service role ARN for the data
1150
+ # source. The system assumes this role when accessing the data source.
1107
1151
  # @return [String]
1108
1152
  #
1109
1153
  # @!attribute [rw] dynamodb_config
@@ -1111,13 +1155,17 @@ module Aws::AppSync
1111
1155
  # @return [Types::DynamodbDataSourceConfig]
1112
1156
  #
1113
1157
  # @!attribute [rw] lambda_config
1114
- # AWS Lambda settings.
1158
+ # Amazon Web Services Lambda settings.
1115
1159
  # @return [Types::LambdaDataSourceConfig]
1116
1160
  #
1117
1161
  # @!attribute [rw] elasticsearch_config
1118
- # Amazon Elasticsearch Service settings.
1162
+ # Amazon OpenSearch Service settings.
1119
1163
  # @return [Types::ElasticsearchDataSourceConfig]
1120
1164
  #
1165
+ # @!attribute [rw] open_search_service_config
1166
+ # Amazon OpenSearch Service settings.
1167
+ # @return [Types::OpenSearchServiceDataSourceConfig]
1168
+ #
1121
1169
  # @!attribute [rw] http_config
1122
1170
  # HTTP endpoint settings.
1123
1171
  # @return [Types::HttpDataSourceConfig]
@@ -1137,6 +1185,7 @@ module Aws::AppSync
1137
1185
  :dynamodb_config,
1138
1186
  :lambda_config,
1139
1187
  :elasticsearch_config,
1188
+ :open_search_service_config,
1140
1189
  :http_config,
1141
1190
  :relational_database_config)
1142
1191
  SENSITIVE = []
@@ -1400,7 +1449,7 @@ module Aws::AppSync
1400
1449
  # @return [String]
1401
1450
  #
1402
1451
  # @!attribute [rw] aws_region
1403
- # The AWS Region.
1452
+ # The Amazon Web Services Region.
1404
1453
  # @return [String]
1405
1454
  #
1406
1455
  # @!attribute [rw] use_caller_credentials
@@ -1428,7 +1477,12 @@ module Aws::AppSync
1428
1477
  include Aws::Structure
1429
1478
  end
1430
1479
 
1431
- # Describes an Elasticsearch data source configuration.
1480
+ # Describes an OpenSearch data source configuration.
1481
+ #
1482
+ # As of September 2021, Amazon Elasticsearch service is Amazon
1483
+ # OpenSearch Service. This configuration is deprecated. For new data
1484
+ # sources, use OpenSearchServiceDataSourceConfig to specify an
1485
+ # OpenSearch data source.
1432
1486
  #
1433
1487
  # @note When making an API call, you may pass ElasticsearchDataSourceConfig
1434
1488
  # data as a hash:
@@ -1443,7 +1497,7 @@ module Aws::AppSync
1443
1497
  # @return [String]
1444
1498
  #
1445
1499
  # @!attribute [rw] aws_region
1446
- # The AWS Region.
1500
+ # The Amazon Web Services Region.
1447
1501
  # @return [String]
1448
1502
  #
1449
1503
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ElasticsearchDataSourceConfig AWS API Documentation
@@ -1920,10 +1974,14 @@ module Aws::AppSync
1920
1974
  # @return [Boolean]
1921
1975
  #
1922
1976
  # @!attribute [rw] waf_web_acl_arn
1923
- # The ARN of the AWS Web Application Firewall (WAF) ACL associated
1924
- # with this `GraphqlApi`, if one exists.
1977
+ # The ARN of the WAF ACL associated with this `GraphqlApi`, if one
1978
+ # exists.
1925
1979
  # @return [String]
1926
1980
  #
1981
+ # @!attribute [rw] lambda_authorizer_config
1982
+ # Configuration for Amazon Web Services Lambda function authorization.
1983
+ # @return [Types::LambdaAuthorizerConfig]
1984
+ #
1927
1985
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
1928
1986
  #
1929
1987
  class GraphqlApi < Struct.new(
@@ -1938,7 +1996,8 @@ module Aws::AppSync
1938
1996
  :tags,
1939
1997
  :additional_authentication_providers,
1940
1998
  :xray_enabled,
1941
- :waf_web_acl_arn)
1999
+ :waf_web_acl_arn,
2000
+ :lambda_authorizer_config)
1942
2001
  SENSITIVE = []
1943
2002
  include Aws::Structure
1944
2003
  end
@@ -1962,8 +2021,8 @@ module Aws::AppSync
1962
2021
  # @!attribute [rw] endpoint
1963
2022
  # The HTTP URL endpoint. You can either specify the domain name or IP,
1964
2023
  # and port combination, and the URL scheme must be HTTP or HTTPS. If
1965
- # the port is not specified, AWS AppSync uses the default port 80 for
1966
- # the HTTP endpoint and port 443 for HTTPS endpoints.
2024
+ # the port is not specified, AppSync uses the default port 80 for the
2025
+ # HTTP endpoint and port 443 for HTTPS endpoints.
1967
2026
  # @return [String]
1968
2027
  #
1969
2028
  # @!attribute [rw] authorization_config
@@ -1980,7 +2039,7 @@ module Aws::AppSync
1980
2039
  include Aws::Structure
1981
2040
  end
1982
2041
 
1983
- # An internal AWS AppSync error occurred. Try your request again.
2042
+ # An internal AppSync error occurred. Try your request again.
1984
2043
  #
1985
2044
  # @!attribute [rw] message
1986
2045
  # @return [String]
@@ -1993,6 +2052,57 @@ module Aws::AppSync
1993
2052
  include Aws::Structure
1994
2053
  end
1995
2054
 
2055
+ # A `LambdaAuthorizerConfig` holds configuration on how to authorize
2056
+ # AppSync API access when using the `AWS_LAMBDA` authorizer mode. Be
2057
+ # aware that an AppSync API may have only one Lambda authorizer
2058
+ # configured at a time.
2059
+ #
2060
+ # @note When making an API call, you may pass LambdaAuthorizerConfig
2061
+ # data as a hash:
2062
+ #
2063
+ # {
2064
+ # authorizer_result_ttl_in_seconds: 1,
2065
+ # authorizer_uri: "String", # required
2066
+ # identity_validation_expression: "String",
2067
+ # }
2068
+ #
2069
+ # @!attribute [rw] authorizer_result_ttl_in_seconds
2070
+ # The number of seconds a response should be cached for. The default
2071
+ # is 5 minutes (300 seconds). The Lambda function can override this by
2072
+ # returning a `ttlOverride` key in its response. A value of 0 disables
2073
+ # caching of responses.
2074
+ # @return [Integer]
2075
+ #
2076
+ # @!attribute [rw] authorizer_uri
2077
+ # The ARN of the Lambda function to be called for authorization. This
2078
+ # may be a standard Lambda ARN, a version ARN (`.../v3`) or alias ARN.
2079
+ #
2080
+ # *Note*\: This Lambda function must have the following resource-based
2081
+ # policy assigned to it. When configuring Lambda authorizers in the
2082
+ # Console, this is done for you. To do so with the Amazon Web Services
2083
+ # CLI, run the following:
2084
+ #
2085
+ # `aws lambda add-permission --function-name
2086
+ # "arn:aws:lambda:us-east-2:111122223333:function:my-function"
2087
+ # --statement-id "appsync" --principal appsync.amazonaws.com --action
2088
+ # lambda:InvokeFunction`
2089
+ # @return [String]
2090
+ #
2091
+ # @!attribute [rw] identity_validation_expression
2092
+ # A regular expression for validation of tokens before the Lambda
2093
+ # function is called.
2094
+ # @return [String]
2095
+ #
2096
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaAuthorizerConfig AWS API Documentation
2097
+ #
2098
+ class LambdaAuthorizerConfig < Struct.new(
2099
+ :authorizer_result_ttl_in_seconds,
2100
+ :authorizer_uri,
2101
+ :identity_validation_expression)
2102
+ SENSITIVE = []
2103
+ include Aws::Structure
2104
+ end
2105
+
1996
2106
  # The `LambdaConflictHandlerConfig` object when configuring LAMBDA as
1997
2107
  # the Conflict Handler.
1998
2108
  #
@@ -2015,7 +2125,7 @@ module Aws::AppSync
2015
2125
  include Aws::Structure
2016
2126
  end
2017
2127
 
2018
- # Describes an AWS Lambda data source configuration.
2128
+ # Describes an Amazon Web Services Lambda data source configuration.
2019
2129
  #
2020
2130
  # @note When making an API call, you may pass LambdaDataSourceConfig
2021
2131
  # data as a hash:
@@ -2486,7 +2596,7 @@ module Aws::AppSync
2486
2596
  # @return [String]
2487
2597
  #
2488
2598
  # @!attribute [rw] cloud_watch_logs_role_arn
2489
- # The service role that AWS AppSync will assume to publish to Amazon
2599
+ # The service role that AppSync will assume to publish to Amazon
2490
2600
  # CloudWatch logs in your account.
2491
2601
  # @return [String]
2492
2602
  #
@@ -2541,7 +2651,7 @@ module Aws::AppSync
2541
2651
  # The client identifier of the Relying party at the OpenID identity
2542
2652
  # provider. This identifier is typically obtained when the Relying
2543
2653
  # party is registered with the OpenID identity provider. You can
2544
- # specify a regular expression so the AWS AppSync can validate against
2654
+ # specify a regular expression so the AppSync can validate against
2545
2655
  # multiple client identifiers at a time.
2546
2656
  # @return [String]
2547
2657
  #
@@ -2566,6 +2676,33 @@ module Aws::AppSync
2566
2676
  include Aws::Structure
2567
2677
  end
2568
2678
 
2679
+ # Describes an OpenSearch data source configuration.
2680
+ #
2681
+ # @note When making an API call, you may pass OpenSearchServiceDataSourceConfig
2682
+ # data as a hash:
2683
+ #
2684
+ # {
2685
+ # endpoint: "String", # required
2686
+ # aws_region: "String", # required
2687
+ # }
2688
+ #
2689
+ # @!attribute [rw] endpoint
2690
+ # The endpoint.
2691
+ # @return [String]
2692
+ #
2693
+ # @!attribute [rw] aws_region
2694
+ # The Amazon Web Services Region.
2695
+ # @return [String]
2696
+ #
2697
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/OpenSearchServiceDataSourceConfig AWS API Documentation
2698
+ #
2699
+ class OpenSearchServiceDataSourceConfig < Struct.new(
2700
+ :endpoint,
2701
+ :aws_region)
2702
+ SENSITIVE = []
2703
+ include Aws::Structure
2704
+ end
2705
+
2569
2706
  # The pipeline configuration for a resolver of kind `PIPELINE`.
2570
2707
  #
2571
2708
  # @note When making an API call, you may pass PipelineConfig
@@ -2601,7 +2738,7 @@ module Aws::AppSync
2601
2738
  # }
2602
2739
  #
2603
2740
  # @!attribute [rw] aws_region
2604
- # AWS Region for RDS HTTP endpoint.
2741
+ # Amazon Web Services Region for RDS HTTP endpoint.
2605
2742
  # @return [String]
2606
2743
  #
2607
2744
  # @!attribute [rw] db_cluster_identifier
@@ -2617,7 +2754,7 @@ module Aws::AppSync
2617
2754
  # @return [String]
2618
2755
  #
2619
2756
  # @!attribute [rw] aws_secret_store_arn
2620
- # AWS secret store ARN for database credentials.
2757
+ # Amazon Web Services secret store ARN for database credentials.
2621
2758
  # @return [String]
2622
2759
  #
2623
2760
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/RdsHttpEndpointConfig AWS API Documentation
@@ -3094,7 +3231,7 @@ module Aws::AppSync
3094
3231
  # api_id: "String", # required
3095
3232
  # name: "ResourceName", # required
3096
3233
  # description: "String",
3097
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE
3234
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE
3098
3235
  # service_role_arn: "String",
3099
3236
  # dynamodb_config: {
3100
3237
  # table_name: "String", # required
@@ -3114,6 +3251,10 @@ module Aws::AppSync
3114
3251
  # endpoint: "String", # required
3115
3252
  # aws_region: "String", # required
3116
3253
  # },
3254
+ # open_search_service_config: {
3255
+ # endpoint: "String", # required
3256
+ # aws_region: "String", # required
3257
+ # },
3117
3258
  # http_config: {
3118
3259
  # endpoint: "String",
3119
3260
  # authorization_config: {
@@ -3161,13 +3302,22 @@ module Aws::AppSync
3161
3302
  # @return [Types::DynamodbDataSourceConfig]
3162
3303
  #
3163
3304
  # @!attribute [rw] lambda_config
3164
- # The new AWS Lambda configuration.
3305
+ # The new Amazon Web Services Lambda configuration.
3165
3306
  # @return [Types::LambdaDataSourceConfig]
3166
3307
  #
3167
3308
  # @!attribute [rw] elasticsearch_config
3168
- # The new Elasticsearch Service configuration.
3309
+ # The new OpenSearch configuration.
3310
+ #
3311
+ # As of September 2021, Amazon Elasticsearch service is Amazon
3312
+ # OpenSearch Service. This configuration is deprecated. Instead, use
3313
+ # UpdateDataSourceRequest$openSearchServiceConfig to update an
3314
+ # OpenSearch data source.
3169
3315
  # @return [Types::ElasticsearchDataSourceConfig]
3170
3316
  #
3317
+ # @!attribute [rw] open_search_service_config
3318
+ # The new OpenSearch configuration.
3319
+ # @return [Types::OpenSearchServiceDataSourceConfig]
3320
+ #
3171
3321
  # @!attribute [rw] http_config
3172
3322
  # The new HTTP endpoint configuration.
3173
3323
  # @return [Types::HttpDataSourceConfig]
@@ -3187,6 +3337,7 @@ module Aws::AppSync
3187
3337
  :dynamodb_config,
3188
3338
  :lambda_config,
3189
3339
  :elasticsearch_config,
3340
+ :open_search_service_config,
3190
3341
  :http_config,
3191
3342
  :relational_database_config)
3192
3343
  SENSITIVE = []
@@ -3307,7 +3458,7 @@ module Aws::AppSync
3307
3458
  # cloud_watch_logs_role_arn: "String", # required
3308
3459
  # exclude_verbose_content: false,
3309
3460
  # },
3310
- # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
3461
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
3311
3462
  # user_pool_config: {
3312
3463
  # user_pool_id: "String", # required
3313
3464
  # aws_region: "String", # required
@@ -3322,7 +3473,7 @@ module Aws::AppSync
3322
3473
  # },
3323
3474
  # additional_authentication_providers: [
3324
3475
  # {
3325
- # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
3476
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT, AWS_LAMBDA
3326
3477
  # open_id_connect_config: {
3327
3478
  # issuer: "String", # required
3328
3479
  # client_id: "String",
@@ -3334,9 +3485,19 @@ module Aws::AppSync
3334
3485
  # aws_region: "String", # required
3335
3486
  # app_id_client_regex: "String",
3336
3487
  # },
3488
+ # lambda_authorizer_config: {
3489
+ # authorizer_result_ttl_in_seconds: 1,
3490
+ # authorizer_uri: "String", # required
3491
+ # identity_validation_expression: "String",
3492
+ # },
3337
3493
  # },
3338
3494
  # ],
3339
3495
  # xray_enabled: false,
3496
+ # lambda_authorizer_config: {
3497
+ # authorizer_result_ttl_in_seconds: 1,
3498
+ # authorizer_uri: "String", # required
3499
+ # identity_validation_expression: "String",
3500
+ # },
3340
3501
  # }
3341
3502
  #
3342
3503
  # @!attribute [rw] api_id
@@ -3375,6 +3536,10 @@ module Aws::AppSync
3375
3536
  # `GraphqlApi`.
3376
3537
  # @return [Boolean]
3377
3538
  #
3539
+ # @!attribute [rw] lambda_authorizer_config
3540
+ # Configuration for Amazon Web Services Lambda function authorization.
3541
+ # @return [Types::LambdaAuthorizerConfig]
3542
+ #
3378
3543
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest AWS API Documentation
3379
3544
  #
3380
3545
  class UpdateGraphqlApiRequest < Struct.new(
@@ -3385,7 +3550,8 @@ module Aws::AppSync
3385
3550
  :user_pool_config,
3386
3551
  :open_id_connect_config,
3387
3552
  :additional_authentication_providers,
3388
- :xray_enabled)
3553
+ :xray_enabled,
3554
+ :lambda_authorizer_config)
3389
3555
  SENSITIVE = []
3390
3556
  include Aws::Structure
3391
3557
  end
@@ -3581,7 +3747,7 @@ module Aws::AppSync
3581
3747
  # @return [String]
3582
3748
  #
3583
3749
  # @!attribute [rw] aws_region
3584
- # The AWS Region in which the user pool was created.
3750
+ # The Amazon Web Services Region in which the user pool was created.
3585
3751
  # @return [String]
3586
3752
  #
3587
3753
  # @!attribute [rw] default_action
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-appsync/customizations'
48
48
  # @!group service
49
49
  module Aws::AppSync
50
50
 
51
- GEM_VERSION = '1.41.0'
51
+ GEM_VERSION = '1.45.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.0
4
+ version: 1.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-28 00:00:00.000000000 Z
11
+ date: 2021-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.118.0
22
+ version: 3.121.2
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.118.0
32
+ version: 3.121.2
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '2.3'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="