aws-sdk-appsync 1.102.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3d105a956c76ef0cde999127d8299250ed1796554dd75ff676d3ee6faca4a6b
4
- data.tar.gz: '09eb1a2222398b69797aa426a75a8ed2d8584dd52d6ac6b3da2748527f23f075'
3
+ metadata.gz: b8141bc3ba1f6a98a666df3ad0ff1c71768f1143b95c49f9eab70317882b2bbc
4
+ data.tar.gz: 542a6d22d6585bbe3e2ec2c20490ffa4b5a29234f1764e7aeecc9383338dad09
5
5
  SHA512:
6
- metadata.gz: d6e64bf7cdf9b703c0a056db50a3693cf8ee2fd2b368cbc8dac22629ecc615e1c46af19aa4d60deb207642f1cd8a82f4f55411c595b3eaf4761f63b67fb6729a
7
- data.tar.gz: 20f9c698b85eb08ba58b60c59b856d5a11094645292af6a53eabf50589131a8344a1f3d399fe40c982915121024ce3d97923acf58501819e41f61e5498b1ff41
6
+ metadata.gz: 3593f839bfe0383b06d6439069d5b9e12061f56c7e1d406fa500ff58a3cbbdf057b00408be9a6fead437652a0cd851c3d2a2835147a576f334e0d6302a164a5f
7
+ data.tar.gz: 52fb1cf783ba9fd925b42af1072733629285e991ea3c1bd3547838f2bc980faead6193cfc773be99683a5b3bb8ab0f177329eece59e0114903eac9ec2d61f9a7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.102.0 (2025-03-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.102.0
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
  #
@@ -2356,6 +2385,12 @@ module Aws::AppSync
2356
2385
  # resp.channel_namespace.channel_namespace_arn #=> String
2357
2386
  # resp.channel_namespace.created #=> Time
2358
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"
2359
2394
  #
2360
2395
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetChannelNamespace AWS API Documentation
2361
2396
  #
@@ -3069,6 +3104,12 @@ module Aws::AppSync
3069
3104
  # resp.channel_namespaces[0].channel_namespace_arn #=> String
3070
3105
  # resp.channel_namespaces[0].created #=> Time
3071
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"
3072
3113
  # resp.next_token #=> String
3073
3114
  #
3074
3115
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListChannelNamespaces AWS API Documentation
@@ -4225,6 +4266,9 @@ module Aws::AppSync
4225
4266
  # The event handler functions that run custom business logic to process
4226
4267
  # published events and subscribe requests.
4227
4268
  #
4269
+ # @option params [Types::HandlerConfigs] :handler_configs
4270
+ # The configuration for the `OnPublish` and `OnSubscribe` handlers.
4271
+ #
4228
4272
  # @return [Types::UpdateChannelNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4229
4273
  #
4230
4274
  # * {Types::UpdateChannelNamespaceResponse#channel_namespace #channel_namespace} => Types::ChannelNamespace
@@ -4245,6 +4289,26 @@ module Aws::AppSync
4245
4289
  # },
4246
4290
  # ],
4247
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
+ # },
4248
4312
  # })
4249
4313
  #
4250
4314
  # @example Response structure
@@ -4261,6 +4325,12 @@ module Aws::AppSync
4261
4325
  # resp.channel_namespace.channel_namespace_arn #=> String
4262
4326
  # resp.channel_namespace.created #=> Time
4263
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"
4264
4334
  #
4265
4335
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateChannelNamespace AWS API Documentation
4266
4336
  #
@@ -5039,7 +5109,7 @@ module Aws::AppSync
5039
5109
  tracer: tracer
5040
5110
  )
5041
5111
  context[:gem_name] = 'aws-sdk-appsync'
5042
- context[:gem_version] = '1.102.0'
5112
+ context[:gem_version] = '1.103.0'
5043
5113
  Seahorse::Client::Request.new(handlers, context)
5044
5114
  end
5045
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"))
@@ -991,10 +999,22 @@ module Aws::AppSync
991
999
 
992
1000
  GraphqlApis.member = Shapes::ShapeRef.new(shape: GraphqlApi)
993
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
+
994
1010
  HttpDataSourceConfig.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
995
1011
  HttpDataSourceConfig.add_member(:authorization_config, Shapes::ShapeRef.new(shape: AuthorizationConfig, location_name: "authorizationConfig"))
996
1012
  HttpDataSourceConfig.struct_class = Types::HttpDataSourceConfig
997
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
+
998
1018
  InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
999
1019
  InternalFailureException.struct_class = Types::InternalFailureException
1000
1020
 
@@ -1003,6 +1023,9 @@ module Aws::AppSync
1003
1023
  LambdaAuthorizerConfig.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: String, location_name: "identityValidationExpression"))
1004
1024
  LambdaAuthorizerConfig.struct_class = Types::LambdaAuthorizerConfig
1005
1025
 
1026
+ LambdaConfig.add_member(:invoke_type, Shapes::ShapeRef.new(shape: InvokeType, location_name: "invokeType"))
1027
+ LambdaConfig.struct_class = Types::LambdaConfig
1028
+
1006
1029
  LambdaConflictHandlerConfig.add_member(:lambda_conflict_handler_arn, Shapes::ShapeRef.new(shape: String, location_name: "lambdaConflictHandlerArn"))
1007
1030
  LambdaConflictHandlerConfig.struct_class = Types::LambdaConflictHandlerConfig
1008
1031
 
@@ -1316,6 +1339,7 @@ module Aws::AppSync
1316
1339
  UpdateChannelNamespaceRequest.add_member(:subscribe_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "subscribeAuthModes"))
1317
1340
  UpdateChannelNamespaceRequest.add_member(:publish_auth_modes, Shapes::ShapeRef.new(shape: AuthModes, location_name: "publishAuthModes"))
1318
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"))
1319
1343
  UpdateChannelNamespaceRequest.struct_class = Types::UpdateChannelNamespaceRequest
1320
1344
 
1321
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
@@ -3489,6 +3499,44 @@ module Aws::AppSync
3489
3499
  include Aws::Structure
3490
3500
  end
3491
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
+
3492
3540
  # Describes an HTTP data source configuration.
3493
3541
  #
3494
3542
  # @!attribute [rw] endpoint
@@ -3512,6 +3560,26 @@ module Aws::AppSync
3512
3560
  include Aws::Structure
3513
3561
  end
3514
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
+
3515
3583
  # An internal AppSync error occurred. Try your request again.
3516
3584
  #
3517
3585
  # @!attribute [rw] message
@@ -3568,6 +3636,20 @@ module Aws::AppSync
3568
3636
  include Aws::Structure
3569
3637
  end
3570
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
+
3571
3653
  # The `LambdaConflictHandlerConfig` object when configuring `LAMBDA` as
3572
3654
  # the Conflict Handler.
3573
3655
  #
@@ -5165,6 +5247,10 @@ module Aws::AppSync
5165
5247
  # process published events and subscribe requests.
5166
5248
  # @return [String]
5167
5249
  #
5250
+ # @!attribute [rw] handler_configs
5251
+ # The configuration for the `OnPublish` and `OnSubscribe` handlers.
5252
+ # @return [Types::HandlerConfigs]
5253
+ #
5168
5254
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateChannelNamespaceRequest AWS API Documentation
5169
5255
  #
5170
5256
  class UpdateChannelNamespaceRequest < Struct.new(
@@ -5172,7 +5258,8 @@ module Aws::AppSync
5172
5258
  :name,
5173
5259
  :subscribe_auth_modes,
5174
5260
  :publish_auth_modes,
5175
- :code_handlers)
5261
+ :code_handlers,
5262
+ :handler_configs)
5176
5263
  SENSITIVE = []
5177
5264
  include Aws::Structure
5178
5265
  end
@@ -54,7 +54,7 @@ module Aws::AppSync
54
54
  autoload :EndpointProvider, 'aws-sdk-appsync/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-appsync/endpoints'
56
56
 
57
- GEM_VERSION = '1.102.0'
57
+ GEM_VERSION = '1.103.0'
58
58
 
59
59
  end
60
60
 
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
 
@@ -1117,7 +1137,27 @@ module Aws
1117
1137
  auth_type: ("API_KEY" | "AWS_IAM" | "AMAZON_COGNITO_USER_POOLS" | "OPENID_CONNECT" | "AWS_LAMBDA")
1118
1138
  },
1119
1139
  ],
1120
- ?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
+ }
1121
1161
  ) -> _UpdateChannelNamespaceResponseSuccess
1122
1162
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelNamespaceResponseSuccess
1123
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
 
@@ -882,12 +884,30 @@ module Aws::AppSync
882
884
  SENSITIVE: []
883
885
  end
884
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
+
885
899
  class HttpDataSourceConfig
886
900
  attr_accessor endpoint: ::String
887
901
  attr_accessor authorization_config: Types::AuthorizationConfig
888
902
  SENSITIVE: []
889
903
  end
890
904
 
905
+ class Integration
906
+ attr_accessor data_source_name: ::String
907
+ attr_accessor lambda_config: Types::LambdaConfig
908
+ SENSITIVE: []
909
+ end
910
+
891
911
  class InternalFailureException
892
912
  attr_accessor message: ::String
893
913
  SENSITIVE: []
@@ -900,6 +920,11 @@ module Aws::AppSync
900
920
  SENSITIVE: []
901
921
  end
902
922
 
923
+ class LambdaConfig
924
+ attr_accessor invoke_type: ("REQUEST_RESPONSE" | "EVENT")
925
+ SENSITIVE: []
926
+ end
927
+
903
928
  class LambdaConflictHandlerConfig
904
929
  attr_accessor lambda_conflict_handler_arn: ::String
905
930
  SENSITIVE: []
@@ -1322,6 +1347,7 @@ module Aws::AppSync
1322
1347
  attr_accessor subscribe_auth_modes: ::Array[Types::AuthMode]
1323
1348
  attr_accessor publish_auth_modes: ::Array[Types::AuthMode]
1324
1349
  attr_accessor code_handlers: ::String
1350
+ attr_accessor handler_configs: Types::HandlerConfigs
1325
1351
  SENSITIVE: []
1326
1352
  end
1327
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.102.0
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-03-18 00:00:00.000000000 Z
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