aws-sdk-appsync 1.42.0 → 1.46.0

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
  SHA256:
3
- metadata.gz: c554d8adc76f4dcad2a03cb7bd5ba7919eb9b33e6d27e275f059ae1a9082cf8d
4
- data.tar.gz: ce39aed5d5b55c267915cef9d0c4e84d6db67ed1c4fb8b791aa668915ad1a183
3
+ metadata.gz: 8ab13b2647b680673c8ff65a025d7a4bbe73a6f0e470aa0a62828181998fb977
4
+ data.tar.gz: 555bf489a3aa08caa3b3861c23c10dc8f78e866e1b8814c74082e24a09dabdb1
5
5
  SHA512:
6
- metadata.gz: 92e9f5bb8eb3f227e189a26c01bceb17721d920624e87128c74cb73eaaee3c69e8ef3dcc70635dc73c4a7f6f1dc2a6cb7e912eebe092101fe77fbae29c29cd97
7
- data.tar.gz: 2f88c2604a5ebd3391e18450a586929cb4a09e69a8e8b7a9b83920b42bb6c7fdf84eb984702d9f7fc2d9a6a688281d29fa28a67c33861662f032df881b2f57cb
6
+ metadata.gz: 5b51eb95ecf068b854c097663bc2acb3fe8b9e52d57c5b5ea8cbc274f64a202212aada7d320eac1994d4c229770ace43901b716a8a1bfaef45bc5eb336985a7c
7
+ data.tar.gz: 32d7d6aaf88691d083b1912be27272b4b75a8d5fed8df50d7bfc9aadd33e20bd522e2e67a1afb12f5fec99e3ca1f4dc123a8fa221a3adcf4a994c9936dc0fa50
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.46.0 (2021-11-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.45.0 (2021-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.44.0 (2021-09-23)
15
+ ------------------
16
+
17
+ * Feature - Documented the new OpenSearchServiceDataSourceConfig data type. Added deprecation notes to the ElasticsearchDataSourceConfig data type.
18
+
19
+ 1.43.0 (2021-09-01)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.42.0 (2021-07-30)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.46.0
@@ -275,6 +275,15 @@ module Aws::AppSync
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -494,7 +503,15 @@ module Aws::AppSync
494
503
  # Amazon Web Services Lambda settings.
495
504
  #
496
505
  # @option params [Types::ElasticsearchDataSourceConfig] :elasticsearch_config
497
- # Amazon Elasticsearch Service settings.
506
+ # Amazon OpenSearch Service settings.
507
+ #
508
+ # As of September 2021, Amazon Elasticsearch service is Amazon
509
+ # OpenSearch Service. This configuration is deprecated. For new data
510
+ # sources, use CreateDataSourceRequest$openSearchServiceConfig to create
511
+ # an OpenSearch data source.
512
+ #
513
+ # @option params [Types::OpenSearchServiceDataSourceConfig] :open_search_service_config
514
+ # Amazon OpenSearch Service settings.
498
515
  #
499
516
  # @option params [Types::HttpDataSourceConfig] :http_config
500
517
  # HTTP endpoint settings.
@@ -512,7 +529,7 @@ module Aws::AppSync
512
529
  # api_id: "String", # required
513
530
  # name: "ResourceName", # required
514
531
  # description: "String",
515
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE
532
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE
516
533
  # service_role_arn: "String",
517
534
  # dynamodb_config: {
518
535
  # table_name: "String", # required
@@ -532,6 +549,10 @@ module Aws::AppSync
532
549
  # endpoint: "String", # required
533
550
  # aws_region: "String", # required
534
551
  # },
552
+ # open_search_service_config: {
553
+ # endpoint: "String", # required
554
+ # aws_region: "String", # required
555
+ # },
535
556
  # http_config: {
536
557
  # endpoint: "String",
537
558
  # authorization_config: {
@@ -559,7 +580,7 @@ module Aws::AppSync
559
580
  # resp.data_source.data_source_arn #=> String
560
581
  # resp.data_source.name #=> String
561
582
  # resp.data_source.description #=> String
562
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
583
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
563
584
  # resp.data_source.service_role_arn #=> String
564
585
  # resp.data_source.dynamodb_config.table_name #=> String
565
586
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -571,6 +592,8 @@ module Aws::AppSync
571
592
  # resp.data_source.lambda_config.lambda_function_arn #=> String
572
593
  # resp.data_source.elasticsearch_config.endpoint #=> String
573
594
  # resp.data_source.elasticsearch_config.aws_region #=> String
595
+ # resp.data_source.open_search_service_config.endpoint #=> String
596
+ # resp.data_source.open_search_service_config.aws_region #=> String
574
597
  # resp.data_source.http_config.endpoint #=> String
575
598
  # resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
576
599
  # resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
@@ -681,7 +704,7 @@ module Aws::AppSync
681
704
  #
682
705
  # @option params [required, String] :authentication_type
683
706
  # The authentication type: API key, Identity and Access Management,
684
- # OIDC, or Amazon Cognito user pools.
707
+ # OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
685
708
  #
686
709
  # @option params [Types::UserPoolConfig] :user_pool_config
687
710
  # The Amazon Cognito user pool configuration.
@@ -701,7 +724,7 @@ module Aws::AppSync
701
724
  # `GraphqlApi`.
702
725
  #
703
726
  # @option params [Types::LambdaAuthorizerConfig] :lambda_authorizer_config
704
- # Configuration for AWS Lambda function authorization.
727
+ # Configuration for Amazon Web Services Lambda function authorization.
705
728
  #
706
729
  # @return [Types::CreateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
707
730
  #
@@ -1222,7 +1245,7 @@ module Aws::AppSync
1222
1245
  # resp.data_source.data_source_arn #=> String
1223
1246
  # resp.data_source.name #=> String
1224
1247
  # resp.data_source.description #=> String
1225
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
1248
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
1226
1249
  # resp.data_source.service_role_arn #=> String
1227
1250
  # resp.data_source.dynamodb_config.table_name #=> String
1228
1251
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -1234,6 +1257,8 @@ module Aws::AppSync
1234
1257
  # resp.data_source.lambda_config.lambda_function_arn #=> String
1235
1258
  # resp.data_source.elasticsearch_config.endpoint #=> String
1236
1259
  # resp.data_source.elasticsearch_config.aws_region #=> String
1260
+ # resp.data_source.open_search_service_config.endpoint #=> String
1261
+ # resp.data_source.open_search_service_config.aws_region #=> String
1237
1262
  # resp.data_source.http_config.endpoint #=> String
1238
1263
  # resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
1239
1264
  # resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
@@ -1599,7 +1624,7 @@ module Aws::AppSync
1599
1624
  # resp.data_sources[0].data_source_arn #=> String
1600
1625
  # resp.data_sources[0].name #=> String
1601
1626
  # resp.data_sources[0].description #=> String
1602
- # resp.data_sources[0].type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
1627
+ # resp.data_sources[0].type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
1603
1628
  # resp.data_sources[0].service_role_arn #=> String
1604
1629
  # resp.data_sources[0].dynamodb_config.table_name #=> String
1605
1630
  # resp.data_sources[0].dynamodb_config.aws_region #=> String
@@ -1611,6 +1636,8 @@ module Aws::AppSync
1611
1636
  # resp.data_sources[0].lambda_config.lambda_function_arn #=> String
1612
1637
  # resp.data_sources[0].elasticsearch_config.endpoint #=> String
1613
1638
  # resp.data_sources[0].elasticsearch_config.aws_region #=> String
1639
+ # resp.data_sources[0].open_search_service_config.endpoint #=> String
1640
+ # resp.data_sources[0].open_search_service_config.aws_region #=> String
1614
1641
  # resp.data_sources[0].http_config.endpoint #=> String
1615
1642
  # resp.data_sources[0].http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
1616
1643
  # resp.data_sources[0].http_config.authorization_config.aws_iam_config.signing_region #=> String
@@ -2197,7 +2224,15 @@ module Aws::AppSync
2197
2224
  # The new Amazon Web Services Lambda configuration.
2198
2225
  #
2199
2226
  # @option params [Types::ElasticsearchDataSourceConfig] :elasticsearch_config
2200
- # The new Elasticsearch Service configuration.
2227
+ # The new OpenSearch configuration.
2228
+ #
2229
+ # As of September 2021, Amazon Elasticsearch service is Amazon
2230
+ # OpenSearch Service. This configuration is deprecated. Instead, use
2231
+ # UpdateDataSourceRequest$openSearchServiceConfig to update an
2232
+ # OpenSearch data source.
2233
+ #
2234
+ # @option params [Types::OpenSearchServiceDataSourceConfig] :open_search_service_config
2235
+ # The new OpenSearch configuration.
2201
2236
  #
2202
2237
  # @option params [Types::HttpDataSourceConfig] :http_config
2203
2238
  # The new HTTP endpoint configuration.
@@ -2215,7 +2250,7 @@ module Aws::AppSync
2215
2250
  # api_id: "String", # required
2216
2251
  # name: "ResourceName", # required
2217
2252
  # description: "String",
2218
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE
2253
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE
2219
2254
  # service_role_arn: "String",
2220
2255
  # dynamodb_config: {
2221
2256
  # table_name: "String", # required
@@ -2235,6 +2270,10 @@ module Aws::AppSync
2235
2270
  # endpoint: "String", # required
2236
2271
  # aws_region: "String", # required
2237
2272
  # },
2273
+ # open_search_service_config: {
2274
+ # endpoint: "String", # required
2275
+ # aws_region: "String", # required
2276
+ # },
2238
2277
  # http_config: {
2239
2278
  # endpoint: "String",
2240
2279
  # authorization_config: {
@@ -2262,7 +2301,7 @@ module Aws::AppSync
2262
2301
  # resp.data_source.data_source_arn #=> String
2263
2302
  # resp.data_source.name #=> String
2264
2303
  # resp.data_source.description #=> String
2265
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
2304
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
2266
2305
  # resp.data_source.service_role_arn #=> String
2267
2306
  # resp.data_source.dynamodb_config.table_name #=> String
2268
2307
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -2274,6 +2313,8 @@ module Aws::AppSync
2274
2313
  # resp.data_source.lambda_config.lambda_function_arn #=> String
2275
2314
  # resp.data_source.elasticsearch_config.endpoint #=> String
2276
2315
  # resp.data_source.elasticsearch_config.aws_region #=> String
2316
+ # resp.data_source.open_search_service_config.endpoint #=> String
2317
+ # resp.data_source.open_search_service_config.aws_region #=> String
2277
2318
  # resp.data_source.http_config.endpoint #=> String
2278
2319
  # resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
2279
2320
  # resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
@@ -2405,7 +2446,7 @@ module Aws::AppSync
2405
2446
  # `GraphqlApi`.
2406
2447
  #
2407
2448
  # @option params [Types::LambdaAuthorizerConfig] :lambda_authorizer_config
2408
- # Configuration for AWS Lambda function authorization.
2449
+ # Configuration for Amazon Web Services Lambda function authorization.
2409
2450
  #
2410
2451
  # @return [Types::UpdateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2411
2452
  #
@@ -2674,7 +2715,7 @@ module Aws::AppSync
2674
2715
  params: params,
2675
2716
  config: config)
2676
2717
  context[:gem_name] = 'aws-sdk-appsync'
2677
- context[:gem_version] = '1.42.0'
2718
+ context[:gem_version] = '1.46.0'
2678
2719
  Seahorse::Client::Request.new(handlers, context)
2679
2720
  end
2680
2721
 
@@ -129,6 +129,7 @@ module Aws::AppSync
129
129
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
130
130
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
131
131
  OpenIDConnectConfig = Shapes::StructureShape.new(name: 'OpenIDConnectConfig')
132
+ OpenSearchServiceDataSourceConfig = Shapes::StructureShape.new(name: 'OpenSearchServiceDataSourceConfig')
132
133
  OutputType = Shapes::StringShape.new(name: 'OutputType')
133
134
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
134
135
  PipelineConfig = Shapes::StructureShape.new(name: 'PipelineConfig')
@@ -262,6 +263,7 @@ module Aws::AppSync
262
263
  CreateDataSourceRequest.add_member(:dynamodb_config, Shapes::ShapeRef.new(shape: DynamodbDataSourceConfig, location_name: "dynamodbConfig"))
263
264
  CreateDataSourceRequest.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaDataSourceConfig, location_name: "lambdaConfig"))
264
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"))
265
267
  CreateDataSourceRequest.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
266
268
  CreateDataSourceRequest.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
267
269
  CreateDataSourceRequest.struct_class = Types::CreateDataSourceRequest
@@ -327,6 +329,7 @@ module Aws::AppSync
327
329
  DataSource.add_member(:dynamodb_config, Shapes::ShapeRef.new(shape: DynamodbDataSourceConfig, location_name: "dynamodbConfig"))
328
330
  DataSource.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaDataSourceConfig, location_name: "lambdaConfig"))
329
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"))
330
333
  DataSource.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
331
334
  DataSource.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
332
335
  DataSource.struct_class = Types::DataSource
@@ -598,6 +601,10 @@ module Aws::AppSync
598
601
  OpenIDConnectConfig.add_member(:auth_ttl, Shapes::ShapeRef.new(shape: Long, location_name: "authTTL"))
599
602
  OpenIDConnectConfig.struct_class = Types::OpenIDConnectConfig
600
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
+
601
608
  PipelineConfig.add_member(:functions, Shapes::ShapeRef.new(shape: FunctionsIds, location_name: "functions"))
602
609
  PipelineConfig.struct_class = Types::PipelineConfig
603
610
 
@@ -693,6 +700,7 @@ module Aws::AppSync
693
700
  UpdateDataSourceRequest.add_member(:dynamodb_config, Shapes::ShapeRef.new(shape: DynamodbDataSourceConfig, location_name: "dynamodbConfig"))
694
701
  UpdateDataSourceRequest.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaDataSourceConfig, location_name: "lambdaConfig"))
695
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"))
696
704
  UpdateDataSourceRequest.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
697
705
  UpdateDataSourceRequest.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
698
706
  UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
@@ -50,7 +50,7 @@ module Aws::AppSync
50
50
  #
51
51
  # @!attribute [rw] authentication_type
52
52
  # The authentication type: API key, Identity and Access Management,
53
- # OIDC, or Amazon Cognito user pools.
53
+ # OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
54
54
  # @return [String]
55
55
  #
56
56
  # @!attribute [rw] open_id_connect_config
@@ -62,7 +62,7 @@ module Aws::AppSync
62
62
  # @return [Types::CognitoUserPoolConfig]
63
63
  #
64
64
  # @!attribute [rw] lambda_authorizer_config
65
- # Configuration for AWS Lambda function authorization.
65
+ # Configuration for Amazon Web Services Lambda function authorization.
66
66
  # @return [Types::LambdaAuthorizerConfig]
67
67
  #
68
68
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AdditionalAuthenticationProvider AWS API Documentation
@@ -609,7 +609,7 @@ module Aws::AppSync
609
609
  # api_id: "String", # required
610
610
  # name: "ResourceName", # required
611
611
  # description: "String",
612
- # 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
613
613
  # service_role_arn: "String",
614
614
  # dynamodb_config: {
615
615
  # table_name: "String", # required
@@ -629,6 +629,10 @@ module Aws::AppSync
629
629
  # endpoint: "String", # required
630
630
  # aws_region: "String", # required
631
631
  # },
632
+ # open_search_service_config: {
633
+ # endpoint: "String", # required
634
+ # aws_region: "String", # required
635
+ # },
632
636
  # http_config: {
633
637
  # endpoint: "String",
634
638
  # authorization_config: {
@@ -681,9 +685,18 @@ module Aws::AppSync
681
685
  # @return [Types::LambdaDataSourceConfig]
682
686
  #
683
687
  # @!attribute [rw] elasticsearch_config
684
- # 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.
685
694
  # @return [Types::ElasticsearchDataSourceConfig]
686
695
  #
696
+ # @!attribute [rw] open_search_service_config
697
+ # Amazon OpenSearch Service settings.
698
+ # @return [Types::OpenSearchServiceDataSourceConfig]
699
+ #
687
700
  # @!attribute [rw] http_config
688
701
  # HTTP endpoint settings.
689
702
  # @return [Types::HttpDataSourceConfig]
@@ -703,6 +716,7 @@ module Aws::AppSync
703
716
  :dynamodb_config,
704
717
  :lambda_config,
705
718
  :elasticsearch_config,
719
+ :open_search_service_config,
706
720
  :http_config,
707
721
  :relational_database_config)
708
722
  SENSITIVE = []
@@ -871,7 +885,7 @@ module Aws::AppSync
871
885
  #
872
886
  # @!attribute [rw] authentication_type
873
887
  # The authentication type: API key, Identity and Access Management,
874
- # OIDC, or Amazon Cognito user pools.
888
+ # OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
875
889
  # @return [String]
876
890
  #
877
891
  # @!attribute [rw] user_pool_config
@@ -897,7 +911,7 @@ module Aws::AppSync
897
911
  # @return [Boolean]
898
912
  #
899
913
  # @!attribute [rw] lambda_authorizer_config
900
- # Configuration for AWS Lambda function authorization.
914
+ # Configuration for Amazon Web Services Lambda function authorization.
901
915
  # @return [Types::LambdaAuthorizerConfig]
902
916
  #
903
917
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest AWS API Documentation
@@ -1108,14 +1122,17 @@ module Aws::AppSync
1108
1122
  # @!attribute [rw] type
1109
1123
  # The type of the data source.
1110
1124
  #
1125
+ # * **AWS\_LAMBDA**\: The data source is an Amazon Web Services Lambda
1126
+ # function.
1127
+ #
1111
1128
  # * **AMAZON\_DYNAMODB**\: The data source is an Amazon DynamoDB
1112
1129
  # table.
1113
1130
  #
1114
1131
  # * **AMAZON\_ELASTICSEARCH**\: The data source is an Amazon
1115
- # Elasticsearch Service domain.
1132
+ # OpenSearch Service domain.
1116
1133
  #
1117
- # * **AWS\_LAMBDA**\: The data source is an Amazon Web Services Lambda
1118
- # function.
1134
+ # * **AMAZON\_OPENSEARCH\_SERVICE**\: The data source is an Amazon
1135
+ # OpenSearch Service domain.
1119
1136
  #
1120
1137
  # * **NONE**\: There is no data source. This type is used when you
1121
1138
  # wish to invoke a GraphQL operation without connecting to a data
@@ -1142,9 +1159,13 @@ module Aws::AppSync
1142
1159
  # @return [Types::LambdaDataSourceConfig]
1143
1160
  #
1144
1161
  # @!attribute [rw] elasticsearch_config
1145
- # Amazon Elasticsearch Service settings.
1162
+ # Amazon OpenSearch Service settings.
1146
1163
  # @return [Types::ElasticsearchDataSourceConfig]
1147
1164
  #
1165
+ # @!attribute [rw] open_search_service_config
1166
+ # Amazon OpenSearch Service settings.
1167
+ # @return [Types::OpenSearchServiceDataSourceConfig]
1168
+ #
1148
1169
  # @!attribute [rw] http_config
1149
1170
  # HTTP endpoint settings.
1150
1171
  # @return [Types::HttpDataSourceConfig]
@@ -1164,6 +1185,7 @@ module Aws::AppSync
1164
1185
  :dynamodb_config,
1165
1186
  :lambda_config,
1166
1187
  :elasticsearch_config,
1188
+ :open_search_service_config,
1167
1189
  :http_config,
1168
1190
  :relational_database_config)
1169
1191
  SENSITIVE = []
@@ -1455,7 +1477,12 @@ module Aws::AppSync
1455
1477
  include Aws::Structure
1456
1478
  end
1457
1479
 
1458
- # 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.
1459
1486
  #
1460
1487
  # @note When making an API call, you may pass ElasticsearchDataSourceConfig
1461
1488
  # data as a hash:
@@ -1952,7 +1979,7 @@ module Aws::AppSync
1952
1979
  # @return [String]
1953
1980
  #
1954
1981
  # @!attribute [rw] lambda_authorizer_config
1955
- # Configuration for AWS Lambda function authorization.
1982
+ # Configuration for Amazon Web Services Lambda function authorization.
1956
1983
  # @return [Types::LambdaAuthorizerConfig]
1957
1984
  #
1958
1985
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
@@ -2047,13 +2074,13 @@ module Aws::AppSync
2047
2074
  # @return [Integer]
2048
2075
  #
2049
2076
  # @!attribute [rw] authorizer_uri
2050
- # The ARN of the lambda function to be called for authorization. This
2077
+ # The ARN of the Lambda function to be called for authorization. This
2051
2078
  # may be a standard Lambda ARN, a version ARN (`.../v3`) or alias ARN.
2052
2079
  #
2053
2080
  # *Note*\: This Lambda function must have the following resource-based
2054
2081
  # policy assigned to it. When configuring Lambda authorizers in the
2055
- # Console, this is done for you. To do so with the AWS CLI, run the
2056
- # following:
2082
+ # Console, this is done for you. To do so with the Amazon Web Services
2083
+ # CLI, run the following:
2057
2084
  #
2058
2085
  # `aws lambda add-permission --function-name
2059
2086
  # "arn:aws:lambda:us-east-2:111122223333:function:my-function"
@@ -2063,7 +2090,7 @@ module Aws::AppSync
2063
2090
  #
2064
2091
  # @!attribute [rw] identity_validation_expression
2065
2092
  # A regular expression for validation of tokens before the Lambda
2066
- # Function is called.
2093
+ # function is called.
2067
2094
  # @return [String]
2068
2095
  #
2069
2096
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaAuthorizerConfig AWS API Documentation
@@ -2649,6 +2676,33 @@ module Aws::AppSync
2649
2676
  include Aws::Structure
2650
2677
  end
2651
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
+
2652
2706
  # The pipeline configuration for a resolver of kind `PIPELINE`.
2653
2707
  #
2654
2708
  # @note When making an API call, you may pass PipelineConfig
@@ -3177,7 +3231,7 @@ module Aws::AppSync
3177
3231
  # api_id: "String", # required
3178
3232
  # name: "ResourceName", # required
3179
3233
  # description: "String",
3180
- # 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
3181
3235
  # service_role_arn: "String",
3182
3236
  # dynamodb_config: {
3183
3237
  # table_name: "String", # required
@@ -3197,6 +3251,10 @@ module Aws::AppSync
3197
3251
  # endpoint: "String", # required
3198
3252
  # aws_region: "String", # required
3199
3253
  # },
3254
+ # open_search_service_config: {
3255
+ # endpoint: "String", # required
3256
+ # aws_region: "String", # required
3257
+ # },
3200
3258
  # http_config: {
3201
3259
  # endpoint: "String",
3202
3260
  # authorization_config: {
@@ -3248,9 +3306,18 @@ module Aws::AppSync
3248
3306
  # @return [Types::LambdaDataSourceConfig]
3249
3307
  #
3250
3308
  # @!attribute [rw] elasticsearch_config
3251
- # 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.
3252
3315
  # @return [Types::ElasticsearchDataSourceConfig]
3253
3316
  #
3317
+ # @!attribute [rw] open_search_service_config
3318
+ # The new OpenSearch configuration.
3319
+ # @return [Types::OpenSearchServiceDataSourceConfig]
3320
+ #
3254
3321
  # @!attribute [rw] http_config
3255
3322
  # The new HTTP endpoint configuration.
3256
3323
  # @return [Types::HttpDataSourceConfig]
@@ -3270,6 +3337,7 @@ module Aws::AppSync
3270
3337
  :dynamodb_config,
3271
3338
  :lambda_config,
3272
3339
  :elasticsearch_config,
3340
+ :open_search_service_config,
3273
3341
  :http_config,
3274
3342
  :relational_database_config)
3275
3343
  SENSITIVE = []
@@ -3469,7 +3537,7 @@ module Aws::AppSync
3469
3537
  # @return [Boolean]
3470
3538
  #
3471
3539
  # @!attribute [rw] lambda_authorizer_config
3472
- # Configuration for AWS Lambda function authorization.
3540
+ # Configuration for Amazon Web Services Lambda function authorization.
3473
3541
  # @return [Types::LambdaAuthorizerConfig]
3474
3542
  #
3475
3543
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest AWS API Documentation
@@ -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.42.0'
51
+ GEM_VERSION = '1.46.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.42.0
4
+ version: 1.46.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-30 00:00:00.000000000 Z
11
+ date: 2021-11-04 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.119.0
22
+ version: 3.122.0
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.119.0
32
+ version: 3.122.0
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
  - - ">="