aws-sdk-appsync 1.43.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +44 -12
- data/lib/aws-sdk-appsync/client_api.rb +8 -0
- data/lib/aws-sdk-appsync/types.rb +87 -19
- data/lib/aws-sdk-appsync.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3257d2874629ec00e667a128c1eb1d0fcb8b51d4f458460bec7c1e9822469049
|
4
|
+
data.tar.gz: 7576207e0454ba0b0e62ce428c8bd567d3eca7ee935f7001de54cfbca59d0614
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9537ce5a793bbaeeb11635d7090dc12d7d065715473ebadd91caa7bc76d473d38e1dccd4d7c03920d09d61b82bda5ff87ddbda41ee1176b317c4ba6e6abf2354
|
7
|
+
data.tar.gz: e9c88fefccfb24fc638c401e4d2d0c76db688490a49395075ac49f6af5530926052cc5748def371a9e58cfb562606b0589280d8c903e399d836fe2054d72641c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2021-09-23)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documented the new OpenSearchServiceDataSourceConfig data type. Added deprecation notes to the ElasticsearchDataSourceConfig data type.
|
8
|
+
|
4
9
|
1.43.0 (2021-09-01)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -494,7 +494,15 @@ module Aws::AppSync
|
|
494
494
|
# Amazon Web Services Lambda settings.
|
495
495
|
#
|
496
496
|
# @option params [Types::ElasticsearchDataSourceConfig] :elasticsearch_config
|
497
|
-
# Amazon
|
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
|
@@ -681,7 +695,7 @@ module Aws::AppSync
|
|
681
695
|
#
|
682
696
|
# @option params [required, String] :authentication_type
|
683
697
|
# The authentication type: API key, Identity and Access Management,
|
684
|
-
# OIDC,
|
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.
|
@@ -701,7 +715,7 @@ module Aws::AppSync
|
|
701
715
|
# `GraphqlApi`.
|
702
716
|
#
|
703
717
|
# @option params [Types::LambdaAuthorizerConfig] :lambda_authorizer_config
|
704
|
-
# Configuration for
|
718
|
+
# Configuration for Amazon Web Services Lambda function authorization.
|
705
719
|
#
|
706
720
|
# @return [Types::CreateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
707
721
|
#
|
@@ -1222,7 +1236,7 @@ module Aws::AppSync
|
|
1222
1236
|
# resp.data_source.data_source_arn #=> String
|
1223
1237
|
# resp.data_source.name #=> String
|
1224
1238
|
# resp.data_source.description #=> String
|
1225
|
-
# 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"
|
1226
1240
|
# resp.data_source.service_role_arn #=> String
|
1227
1241
|
# resp.data_source.dynamodb_config.table_name #=> String
|
1228
1242
|
# resp.data_source.dynamodb_config.aws_region #=> String
|
@@ -1234,6 +1248,8 @@ module Aws::AppSync
|
|
1234
1248
|
# resp.data_source.lambda_config.lambda_function_arn #=> String
|
1235
1249
|
# resp.data_source.elasticsearch_config.endpoint #=> String
|
1236
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
|
1237
1253
|
# resp.data_source.http_config.endpoint #=> String
|
1238
1254
|
# resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
|
1239
1255
|
# resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
|
@@ -1599,7 +1615,7 @@ module Aws::AppSync
|
|
1599
1615
|
# resp.data_sources[0].data_source_arn #=> String
|
1600
1616
|
# resp.data_sources[0].name #=> String
|
1601
1617
|
# 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"
|
1618
|
+
# resp.data_sources[0].type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
|
1603
1619
|
# resp.data_sources[0].service_role_arn #=> String
|
1604
1620
|
# resp.data_sources[0].dynamodb_config.table_name #=> String
|
1605
1621
|
# resp.data_sources[0].dynamodb_config.aws_region #=> String
|
@@ -1611,6 +1627,8 @@ module Aws::AppSync
|
|
1611
1627
|
# resp.data_sources[0].lambda_config.lambda_function_arn #=> String
|
1612
1628
|
# resp.data_sources[0].elasticsearch_config.endpoint #=> String
|
1613
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
|
1614
1632
|
# resp.data_sources[0].http_config.endpoint #=> String
|
1615
1633
|
# resp.data_sources[0].http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
|
1616
1634
|
# resp.data_sources[0].http_config.authorization_config.aws_iam_config.signing_region #=> String
|
@@ -2197,7 +2215,15 @@ module Aws::AppSync
|
|
2197
2215
|
# The new Amazon Web Services Lambda configuration.
|
2198
2216
|
#
|
2199
2217
|
# @option params [Types::ElasticsearchDataSourceConfig] :elasticsearch_config
|
2200
|
-
# The new
|
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.
|
2201
2227
|
#
|
2202
2228
|
# @option params [Types::HttpDataSourceConfig] :http_config
|
2203
2229
|
# The new HTTP endpoint configuration.
|
@@ -2215,7 +2241,7 @@ module Aws::AppSync
|
|
2215
2241
|
# api_id: "String", # required
|
2216
2242
|
# name: "ResourceName", # required
|
2217
2243
|
# description: "String",
|
2218
|
-
# 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
|
2219
2245
|
# service_role_arn: "String",
|
2220
2246
|
# dynamodb_config: {
|
2221
2247
|
# table_name: "String", # required
|
@@ -2235,6 +2261,10 @@ module Aws::AppSync
|
|
2235
2261
|
# endpoint: "String", # required
|
2236
2262
|
# aws_region: "String", # required
|
2237
2263
|
# },
|
2264
|
+
# open_search_service_config: {
|
2265
|
+
# endpoint: "String", # required
|
2266
|
+
# aws_region: "String", # required
|
2267
|
+
# },
|
2238
2268
|
# http_config: {
|
2239
2269
|
# endpoint: "String",
|
2240
2270
|
# authorization_config: {
|
@@ -2262,7 +2292,7 @@ module Aws::AppSync
|
|
2262
2292
|
# resp.data_source.data_source_arn #=> String
|
2263
2293
|
# resp.data_source.name #=> String
|
2264
2294
|
# resp.data_source.description #=> String
|
2265
|
-
# 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"
|
2266
2296
|
# resp.data_source.service_role_arn #=> String
|
2267
2297
|
# resp.data_source.dynamodb_config.table_name #=> String
|
2268
2298
|
# resp.data_source.dynamodb_config.aws_region #=> String
|
@@ -2274,6 +2304,8 @@ module Aws::AppSync
|
|
2274
2304
|
# resp.data_source.lambda_config.lambda_function_arn #=> String
|
2275
2305
|
# resp.data_source.elasticsearch_config.endpoint #=> String
|
2276
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
|
2277
2309
|
# resp.data_source.http_config.endpoint #=> String
|
2278
2310
|
# resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
|
2279
2311
|
# resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
|
@@ -2405,7 +2437,7 @@ module Aws::AppSync
|
|
2405
2437
|
# `GraphqlApi`.
|
2406
2438
|
#
|
2407
2439
|
# @option params [Types::LambdaAuthorizerConfig] :lambda_authorizer_config
|
2408
|
-
# Configuration for
|
2440
|
+
# Configuration for Amazon Web Services Lambda function authorization.
|
2409
2441
|
#
|
2410
2442
|
# @return [Types::UpdateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2411
2443
|
#
|
@@ -2674,7 +2706,7 @@ module Aws::AppSync
|
|
2674
2706
|
params: params,
|
2675
2707
|
config: config)
|
2676
2708
|
context[:gem_name] = 'aws-sdk-appsync'
|
2677
|
-
context[:gem_version] = '1.
|
2709
|
+
context[:gem_version] = '1.44.0'
|
2678
2710
|
Seahorse::Client::Request.new(handlers, context)
|
2679
2711
|
end
|
2680
2712
|
|
@@ -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,
|
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
|
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
|
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,
|
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
|
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
|
-
#
|
1132
|
+
# OpenSearch Service domain.
|
1116
1133
|
#
|
1117
|
-
# * **
|
1118
|
-
#
|
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
|
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
|
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
|
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
|
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
|
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
|
-
#
|
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
|
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
|
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
|
data/lib/aws-sdk-appsync.rb
CHANGED
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.
|
4
|
+
version: 1.44.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-09-
|
11
|
+
date: 2021-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|