aws-sdk-elasticsearchservice 1.33.0 → 1.38.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: 4a998d74b60e5f8376949f614552e6fad7aad486b28f09b5dcef34f2a3c65e3e
4
- data.tar.gz: b7724a14dd1e9dcd958bfb61eaf89bfedf6d00872b4c0332655f093838d3bef2
3
+ metadata.gz: c64b7531643739548af61faacd87ba4d955762545effe04140887f0eb7fab468
4
+ data.tar.gz: f76e377df5e3f838ed15ec087ce554092bfe6eacc18790e7f5af0a65ead8998f
5
5
  SHA512:
6
- metadata.gz: 4daca1942ce2e614bb150a138ed38857f45f47c8c2ffc80771450dae7917326cc91bb49ce9ccfd2b724338888dc312da201570674f45908bba5b93e97ae7a7e5
7
- data.tar.gz: 807cec80368d3c5e8d562335b555b483c9fa029278903010f598f07ef339358bb73158f33cccb8dc1c72621e93d2663d09b56c983ee382cae6e398b39a53481a
6
+ metadata.gz: 7686ac90a34750dd38a84bcd1b6d59a73970efb6d4c729242174e05651a7179c50ac2fbd1d3fda1b058fbac57f27c06e39983ab428c35a231039d25078f462cb
7
+ data.tar.gz: ec02b6459986706130607cfdb729534eaaffc483ee83fd01eb68e2171432870346813cd54d84329cc00f05ee060d15a10b0fd664ae04bed326e5d9c4d064bfc6
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -25,7 +27,7 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
25
27
  # structure.
26
28
  #
27
29
  # elasticsearch_service = Aws::ElasticsearchService::Client.new
28
- # resp = elasticsearch_service.add_tags(params)
30
+ # resp = elasticsearch_service.accept_inbound_cross_cluster_search_connection(params)
29
31
  #
30
32
  # See {Client} for more information.
31
33
  #
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
45
47
  # @service
46
48
  module Aws::ElasticsearchService
47
49
 
48
- GEM_VERSION = '1.33.0'
50
+ GEM_VERSION = '1.38.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::ElasticsearchService
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -105,7 +109,7 @@ module Aws::ElasticsearchService
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -161,7 +165,7 @@ module Aws::ElasticsearchService
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::ElasticsearchService
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -308,6 +312,41 @@ module Aws::ElasticsearchService
308
312
 
309
313
  # @!group API Operations
310
314
 
315
+ # Allows the destination domain owner to accept an inbound cross-cluster
316
+ # search connection request.
317
+ #
318
+ # @option params [required, String] :cross_cluster_search_connection_id
319
+ # The id of the inbound connection that you want to accept.
320
+ #
321
+ # @return [Types::AcceptInboundCrossClusterSearchConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
322
+ #
323
+ # * {Types::AcceptInboundCrossClusterSearchConnectionResponse#cross_cluster_search_connection #cross_cluster_search_connection} => Types::InboundCrossClusterSearchConnection
324
+ #
325
+ # @example Request syntax with placeholder values
326
+ #
327
+ # resp = client.accept_inbound_cross_cluster_search_connection({
328
+ # cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
329
+ # })
330
+ #
331
+ # @example Response structure
332
+ #
333
+ # resp.cross_cluster_search_connection.source_domain_info.owner_id #=> String
334
+ # resp.cross_cluster_search_connection.source_domain_info.domain_name #=> String
335
+ # resp.cross_cluster_search_connection.source_domain_info.region #=> String
336
+ # resp.cross_cluster_search_connection.destination_domain_info.owner_id #=> String
337
+ # resp.cross_cluster_search_connection.destination_domain_info.domain_name #=> String
338
+ # resp.cross_cluster_search_connection.destination_domain_info.region #=> String
339
+ # resp.cross_cluster_search_connection.cross_cluster_search_connection_id #=> String
340
+ # resp.cross_cluster_search_connection.connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "APPROVED", "REJECTING", "REJECTED", "DELETING", "DELETED"
341
+ # resp.cross_cluster_search_connection.connection_status.message #=> String
342
+ #
343
+ # @overload accept_inbound_cross_cluster_search_connection(params = {})
344
+ # @param [Hash] params ({})
345
+ def accept_inbound_cross_cluster_search_connection(params = {}, options = {})
346
+ req = build_request(:accept_inbound_cross_cluster_search_connection, params)
347
+ req.send_request(options)
348
+ end
349
+
311
350
  # Attaches tags to an existing Elasticsearch domain. Tags are a set of
312
351
  # case-sensitive key value pairs. An Elasticsearch domain may have up to
313
352
  # 10 tags. See [ Tagging Amazon Elasticsearch Service Domains for more
@@ -646,6 +685,64 @@ module Aws::ElasticsearchService
646
685
  req.send_request(options)
647
686
  end
648
687
 
688
+ # Creates a new cross-cluster search connection from a source domain to
689
+ # a destination domain.
690
+ #
691
+ # @option params [required, Types::DomainInformation] :source_domain_info
692
+ # Specifies the `DomainInformation` for the source Elasticsearch domain.
693
+ #
694
+ # @option params [required, Types::DomainInformation] :destination_domain_info
695
+ # Specifies the `DomainInformation` for the destination Elasticsearch
696
+ # domain.
697
+ #
698
+ # @option params [required, String] :connection_alias
699
+ # Specifies the connection alias that will be used by the customer for
700
+ # this connection.
701
+ #
702
+ # @return [Types::CreateOutboundCrossClusterSearchConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
703
+ #
704
+ # * {Types::CreateOutboundCrossClusterSearchConnectionResponse#source_domain_info #source_domain_info} => Types::DomainInformation
705
+ # * {Types::CreateOutboundCrossClusterSearchConnectionResponse#destination_domain_info #destination_domain_info} => Types::DomainInformation
706
+ # * {Types::CreateOutboundCrossClusterSearchConnectionResponse#connection_alias #connection_alias} => String
707
+ # * {Types::CreateOutboundCrossClusterSearchConnectionResponse#connection_status #connection_status} => Types::OutboundCrossClusterSearchConnectionStatus
708
+ # * {Types::CreateOutboundCrossClusterSearchConnectionResponse#cross_cluster_search_connection_id #cross_cluster_search_connection_id} => String
709
+ #
710
+ # @example Request syntax with placeholder values
711
+ #
712
+ # resp = client.create_outbound_cross_cluster_search_connection({
713
+ # source_domain_info: { # required
714
+ # owner_id: "OwnerId",
715
+ # domain_name: "DomainName", # required
716
+ # region: "Region",
717
+ # },
718
+ # destination_domain_info: { # required
719
+ # owner_id: "OwnerId",
720
+ # domain_name: "DomainName", # required
721
+ # region: "Region",
722
+ # },
723
+ # connection_alias: "ConnectionAlias", # required
724
+ # })
725
+ #
726
+ # @example Response structure
727
+ #
728
+ # resp.source_domain_info.owner_id #=> String
729
+ # resp.source_domain_info.domain_name #=> String
730
+ # resp.source_domain_info.region #=> String
731
+ # resp.destination_domain_info.owner_id #=> String
732
+ # resp.destination_domain_info.domain_name #=> String
733
+ # resp.destination_domain_info.region #=> String
734
+ # resp.connection_alias #=> String
735
+ # resp.connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "VALIDATING", "VALIDATION_FAILED", "PROVISIONING", "ACTIVE", "REJECTED", "DELETING", "DELETED"
736
+ # resp.connection_status.message #=> String
737
+ # resp.cross_cluster_search_connection_id #=> String
738
+ #
739
+ # @overload create_outbound_cross_cluster_search_connection(params = {})
740
+ # @param [Hash] params ({})
741
+ def create_outbound_cross_cluster_search_connection(params = {}, options = {})
742
+ req = build_request(:create_outbound_cross_cluster_search_connection, params)
743
+ req.send_request(options)
744
+ end
745
+
649
746
  # Create a package for use with Amazon ES domains.
650
747
  #
651
748
  # @option params [required, String] :package_name
@@ -799,6 +896,77 @@ module Aws::ElasticsearchService
799
896
  req.send_request(options)
800
897
  end
801
898
 
899
+ # Allows the destination domain owner to delete an existing inbound
900
+ # cross-cluster search connection.
901
+ #
902
+ # @option params [required, String] :cross_cluster_search_connection_id
903
+ # The id of the inbound connection that you want to permanently delete.
904
+ #
905
+ # @return [Types::DeleteInboundCrossClusterSearchConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
906
+ #
907
+ # * {Types::DeleteInboundCrossClusterSearchConnectionResponse#cross_cluster_search_connection #cross_cluster_search_connection} => Types::InboundCrossClusterSearchConnection
908
+ #
909
+ # @example Request syntax with placeholder values
910
+ #
911
+ # resp = client.delete_inbound_cross_cluster_search_connection({
912
+ # cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
913
+ # })
914
+ #
915
+ # @example Response structure
916
+ #
917
+ # resp.cross_cluster_search_connection.source_domain_info.owner_id #=> String
918
+ # resp.cross_cluster_search_connection.source_domain_info.domain_name #=> String
919
+ # resp.cross_cluster_search_connection.source_domain_info.region #=> String
920
+ # resp.cross_cluster_search_connection.destination_domain_info.owner_id #=> String
921
+ # resp.cross_cluster_search_connection.destination_domain_info.domain_name #=> String
922
+ # resp.cross_cluster_search_connection.destination_domain_info.region #=> String
923
+ # resp.cross_cluster_search_connection.cross_cluster_search_connection_id #=> String
924
+ # resp.cross_cluster_search_connection.connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "APPROVED", "REJECTING", "REJECTED", "DELETING", "DELETED"
925
+ # resp.cross_cluster_search_connection.connection_status.message #=> String
926
+ #
927
+ # @overload delete_inbound_cross_cluster_search_connection(params = {})
928
+ # @param [Hash] params ({})
929
+ def delete_inbound_cross_cluster_search_connection(params = {}, options = {})
930
+ req = build_request(:delete_inbound_cross_cluster_search_connection, params)
931
+ req.send_request(options)
932
+ end
933
+
934
+ # Allows the source domain owner to delete an existing outbound
935
+ # cross-cluster search connection.
936
+ #
937
+ # @option params [required, String] :cross_cluster_search_connection_id
938
+ # The id of the outbound connection that you want to permanently delete.
939
+ #
940
+ # @return [Types::DeleteOutboundCrossClusterSearchConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
941
+ #
942
+ # * {Types::DeleteOutboundCrossClusterSearchConnectionResponse#cross_cluster_search_connection #cross_cluster_search_connection} => Types::OutboundCrossClusterSearchConnection
943
+ #
944
+ # @example Request syntax with placeholder values
945
+ #
946
+ # resp = client.delete_outbound_cross_cluster_search_connection({
947
+ # cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
948
+ # })
949
+ #
950
+ # @example Response structure
951
+ #
952
+ # resp.cross_cluster_search_connection.source_domain_info.owner_id #=> String
953
+ # resp.cross_cluster_search_connection.source_domain_info.domain_name #=> String
954
+ # resp.cross_cluster_search_connection.source_domain_info.region #=> String
955
+ # resp.cross_cluster_search_connection.destination_domain_info.owner_id #=> String
956
+ # resp.cross_cluster_search_connection.destination_domain_info.domain_name #=> String
957
+ # resp.cross_cluster_search_connection.destination_domain_info.region #=> String
958
+ # resp.cross_cluster_search_connection.cross_cluster_search_connection_id #=> String
959
+ # resp.cross_cluster_search_connection.connection_alias #=> String
960
+ # resp.cross_cluster_search_connection.connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "VALIDATING", "VALIDATION_FAILED", "PROVISIONING", "ACTIVE", "REJECTED", "DELETING", "DELETED"
961
+ # resp.cross_cluster_search_connection.connection_status.message #=> String
962
+ #
963
+ # @overload delete_outbound_cross_cluster_search_connection(params = {})
964
+ # @param [Hash] params ({})
965
+ def delete_outbound_cross_cluster_search_connection(params = {}, options = {})
966
+ req = build_request(:delete_outbound_cross_cluster_search_connection, params)
967
+ req.send_request(options)
968
+ end
969
+
802
970
  # Delete the package.
803
971
  #
804
972
  # @option params [required, String] :package_id
@@ -1188,6 +1356,129 @@ module Aws::ElasticsearchService
1188
1356
  req.send_request(options)
1189
1357
  end
1190
1358
 
1359
+ # Lists all the inbound cross-cluster search connections for a
1360
+ # destination domain.
1361
+ #
1362
+ # @option params [Array<Types::Filter>] :filters
1363
+ # A list of filters used to match properties for inbound cross-cluster
1364
+ # search connection. Available `Filter` names for this operation are: *
1365
+ # cross-cluster-search-connection-id
1366
+ # * source-domain-info.domain-name
1367
+ # * source-domain-info.owner-id
1368
+ # * source-domain-info.region
1369
+ # * destination-domain-info.domain-name
1370
+ #
1371
+ # @option params [Integer] :max_results
1372
+ # Set this value to limit the number of results returned. If not
1373
+ # specified, defaults to 100.
1374
+ #
1375
+ # @option params [String] :next_token
1376
+ # NextToken is sent in case the earlier API call results contain the
1377
+ # NextToken. It is used for pagination.
1378
+ #
1379
+ # @return [Types::DescribeInboundCrossClusterSearchConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1380
+ #
1381
+ # * {Types::DescribeInboundCrossClusterSearchConnectionsResponse#cross_cluster_search_connections #cross_cluster_search_connections} => Array&lt;Types::InboundCrossClusterSearchConnection&gt;
1382
+ # * {Types::DescribeInboundCrossClusterSearchConnectionsResponse#next_token #next_token} => String
1383
+ #
1384
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1385
+ #
1386
+ # @example Request syntax with placeholder values
1387
+ #
1388
+ # resp = client.describe_inbound_cross_cluster_search_connections({
1389
+ # filters: [
1390
+ # {
1391
+ # name: "NonEmptyString",
1392
+ # values: ["NonEmptyString"],
1393
+ # },
1394
+ # ],
1395
+ # max_results: 1,
1396
+ # next_token: "NextToken",
1397
+ # })
1398
+ #
1399
+ # @example Response structure
1400
+ #
1401
+ # resp.cross_cluster_search_connections #=> Array
1402
+ # resp.cross_cluster_search_connections[0].source_domain_info.owner_id #=> String
1403
+ # resp.cross_cluster_search_connections[0].source_domain_info.domain_name #=> String
1404
+ # resp.cross_cluster_search_connections[0].source_domain_info.region #=> String
1405
+ # resp.cross_cluster_search_connections[0].destination_domain_info.owner_id #=> String
1406
+ # resp.cross_cluster_search_connections[0].destination_domain_info.domain_name #=> String
1407
+ # resp.cross_cluster_search_connections[0].destination_domain_info.region #=> String
1408
+ # resp.cross_cluster_search_connections[0].cross_cluster_search_connection_id #=> String
1409
+ # resp.cross_cluster_search_connections[0].connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "APPROVED", "REJECTING", "REJECTED", "DELETING", "DELETED"
1410
+ # resp.cross_cluster_search_connections[0].connection_status.message #=> String
1411
+ # resp.next_token #=> String
1412
+ #
1413
+ # @overload describe_inbound_cross_cluster_search_connections(params = {})
1414
+ # @param [Hash] params ({})
1415
+ def describe_inbound_cross_cluster_search_connections(params = {}, options = {})
1416
+ req = build_request(:describe_inbound_cross_cluster_search_connections, params)
1417
+ req.send_request(options)
1418
+ end
1419
+
1420
+ # Lists all the outbound cross-cluster search connections for a source
1421
+ # domain.
1422
+ #
1423
+ # @option params [Array<Types::Filter>] :filters
1424
+ # A list of filters used to match properties for outbound cross-cluster
1425
+ # search connection. Available `Filter` names for this operation are: *
1426
+ # cross-cluster-search-connection-id
1427
+ # * destination-domain-info.domain-name
1428
+ # * destination-domain-info.owner-id
1429
+ # * destination-domain-info.region
1430
+ # * source-domain-info.domain-name
1431
+ #
1432
+ # @option params [Integer] :max_results
1433
+ # Set this value to limit the number of results returned. If not
1434
+ # specified, defaults to 100.
1435
+ #
1436
+ # @option params [String] :next_token
1437
+ # NextToken is sent in case the earlier API call results contain the
1438
+ # NextToken. It is used for pagination.
1439
+ #
1440
+ # @return [Types::DescribeOutboundCrossClusterSearchConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1441
+ #
1442
+ # * {Types::DescribeOutboundCrossClusterSearchConnectionsResponse#cross_cluster_search_connections #cross_cluster_search_connections} => Array&lt;Types::OutboundCrossClusterSearchConnection&gt;
1443
+ # * {Types::DescribeOutboundCrossClusterSearchConnectionsResponse#next_token #next_token} => String
1444
+ #
1445
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1446
+ #
1447
+ # @example Request syntax with placeholder values
1448
+ #
1449
+ # resp = client.describe_outbound_cross_cluster_search_connections({
1450
+ # filters: [
1451
+ # {
1452
+ # name: "NonEmptyString",
1453
+ # values: ["NonEmptyString"],
1454
+ # },
1455
+ # ],
1456
+ # max_results: 1,
1457
+ # next_token: "NextToken",
1458
+ # })
1459
+ #
1460
+ # @example Response structure
1461
+ #
1462
+ # resp.cross_cluster_search_connections #=> Array
1463
+ # resp.cross_cluster_search_connections[0].source_domain_info.owner_id #=> String
1464
+ # resp.cross_cluster_search_connections[0].source_domain_info.domain_name #=> String
1465
+ # resp.cross_cluster_search_connections[0].source_domain_info.region #=> String
1466
+ # resp.cross_cluster_search_connections[0].destination_domain_info.owner_id #=> String
1467
+ # resp.cross_cluster_search_connections[0].destination_domain_info.domain_name #=> String
1468
+ # resp.cross_cluster_search_connections[0].destination_domain_info.region #=> String
1469
+ # resp.cross_cluster_search_connections[0].cross_cluster_search_connection_id #=> String
1470
+ # resp.cross_cluster_search_connections[0].connection_alias #=> String
1471
+ # resp.cross_cluster_search_connections[0].connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "VALIDATING", "VALIDATION_FAILED", "PROVISIONING", "ACTIVE", "REJECTED", "DELETING", "DELETED"
1472
+ # resp.cross_cluster_search_connections[0].connection_status.message #=> String
1473
+ # resp.next_token #=> String
1474
+ #
1475
+ # @overload describe_outbound_cross_cluster_search_connections(params = {})
1476
+ # @param [Hash] params ({})
1477
+ def describe_outbound_cross_cluster_search_connections(params = {}, options = {})
1478
+ req = build_request(:describe_outbound_cross_cluster_search_connections, params)
1479
+ req.send_request(options)
1480
+ end
1481
+
1191
1482
  # Describes all packages available to Amazon ES. Includes options for
1192
1483
  # filtering, limiting the number of results, and pagination.
1193
1484
  #
@@ -1782,6 +2073,41 @@ module Aws::ElasticsearchService
1782
2073
  req.send_request(options)
1783
2074
  end
1784
2075
 
2076
+ # Allows the destination domain owner to reject an inbound cross-cluster
2077
+ # search connection request.
2078
+ #
2079
+ # @option params [required, String] :cross_cluster_search_connection_id
2080
+ # The id of the inbound connection that you want to reject.
2081
+ #
2082
+ # @return [Types::RejectInboundCrossClusterSearchConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2083
+ #
2084
+ # * {Types::RejectInboundCrossClusterSearchConnectionResponse#cross_cluster_search_connection #cross_cluster_search_connection} => Types::InboundCrossClusterSearchConnection
2085
+ #
2086
+ # @example Request syntax with placeholder values
2087
+ #
2088
+ # resp = client.reject_inbound_cross_cluster_search_connection({
2089
+ # cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
2090
+ # })
2091
+ #
2092
+ # @example Response structure
2093
+ #
2094
+ # resp.cross_cluster_search_connection.source_domain_info.owner_id #=> String
2095
+ # resp.cross_cluster_search_connection.source_domain_info.domain_name #=> String
2096
+ # resp.cross_cluster_search_connection.source_domain_info.region #=> String
2097
+ # resp.cross_cluster_search_connection.destination_domain_info.owner_id #=> String
2098
+ # resp.cross_cluster_search_connection.destination_domain_info.domain_name #=> String
2099
+ # resp.cross_cluster_search_connection.destination_domain_info.region #=> String
2100
+ # resp.cross_cluster_search_connection.cross_cluster_search_connection_id #=> String
2101
+ # resp.cross_cluster_search_connection.connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "APPROVED", "REJECTING", "REJECTED", "DELETING", "DELETED"
2102
+ # resp.cross_cluster_search_connection.connection_status.message #=> String
2103
+ #
2104
+ # @overload reject_inbound_cross_cluster_search_connection(params = {})
2105
+ # @param [Hash] params ({})
2106
+ def reject_inbound_cross_cluster_search_connection(params = {}, options = {})
2107
+ req = build_request(:reject_inbound_cross_cluster_search_connection, params)
2108
+ req.send_request(options)
2109
+ end
2110
+
1785
2111
  # Removes the specified set of tags from the specified Elasticsearch
1786
2112
  # domain.
1787
2113
  #
@@ -2141,7 +2467,7 @@ module Aws::ElasticsearchService
2141
2467
  params: params,
2142
2468
  config: config)
2143
2469
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
2144
- context[:gem_version] = '1.33.0'
2470
+ context[:gem_version] = '1.38.0'
2145
2471
  Seahorse::Client::Request.new(handlers, context)
2146
2472
  end
2147
2473
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -12,6 +14,8 @@ module Aws::ElasticsearchService
12
14
  include Seahorse::Model
13
15
 
14
16
  ARN = Shapes::StringShape.new(name: 'ARN')
17
+ AcceptInboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'AcceptInboundCrossClusterSearchConnectionRequest')
18
+ AcceptInboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'AcceptInboundCrossClusterSearchConnectionResponse')
15
19
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
20
  AccessPoliciesStatus = Shapes::StructureShape.new(name: 'AccessPoliciesStatus')
17
21
  AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
@@ -34,13 +38,22 @@ module Aws::ElasticsearchService
34
38
  CompatibleElasticsearchVersionsList = Shapes::ListShape.new(name: 'CompatibleElasticsearchVersionsList')
35
39
  CompatibleVersionsMap = Shapes::StructureShape.new(name: 'CompatibleVersionsMap')
36
40
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
41
+ ConnectionAlias = Shapes::StringShape.new(name: 'ConnectionAlias')
37
42
  CreateElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainRequest')
38
43
  CreateElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'CreateElasticsearchDomainResponse')
44
+ CreateOutboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'CreateOutboundCrossClusterSearchConnectionRequest')
45
+ CreateOutboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'CreateOutboundCrossClusterSearchConnectionResponse')
39
46
  CreatePackageRequest = Shapes::StructureShape.new(name: 'CreatePackageRequest')
40
47
  CreatePackageResponse = Shapes::StructureShape.new(name: 'CreatePackageResponse')
41
48
  CreatedAt = Shapes::TimestampShape.new(name: 'CreatedAt')
49
+ CrossClusterSearchConnectionId = Shapes::StringShape.new(name: 'CrossClusterSearchConnectionId')
50
+ CrossClusterSearchConnectionStatusMessage = Shapes::StringShape.new(name: 'CrossClusterSearchConnectionStatusMessage')
42
51
  DeleteElasticsearchDomainRequest = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainRequest')
43
52
  DeleteElasticsearchDomainResponse = Shapes::StructureShape.new(name: 'DeleteElasticsearchDomainResponse')
53
+ DeleteInboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'DeleteInboundCrossClusterSearchConnectionRequest')
54
+ DeleteInboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'DeleteInboundCrossClusterSearchConnectionResponse')
55
+ DeleteOutboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'DeleteOutboundCrossClusterSearchConnectionRequest')
56
+ DeleteOutboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'DeleteOutboundCrossClusterSearchConnectionResponse')
44
57
  DeletePackageRequest = Shapes::StructureShape.new(name: 'DeletePackageRequest')
45
58
  DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
46
59
  DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
@@ -53,6 +66,10 @@ module Aws::ElasticsearchService
53
66
  DescribeElasticsearchDomainsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainsResponse')
54
67
  DescribeElasticsearchInstanceTypeLimitsRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchInstanceTypeLimitsRequest')
55
68
  DescribeElasticsearchInstanceTypeLimitsResponse = Shapes::StructureShape.new(name: 'DescribeElasticsearchInstanceTypeLimitsResponse')
69
+ DescribeInboundCrossClusterSearchConnectionsRequest = Shapes::StructureShape.new(name: 'DescribeInboundCrossClusterSearchConnectionsRequest')
70
+ DescribeInboundCrossClusterSearchConnectionsResponse = Shapes::StructureShape.new(name: 'DescribeInboundCrossClusterSearchConnectionsResponse')
71
+ DescribeOutboundCrossClusterSearchConnectionsRequest = Shapes::StructureShape.new(name: 'DescribeOutboundCrossClusterSearchConnectionsRequest')
72
+ DescribeOutboundCrossClusterSearchConnectionsResponse = Shapes::StructureShape.new(name: 'DescribeOutboundCrossClusterSearchConnectionsResponse')
56
73
  DescribePackagesFilter = Shapes::StructureShape.new(name: 'DescribePackagesFilter')
57
74
  DescribePackagesFilterList = Shapes::ListShape.new(name: 'DescribePackagesFilterList')
58
75
  DescribePackagesFilterName = Shapes::StringShape.new(name: 'DescribePackagesFilterName')
@@ -72,6 +89,7 @@ module Aws::ElasticsearchService
72
89
  DomainId = Shapes::StringShape.new(name: 'DomainId')
73
90
  DomainInfo = Shapes::StructureShape.new(name: 'DomainInfo')
74
91
  DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
92
+ DomainInformation = Shapes::StructureShape.new(name: 'DomainInformation')
75
93
  DomainName = Shapes::StringShape.new(name: 'DomainName')
76
94
  DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
77
95
  DomainPackageDetails = Shapes::StructureShape.new(name: 'DomainPackageDetails')
@@ -97,6 +115,8 @@ module Aws::ElasticsearchService
97
115
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
98
116
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
99
117
  ErrorType = Shapes::StringShape.new(name: 'ErrorType')
118
+ Filter = Shapes::StructureShape.new(name: 'Filter')
119
+ FilterList = Shapes::ListShape.new(name: 'FilterList')
100
120
  GUID = Shapes::StringShape.new(name: 'GUID')
101
121
  GetCompatibleElasticsearchVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsRequest')
102
122
  GetCompatibleElasticsearchVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleElasticsearchVersionsResponse')
@@ -105,6 +125,10 @@ module Aws::ElasticsearchService
105
125
  GetUpgradeStatusRequest = Shapes::StructureShape.new(name: 'GetUpgradeStatusRequest')
106
126
  GetUpgradeStatusResponse = Shapes::StructureShape.new(name: 'GetUpgradeStatusResponse')
107
127
  IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
128
+ InboundCrossClusterSearchConnection = Shapes::StructureShape.new(name: 'InboundCrossClusterSearchConnection')
129
+ InboundCrossClusterSearchConnectionStatus = Shapes::StructureShape.new(name: 'InboundCrossClusterSearchConnectionStatus')
130
+ InboundCrossClusterSearchConnectionStatusCode = Shapes::StringShape.new(name: 'InboundCrossClusterSearchConnectionStatusCode')
131
+ InboundCrossClusterSearchConnections = Shapes::ListShape.new(name: 'InboundCrossClusterSearchConnections')
108
132
  InstanceCount = Shapes::IntegerShape.new(name: 'InstanceCount')
109
133
  InstanceCountLimits = Shapes::StructureShape.new(name: 'InstanceCountLimits')
110
134
  InstanceLimits = Shapes::StructureShape.new(name: 'InstanceLimits')
@@ -112,6 +136,7 @@ module Aws::ElasticsearchService
112
136
  Integer = Shapes::IntegerShape.new(name: 'Integer')
113
137
  IntegerClass = Shapes::IntegerShape.new(name: 'IntegerClass')
114
138
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
139
+ InvalidPaginationTokenException = Shapes::StructureShape.new(name: 'InvalidPaginationTokenException')
115
140
  InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException')
116
141
  Issue = Shapes::StringShape.new(name: 'Issue')
117
142
  Issues = Shapes::ListShape.new(name: 'Issues')
@@ -145,8 +170,14 @@ module Aws::ElasticsearchService
145
170
  NextToken = Shapes::StringShape.new(name: 'NextToken')
146
171
  NodeToNodeEncryptionOptions = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptions')
147
172
  NodeToNodeEncryptionOptionsStatus = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptionsStatus')
173
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
148
174
  OptionState = Shapes::StringShape.new(name: 'OptionState')
149
175
  OptionStatus = Shapes::StructureShape.new(name: 'OptionStatus')
176
+ OutboundCrossClusterSearchConnection = Shapes::StructureShape.new(name: 'OutboundCrossClusterSearchConnection')
177
+ OutboundCrossClusterSearchConnectionStatus = Shapes::StructureShape.new(name: 'OutboundCrossClusterSearchConnectionStatus')
178
+ OutboundCrossClusterSearchConnectionStatusCode = Shapes::StringShape.new(name: 'OutboundCrossClusterSearchConnectionStatusCode')
179
+ OutboundCrossClusterSearchConnections = Shapes::ListShape.new(name: 'OutboundCrossClusterSearchConnections')
180
+ OwnerId = Shapes::StringShape.new(name: 'OwnerId')
150
181
  PackageDescription = Shapes::StringShape.new(name: 'PackageDescription')
151
182
  PackageDetails = Shapes::StructureShape.new(name: 'PackageDetails')
152
183
  PackageDetailsList = Shapes::ListShape.new(name: 'PackageDetailsList')
@@ -162,6 +193,9 @@ module Aws::ElasticsearchService
162
193
  RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
163
194
  RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
164
195
  ReferencePath = Shapes::StringShape.new(name: 'ReferencePath')
196
+ Region = Shapes::StringShape.new(name: 'Region')
197
+ RejectInboundCrossClusterSearchConnectionRequest = Shapes::StructureShape.new(name: 'RejectInboundCrossClusterSearchConnectionRequest')
198
+ RejectInboundCrossClusterSearchConnectionResponse = Shapes::StructureShape.new(name: 'RejectInboundCrossClusterSearchConnectionResponse')
165
199
  RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
166
200
  ReservationToken = Shapes::StringShape.new(name: 'ReservationToken')
167
201
  ReservedElasticsearchInstance = Shapes::StructureShape.new(name: 'ReservedElasticsearchInstance')
@@ -213,9 +247,16 @@ module Aws::ElasticsearchService
213
247
  VPCDerivedInfoStatus = Shapes::StructureShape.new(name: 'VPCDerivedInfoStatus')
214
248
  VPCOptions = Shapes::StructureShape.new(name: 'VPCOptions')
215
249
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
250
+ ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
216
251
  VolumeType = Shapes::StringShape.new(name: 'VolumeType')
217
252
  ZoneAwarenessConfig = Shapes::StructureShape.new(name: 'ZoneAwarenessConfig')
218
253
 
254
+ AcceptInboundCrossClusterSearchConnectionRequest.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
255
+ AcceptInboundCrossClusterSearchConnectionRequest.struct_class = Types::AcceptInboundCrossClusterSearchConnectionRequest
256
+
257
+ AcceptInboundCrossClusterSearchConnectionResponse.add_member(:cross_cluster_search_connection, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnection, location_name: "CrossClusterSearchConnection"))
258
+ AcceptInboundCrossClusterSearchConnectionResponse.struct_class = Types::AcceptInboundCrossClusterSearchConnectionResponse
259
+
219
260
  AccessDeniedException.struct_class = Types::AccessDeniedException
220
261
 
221
262
  AccessPoliciesStatus.add_member(:options, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "Options"))
@@ -305,6 +346,18 @@ module Aws::ElasticsearchService
305
346
  CreateElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
306
347
  CreateElasticsearchDomainResponse.struct_class = Types::CreateElasticsearchDomainResponse
307
348
 
349
+ CreateOutboundCrossClusterSearchConnectionRequest.add_member(:source_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, required: true, location_name: "SourceDomainInfo"))
350
+ CreateOutboundCrossClusterSearchConnectionRequest.add_member(:destination_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, required: true, location_name: "DestinationDomainInfo"))
351
+ CreateOutboundCrossClusterSearchConnectionRequest.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, required: true, location_name: "ConnectionAlias"))
352
+ CreateOutboundCrossClusterSearchConnectionRequest.struct_class = Types::CreateOutboundCrossClusterSearchConnectionRequest
353
+
354
+ CreateOutboundCrossClusterSearchConnectionResponse.add_member(:source_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "SourceDomainInfo"))
355
+ CreateOutboundCrossClusterSearchConnectionResponse.add_member(:destination_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "DestinationDomainInfo"))
356
+ CreateOutboundCrossClusterSearchConnectionResponse.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, location_name: "ConnectionAlias"))
357
+ CreateOutboundCrossClusterSearchConnectionResponse.add_member(:connection_status, Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnectionStatus, location_name: "ConnectionStatus"))
358
+ CreateOutboundCrossClusterSearchConnectionResponse.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, location_name: "CrossClusterSearchConnectionId"))
359
+ CreateOutboundCrossClusterSearchConnectionResponse.struct_class = Types::CreateOutboundCrossClusterSearchConnectionResponse
360
+
308
361
  CreatePackageRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location_name: "PackageName"))
309
362
  CreatePackageRequest.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, required: true, location_name: "PackageType"))
310
363
  CreatePackageRequest.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
@@ -320,6 +373,18 @@ module Aws::ElasticsearchService
320
373
  DeleteElasticsearchDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: ElasticsearchDomainStatus, location_name: "DomainStatus"))
321
374
  DeleteElasticsearchDomainResponse.struct_class = Types::DeleteElasticsearchDomainResponse
322
375
 
376
+ DeleteInboundCrossClusterSearchConnectionRequest.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
377
+ DeleteInboundCrossClusterSearchConnectionRequest.struct_class = Types::DeleteInboundCrossClusterSearchConnectionRequest
378
+
379
+ DeleteInboundCrossClusterSearchConnectionResponse.add_member(:cross_cluster_search_connection, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnection, location_name: "CrossClusterSearchConnection"))
380
+ DeleteInboundCrossClusterSearchConnectionResponse.struct_class = Types::DeleteInboundCrossClusterSearchConnectionResponse
381
+
382
+ DeleteOutboundCrossClusterSearchConnectionRequest.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
383
+ DeleteOutboundCrossClusterSearchConnectionRequest.struct_class = Types::DeleteOutboundCrossClusterSearchConnectionRequest
384
+
385
+ DeleteOutboundCrossClusterSearchConnectionResponse.add_member(:cross_cluster_search_connection, Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnection, location_name: "CrossClusterSearchConnection"))
386
+ DeleteOutboundCrossClusterSearchConnectionResponse.struct_class = Types::DeleteOutboundCrossClusterSearchConnectionResponse
387
+
323
388
  DeletePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
324
389
  DeletePackageRequest.struct_class = Types::DeletePackageRequest
325
390
 
@@ -352,6 +417,24 @@ module Aws::ElasticsearchService
352
417
  DescribeElasticsearchInstanceTypeLimitsResponse.add_member(:limits_by_role, Shapes::ShapeRef.new(shape: LimitsByRole, location_name: "LimitsByRole"))
353
418
  DescribeElasticsearchInstanceTypeLimitsResponse.struct_class = Types::DescribeElasticsearchInstanceTypeLimitsResponse
354
419
 
420
+ DescribeInboundCrossClusterSearchConnectionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
421
+ DescribeInboundCrossClusterSearchConnectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
422
+ DescribeInboundCrossClusterSearchConnectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
423
+ DescribeInboundCrossClusterSearchConnectionsRequest.struct_class = Types::DescribeInboundCrossClusterSearchConnectionsRequest
424
+
425
+ DescribeInboundCrossClusterSearchConnectionsResponse.add_member(:cross_cluster_search_connections, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnections, location_name: "CrossClusterSearchConnections"))
426
+ DescribeInboundCrossClusterSearchConnectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
427
+ DescribeInboundCrossClusterSearchConnectionsResponse.struct_class = Types::DescribeInboundCrossClusterSearchConnectionsResponse
428
+
429
+ DescribeOutboundCrossClusterSearchConnectionsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
430
+ DescribeOutboundCrossClusterSearchConnectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
431
+ DescribeOutboundCrossClusterSearchConnectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
432
+ DescribeOutboundCrossClusterSearchConnectionsRequest.struct_class = Types::DescribeOutboundCrossClusterSearchConnectionsRequest
433
+
434
+ DescribeOutboundCrossClusterSearchConnectionsResponse.add_member(:cross_cluster_search_connections, Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnections, location_name: "CrossClusterSearchConnections"))
435
+ DescribeOutboundCrossClusterSearchConnectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
436
+ DescribeOutboundCrossClusterSearchConnectionsResponse.struct_class = Types::DescribeOutboundCrossClusterSearchConnectionsResponse
437
+
355
438
  DescribePackagesFilter.add_member(:name, Shapes::ShapeRef.new(shape: DescribePackagesFilterName, location_name: "Name"))
356
439
  DescribePackagesFilter.add_member(:value, Shapes::ShapeRef.new(shape: DescribePackagesFilterValues, location_name: "Value"))
357
440
  DescribePackagesFilter.struct_class = Types::DescribePackagesFilter
@@ -409,6 +492,11 @@ module Aws::ElasticsearchService
409
492
 
410
493
  DomainInfoList.member = Shapes::ShapeRef.new(shape: DomainInfo)
411
494
 
495
+ DomainInformation.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
496
+ DomainInformation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
497
+ DomainInformation.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
498
+ DomainInformation.struct_class = Types::DomainInformation
499
+
412
500
  DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
413
501
 
414
502
  DomainPackageDetails.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, location_name: "PackageID"))
@@ -514,6 +602,12 @@ module Aws::ElasticsearchService
514
602
  ErrorDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
515
603
  ErrorDetails.struct_class = Types::ErrorDetails
516
604
 
605
+ Filter.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Name"))
606
+ Filter.add_member(:values, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "Values"))
607
+ Filter.struct_class = Types::Filter
608
+
609
+ FilterList.member = Shapes::ShapeRef.new(shape: Filter)
610
+
517
611
  GetCompatibleElasticsearchVersionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location: "querystring", location_name: "domainName"))
518
612
  GetCompatibleElasticsearchVersionsRequest.struct_class = Types::GetCompatibleElasticsearchVersionsRequest
519
613
 
@@ -537,6 +631,18 @@ module Aws::ElasticsearchService
537
631
  GetUpgradeStatusResponse.add_member(:upgrade_name, Shapes::ShapeRef.new(shape: UpgradeName, location_name: "UpgradeName"))
538
632
  GetUpgradeStatusResponse.struct_class = Types::GetUpgradeStatusResponse
539
633
 
634
+ InboundCrossClusterSearchConnection.add_member(:source_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "SourceDomainInfo"))
635
+ InboundCrossClusterSearchConnection.add_member(:destination_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "DestinationDomainInfo"))
636
+ InboundCrossClusterSearchConnection.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, location_name: "CrossClusterSearchConnectionId"))
637
+ InboundCrossClusterSearchConnection.add_member(:connection_status, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnectionStatus, location_name: "ConnectionStatus"))
638
+ InboundCrossClusterSearchConnection.struct_class = Types::InboundCrossClusterSearchConnection
639
+
640
+ InboundCrossClusterSearchConnectionStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnectionStatusCode, location_name: "StatusCode"))
641
+ InboundCrossClusterSearchConnectionStatus.add_member(:message, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionStatusMessage, location_name: "Message"))
642
+ InboundCrossClusterSearchConnectionStatus.struct_class = Types::InboundCrossClusterSearchConnectionStatus
643
+
644
+ InboundCrossClusterSearchConnections.member = Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnection)
645
+
540
646
  InstanceCountLimits.add_member(:minimum_instance_count, Shapes::ShapeRef.new(shape: MinimumInstanceCount, location_name: "MinimumInstanceCount"))
541
647
  InstanceCountLimits.add_member(:maximum_instance_count, Shapes::ShapeRef.new(shape: MaximumInstanceCount, location_name: "MaximumInstanceCount"))
542
648
  InstanceCountLimits.struct_class = Types::InstanceCountLimits
@@ -546,6 +652,8 @@ module Aws::ElasticsearchService
546
652
 
547
653
  InternalException.struct_class = Types::InternalException
548
654
 
655
+ InvalidPaginationTokenException.struct_class = Types::InvalidPaginationTokenException
656
+
549
657
  InvalidTypeException.struct_class = Types::InvalidTypeException
550
658
 
551
659
  Issues.member = Shapes::ShapeRef.new(shape: Issue)
@@ -637,6 +745,19 @@ module Aws::ElasticsearchService
637
745
  OptionStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
638
746
  OptionStatus.struct_class = Types::OptionStatus
639
747
 
748
+ OutboundCrossClusterSearchConnection.add_member(:source_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "SourceDomainInfo"))
749
+ OutboundCrossClusterSearchConnection.add_member(:destination_domain_info, Shapes::ShapeRef.new(shape: DomainInformation, location_name: "DestinationDomainInfo"))
750
+ OutboundCrossClusterSearchConnection.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, location_name: "CrossClusterSearchConnectionId"))
751
+ OutboundCrossClusterSearchConnection.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, location_name: "ConnectionAlias"))
752
+ OutboundCrossClusterSearchConnection.add_member(:connection_status, Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnectionStatus, location_name: "ConnectionStatus"))
753
+ OutboundCrossClusterSearchConnection.struct_class = Types::OutboundCrossClusterSearchConnection
754
+
755
+ OutboundCrossClusterSearchConnectionStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnectionStatusCode, location_name: "StatusCode"))
756
+ OutboundCrossClusterSearchConnectionStatus.add_member(:message, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionStatusMessage, location_name: "Message"))
757
+ OutboundCrossClusterSearchConnectionStatus.struct_class = Types::OutboundCrossClusterSearchConnectionStatus
758
+
759
+ OutboundCrossClusterSearchConnections.member = Shapes::ShapeRef.new(shape: OutboundCrossClusterSearchConnection)
760
+
640
761
  PackageDetails.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, location_name: "PackageID"))
641
762
  PackageDetails.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "PackageName"))
642
763
  PackageDetails.add_member(:package_type, Shapes::ShapeRef.new(shape: PackageType, location_name: "PackageType"))
@@ -667,6 +788,12 @@ module Aws::ElasticsearchService
667
788
 
668
789
  RecurringChargeList.member = Shapes::ShapeRef.new(shape: RecurringCharge)
669
790
 
791
+ RejectInboundCrossClusterSearchConnectionRequest.add_member(:cross_cluster_search_connection_id, Shapes::ShapeRef.new(shape: CrossClusterSearchConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
792
+ RejectInboundCrossClusterSearchConnectionRequest.struct_class = Types::RejectInboundCrossClusterSearchConnectionRequest
793
+
794
+ RejectInboundCrossClusterSearchConnectionResponse.add_member(:cross_cluster_search_connection, Shapes::ShapeRef.new(shape: InboundCrossClusterSearchConnection, location_name: "CrossClusterSearchConnection"))
795
+ RejectInboundCrossClusterSearchConnectionResponse.struct_class = Types::RejectInboundCrossClusterSearchConnectionResponse
796
+
670
797
  RemoveTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
671
798
  RemoveTagsRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "TagKeys"))
672
799
  RemoveTagsRequest.struct_class = Types::RemoveTagsRequest
@@ -806,6 +933,8 @@ module Aws::ElasticsearchService
806
933
 
807
934
  ValidationException.struct_class = Types::ValidationException
808
935
 
936
+ ValueStringList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
937
+
809
938
  ZoneAwarenessConfig.add_member(:availability_zone_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AvailabilityZoneCount"))
810
939
  ZoneAwarenessConfig.struct_class = Types::ZoneAwarenessConfig
811
940
 
@@ -825,6 +954,17 @@ module Aws::ElasticsearchService
825
954
  "uid" => "es-2015-01-01",
826
955
  }
827
956
 
957
+ api.add_operation(:accept_inbound_cross_cluster_search_connection, Seahorse::Model::Operation.new.tap do |o|
958
+ o.name = "AcceptInboundCrossClusterSearchConnection"
959
+ o.http_method = "PUT"
960
+ o.http_request_uri = "/2015-01-01/es/ccs/inboundConnection/{ConnectionId}/accept"
961
+ o.input = Shapes::ShapeRef.new(shape: AcceptInboundCrossClusterSearchConnectionRequest)
962
+ o.output = Shapes::ShapeRef.new(shape: AcceptInboundCrossClusterSearchConnectionResponse)
963
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
964
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
965
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
966
+ end)
967
+
828
968
  api.add_operation(:add_tags, Seahorse::Model::Operation.new.tap do |o|
829
969
  o.name = "AddTags"
830
970
  o.http_method = "POST"
@@ -878,6 +1018,18 @@ module Aws::ElasticsearchService
878
1018
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
879
1019
  end)
880
1020
 
1021
+ api.add_operation(:create_outbound_cross_cluster_search_connection, Seahorse::Model::Operation.new.tap do |o|
1022
+ o.name = "CreateOutboundCrossClusterSearchConnection"
1023
+ o.http_method = "POST"
1024
+ o.http_request_uri = "/2015-01-01/es/ccs/outboundConnection"
1025
+ o.input = Shapes::ShapeRef.new(shape: CreateOutboundCrossClusterSearchConnectionRequest)
1026
+ o.output = Shapes::ShapeRef.new(shape: CreateOutboundCrossClusterSearchConnectionResponse)
1027
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1028
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1030
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1031
+ end)
1032
+
881
1033
  api.add_operation(:create_package, Seahorse::Model::Operation.new.tap do |o|
882
1034
  o.name = "CreatePackage"
883
1035
  o.http_method = "POST"
@@ -916,6 +1068,26 @@ module Aws::ElasticsearchService
916
1068
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
917
1069
  end)
918
1070
 
1071
+ api.add_operation(:delete_inbound_cross_cluster_search_connection, Seahorse::Model::Operation.new.tap do |o|
1072
+ o.name = "DeleteInboundCrossClusterSearchConnection"
1073
+ o.http_method = "DELETE"
1074
+ o.http_request_uri = "/2015-01-01/es/ccs/inboundConnection/{ConnectionId}"
1075
+ o.input = Shapes::ShapeRef.new(shape: DeleteInboundCrossClusterSearchConnectionRequest)
1076
+ o.output = Shapes::ShapeRef.new(shape: DeleteInboundCrossClusterSearchConnectionResponse)
1077
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1078
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1079
+ end)
1080
+
1081
+ api.add_operation(:delete_outbound_cross_cluster_search_connection, Seahorse::Model::Operation.new.tap do |o|
1082
+ o.name = "DeleteOutboundCrossClusterSearchConnection"
1083
+ o.http_method = "DELETE"
1084
+ o.http_request_uri = "/2015-01-01/es/ccs/outboundConnection/{ConnectionId}"
1085
+ o.input = Shapes::ShapeRef.new(shape: DeleteOutboundCrossClusterSearchConnectionRequest)
1086
+ o.output = Shapes::ShapeRef.new(shape: DeleteOutboundCrossClusterSearchConnectionResponse)
1087
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1088
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1089
+ end)
1090
+
919
1091
  api.add_operation(:delete_package, Seahorse::Model::Operation.new.tap do |o|
920
1092
  o.name = "DeletePackage"
921
1093
  o.http_method = "DELETE"
@@ -979,6 +1151,38 @@ module Aws::ElasticsearchService
979
1151
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
980
1152
  end)
981
1153
 
1154
+ api.add_operation(:describe_inbound_cross_cluster_search_connections, Seahorse::Model::Operation.new.tap do |o|
1155
+ o.name = "DescribeInboundCrossClusterSearchConnections"
1156
+ o.http_method = "POST"
1157
+ o.http_request_uri = "/2015-01-01/es/ccs/inboundConnection/search"
1158
+ o.input = Shapes::ShapeRef.new(shape: DescribeInboundCrossClusterSearchConnectionsRequest)
1159
+ o.output = Shapes::ShapeRef.new(shape: DescribeInboundCrossClusterSearchConnectionsResponse)
1160
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
1161
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1162
+ o[:pager] = Aws::Pager.new(
1163
+ limit_key: "max_results",
1164
+ tokens: {
1165
+ "next_token" => "next_token"
1166
+ }
1167
+ )
1168
+ end)
1169
+
1170
+ api.add_operation(:describe_outbound_cross_cluster_search_connections, Seahorse::Model::Operation.new.tap do |o|
1171
+ o.name = "DescribeOutboundCrossClusterSearchConnections"
1172
+ o.http_method = "POST"
1173
+ o.http_request_uri = "/2015-01-01/es/ccs/outboundConnection/search"
1174
+ o.input = Shapes::ShapeRef.new(shape: DescribeOutboundCrossClusterSearchConnectionsRequest)
1175
+ o.output = Shapes::ShapeRef.new(shape: DescribeOutboundCrossClusterSearchConnectionsResponse)
1176
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
1177
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1178
+ o[:pager] = Aws::Pager.new(
1179
+ limit_key: "max_results",
1180
+ tokens: {
1181
+ "next_token" => "next_token"
1182
+ }
1183
+ )
1184
+ end)
1185
+
982
1186
  api.add_operation(:describe_packages, Seahorse::Model::Operation.new.tap do |o|
983
1187
  o.name = "DescribePackages"
984
1188
  o.http_method = "POST"
@@ -1203,6 +1407,16 @@ module Aws::ElasticsearchService
1203
1407
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1204
1408
  end)
1205
1409
 
1410
+ api.add_operation(:reject_inbound_cross_cluster_search_connection, Seahorse::Model::Operation.new.tap do |o|
1411
+ o.name = "RejectInboundCrossClusterSearchConnection"
1412
+ o.http_method = "PUT"
1413
+ o.http_request_uri = "/2015-01-01/es/ccs/inboundConnection/{ConnectionId}/reject"
1414
+ o.input = Shapes::ShapeRef.new(shape: RejectInboundCrossClusterSearchConnectionRequest)
1415
+ o.output = Shapes::ShapeRef.new(shape: RejectInboundCrossClusterSearchConnectionResponse)
1416
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1417
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1418
+ end)
1419
+
1206
1420
  api.add_operation(:remove_tags, Seahorse::Model::Operation.new.tap do |o|
1207
1421
  o.name = "RemoveTags"
1208
1422
  o.http_method = "POST"