aws-sdk-appsync 1.57.0 → 1.58.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: 4cf642b1868b642b0c90582b796321f8930a903ec69657c0d678ff8efc85566a
4
- data.tar.gz: dd57ce564a0c23ae1ad78afce139b10b876c2df355c056236945d071b103cff5
3
+ metadata.gz: 2724bba5843950069940251eeed63a2798c0480cbb589d62f5d17e38fe86d10a
4
+ data.tar.gz: 1a8f57557922a462a8b7febe4e1528cb792efdbd011ecdfdb1f291b119237849
5
5
  SHA512:
6
- metadata.gz: ce17134eb6b09522eef5179c4d17935dfedb823c8996c1d099144d10f583fb934771f03ad0549ae4bfd172d2f0e590687bfeb1ed469a6225132fa95a81d80a63
7
- data.tar.gz: 4d0f7b4540a5ae4904f61235397341eab8c11c3df8e03e769d0d16eb336864273e34d3c38f48432d60215900cf4a09fd0368a7089e2af9e9404c50a14c84258f
6
+ metadata.gz: 0e508e2cbe9a83ff2259ef5669ae9ffe85db3427c7eabcb9b4b71b19a6f3b8498c9782a356271290547b7dd94f38581de21983b2785de9014e5a2d8348327229
7
+ data.tar.gz: 815e9d9c11bb0d481f43eb75927dd56fd8cb8942561aced5e4f268e934f46eb86f2a8194211750c29e66e6e38219f2a355e4627fa2684b5f68e8ddb294369f93
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2023-01-31)
5
+ ------------------
6
+
7
+ * Feature - This release introduces the feature to support EventBridge as AppSync data source.
8
+
4
9
  1.57.0 (2023-01-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.57.0
1
+ 1.58.0
@@ -587,6 +587,9 @@ module Aws::AppSync
587
587
  # @option params [Types::RelationalDatabaseDataSourceConfig] :relational_database_config
588
588
  # Relational database settings.
589
589
  #
590
+ # @option params [Types::EventBridgeDataSourceConfig] :event_bridge_config
591
+ # Amazon EventBridge settings.
592
+ #
590
593
  # @return [Types::CreateDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
591
594
  #
592
595
  # * {Types::CreateDataSourceResponse#data_source #data_source} => Types::DataSource
@@ -597,7 +600,7 @@ module Aws::AppSync
597
600
  # api_id: "String", # required
598
601
  # name: "ResourceName", # required
599
602
  # description: "String",
600
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE
603
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE, AMAZON_EVENTBRIDGE
601
604
  # service_role_arn: "String",
602
605
  # dynamodb_config: {
603
606
  # table_name: "String", # required
@@ -641,6 +644,9 @@ module Aws::AppSync
641
644
  # aws_secret_store_arn: "String",
642
645
  # },
643
646
  # },
647
+ # event_bridge_config: {
648
+ # event_bus_arn: "String", # required
649
+ # },
644
650
  # })
645
651
  #
646
652
  # @example Response structure
@@ -648,7 +654,7 @@ module Aws::AppSync
648
654
  # resp.data_source.data_source_arn #=> String
649
655
  # resp.data_source.name #=> String
650
656
  # resp.data_source.description #=> String
651
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
657
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE", "AMAZON_EVENTBRIDGE"
652
658
  # resp.data_source.service_role_arn #=> String
653
659
  # resp.data_source.dynamodb_config.table_name #=> String
654
660
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -672,6 +678,7 @@ module Aws::AppSync
672
678
  # resp.data_source.relational_database_config.rds_http_endpoint_config.database_name #=> String
673
679
  # resp.data_source.relational_database_config.rds_http_endpoint_config.schema #=> String
674
680
  # resp.data_source.relational_database_config.rds_http_endpoint_config.aws_secret_store_arn #=> String
681
+ # resp.data_source.event_bridge_config.event_bus_arn #=> String
675
682
  #
676
683
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSource AWS API Documentation
677
684
  #
@@ -1593,7 +1600,7 @@ module Aws::AppSync
1593
1600
  # resp.data_source.data_source_arn #=> String
1594
1601
  # resp.data_source.name #=> String
1595
1602
  # resp.data_source.description #=> String
1596
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
1603
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE", "AMAZON_EVENTBRIDGE"
1597
1604
  # resp.data_source.service_role_arn #=> String
1598
1605
  # resp.data_source.dynamodb_config.table_name #=> String
1599
1606
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -1617,6 +1624,7 @@ module Aws::AppSync
1617
1624
  # resp.data_source.relational_database_config.rds_http_endpoint_config.database_name #=> String
1618
1625
  # resp.data_source.relational_database_config.rds_http_endpoint_config.schema #=> String
1619
1626
  # resp.data_source.relational_database_config.rds_http_endpoint_config.aws_secret_store_arn #=> String
1627
+ # resp.data_source.event_bridge_config.event_bus_arn #=> String
1620
1628
  #
1621
1629
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetDataSource AWS API Documentation
1622
1630
  #
@@ -2012,7 +2020,7 @@ module Aws::AppSync
2012
2020
  # resp.data_sources[0].data_source_arn #=> String
2013
2021
  # resp.data_sources[0].name #=> String
2014
2022
  # resp.data_sources[0].description #=> String
2015
- # resp.data_sources[0].type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
2023
+ # resp.data_sources[0].type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE", "AMAZON_EVENTBRIDGE"
2016
2024
  # resp.data_sources[0].service_role_arn #=> String
2017
2025
  # resp.data_sources[0].dynamodb_config.table_name #=> String
2018
2026
  # resp.data_sources[0].dynamodb_config.aws_region #=> String
@@ -2036,6 +2044,7 @@ module Aws::AppSync
2036
2044
  # resp.data_sources[0].relational_database_config.rds_http_endpoint_config.database_name #=> String
2037
2045
  # resp.data_sources[0].relational_database_config.rds_http_endpoint_config.schema #=> String
2038
2046
  # resp.data_sources[0].relational_database_config.rds_http_endpoint_config.aws_secret_store_arn #=> String
2047
+ # resp.data_sources[0].event_bridge_config.event_bus_arn #=> String
2039
2048
  # resp.next_token #=> String
2040
2049
  #
2041
2050
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListDataSources AWS API Documentation
@@ -2681,6 +2690,9 @@ module Aws::AppSync
2681
2690
  # @option params [Types::RelationalDatabaseDataSourceConfig] :relational_database_config
2682
2691
  # The new relational database configuration.
2683
2692
  #
2693
+ # @option params [Types::EventBridgeDataSourceConfig] :event_bridge_config
2694
+ # The new Amazon EventBridge settings.
2695
+ #
2684
2696
  # @return [Types::UpdateDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2685
2697
  #
2686
2698
  # * {Types::UpdateDataSourceResponse#data_source #data_source} => Types::DataSource
@@ -2691,7 +2703,7 @@ module Aws::AppSync
2691
2703
  # api_id: "String", # required
2692
2704
  # name: "ResourceName", # required
2693
2705
  # description: "String",
2694
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE
2706
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE, HTTP, RELATIONAL_DATABASE, AMAZON_OPENSEARCH_SERVICE, AMAZON_EVENTBRIDGE
2695
2707
  # service_role_arn: "String",
2696
2708
  # dynamodb_config: {
2697
2709
  # table_name: "String", # required
@@ -2735,6 +2747,9 @@ module Aws::AppSync
2735
2747
  # aws_secret_store_arn: "String",
2736
2748
  # },
2737
2749
  # },
2750
+ # event_bridge_config: {
2751
+ # event_bus_arn: "String", # required
2752
+ # },
2738
2753
  # })
2739
2754
  #
2740
2755
  # @example Response structure
@@ -2742,7 +2757,7 @@ module Aws::AppSync
2742
2757
  # resp.data_source.data_source_arn #=> String
2743
2758
  # resp.data_source.name #=> String
2744
2759
  # resp.data_source.description #=> String
2745
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE"
2760
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE", "HTTP", "RELATIONAL_DATABASE", "AMAZON_OPENSEARCH_SERVICE", "AMAZON_EVENTBRIDGE"
2746
2761
  # resp.data_source.service_role_arn #=> String
2747
2762
  # resp.data_source.dynamodb_config.table_name #=> String
2748
2763
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -2766,6 +2781,7 @@ module Aws::AppSync
2766
2781
  # resp.data_source.relational_database_config.rds_http_endpoint_config.database_name #=> String
2767
2782
  # resp.data_source.relational_database_config.rds_http_endpoint_config.schema #=> String
2768
2783
  # resp.data_source.relational_database_config.rds_http_endpoint_config.aws_secret_store_arn #=> String
2784
+ # resp.data_source.event_bridge_config.event_bus_arn #=> String
2769
2785
  #
2770
2786
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSource AWS API Documentation
2771
2787
  #
@@ -3240,7 +3256,7 @@ module Aws::AppSync
3240
3256
  params: params,
3241
3257
  config: config)
3242
3258
  context[:gem_name] = 'aws-sdk-appsync'
3243
- context[:gem_version] = '1.57.0'
3259
+ context[:gem_version] = '1.58.0'
3244
3260
  Seahorse::Client::Request.new(handlers, context)
3245
3261
  end
3246
3262
 
@@ -108,6 +108,7 @@ module Aws::AppSync
108
108
  EvaluateMappingTemplateRequest = Shapes::StructureShape.new(name: 'EvaluateMappingTemplateRequest')
109
109
  EvaluateMappingTemplateResponse = Shapes::StructureShape.new(name: 'EvaluateMappingTemplateResponse')
110
110
  EvaluationResult = Shapes::StringShape.new(name: 'EvaluationResult')
111
+ EventBridgeDataSourceConfig = Shapes::StructureShape.new(name: 'EventBridgeDataSourceConfig')
111
112
  FieldLogLevel = Shapes::StringShape.new(name: 'FieldLogLevel')
112
113
  FlushApiCacheRequest = Shapes::StructureShape.new(name: 'FlushApiCacheRequest')
113
114
  FlushApiCacheResponse = Shapes::StructureShape.new(name: 'FlushApiCacheResponse')
@@ -345,6 +346,7 @@ module Aws::AppSync
345
346
  CreateDataSourceRequest.add_member(:open_search_service_config, Shapes::ShapeRef.new(shape: OpenSearchServiceDataSourceConfig, location_name: "openSearchServiceConfig"))
346
347
  CreateDataSourceRequest.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
347
348
  CreateDataSourceRequest.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
349
+ CreateDataSourceRequest.add_member(:event_bridge_config, Shapes::ShapeRef.new(shape: EventBridgeDataSourceConfig, location_name: "eventBridgeConfig"))
348
350
  CreateDataSourceRequest.struct_class = Types::CreateDataSourceRequest
349
351
 
350
352
  CreateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
@@ -425,6 +427,7 @@ module Aws::AppSync
425
427
  DataSource.add_member(:open_search_service_config, Shapes::ShapeRef.new(shape: OpenSearchServiceDataSourceConfig, location_name: "openSearchServiceConfig"))
426
428
  DataSource.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
427
429
  DataSource.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
430
+ DataSource.add_member(:event_bridge_config, Shapes::ShapeRef.new(shape: EventBridgeDataSourceConfig, location_name: "eventBridgeConfig"))
428
431
  DataSource.struct_class = Types::DataSource
429
432
 
430
433
  DataSources.member = Shapes::ShapeRef.new(shape: DataSource)
@@ -532,6 +535,9 @@ module Aws::AppSync
532
535
  EvaluateMappingTemplateResponse.add_member(:logs, Shapes::ShapeRef.new(shape: Logs, location_name: "logs"))
533
536
  EvaluateMappingTemplateResponse.struct_class = Types::EvaluateMappingTemplateResponse
534
537
 
538
+ EventBridgeDataSourceConfig.add_member(:event_bus_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "eventBusArn"))
539
+ EventBridgeDataSourceConfig.struct_class = Types::EventBridgeDataSourceConfig
540
+
535
541
  FlushApiCacheRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
536
542
  FlushApiCacheRequest.struct_class = Types::FlushApiCacheRequest
537
543
 
@@ -870,6 +876,7 @@ module Aws::AppSync
870
876
  UpdateDataSourceRequest.add_member(:open_search_service_config, Shapes::ShapeRef.new(shape: OpenSearchServiceDataSourceConfig, location_name: "openSearchServiceConfig"))
871
877
  UpdateDataSourceRequest.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
872
878
  UpdateDataSourceRequest.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
879
+ UpdateDataSourceRequest.add_member(:event_bridge_config, Shapes::ShapeRef.new(shape: EventBridgeDataSourceConfig, location_name: "eventBridgeConfig"))
873
880
  UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
874
881
 
875
882
  UpdateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
@@ -15,7 +15,7 @@ module Aws::AppSync
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
19
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
20
  raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
21
  end
@@ -748,6 +748,10 @@ module Aws::AppSync
748
748
  # Relational database settings.
749
749
  # @return [Types::RelationalDatabaseDataSourceConfig]
750
750
  #
751
+ # @!attribute [rw] event_bridge_config
752
+ # Amazon EventBridge settings.
753
+ # @return [Types::EventBridgeDataSourceConfig]
754
+ #
751
755
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateDataSourceRequest AWS API Documentation
752
756
  #
753
757
  class CreateDataSourceRequest < Struct.new(
@@ -761,7 +765,8 @@ module Aws::AppSync
761
765
  :elasticsearch_config,
762
766
  :open_search_service_config,
763
767
  :http_config,
764
- :relational_database_config)
768
+ :relational_database_config,
769
+ :event_bridge_config)
765
770
  SENSITIVE = []
766
771
  include Aws::Structure
767
772
  end
@@ -1140,6 +1145,9 @@ module Aws::AppSync
1140
1145
  # * **AMAZON\_OPENSEARCH\_SERVICE**\: The data source is an Amazon
1141
1146
  # OpenSearch Service domain.
1142
1147
  #
1148
+ # * **AMAZON\_EVENTBRIDGE**\: The data source is an Amazon EventBridge
1149
+ # configuration.
1150
+ #
1143
1151
  # * **NONE**\: There is no data source. Use this type when you want to
1144
1152
  # invoke a GraphQL operation without connecting to a data source,
1145
1153
  # such as when you're performing data transformation with resolvers
@@ -1181,6 +1189,10 @@ module Aws::AppSync
1181
1189
  # Relational database settings.
1182
1190
  # @return [Types::RelationalDatabaseDataSourceConfig]
1183
1191
  #
1192
+ # @!attribute [rw] event_bridge_config
1193
+ # Amazon EventBridge settings.
1194
+ # @return [Types::EventBridgeDataSourceConfig]
1195
+ #
1184
1196
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/DataSource AWS API Documentation
1185
1197
  #
1186
1198
  class DataSource < Struct.new(
@@ -1194,7 +1206,8 @@ module Aws::AppSync
1194
1206
  :elasticsearch_config,
1195
1207
  :open_search_service_config,
1196
1208
  :http_config,
1197
- :relational_database_config)
1209
+ :relational_database_config,
1210
+ :event_bridge_config)
1198
1211
  SENSITIVE = []
1199
1212
  include Aws::Structure
1200
1213
  end
@@ -1628,6 +1641,25 @@ module Aws::AppSync
1628
1641
  include Aws::Structure
1629
1642
  end
1630
1643
 
1644
+ # Describes an Amazon EventBridge bus data source configuration.
1645
+ #
1646
+ # @!attribute [rw] event_bus_arn
1647
+ # The ARN of the event bus. For more information about event buses,
1648
+ # see [Amazon EventBridge event buses][1].
1649
+ #
1650
+ #
1651
+ #
1652
+ # [1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html
1653
+ # @return [String]
1654
+ #
1655
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EventBridgeDataSourceConfig AWS API Documentation
1656
+ #
1657
+ class EventBridgeDataSourceConfig < Struct.new(
1658
+ :event_bus_arn)
1659
+ SENSITIVE = []
1660
+ include Aws::Structure
1661
+ end
1662
+
1631
1663
  # Represents the input of a `FlushApiCache` operation.
1632
1664
  #
1633
1665
  # @!attribute [rw] api_id
@@ -3220,6 +3252,10 @@ module Aws::AppSync
3220
3252
  # The new relational database configuration.
3221
3253
  # @return [Types::RelationalDatabaseDataSourceConfig]
3222
3254
  #
3255
+ # @!attribute [rw] event_bridge_config
3256
+ # The new Amazon EventBridge settings.
3257
+ # @return [Types::EventBridgeDataSourceConfig]
3258
+ #
3223
3259
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateDataSourceRequest AWS API Documentation
3224
3260
  #
3225
3261
  class UpdateDataSourceRequest < Struct.new(
@@ -3233,7 +3269,8 @@ module Aws::AppSync
3233
3269
  :elasticsearch_config,
3234
3270
  :open_search_service_config,
3235
3271
  :http_config,
3236
- :relational_database_config)
3272
+ :relational_database_config,
3273
+ :event_bridge_config)
3237
3274
  SENSITIVE = []
3238
3275
  include Aws::Structure
3239
3276
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-appsync/customizations'
52
52
  # @!group service
53
53
  module Aws::AppSync
54
54
 
55
- GEM_VERSION = '1.57.0'
55
+ GEM_VERSION = '1.58.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.57.0
4
+ version: 1.58.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core