aws-sdk-appsync 1.101.0 → 1.103.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +89 -1
- data/lib/aws-sdk-appsync/client_api.rb +27 -0
- data/lib/aws-sdk-appsync/types.rb +109 -5
- data/lib/aws-sdk-appsync.rb +1 -1
- data/sig/client.rbs +44 -3
- data/sig/types.rbs +29 -0
- 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: b8141bc3ba1f6a98a666df3ad0ff1c71768f1143b95c49f9eab70317882b2bbc
|
4
|
+
data.tar.gz: 542a6d22d6585bbe3e2ec2c20490ffa4b5a29234f1764e7aeecc9383338dad09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3593f839bfe0383b06d6439069d5b9e12061f56c7e1d406fa500ff58a3cbbdf057b00408be9a6fead437652a0cd851c3d2a2835147a576f334e0d6302a164a5f
|
7
|
+
data.tar.gz: 52fb1cf783ba9fd925b42af1072733629285e991ea3c1bd3547838f2bc980faead6193cfc773be99683a5b3bb8ab0f177329eece59e0114903eac9ec2d61f9a7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.103.0 (2025-04-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add data source support to Event APIs
|
8
|
+
|
9
|
+
1.102.0 (2025-03-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Providing Tagging support for DomainName in AppSync
|
13
|
+
|
4
14
|
1.101.0 (2025-02-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.103.0
|
@@ -935,6 +935,9 @@ module Aws::AppSync
|
|
935
935
|
# @option params [Hash<String,String>] :tags
|
936
936
|
# A map with keys of `TagKey` objects and values of `TagValue` objects.
|
937
937
|
#
|
938
|
+
# @option params [Types::HandlerConfigs] :handler_configs
|
939
|
+
# The configuration for the `OnPublish` and `OnSubscribe` handlers.
|
940
|
+
#
|
938
941
|
# @return [Types::CreateChannelNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
939
942
|
#
|
940
943
|
# * {Types::CreateChannelNamespaceResponse#channel_namespace #channel_namespace} => Types::ChannelNamespace
|
@@ -958,6 +961,26 @@ module Aws::AppSync
|
|
958
961
|
# tags: {
|
959
962
|
# "TagKey" => "TagValue",
|
960
963
|
# },
|
964
|
+
# handler_configs: {
|
965
|
+
# on_publish: {
|
966
|
+
# behavior: "CODE", # required, accepts CODE, DIRECT
|
967
|
+
# integration: { # required
|
968
|
+
# data_source_name: "String", # required
|
969
|
+
# lambda_config: {
|
970
|
+
# invoke_type: "REQUEST_RESPONSE", # accepts REQUEST_RESPONSE, EVENT
|
971
|
+
# },
|
972
|
+
# },
|
973
|
+
# },
|
974
|
+
# on_subscribe: {
|
975
|
+
# behavior: "CODE", # required, accepts CODE, DIRECT
|
976
|
+
# integration: { # required
|
977
|
+
# data_source_name: "String", # required
|
978
|
+
# lambda_config: {
|
979
|
+
# invoke_type: "REQUEST_RESPONSE", # accepts REQUEST_RESPONSE, EVENT
|
980
|
+
# },
|
981
|
+
# },
|
982
|
+
# },
|
983
|
+
# },
|
961
984
|
# })
|
962
985
|
#
|
963
986
|
# @example Response structure
|
@@ -974,6 +997,12 @@ module Aws::AppSync
|
|
974
997
|
# resp.channel_namespace.channel_namespace_arn #=> String
|
975
998
|
# resp.channel_namespace.created #=> Time
|
976
999
|
# resp.channel_namespace.last_modified #=> Time
|
1000
|
+
# resp.channel_namespace.handler_configs.on_publish.behavior #=> String, one of "CODE", "DIRECT"
|
1001
|
+
# resp.channel_namespace.handler_configs.on_publish.integration.data_source_name #=> String
|
1002
|
+
# resp.channel_namespace.handler_configs.on_publish.integration.lambda_config.invoke_type #=> String, one of "REQUEST_RESPONSE", "EVENT"
|
1003
|
+
# resp.channel_namespace.handler_configs.on_subscribe.behavior #=> String, one of "CODE", "DIRECT"
|
1004
|
+
# resp.channel_namespace.handler_configs.on_subscribe.integration.data_source_name #=> String
|
1005
|
+
# resp.channel_namespace.handler_configs.on_subscribe.integration.lambda_config.invoke_type #=> String, one of "REQUEST_RESPONSE", "EVENT"
|
977
1006
|
#
|
978
1007
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateChannelNamespace AWS API Documentation
|
979
1008
|
#
|
@@ -1153,6 +1182,9 @@ module Aws::AppSync
|
|
1153
1182
|
# @option params [String] :description
|
1154
1183
|
# A description of the `DomainName`.
|
1155
1184
|
#
|
1185
|
+
# @option params [Hash<String,String>] :tags
|
1186
|
+
# A map with keys of `TagKey` objects and values of `TagValue` objects.
|
1187
|
+
#
|
1156
1188
|
# @return [Types::CreateDomainNameResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1157
1189
|
#
|
1158
1190
|
# * {Types::CreateDomainNameResponse#domain_name_config #domain_name_config} => Types::DomainNameConfig
|
@@ -1163,6 +1195,9 @@ module Aws::AppSync
|
|
1163
1195
|
# domain_name: "DomainName", # required
|
1164
1196
|
# certificate_arn: "CertificateArn", # required
|
1165
1197
|
# description: "Description",
|
1198
|
+
# tags: {
|
1199
|
+
# "TagKey" => "TagValue",
|
1200
|
+
# },
|
1166
1201
|
# })
|
1167
1202
|
#
|
1168
1203
|
# @example Response structure
|
@@ -1172,6 +1207,9 @@ module Aws::AppSync
|
|
1172
1207
|
# resp.domain_name_config.certificate_arn #=> String
|
1173
1208
|
# resp.domain_name_config.appsync_domain_name #=> String
|
1174
1209
|
# resp.domain_name_config.hosted_zone_id #=> String
|
1210
|
+
# resp.domain_name_config.tags #=> Hash
|
1211
|
+
# resp.domain_name_config.tags["TagKey"] #=> String
|
1212
|
+
# resp.domain_name_config.domain_name_arn #=> String
|
1175
1213
|
#
|
1176
1214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDomainName AWS API Documentation
|
1177
1215
|
#
|
@@ -2347,6 +2385,12 @@ module Aws::AppSync
|
|
2347
2385
|
# resp.channel_namespace.channel_namespace_arn #=> String
|
2348
2386
|
# resp.channel_namespace.created #=> Time
|
2349
2387
|
# resp.channel_namespace.last_modified #=> Time
|
2388
|
+
# resp.channel_namespace.handler_configs.on_publish.behavior #=> String, one of "CODE", "DIRECT"
|
2389
|
+
# resp.channel_namespace.handler_configs.on_publish.integration.data_source_name #=> String
|
2390
|
+
# resp.channel_namespace.handler_configs.on_publish.integration.lambda_config.invoke_type #=> String, one of "REQUEST_RESPONSE", "EVENT"
|
2391
|
+
# resp.channel_namespace.handler_configs.on_subscribe.behavior #=> String, one of "CODE", "DIRECT"
|
2392
|
+
# resp.channel_namespace.handler_configs.on_subscribe.integration.data_source_name #=> String
|
2393
|
+
# resp.channel_namespace.handler_configs.on_subscribe.integration.lambda_config.invoke_type #=> String, one of "REQUEST_RESPONSE", "EVENT"
|
2350
2394
|
#
|
2351
2395
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetChannelNamespace AWS API Documentation
|
2352
2396
|
#
|
@@ -2513,6 +2557,9 @@ module Aws::AppSync
|
|
2513
2557
|
# resp.domain_name_config.certificate_arn #=> String
|
2514
2558
|
# resp.domain_name_config.appsync_domain_name #=> String
|
2515
2559
|
# resp.domain_name_config.hosted_zone_id #=> String
|
2560
|
+
# resp.domain_name_config.tags #=> Hash
|
2561
|
+
# resp.domain_name_config.tags["TagKey"] #=> String
|
2562
|
+
# resp.domain_name_config.domain_name_arn #=> String
|
2516
2563
|
#
|
2517
2564
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDomainName AWS API Documentation
|
2518
2565
|
#
|
@@ -3057,6 +3104,12 @@ module Aws::AppSync
|
|
3057
3104
|
# resp.channel_namespaces[0].channel_namespace_arn #=> String
|
3058
3105
|
# resp.channel_namespaces[0].created #=> Time
|
3059
3106
|
# resp.channel_namespaces[0].last_modified #=> Time
|
3107
|
+
# resp.channel_namespaces[0].handler_configs.on_publish.behavior #=> String, one of "CODE", "DIRECT"
|
3108
|
+
# resp.channel_namespaces[0].handler_configs.on_publish.integration.data_source_name #=> String
|
3109
|
+
# resp.channel_namespaces[0].handler_configs.on_publish.integration.lambda_config.invoke_type #=> String, one of "REQUEST_RESPONSE", "EVENT"
|
3110
|
+
# resp.channel_namespaces[0].handler_configs.on_subscribe.behavior #=> String, one of "CODE", "DIRECT"
|
3111
|
+
# resp.channel_namespaces[0].handler_configs.on_subscribe.integration.data_source_name #=> String
|
3112
|
+
# resp.channel_namespaces[0].handler_configs.on_subscribe.integration.lambda_config.invoke_type #=> String, one of "REQUEST_RESPONSE", "EVENT"
|
3060
3113
|
# resp.next_token #=> String
|
3061
3114
|
#
|
3062
3115
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListChannelNamespaces AWS API Documentation
|
@@ -3171,6 +3224,9 @@ module Aws::AppSync
|
|
3171
3224
|
# resp.domain_name_configs[0].certificate_arn #=> String
|
3172
3225
|
# resp.domain_name_configs[0].appsync_domain_name #=> String
|
3173
3226
|
# resp.domain_name_configs[0].hosted_zone_id #=> String
|
3227
|
+
# resp.domain_name_configs[0].tags #=> Hash
|
3228
|
+
# resp.domain_name_configs[0].tags["TagKey"] #=> String
|
3229
|
+
# resp.domain_name_configs[0].domain_name_arn #=> String
|
3174
3230
|
# resp.next_token #=> String
|
3175
3231
|
#
|
3176
3232
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDomainNames AWS API Documentation
|
@@ -4210,6 +4266,9 @@ module Aws::AppSync
|
|
4210
4266
|
# The event handler functions that run custom business logic to process
|
4211
4267
|
# published events and subscribe requests.
|
4212
4268
|
#
|
4269
|
+
# @option params [Types::HandlerConfigs] :handler_configs
|
4270
|
+
# The configuration for the `OnPublish` and `OnSubscribe` handlers.
|
4271
|
+
#
|
4213
4272
|
# @return [Types::UpdateChannelNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4214
4273
|
#
|
4215
4274
|
# * {Types::UpdateChannelNamespaceResponse#channel_namespace #channel_namespace} => Types::ChannelNamespace
|
@@ -4230,6 +4289,26 @@ module Aws::AppSync
|
|
4230
4289
|
# },
|
4231
4290
|
# ],
|
4232
4291
|
# code_handlers: "Code",
|
4292
|
+
# handler_configs: {
|
4293
|
+
# on_publish: {
|
4294
|
+
# behavior: "CODE", # required, accepts CODE, DIRECT
|
4295
|
+
# integration: { # required
|
4296
|
+
# data_source_name: "String", # required
|
4297
|
+
# lambda_config: {
|
4298
|
+
# invoke_type: "REQUEST_RESPONSE", # accepts REQUEST_RESPONSE, EVENT
|
4299
|
+
# },
|
4300
|
+
# },
|
4301
|
+
# },
|
4302
|
+
# on_subscribe: {
|
4303
|
+
# behavior: "CODE", # required, accepts CODE, DIRECT
|
4304
|
+
# integration: { # required
|
4305
|
+
# data_source_name: "String", # required
|
4306
|
+
# lambda_config: {
|
4307
|
+
# invoke_type: "REQUEST_RESPONSE", # accepts REQUEST_RESPONSE, EVENT
|
4308
|
+
# },
|
4309
|
+
# },
|
4310
|
+
# },
|
4311
|
+
# },
|
4233
4312
|
# })
|
4234
4313
|
#
|
4235
4314
|
# @example Response structure
|
@@ -4246,6 +4325,12 @@ module Aws::AppSync
|
|
4246
4325
|
# resp.channel_namespace.channel_namespace_arn #=> String
|
4247
4326
|
# resp.channel_namespace.created #=> Time
|
4248
4327
|
# resp.channel_namespace.last_modified #=> Time
|
4328
|
+
# resp.channel_namespace.handler_configs.on_publish.behavior #=> String, one of "CODE", "DIRECT"
|
4329
|
+
# resp.channel_namespace.handler_configs.on_publish.integration.data_source_name #=> String
|
4330
|
+
# resp.channel_namespace.handler_configs.on_publish.integration.lambda_config.invoke_type #=> String, one of "REQUEST_RESPONSE", "EVENT"
|
4331
|
+
# resp.channel_namespace.handler_configs.on_subscribe.behavior #=> String, one of "CODE", "DIRECT"
|
4332
|
+
# resp.channel_namespace.handler_configs.on_subscribe.integration.data_source_name #=> String
|
4333
|
+
# resp.channel_namespace.handler_configs.on_subscribe.integration.lambda_config.invoke_type #=> String, one of "REQUEST_RESPONSE", "EVENT"
|
4249
4334
|
#
|
4250
4335
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateChannelNamespace AWS API Documentation
|
4251
4336
|
#
|
@@ -4436,6 +4521,9 @@ module Aws::AppSync
|
|
4436
4521
|
# resp.domain_name_config.certificate_arn #=> String
|
4437
4522
|
# resp.domain_name_config.appsync_domain_name #=> String
|
4438
4523
|
# resp.domain_name_config.hosted_zone_id #=> String
|
4524
|
+
# resp.domain_name_config.tags #=> Hash
|
4525
|
+
# resp.domain_name_config.tags["TagKey"] #=> String
|
4526
|
+
# resp.domain_name_config.domain_name_arn #=> String
|
4439
4527
|
#
|
4440
4528
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDomainName AWS API Documentation
|
4441
4529
|
#
|
@@ -5021,7 +5109,7 @@ module Aws::AppSync
|
|
5021
5109
|
tracer: tracer
|
5022
5110
|
)
|
5023
5111
|
context[:gem_name] = 'aws-sdk-appsync'
|
5024
|
-
context[:gem_version] = '1.
|
5112
|
+
context[:gem_version] = '1.103.0'
|
5025
5113
|
Seahorse::Client::Request.new(handlers, context)
|
5026
5114
|
end
|
5027
5115
|
|
@@ -201,9 +201,15 @@ module Aws::AppSync
|
|
201
201
|
GraphQLSchemaException = Shapes::StructureShape.new(name: 'GraphQLSchemaException')
|
202
202
|
GraphqlApi = Shapes::StructureShape.new(name: 'GraphqlApi')
|
203
203
|
GraphqlApis = Shapes::ListShape.new(name: 'GraphqlApis')
|
204
|
+
HandlerBehavior = Shapes::StringShape.new(name: 'HandlerBehavior')
|
205
|
+
HandlerConfig = Shapes::StructureShape.new(name: 'HandlerConfig')
|
206
|
+
HandlerConfigs = Shapes::StructureShape.new(name: 'HandlerConfigs')
|
204
207
|
HttpDataSourceConfig = Shapes::StructureShape.new(name: 'HttpDataSourceConfig')
|
208
|
+
Integration = Shapes::StructureShape.new(name: 'Integration')
|
205
209
|
InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
|
210
|
+
InvokeType = Shapes::StringShape.new(name: 'InvokeType')
|
206
211
|
LambdaAuthorizerConfig = Shapes::StructureShape.new(name: 'LambdaAuthorizerConfig')
|
212
|
+
LambdaConfig = Shapes::StructureShape.new(name: 'LambdaConfig')
|
207
213
|
LambdaConflictHandlerConfig = Shapes::StructureShape.new(name: 'LambdaConflictHandlerConfig')
|
208
214
|
LambdaDataSourceConfig = Shapes::StructureShape.new(name: 'LambdaDataSourceConfig')
|
209
215
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -456,6 +462,7 @@ module Aws::AppSync
|
|
456
462
|
ChannelNamespace.add_member(:channel_namespace_arn, Shapes::ShapeRef.new(shape: String, location_name: "channelNamespaceArn"))
|
457
463
|
ChannelNamespace.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "created"))
|
458
464
|
ChannelNamespace.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModified"))
|
465
|
+
ChannelNamespace.add_member(:handler_configs, Shapes::ShapeRef.new(shape: HandlerConfigs, location_name: "handlerConfigs"))
|
459
466
|
ChannelNamespace.struct_class = Types::ChannelNamespace
|
460
467
|
|
461
468
|
ChannelNamespaces.member = Shapes::ShapeRef.new(shape: ChannelNamespace)
|
@@ -523,6 +530,7 @@ module Aws::AppSync
|
|
523
530
|
CreateChannelNamespaceRequest.add_member(:publish_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "publishAuthModes"))
|
524
531
|
CreateChannelNamespaceRequest.add_member(:code_handlers, Shapes::ShapeRef.new(shape: Code, location_name: "codeHandlers"))
|
525
532
|
CreateChannelNamespaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
533
|
+
CreateChannelNamespaceRequest.add_member(:handler_configs, Shapes::ShapeRef.new(shape: HandlerConfigs, location_name: "handlerConfigs"))
|
526
534
|
CreateChannelNamespaceRequest.struct_class = Types::CreateChannelNamespaceRequest
|
527
535
|
|
528
536
|
CreateChannelNamespaceResponse.add_member(:channel_namespace, Shapes::ShapeRef.new(shape: ChannelNamespace, location_name: "channelNamespace"))
|
@@ -549,6 +557,7 @@ module Aws::AppSync
|
|
549
557
|
CreateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "domainName"))
|
550
558
|
CreateDomainNameRequest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, required: true, location_name: "certificateArn"))
|
551
559
|
CreateDomainNameRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
560
|
+
CreateDomainNameRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
552
561
|
CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
|
553
562
|
|
554
563
|
CreateDomainNameResponse.add_member(:domain_name_config, Shapes::ShapeRef.new(shape: DomainNameConfig, location_name: "domainNameConfig"))
|
@@ -758,6 +767,8 @@ module Aws::AppSync
|
|
758
767
|
DomainNameConfig.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
|
759
768
|
DomainNameConfig.add_member(:appsync_domain_name, Shapes::ShapeRef.new(shape: String, location_name: "appsyncDomainName"))
|
760
769
|
DomainNameConfig.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "hostedZoneId"))
|
770
|
+
DomainNameConfig.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
771
|
+
DomainNameConfig.add_member(:domain_name_arn, Shapes::ShapeRef.new(shape: String, location_name: "domainNameArn"))
|
761
772
|
DomainNameConfig.struct_class = Types::DomainNameConfig
|
762
773
|
|
763
774
|
DomainNameConfigs.member = Shapes::ShapeRef.new(shape: DomainNameConfig)
|
@@ -988,10 +999,22 @@ module Aws::AppSync
|
|
988
999
|
|
989
1000
|
GraphqlApis.member = Shapes::ShapeRef.new(shape: GraphqlApi)
|
990
1001
|
|
1002
|
+
HandlerConfig.add_member(:behavior, Shapes::ShapeRef.new(shape: HandlerBehavior, required: true, location_name: "behavior"))
|
1003
|
+
HandlerConfig.add_member(:integration, Shapes::ShapeRef.new(shape: Integration, required: true, location_name: "integration"))
|
1004
|
+
HandlerConfig.struct_class = Types::HandlerConfig
|
1005
|
+
|
1006
|
+
HandlerConfigs.add_member(:on_publish, Shapes::ShapeRef.new(shape: HandlerConfig, location_name: "onPublish"))
|
1007
|
+
HandlerConfigs.add_member(:on_subscribe, Shapes::ShapeRef.new(shape: HandlerConfig, location_name: "onSubscribe"))
|
1008
|
+
HandlerConfigs.struct_class = Types::HandlerConfigs
|
1009
|
+
|
991
1010
|
HttpDataSourceConfig.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
|
992
1011
|
HttpDataSourceConfig.add_member(:authorization_config, Shapes::ShapeRef.new(shape: AuthorizationConfig, location_name: "authorizationConfig"))
|
993
1012
|
HttpDataSourceConfig.struct_class = Types::HttpDataSourceConfig
|
994
1013
|
|
1014
|
+
Integration.add_member(:data_source_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "dataSourceName"))
|
1015
|
+
Integration.add_member(:lambda_config, Shapes::ShapeRef.new(shape: LambdaConfig, location_name: "lambdaConfig"))
|
1016
|
+
Integration.struct_class = Types::Integration
|
1017
|
+
|
995
1018
|
InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
996
1019
|
InternalFailureException.struct_class = Types::InternalFailureException
|
997
1020
|
|
@@ -1000,6 +1023,9 @@ module Aws::AppSync
|
|
1000
1023
|
LambdaAuthorizerConfig.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: String, location_name: "identityValidationExpression"))
|
1001
1024
|
LambdaAuthorizerConfig.struct_class = Types::LambdaAuthorizerConfig
|
1002
1025
|
|
1026
|
+
LambdaConfig.add_member(:invoke_type, Shapes::ShapeRef.new(shape: InvokeType, location_name: "invokeType"))
|
1027
|
+
LambdaConfig.struct_class = Types::LambdaConfig
|
1028
|
+
|
1003
1029
|
LambdaConflictHandlerConfig.add_member(:lambda_conflict_handler_arn, Shapes::ShapeRef.new(shape: String, location_name: "lambdaConflictHandlerArn"))
|
1004
1030
|
LambdaConflictHandlerConfig.struct_class = Types::LambdaConflictHandlerConfig
|
1005
1031
|
|
@@ -1313,6 +1339,7 @@ module Aws::AppSync
|
|
1313
1339
|
UpdateChannelNamespaceRequest.add_member(:subscribe_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "subscribeAuthModes"))
|
1314
1340
|
UpdateChannelNamespaceRequest.add_member(:publish_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "publishAuthModes"))
|
1315
1341
|
UpdateChannelNamespaceRequest.add_member(:code_handlers, Shapes::ShapeRef.new(shape: Code, location_name: "codeHandlers"))
|
1342
|
+
UpdateChannelNamespaceRequest.add_member(:handler_configs, Shapes::ShapeRef.new(shape: HandlerConfigs, location_name: "handlerConfigs"))
|
1316
1343
|
UpdateChannelNamespaceRequest.struct_class = Types::UpdateChannelNamespaceRequest
|
1317
1344
|
|
1318
1345
|
UpdateChannelNamespaceResponse.add_member(:channel_namespace, Shapes::ShapeRef.new(shape: ChannelNamespace, location_name: "channelNamespace"))
|
@@ -746,6 +746,10 @@ module Aws::AppSync
|
|
746
746
|
# The date and time that the `ChannelNamespace` was last changed.
|
747
747
|
# @return [Time]
|
748
748
|
#
|
749
|
+
# @!attribute [rw] handler_configs
|
750
|
+
# The configuration for the `OnPublish` and `OnSubscribe` handlers.
|
751
|
+
# @return [Types::HandlerConfigs]
|
752
|
+
#
|
749
753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ChannelNamespace AWS API Documentation
|
750
754
|
#
|
751
755
|
class ChannelNamespace < Struct.new(
|
@@ -757,7 +761,8 @@ module Aws::AppSync
|
|
757
761
|
:tags,
|
758
762
|
:channel_namespace_arn,
|
759
763
|
:created,
|
760
|
-
:last_modified
|
764
|
+
:last_modified,
|
765
|
+
:handler_configs)
|
761
766
|
SENSITIVE = []
|
762
767
|
include Aws::Structure
|
763
768
|
end
|
@@ -1130,6 +1135,10 @@ module Aws::AppSync
|
|
1130
1135
|
# objects.
|
1131
1136
|
# @return [Hash<String,String>]
|
1132
1137
|
#
|
1138
|
+
# @!attribute [rw] handler_configs
|
1139
|
+
# The configuration for the `OnPublish` and `OnSubscribe` handlers.
|
1140
|
+
# @return [Types::HandlerConfigs]
|
1141
|
+
#
|
1133
1142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateChannelNamespaceRequest AWS API Documentation
|
1134
1143
|
#
|
1135
1144
|
class CreateChannelNamespaceRequest < Struct.new(
|
@@ -1138,7 +1147,8 @@ module Aws::AppSync
|
|
1138
1147
|
:subscribe_auth_modes,
|
1139
1148
|
:publish_auth_modes,
|
1140
1149
|
:code_handlers,
|
1141
|
-
:tags
|
1150
|
+
:tags,
|
1151
|
+
:handler_configs)
|
1142
1152
|
SENSITIVE = []
|
1143
1153
|
include Aws::Structure
|
1144
1154
|
end
|
@@ -1268,12 +1278,18 @@ module Aws::AppSync
|
|
1268
1278
|
# A description of the `DomainName`.
|
1269
1279
|
# @return [String]
|
1270
1280
|
#
|
1281
|
+
# @!attribute [rw] tags
|
1282
|
+
# A map with keys of `TagKey` objects and values of `TagValue`
|
1283
|
+
# objects.
|
1284
|
+
# @return [Hash<String,String>]
|
1285
|
+
#
|
1271
1286
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDomainNameRequest AWS API Documentation
|
1272
1287
|
#
|
1273
1288
|
class CreateDomainNameRequest < Struct.new(
|
1274
1289
|
:domain_name,
|
1275
1290
|
:certificate_arn,
|
1276
|
-
:description
|
1291
|
+
:description,
|
1292
|
+
:tags)
|
1277
1293
|
SENSITIVE = []
|
1278
1294
|
include Aws::Structure
|
1279
1295
|
end
|
@@ -2271,6 +2287,15 @@ module Aws::AppSync
|
|
2271
2287
|
# The ID of your Amazon Route 53 hosted zone.
|
2272
2288
|
# @return [String]
|
2273
2289
|
#
|
2290
|
+
# @!attribute [rw] tags
|
2291
|
+
# A map with keys of `TagKey` objects and values of `TagValue`
|
2292
|
+
# objects.
|
2293
|
+
# @return [Hash<String,String>]
|
2294
|
+
#
|
2295
|
+
# @!attribute [rw] domain_name_arn
|
2296
|
+
# The Amazon Resource Name (ARN) of the domain name.
|
2297
|
+
# @return [String]
|
2298
|
+
#
|
2274
2299
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DomainNameConfig AWS API Documentation
|
2275
2300
|
#
|
2276
2301
|
class DomainNameConfig < Struct.new(
|
@@ -2278,7 +2303,9 @@ module Aws::AppSync
|
|
2278
2303
|
:description,
|
2279
2304
|
:certificate_arn,
|
2280
2305
|
:appsync_domain_name,
|
2281
|
-
:hosted_zone_id
|
2306
|
+
:hosted_zone_id,
|
2307
|
+
:tags,
|
2308
|
+
:domain_name_arn)
|
2282
2309
|
SENSITIVE = []
|
2283
2310
|
include Aws::Structure
|
2284
2311
|
end
|
@@ -3472,6 +3499,44 @@ module Aws::AppSync
|
|
3472
3499
|
include Aws::Structure
|
3473
3500
|
end
|
3474
3501
|
|
3502
|
+
# The configuration for a handler.
|
3503
|
+
#
|
3504
|
+
# @!attribute [rw] behavior
|
3505
|
+
# The behavior for the handler.
|
3506
|
+
# @return [String]
|
3507
|
+
#
|
3508
|
+
# @!attribute [rw] integration
|
3509
|
+
# The integration data source configuration for the handler.
|
3510
|
+
# @return [Types::Integration]
|
3511
|
+
#
|
3512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/HandlerConfig AWS API Documentation
|
3513
|
+
#
|
3514
|
+
class HandlerConfig < Struct.new(
|
3515
|
+
:behavior,
|
3516
|
+
:integration)
|
3517
|
+
SENSITIVE = []
|
3518
|
+
include Aws::Structure
|
3519
|
+
end
|
3520
|
+
|
3521
|
+
# The configuration for the `OnPublish` and `OnSubscribe` handlers.
|
3522
|
+
#
|
3523
|
+
# @!attribute [rw] on_publish
|
3524
|
+
# The configuration for the `OnPublish` handler.
|
3525
|
+
# @return [Types::HandlerConfig]
|
3526
|
+
#
|
3527
|
+
# @!attribute [rw] on_subscribe
|
3528
|
+
# The configuration for the `OnSubscribe` handler.
|
3529
|
+
# @return [Types::HandlerConfig]
|
3530
|
+
#
|
3531
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/HandlerConfigs AWS API Documentation
|
3532
|
+
#
|
3533
|
+
class HandlerConfigs < Struct.new(
|
3534
|
+
:on_publish,
|
3535
|
+
:on_subscribe)
|
3536
|
+
SENSITIVE = []
|
3537
|
+
include Aws::Structure
|
3538
|
+
end
|
3539
|
+
|
3475
3540
|
# Describes an HTTP data source configuration.
|
3476
3541
|
#
|
3477
3542
|
# @!attribute [rw] endpoint
|
@@ -3495,6 +3560,26 @@ module Aws::AppSync
|
|
3495
3560
|
include Aws::Structure
|
3496
3561
|
end
|
3497
3562
|
|
3563
|
+
# The integration data source configuration for the handler.
|
3564
|
+
#
|
3565
|
+
# @!attribute [rw] data_source_name
|
3566
|
+
# The unique name of the data source that has been configured on the
|
3567
|
+
# API.
|
3568
|
+
# @return [String]
|
3569
|
+
#
|
3570
|
+
# @!attribute [rw] lambda_config
|
3571
|
+
# The configuration for a Lambda data source.
|
3572
|
+
# @return [Types::LambdaConfig]
|
3573
|
+
#
|
3574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Integration AWS API Documentation
|
3575
|
+
#
|
3576
|
+
class Integration < Struct.new(
|
3577
|
+
:data_source_name,
|
3578
|
+
:lambda_config)
|
3579
|
+
SENSITIVE = []
|
3580
|
+
include Aws::Structure
|
3581
|
+
end
|
3582
|
+
|
3498
3583
|
# An internal AppSync error occurred. Try your request again.
|
3499
3584
|
#
|
3500
3585
|
# @!attribute [rw] message
|
@@ -3551,6 +3636,20 @@ module Aws::AppSync
|
|
3551
3636
|
include Aws::Structure
|
3552
3637
|
end
|
3553
3638
|
|
3639
|
+
# The configuration for a Lambda data source.
|
3640
|
+
#
|
3641
|
+
# @!attribute [rw] invoke_type
|
3642
|
+
# The invocation type for a Lambda data source.
|
3643
|
+
# @return [String]
|
3644
|
+
#
|
3645
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/LambdaConfig AWS API Documentation
|
3646
|
+
#
|
3647
|
+
class LambdaConfig < Struct.new(
|
3648
|
+
:invoke_type)
|
3649
|
+
SENSITIVE = []
|
3650
|
+
include Aws::Structure
|
3651
|
+
end
|
3652
|
+
|
3554
3653
|
# The `LambdaConflictHandlerConfig` object when configuring `LAMBDA` as
|
3555
3654
|
# the Conflict Handler.
|
3556
3655
|
#
|
@@ -5148,6 +5247,10 @@ module Aws::AppSync
|
|
5148
5247
|
# process published events and subscribe requests.
|
5149
5248
|
# @return [String]
|
5150
5249
|
#
|
5250
|
+
# @!attribute [rw] handler_configs
|
5251
|
+
# The configuration for the `OnPublish` and `OnSubscribe` handlers.
|
5252
|
+
# @return [Types::HandlerConfigs]
|
5253
|
+
#
|
5151
5254
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateChannelNamespaceRequest AWS API Documentation
|
5152
5255
|
#
|
5153
5256
|
class UpdateChannelNamespaceRequest < Struct.new(
|
@@ -5155,7 +5258,8 @@ module Aws::AppSync
|
|
5155
5258
|
:name,
|
5156
5259
|
:subscribe_auth_modes,
|
5157
5260
|
:publish_auth_modes,
|
5158
|
-
:code_handlers
|
5261
|
+
:code_handlers,
|
5262
|
+
:handler_configs)
|
5159
5263
|
SENSITIVE = []
|
5160
5264
|
include Aws::Structure
|
5161
5265
|
end
|
data/lib/aws-sdk-appsync.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -219,7 +219,27 @@ module Aws
|
|
219
219
|
},
|
220
220
|
],
|
221
221
|
?code_handlers: ::String,
|
222
|
-
?tags: Hash[::String, ::String]
|
222
|
+
?tags: Hash[::String, ::String],
|
223
|
+
?handler_configs: {
|
224
|
+
on_publish: {
|
225
|
+
behavior: ("CODE" | "DIRECT"),
|
226
|
+
integration: {
|
227
|
+
data_source_name: ::String,
|
228
|
+
lambda_config: {
|
229
|
+
invoke_type: ("REQUEST_RESPONSE" | "EVENT")?
|
230
|
+
}?
|
231
|
+
}
|
232
|
+
}?,
|
233
|
+
on_subscribe: {
|
234
|
+
behavior: ("CODE" | "DIRECT"),
|
235
|
+
integration: {
|
236
|
+
data_source_name: ::String,
|
237
|
+
lambda_config: {
|
238
|
+
invoke_type: ("REQUEST_RESPONSE" | "EVENT")?
|
239
|
+
}?
|
240
|
+
}
|
241
|
+
}?
|
242
|
+
}
|
223
243
|
) -> _CreateChannelNamespaceResponseSuccess
|
224
244
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelNamespaceResponseSuccess
|
225
245
|
|
@@ -291,7 +311,8 @@ module Aws
|
|
291
311
|
def create_domain_name: (
|
292
312
|
domain_name: ::String,
|
293
313
|
certificate_arn: ::String,
|
294
|
-
?description: ::String
|
314
|
+
?description: ::String,
|
315
|
+
?tags: Hash[::String, ::String]
|
295
316
|
) -> _CreateDomainNameResponseSuccess
|
296
317
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainNameResponseSuccess
|
297
318
|
|
@@ -1116,7 +1137,27 @@ module Aws
|
|
1116
1137
|
auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
|
1117
1138
|
},
|
1118
1139
|
],
|
1119
|
-
?code_handlers: ::String
|
1140
|
+
?code_handlers: ::String,
|
1141
|
+
?handler_configs: {
|
1142
|
+
on_publish: {
|
1143
|
+
behavior: ("CODE" | "DIRECT"),
|
1144
|
+
integration: {
|
1145
|
+
data_source_name: ::String,
|
1146
|
+
lambda_config: {
|
1147
|
+
invoke_type: ("REQUEST_RESPONSE" | "EVENT")?
|
1148
|
+
}?
|
1149
|
+
}
|
1150
|
+
}?,
|
1151
|
+
on_subscribe: {
|
1152
|
+
behavior: ("CODE" | "DIRECT"),
|
1153
|
+
integration: {
|
1154
|
+
data_source_name: ::String,
|
1155
|
+
lambda_config: {
|
1156
|
+
invoke_type: ("REQUEST_RESPONSE" | "EVENT")?
|
1157
|
+
}?
|
1158
|
+
}
|
1159
|
+
}?
|
1160
|
+
}
|
1120
1161
|
) -> _UpdateChannelNamespaceResponseSuccess
|
1121
1162
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelNamespaceResponseSuccess
|
1122
1163
|
|
data/sig/types.rbs
CHANGED
@@ -173,6 +173,7 @@ module Aws::AppSync
|
|
173
173
|
attr_accessor channel_namespace_arn: ::String
|
174
174
|
attr_accessor created: ::Time
|
175
175
|
attr_accessor last_modified: ::Time
|
176
|
+
attr_accessor handler_configs: Types::HandlerConfigs
|
176
177
|
SENSITIVE: []
|
177
178
|
end
|
178
179
|
|
@@ -262,6 +263,7 @@ module Aws::AppSync
|
|
262
263
|
attr_accessor publish_auth_modes: ::Array[Types::AuthMode]
|
263
264
|
attr_accessor code_handlers: ::String
|
264
265
|
attr_accessor tags: ::Hash[::String, ::String]
|
266
|
+
attr_accessor handler_configs: Types::HandlerConfigs
|
265
267
|
SENSITIVE: []
|
266
268
|
end
|
267
269
|
|
@@ -296,6 +298,7 @@ module Aws::AppSync
|
|
296
298
|
attr_accessor domain_name: ::String
|
297
299
|
attr_accessor certificate_arn: ::String
|
298
300
|
attr_accessor description: ::String
|
301
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
299
302
|
SENSITIVE: []
|
300
303
|
end
|
301
304
|
|
@@ -568,6 +571,8 @@ module Aws::AppSync
|
|
568
571
|
attr_accessor certificate_arn: ::String
|
569
572
|
attr_accessor appsync_domain_name: ::String
|
570
573
|
attr_accessor hosted_zone_id: ::String
|
574
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
575
|
+
attr_accessor domain_name_arn: ::String
|
571
576
|
SENSITIVE: []
|
572
577
|
end
|
573
578
|
|
@@ -879,12 +884,30 @@ module Aws::AppSync
|
|
879
884
|
SENSITIVE: []
|
880
885
|
end
|
881
886
|
|
887
|
+
class HandlerConfig
|
888
|
+
attr_accessor behavior: ("CODE" | "DIRECT")
|
889
|
+
attr_accessor integration: Types::Integration
|
890
|
+
SENSITIVE: []
|
891
|
+
end
|
892
|
+
|
893
|
+
class HandlerConfigs
|
894
|
+
attr_accessor on_publish: Types::HandlerConfig
|
895
|
+
attr_accessor on_subscribe: Types::HandlerConfig
|
896
|
+
SENSITIVE: []
|
897
|
+
end
|
898
|
+
|
882
899
|
class HttpDataSourceConfig
|
883
900
|
attr_accessor endpoint: ::String
|
884
901
|
attr_accessor authorization_config: Types::AuthorizationConfig
|
885
902
|
SENSITIVE: []
|
886
903
|
end
|
887
904
|
|
905
|
+
class Integration
|
906
|
+
attr_accessor data_source_name: ::String
|
907
|
+
attr_accessor lambda_config: Types::LambdaConfig
|
908
|
+
SENSITIVE: []
|
909
|
+
end
|
910
|
+
|
888
911
|
class InternalFailureException
|
889
912
|
attr_accessor message: ::String
|
890
913
|
SENSITIVE: []
|
@@ -897,6 +920,11 @@ module Aws::AppSync
|
|
897
920
|
SENSITIVE: []
|
898
921
|
end
|
899
922
|
|
923
|
+
class LambdaConfig
|
924
|
+
attr_accessor invoke_type: ("REQUEST_RESPONSE" | "EVENT")
|
925
|
+
SENSITIVE: []
|
926
|
+
end
|
927
|
+
|
900
928
|
class LambdaConflictHandlerConfig
|
901
929
|
attr_accessor lambda_conflict_handler_arn: ::String
|
902
930
|
SENSITIVE: []
|
@@ -1319,6 +1347,7 @@ module Aws::AppSync
|
|
1319
1347
|
attr_accessor subscribe_auth_modes: ::Array[Types::AuthMode]
|
1320
1348
|
attr_accessor publish_auth_modes: ::Array[Types::AuthMode]
|
1321
1349
|
attr_accessor code_handlers: ::String
|
1350
|
+
attr_accessor handler_configs: Types::HandlerConfigs
|
1322
1351
|
SENSITIVE: []
|
1323
1352
|
end
|
1324
1353
|
|
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.103.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: 2025-
|
11
|
+
date: 2025-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|