aws-sdk-appsync 1.43.0 → 1.47.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +56 -13
- 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 +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 745d19bf9501a5d713cd51defdaead2914c1a6c1c60549316aa642e888220558
|
|
4
|
+
data.tar.gz: 22b23ea7746f779d2ea59b13b79a954aa2a6e3cc99a2de53f4431b6e78221f6b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b96537387668c498f3df27a16b221486c85ec5204281d904e10c410b208d8120596d9dc9da1bb09fb0d9cd56a2f3670815db08c108c9bda60b7981fe7efe1045
|
|
7
|
+
data.tar.gz: 6a557816f31ef7a54b6953cf30639cce441bbc64a05e4c61b28ba1f3d05ac02e25ce4c16f4f94c5353762ff5c3fc0d22d2d90a6c561a0c540660da831fe00492
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.47.0 (2021-11-30)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.46.0 (2021-11-04)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
14
|
+
1.45.0 (2021-10-18)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
18
|
+
|
|
19
|
+
1.44.0 (2021-09-23)
|
|
20
|
+
------------------
|
|
21
|
+
|
|
22
|
+
* Feature - Documented the new OpenSearchServiceDataSourceConfig data type. Added deprecation notes to the ElasticsearchDataSourceConfig data type.
|
|
23
|
+
|
|
4
24
|
1.43.0 (2021-09-01)
|
|
5
25
|
------------------
|
|
6
26
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.47.0
|
|
@@ -119,7 +119,9 @@ module Aws::AppSync
|
|
|
119
119
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
|
120
120
|
# are very aggressive. Construct and pass an instance of
|
|
121
121
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
|
122
|
-
# enable retries and extended timeouts.
|
|
122
|
+
# enable retries and extended timeouts. Instance profile credential
|
|
123
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
|
124
|
+
# to true.
|
|
123
125
|
#
|
|
124
126
|
# @option options [required, String] :region
|
|
125
127
|
# The AWS region to connect to. The configured `:region` is
|
|
@@ -275,6 +277,15 @@ module Aws::AppSync
|
|
|
275
277
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
|
276
278
|
# requests are made, and retries are disabled.
|
|
277
279
|
#
|
|
280
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
|
281
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
|
282
|
+
# will be used if available.
|
|
283
|
+
#
|
|
284
|
+
# @option options [Boolean] :use_fips_endpoint
|
|
285
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
|
286
|
+
# When a `fips` region is used, the region is normalized and this config
|
|
287
|
+
# is set to `true`.
|
|
288
|
+
#
|
|
278
289
|
# @option options [Boolean] :validate_params (true)
|
|
279
290
|
# When `true`, request parameters are validated before
|
|
280
291
|
# sending the request.
|
|
@@ -494,7 +505,15 @@ module Aws::AppSync
|
|
|
494
505
|
# Amazon Web Services Lambda settings.
|
|
495
506
|
#
|
|
496
507
|
# @option params [Types::ElasticsearchDataSourceConfig] :elasticsearch_config
|
|
497
|
-
# Amazon
|
|
508
|
+
# Amazon OpenSearch Service settings.
|
|
509
|
+
#
|
|
510
|
+
# As of September 2021, Amazon Elasticsearch service is Amazon
|
|
511
|
+
# OpenSearch Service. This configuration is deprecated. For new data
|
|
512
|
+
# sources, use CreateDataSourceRequest$openSearchServiceConfig to create
|
|
513
|
+
# an OpenSearch data source.
|
|
514
|
+
#
|
|
515
|
+
# @option params [Types::OpenSearchServiceDataSourceConfig] :open_search_service_config
|
|
516
|
+
# Amazon OpenSearch Service settings.
|
|
498
517
|
#
|
|
499
518
|
# @option params [Types::HttpDataSourceConfig] :http_config
|
|
500
519
|
# HTTP endpoint settings.
|
|
@@ -512,7 +531,7 @@ module Aws::AppSync
|
|
|
512
531
|
# api_id: "String", # required
|
|
513
532
|
# name: "ResourceName", # required
|
|
514
533
|
# description: "String",
|
|
515
|
-
# type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE
|
|
534
|
+
# type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE
|
|
516
535
|
# service_role_arn: "String",
|
|
517
536
|
# dynamodb_config: {
|
|
518
537
|
# table_name: "String", # required
|
|
@@ -532,6 +551,10 @@ module Aws::AppSync
|
|
|
532
551
|
# endpoint: "String", # required
|
|
533
552
|
# aws_region: "String", # required
|
|
534
553
|
# },
|
|
554
|
+
# open_search_service_config: {
|
|
555
|
+
# endpoint: "String", # required
|
|
556
|
+
# aws_region: "String", # required
|
|
557
|
+
# },
|
|
535
558
|
# http_config: {
|
|
536
559
|
# endpoint: "String",
|
|
537
560
|
# authorization_config: {
|
|
@@ -559,7 +582,7 @@ module Aws::AppSync
|
|
|
559
582
|
# resp.data_source.data_source_arn #=> String
|
|
560
583
|
# resp.data_source.name #=> String
|
|
561
584
|
# resp.data_source.description #=> String
|
|
562
|
-
# resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
|
|
585
|
+
# resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
|
|
563
586
|
# resp.data_source.service_role_arn #=> String
|
|
564
587
|
# resp.data_source.dynamodb_config.table_name #=> String
|
|
565
588
|
# resp.data_source.dynamodb_config.aws_region #=> String
|
|
@@ -571,6 +594,8 @@ module Aws::AppSync
|
|
|
571
594
|
# resp.data_source.lambda_config.lambda_function_arn #=> String
|
|
572
595
|
# resp.data_source.elasticsearch_config.endpoint #=> String
|
|
573
596
|
# resp.data_source.elasticsearch_config.aws_region #=> String
|
|
597
|
+
# resp.data_source.open_search_service_config.endpoint #=> String
|
|
598
|
+
# resp.data_source.open_search_service_config.aws_region #=> String
|
|
574
599
|
# resp.data_source.http_config.endpoint #=> String
|
|
575
600
|
# resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
|
|
576
601
|
# resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
|
|
@@ -681,7 +706,7 @@ module Aws::AppSync
|
|
|
681
706
|
#
|
|
682
707
|
# @option params [required, String] :authentication_type
|
|
683
708
|
# The authentication type: API key, Identity and Access Management,
|
|
684
|
-
# OIDC,
|
|
709
|
+
# OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.
|
|
685
710
|
#
|
|
686
711
|
# @option params [Types::UserPoolConfig] :user_pool_config
|
|
687
712
|
# The Amazon Cognito user pool configuration.
|
|
@@ -701,7 +726,7 @@ module Aws::AppSync
|
|
|
701
726
|
# `GraphqlApi`.
|
|
702
727
|
#
|
|
703
728
|
# @option params [Types::LambdaAuthorizerConfig] :lambda_authorizer_config
|
|
704
|
-
# Configuration for
|
|
729
|
+
# Configuration for Amazon Web Services Lambda function authorization.
|
|
705
730
|
#
|
|
706
731
|
# @return [Types::CreateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
707
732
|
#
|
|
@@ -1222,7 +1247,7 @@ module Aws::AppSync
|
|
|
1222
1247
|
# resp.data_source.data_source_arn #=> String
|
|
1223
1248
|
# resp.data_source.name #=> String
|
|
1224
1249
|
# resp.data_source.description #=> String
|
|
1225
|
-
# resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
|
|
1250
|
+
# resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
|
|
1226
1251
|
# resp.data_source.service_role_arn #=> String
|
|
1227
1252
|
# resp.data_source.dynamodb_config.table_name #=> String
|
|
1228
1253
|
# resp.data_source.dynamodb_config.aws_region #=> String
|
|
@@ -1234,6 +1259,8 @@ module Aws::AppSync
|
|
|
1234
1259
|
# resp.data_source.lambda_config.lambda_function_arn #=> String
|
|
1235
1260
|
# resp.data_source.elasticsearch_config.endpoint #=> String
|
|
1236
1261
|
# resp.data_source.elasticsearch_config.aws_region #=> String
|
|
1262
|
+
# resp.data_source.open_search_service_config.endpoint #=> String
|
|
1263
|
+
# resp.data_source.open_search_service_config.aws_region #=> String
|
|
1237
1264
|
# resp.data_source.http_config.endpoint #=> String
|
|
1238
1265
|
# resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
|
|
1239
1266
|
# resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
|
|
@@ -1599,7 +1626,7 @@ module Aws::AppSync
|
|
|
1599
1626
|
# resp.data_sources[0].data_source_arn #=> String
|
|
1600
1627
|
# resp.data_sources[0].name #=> String
|
|
1601
1628
|
# 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"
|
|
1629
|
+
# resp.data_sources[0].type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
|
|
1603
1630
|
# resp.data_sources[0].service_role_arn #=> String
|
|
1604
1631
|
# resp.data_sources[0].dynamodb_config.table_name #=> String
|
|
1605
1632
|
# resp.data_sources[0].dynamodb_config.aws_region #=> String
|
|
@@ -1611,6 +1638,8 @@ module Aws::AppSync
|
|
|
1611
1638
|
# resp.data_sources[0].lambda_config.lambda_function_arn #=> String
|
|
1612
1639
|
# resp.data_sources[0].elasticsearch_config.endpoint #=> String
|
|
1613
1640
|
# resp.data_sources[0].elasticsearch_config.aws_region #=> String
|
|
1641
|
+
# resp.data_sources[0].open_search_service_config.endpoint #=> String
|
|
1642
|
+
# resp.data_sources[0].open_search_service_config.aws_region #=> String
|
|
1614
1643
|
# resp.data_sources[0].http_config.endpoint #=> String
|
|
1615
1644
|
# resp.data_sources[0].http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
|
|
1616
1645
|
# resp.data_sources[0].http_config.authorization_config.aws_iam_config.signing_region #=> String
|
|
@@ -2197,7 +2226,15 @@ module Aws::AppSync
|
|
|
2197
2226
|
# The new Amazon Web Services Lambda configuration.
|
|
2198
2227
|
#
|
|
2199
2228
|
# @option params [Types::ElasticsearchDataSourceConfig] :elasticsearch_config
|
|
2200
|
-
# The new
|
|
2229
|
+
# The new OpenSearch configuration.
|
|
2230
|
+
#
|
|
2231
|
+
# As of September 2021, Amazon Elasticsearch service is Amazon
|
|
2232
|
+
# OpenSearch Service. This configuration is deprecated. Instead, use
|
|
2233
|
+
# UpdateDataSourceRequest$openSearchServiceConfig to update an
|
|
2234
|
+
# OpenSearch data source.
|
|
2235
|
+
#
|
|
2236
|
+
# @option params [Types::OpenSearchServiceDataSourceConfig] :open_search_service_config
|
|
2237
|
+
# The new OpenSearch configuration.
|
|
2201
2238
|
#
|
|
2202
2239
|
# @option params [Types::HttpDataSourceConfig] :http_config
|
|
2203
2240
|
# The new HTTP endpoint configuration.
|
|
@@ -2215,7 +2252,7 @@ module Aws::AppSync
|
|
|
2215
2252
|
# api_id: "String", # required
|
|
2216
2253
|
# name: "ResourceName", # required
|
|
2217
2254
|
# description: "String",
|
|
2218
|
-
# type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE
|
|
2255
|
+
# type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE
|
|
2219
2256
|
# service_role_arn: "String",
|
|
2220
2257
|
# dynamodb_config: {
|
|
2221
2258
|
# table_name: "String", # required
|
|
@@ -2235,6 +2272,10 @@ module Aws::AppSync
|
|
|
2235
2272
|
# endpoint: "String", # required
|
|
2236
2273
|
# aws_region: "String", # required
|
|
2237
2274
|
# },
|
|
2275
|
+
# open_search_service_config: {
|
|
2276
|
+
# endpoint: "String", # required
|
|
2277
|
+
# aws_region: "String", # required
|
|
2278
|
+
# },
|
|
2238
2279
|
# http_config: {
|
|
2239
2280
|
# endpoint: "String",
|
|
2240
2281
|
# authorization_config: {
|
|
@@ -2262,7 +2303,7 @@ module Aws::AppSync
|
|
|
2262
2303
|
# resp.data_source.data_source_arn #=> String
|
|
2263
2304
|
# resp.data_source.name #=> String
|
|
2264
2305
|
# resp.data_source.description #=> String
|
|
2265
|
-
# resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE"
|
|
2306
|
+
# resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
|
|
2266
2307
|
# resp.data_source.service_role_arn #=> String
|
|
2267
2308
|
# resp.data_source.dynamodb_config.table_name #=> String
|
|
2268
2309
|
# resp.data_source.dynamodb_config.aws_region #=> String
|
|
@@ -2274,6 +2315,8 @@ module Aws::AppSync
|
|
|
2274
2315
|
# resp.data_source.lambda_config.lambda_function_arn #=> String
|
|
2275
2316
|
# resp.data_source.elasticsearch_config.endpoint #=> String
|
|
2276
2317
|
# resp.data_source.elasticsearch_config.aws_region #=> String
|
|
2318
|
+
# resp.data_source.open_search_service_config.endpoint #=> String
|
|
2319
|
+
# resp.data_source.open_search_service_config.aws_region #=> String
|
|
2277
2320
|
# resp.data_source.http_config.endpoint #=> String
|
|
2278
2321
|
# resp.data_source.http_config.authorization_config.authorization_type #=> String, one of "AWS_IAM"
|
|
2279
2322
|
# resp.data_source.http_config.authorization_config.aws_iam_config.signing_region #=> String
|
|
@@ -2405,7 +2448,7 @@ module Aws::AppSync
|
|
|
2405
2448
|
# `GraphqlApi`.
|
|
2406
2449
|
#
|
|
2407
2450
|
# @option params [Types::LambdaAuthorizerConfig] :lambda_authorizer_config
|
|
2408
|
-
# Configuration for
|
|
2451
|
+
# Configuration for Amazon Web Services Lambda function authorization.
|
|
2409
2452
|
#
|
|
2410
2453
|
# @return [Types::UpdateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2411
2454
|
#
|
|
@@ -2674,7 +2717,7 @@ module Aws::AppSync
|
|
|
2674
2717
|
params: params,
|
|
2675
2718
|
config: config)
|
|
2676
2719
|
context[:gem_name] = 'aws-sdk-appsync'
|
|
2677
|
-
context[:gem_version] = '1.
|
|
2720
|
+
context[:gem_version] = '1.47.0'
|
|
2678
2721
|
Seahorse::Client::Request.new(handlers, context)
|
|
2679
2722
|
end
|
|
2680
2723
|
|
|
@@ -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.47.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-
|
|
11
|
+
date: 2021-11-30 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.
|
|
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.
|
|
32
|
+
version: 3.122.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|