aws-sdk-elasticsearchservice 1.35.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-elasticsearchservice.rb +5 -3
- data/lib/aws-sdk-elasticsearchservice/client.rb +350 -9
- data/lib/aws-sdk-elasticsearchservice/client_api.rb +214 -0
- data/lib/aws-sdk-elasticsearchservice/customizations.rb +1 -0
- data/lib/aws-sdk-elasticsearchservice/errors.rb +13 -0
- data/lib/aws-sdk-elasticsearchservice/resource.rb +2 -0
- data/lib/aws-sdk-elasticsearchservice/types.rb +652 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22a9e383aee86db635cf6af0a502dc9e5639ced1256309fa9841486ebce47dab
|
4
|
+
data.tar.gz: d3febea45c521d7992ef971133faa0fed464b44a30679a89066cb08cceb4313c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70f53c1d80fead51f91d7d1f52f46f05016c0b98782638328f98ca8be1176352b52776abc741b6208c469c4c4d8916789beb1c7640eaba4e83bccdf76d9eb78e
|
7
|
+
data.tar.gz: e534ef1c2ddaea5877b1573de4598c794b4c53a51ccf10bf3458430d2361e7d0633d94e76c9ec737b2528d28319d4fffb64ebcf8bdffe68cab4bf1e1f9078846
|
@@ -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.
|
30
|
+
# resp = elasticsearch_service.accept_inbound_cross_cluster_search_connection(params)
|
29
31
|
#
|
30
32
|
# See {Client} for more information.
|
31
33
|
#
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::ElasticsearchService
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.40.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
|
|
@@ -81,13 +85,28 @@ module Aws::ElasticsearchService
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::ElasticsearchService
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::ElasticsearchService
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -308,6 +327,41 @@ module Aws::ElasticsearchService
|
|
308
327
|
|
309
328
|
# @!group API Operations
|
310
329
|
|
330
|
+
# Allows the destination domain owner to accept an inbound cross-cluster
|
331
|
+
# search connection request.
|
332
|
+
#
|
333
|
+
# @option params [required, String] :cross_cluster_search_connection_id
|
334
|
+
# The id of the inbound connection that you want to accept.
|
335
|
+
#
|
336
|
+
# @return [Types::AcceptInboundCrossClusterSearchConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
337
|
+
#
|
338
|
+
# * {Types::AcceptInboundCrossClusterSearchConnectionResponse#cross_cluster_search_connection #cross_cluster_search_connection} => Types::InboundCrossClusterSearchConnection
|
339
|
+
#
|
340
|
+
# @example Request syntax with placeholder values
|
341
|
+
#
|
342
|
+
# resp = client.accept_inbound_cross_cluster_search_connection({
|
343
|
+
# cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
|
344
|
+
# })
|
345
|
+
#
|
346
|
+
# @example Response structure
|
347
|
+
#
|
348
|
+
# resp.cross_cluster_search_connection.source_domain_info.owner_id #=> String
|
349
|
+
# resp.cross_cluster_search_connection.source_domain_info.domain_name #=> String
|
350
|
+
# resp.cross_cluster_search_connection.source_domain_info.region #=> String
|
351
|
+
# resp.cross_cluster_search_connection.destination_domain_info.owner_id #=> String
|
352
|
+
# resp.cross_cluster_search_connection.destination_domain_info.domain_name #=> String
|
353
|
+
# resp.cross_cluster_search_connection.destination_domain_info.region #=> String
|
354
|
+
# resp.cross_cluster_search_connection.cross_cluster_search_connection_id #=> String
|
355
|
+
# resp.cross_cluster_search_connection.connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "APPROVED", "REJECTING", "REJECTED", "DELETING", "DELETED"
|
356
|
+
# resp.cross_cluster_search_connection.connection_status.message #=> String
|
357
|
+
#
|
358
|
+
# @overload accept_inbound_cross_cluster_search_connection(params = {})
|
359
|
+
# @param [Hash] params ({})
|
360
|
+
def accept_inbound_cross_cluster_search_connection(params = {}, options = {})
|
361
|
+
req = build_request(:accept_inbound_cross_cluster_search_connection, params)
|
362
|
+
req.send_request(options)
|
363
|
+
end
|
364
|
+
|
311
365
|
# Attaches tags to an existing Elasticsearch domain. Tags are a set of
|
312
366
|
# case-sensitive key value pairs. An Elasticsearch domain may have up to
|
313
367
|
# 10 tags. See [ Tagging Amazon Elasticsearch Service Domains for more
|
@@ -646,6 +700,64 @@ module Aws::ElasticsearchService
|
|
646
700
|
req.send_request(options)
|
647
701
|
end
|
648
702
|
|
703
|
+
# Creates a new cross-cluster search connection from a source domain to
|
704
|
+
# a destination domain.
|
705
|
+
#
|
706
|
+
# @option params [required, Types::DomainInformation] :source_domain_info
|
707
|
+
# Specifies the `DomainInformation` for the source Elasticsearch domain.
|
708
|
+
#
|
709
|
+
# @option params [required, Types::DomainInformation] :destination_domain_info
|
710
|
+
# Specifies the `DomainInformation` for the destination Elasticsearch
|
711
|
+
# domain.
|
712
|
+
#
|
713
|
+
# @option params [required, String] :connection_alias
|
714
|
+
# Specifies the connection alias that will be used by the customer for
|
715
|
+
# this connection.
|
716
|
+
#
|
717
|
+
# @return [Types::CreateOutboundCrossClusterSearchConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
718
|
+
#
|
719
|
+
# * {Types::CreateOutboundCrossClusterSearchConnectionResponse#source_domain_info #source_domain_info} => Types::DomainInformation
|
720
|
+
# * {Types::CreateOutboundCrossClusterSearchConnectionResponse#destination_domain_info #destination_domain_info} => Types::DomainInformation
|
721
|
+
# * {Types::CreateOutboundCrossClusterSearchConnectionResponse#connection_alias #connection_alias} => String
|
722
|
+
# * {Types::CreateOutboundCrossClusterSearchConnectionResponse#connection_status #connection_status} => Types::OutboundCrossClusterSearchConnectionStatus
|
723
|
+
# * {Types::CreateOutboundCrossClusterSearchConnectionResponse#cross_cluster_search_connection_id #cross_cluster_search_connection_id} => String
|
724
|
+
#
|
725
|
+
# @example Request syntax with placeholder values
|
726
|
+
#
|
727
|
+
# resp = client.create_outbound_cross_cluster_search_connection({
|
728
|
+
# source_domain_info: { # required
|
729
|
+
# owner_id: "OwnerId",
|
730
|
+
# domain_name: "DomainName", # required
|
731
|
+
# region: "Region",
|
732
|
+
# },
|
733
|
+
# destination_domain_info: { # required
|
734
|
+
# owner_id: "OwnerId",
|
735
|
+
# domain_name: "DomainName", # required
|
736
|
+
# region: "Region",
|
737
|
+
# },
|
738
|
+
# connection_alias: "ConnectionAlias", # required
|
739
|
+
# })
|
740
|
+
#
|
741
|
+
# @example Response structure
|
742
|
+
#
|
743
|
+
# resp.source_domain_info.owner_id #=> String
|
744
|
+
# resp.source_domain_info.domain_name #=> String
|
745
|
+
# resp.source_domain_info.region #=> String
|
746
|
+
# resp.destination_domain_info.owner_id #=> String
|
747
|
+
# resp.destination_domain_info.domain_name #=> String
|
748
|
+
# resp.destination_domain_info.region #=> String
|
749
|
+
# resp.connection_alias #=> String
|
750
|
+
# resp.connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "VALIDATING", "VALIDATION_FAILED", "PROVISIONING", "ACTIVE", "REJECTED", "DELETING", "DELETED"
|
751
|
+
# resp.connection_status.message #=> String
|
752
|
+
# resp.cross_cluster_search_connection_id #=> String
|
753
|
+
#
|
754
|
+
# @overload create_outbound_cross_cluster_search_connection(params = {})
|
755
|
+
# @param [Hash] params ({})
|
756
|
+
def create_outbound_cross_cluster_search_connection(params = {}, options = {})
|
757
|
+
req = build_request(:create_outbound_cross_cluster_search_connection, params)
|
758
|
+
req.send_request(options)
|
759
|
+
end
|
760
|
+
|
649
761
|
# Create a package for use with Amazon ES domains.
|
650
762
|
#
|
651
763
|
# @option params [required, String] :package_name
|
@@ -799,6 +911,77 @@ module Aws::ElasticsearchService
|
|
799
911
|
req.send_request(options)
|
800
912
|
end
|
801
913
|
|
914
|
+
# Allows the destination domain owner to delete an existing inbound
|
915
|
+
# cross-cluster search connection.
|
916
|
+
#
|
917
|
+
# @option params [required, String] :cross_cluster_search_connection_id
|
918
|
+
# The id of the inbound connection that you want to permanently delete.
|
919
|
+
#
|
920
|
+
# @return [Types::DeleteInboundCrossClusterSearchConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
921
|
+
#
|
922
|
+
# * {Types::DeleteInboundCrossClusterSearchConnectionResponse#cross_cluster_search_connection #cross_cluster_search_connection} => Types::InboundCrossClusterSearchConnection
|
923
|
+
#
|
924
|
+
# @example Request syntax with placeholder values
|
925
|
+
#
|
926
|
+
# resp = client.delete_inbound_cross_cluster_search_connection({
|
927
|
+
# cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
|
928
|
+
# })
|
929
|
+
#
|
930
|
+
# @example Response structure
|
931
|
+
#
|
932
|
+
# resp.cross_cluster_search_connection.source_domain_info.owner_id #=> String
|
933
|
+
# resp.cross_cluster_search_connection.source_domain_info.domain_name #=> String
|
934
|
+
# resp.cross_cluster_search_connection.source_domain_info.region #=> String
|
935
|
+
# resp.cross_cluster_search_connection.destination_domain_info.owner_id #=> String
|
936
|
+
# resp.cross_cluster_search_connection.destination_domain_info.domain_name #=> String
|
937
|
+
# resp.cross_cluster_search_connection.destination_domain_info.region #=> String
|
938
|
+
# resp.cross_cluster_search_connection.cross_cluster_search_connection_id #=> String
|
939
|
+
# resp.cross_cluster_search_connection.connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "APPROVED", "REJECTING", "REJECTED", "DELETING", "DELETED"
|
940
|
+
# resp.cross_cluster_search_connection.connection_status.message #=> String
|
941
|
+
#
|
942
|
+
# @overload delete_inbound_cross_cluster_search_connection(params = {})
|
943
|
+
# @param [Hash] params ({})
|
944
|
+
def delete_inbound_cross_cluster_search_connection(params = {}, options = {})
|
945
|
+
req = build_request(:delete_inbound_cross_cluster_search_connection, params)
|
946
|
+
req.send_request(options)
|
947
|
+
end
|
948
|
+
|
949
|
+
# Allows the source domain owner to delete an existing outbound
|
950
|
+
# cross-cluster search connection.
|
951
|
+
#
|
952
|
+
# @option params [required, String] :cross_cluster_search_connection_id
|
953
|
+
# The id of the outbound connection that you want to permanently delete.
|
954
|
+
#
|
955
|
+
# @return [Types::DeleteOutboundCrossClusterSearchConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
956
|
+
#
|
957
|
+
# * {Types::DeleteOutboundCrossClusterSearchConnectionResponse#cross_cluster_search_connection #cross_cluster_search_connection} => Types::OutboundCrossClusterSearchConnection
|
958
|
+
#
|
959
|
+
# @example Request syntax with placeholder values
|
960
|
+
#
|
961
|
+
# resp = client.delete_outbound_cross_cluster_search_connection({
|
962
|
+
# cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
|
963
|
+
# })
|
964
|
+
#
|
965
|
+
# @example Response structure
|
966
|
+
#
|
967
|
+
# resp.cross_cluster_search_connection.source_domain_info.owner_id #=> String
|
968
|
+
# resp.cross_cluster_search_connection.source_domain_info.domain_name #=> String
|
969
|
+
# resp.cross_cluster_search_connection.source_domain_info.region #=> String
|
970
|
+
# resp.cross_cluster_search_connection.destination_domain_info.owner_id #=> String
|
971
|
+
# resp.cross_cluster_search_connection.destination_domain_info.domain_name #=> String
|
972
|
+
# resp.cross_cluster_search_connection.destination_domain_info.region #=> String
|
973
|
+
# resp.cross_cluster_search_connection.cross_cluster_search_connection_id #=> String
|
974
|
+
# resp.cross_cluster_search_connection.connection_alias #=> String
|
975
|
+
# resp.cross_cluster_search_connection.connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "VALIDATING", "VALIDATION_FAILED", "PROVISIONING", "ACTIVE", "REJECTED", "DELETING", "DELETED"
|
976
|
+
# resp.cross_cluster_search_connection.connection_status.message #=> String
|
977
|
+
#
|
978
|
+
# @overload delete_outbound_cross_cluster_search_connection(params = {})
|
979
|
+
# @param [Hash] params ({})
|
980
|
+
def delete_outbound_cross_cluster_search_connection(params = {}, options = {})
|
981
|
+
req = build_request(:delete_outbound_cross_cluster_search_connection, params)
|
982
|
+
req.send_request(options)
|
983
|
+
end
|
984
|
+
|
802
985
|
# Delete the package.
|
803
986
|
#
|
804
987
|
# @option params [required, String] :package_id
|
@@ -1188,6 +1371,129 @@ module Aws::ElasticsearchService
|
|
1188
1371
|
req.send_request(options)
|
1189
1372
|
end
|
1190
1373
|
|
1374
|
+
# Lists all the inbound cross-cluster search connections for a
|
1375
|
+
# destination domain.
|
1376
|
+
#
|
1377
|
+
# @option params [Array<Types::Filter>] :filters
|
1378
|
+
# A list of filters used to match properties for inbound cross-cluster
|
1379
|
+
# search connection. Available `Filter` names for this operation are: *
|
1380
|
+
# cross-cluster-search-connection-id
|
1381
|
+
# * source-domain-info.domain-name
|
1382
|
+
# * source-domain-info.owner-id
|
1383
|
+
# * source-domain-info.region
|
1384
|
+
# * destination-domain-info.domain-name
|
1385
|
+
#
|
1386
|
+
# @option params [Integer] :max_results
|
1387
|
+
# Set this value to limit the number of results returned. If not
|
1388
|
+
# specified, defaults to 100.
|
1389
|
+
#
|
1390
|
+
# @option params [String] :next_token
|
1391
|
+
# NextToken is sent in case the earlier API call results contain the
|
1392
|
+
# NextToken. It is used for pagination.
|
1393
|
+
#
|
1394
|
+
# @return [Types::DescribeInboundCrossClusterSearchConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1395
|
+
#
|
1396
|
+
# * {Types::DescribeInboundCrossClusterSearchConnectionsResponse#cross_cluster_search_connections #cross_cluster_search_connections} => Array<Types::InboundCrossClusterSearchConnection>
|
1397
|
+
# * {Types::DescribeInboundCrossClusterSearchConnectionsResponse#next_token #next_token} => String
|
1398
|
+
#
|
1399
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1400
|
+
#
|
1401
|
+
# @example Request syntax with placeholder values
|
1402
|
+
#
|
1403
|
+
# resp = client.describe_inbound_cross_cluster_search_connections({
|
1404
|
+
# filters: [
|
1405
|
+
# {
|
1406
|
+
# name: "NonEmptyString",
|
1407
|
+
# values: ["NonEmptyString"],
|
1408
|
+
# },
|
1409
|
+
# ],
|
1410
|
+
# max_results: 1,
|
1411
|
+
# next_token: "NextToken",
|
1412
|
+
# })
|
1413
|
+
#
|
1414
|
+
# @example Response structure
|
1415
|
+
#
|
1416
|
+
# resp.cross_cluster_search_connections #=> Array
|
1417
|
+
# resp.cross_cluster_search_connections[0].source_domain_info.owner_id #=> String
|
1418
|
+
# resp.cross_cluster_search_connections[0].source_domain_info.domain_name #=> String
|
1419
|
+
# resp.cross_cluster_search_connections[0].source_domain_info.region #=> String
|
1420
|
+
# resp.cross_cluster_search_connections[0].destination_domain_info.owner_id #=> String
|
1421
|
+
# resp.cross_cluster_search_connections[0].destination_domain_info.domain_name #=> String
|
1422
|
+
# resp.cross_cluster_search_connections[0].destination_domain_info.region #=> String
|
1423
|
+
# resp.cross_cluster_search_connections[0].cross_cluster_search_connection_id #=> String
|
1424
|
+
# resp.cross_cluster_search_connections[0].connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "APPROVED", "REJECTING", "REJECTED", "DELETING", "DELETED"
|
1425
|
+
# resp.cross_cluster_search_connections[0].connection_status.message #=> String
|
1426
|
+
# resp.next_token #=> String
|
1427
|
+
#
|
1428
|
+
# @overload describe_inbound_cross_cluster_search_connections(params = {})
|
1429
|
+
# @param [Hash] params ({})
|
1430
|
+
def describe_inbound_cross_cluster_search_connections(params = {}, options = {})
|
1431
|
+
req = build_request(:describe_inbound_cross_cluster_search_connections, params)
|
1432
|
+
req.send_request(options)
|
1433
|
+
end
|
1434
|
+
|
1435
|
+
# Lists all the outbound cross-cluster search connections for a source
|
1436
|
+
# domain.
|
1437
|
+
#
|
1438
|
+
# @option params [Array<Types::Filter>] :filters
|
1439
|
+
# A list of filters used to match properties for outbound cross-cluster
|
1440
|
+
# search connection. Available `Filter` names for this operation are: *
|
1441
|
+
# cross-cluster-search-connection-id
|
1442
|
+
# * destination-domain-info.domain-name
|
1443
|
+
# * destination-domain-info.owner-id
|
1444
|
+
# * destination-domain-info.region
|
1445
|
+
# * source-domain-info.domain-name
|
1446
|
+
#
|
1447
|
+
# @option params [Integer] :max_results
|
1448
|
+
# Set this value to limit the number of results returned. If not
|
1449
|
+
# specified, defaults to 100.
|
1450
|
+
#
|
1451
|
+
# @option params [String] :next_token
|
1452
|
+
# NextToken is sent in case the earlier API call results contain the
|
1453
|
+
# NextToken. It is used for pagination.
|
1454
|
+
#
|
1455
|
+
# @return [Types::DescribeOutboundCrossClusterSearchConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1456
|
+
#
|
1457
|
+
# * {Types::DescribeOutboundCrossClusterSearchConnectionsResponse#cross_cluster_search_connections #cross_cluster_search_connections} => Array<Types::OutboundCrossClusterSearchConnection>
|
1458
|
+
# * {Types::DescribeOutboundCrossClusterSearchConnectionsResponse#next_token #next_token} => String
|
1459
|
+
#
|
1460
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1461
|
+
#
|
1462
|
+
# @example Request syntax with placeholder values
|
1463
|
+
#
|
1464
|
+
# resp = client.describe_outbound_cross_cluster_search_connections({
|
1465
|
+
# filters: [
|
1466
|
+
# {
|
1467
|
+
# name: "NonEmptyString",
|
1468
|
+
# values: ["NonEmptyString"],
|
1469
|
+
# },
|
1470
|
+
# ],
|
1471
|
+
# max_results: 1,
|
1472
|
+
# next_token: "NextToken",
|
1473
|
+
# })
|
1474
|
+
#
|
1475
|
+
# @example Response structure
|
1476
|
+
#
|
1477
|
+
# resp.cross_cluster_search_connections #=> Array
|
1478
|
+
# resp.cross_cluster_search_connections[0].source_domain_info.owner_id #=> String
|
1479
|
+
# resp.cross_cluster_search_connections[0].source_domain_info.domain_name #=> String
|
1480
|
+
# resp.cross_cluster_search_connections[0].source_domain_info.region #=> String
|
1481
|
+
# resp.cross_cluster_search_connections[0].destination_domain_info.owner_id #=> String
|
1482
|
+
# resp.cross_cluster_search_connections[0].destination_domain_info.domain_name #=> String
|
1483
|
+
# resp.cross_cluster_search_connections[0].destination_domain_info.region #=> String
|
1484
|
+
# resp.cross_cluster_search_connections[0].cross_cluster_search_connection_id #=> String
|
1485
|
+
# resp.cross_cluster_search_connections[0].connection_alias #=> String
|
1486
|
+
# resp.cross_cluster_search_connections[0].connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "VALIDATING", "VALIDATION_FAILED", "PROVISIONING", "ACTIVE", "REJECTED", "DELETING", "DELETED"
|
1487
|
+
# resp.cross_cluster_search_connections[0].connection_status.message #=> String
|
1488
|
+
# resp.next_token #=> String
|
1489
|
+
#
|
1490
|
+
# @overload describe_outbound_cross_cluster_search_connections(params = {})
|
1491
|
+
# @param [Hash] params ({})
|
1492
|
+
def describe_outbound_cross_cluster_search_connections(params = {}, options = {})
|
1493
|
+
req = build_request(:describe_outbound_cross_cluster_search_connections, params)
|
1494
|
+
req.send_request(options)
|
1495
|
+
end
|
1496
|
+
|
1191
1497
|
# Describes all packages available to Amazon ES. Includes options for
|
1192
1498
|
# filtering, limiting the number of results, and pagination.
|
1193
1499
|
#
|
@@ -1782,6 +2088,41 @@ module Aws::ElasticsearchService
|
|
1782
2088
|
req.send_request(options)
|
1783
2089
|
end
|
1784
2090
|
|
2091
|
+
# Allows the destination domain owner to reject an inbound cross-cluster
|
2092
|
+
# search connection request.
|
2093
|
+
#
|
2094
|
+
# @option params [required, String] :cross_cluster_search_connection_id
|
2095
|
+
# The id of the inbound connection that you want to reject.
|
2096
|
+
#
|
2097
|
+
# @return [Types::RejectInboundCrossClusterSearchConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2098
|
+
#
|
2099
|
+
# * {Types::RejectInboundCrossClusterSearchConnectionResponse#cross_cluster_search_connection #cross_cluster_search_connection} => Types::InboundCrossClusterSearchConnection
|
2100
|
+
#
|
2101
|
+
# @example Request syntax with placeholder values
|
2102
|
+
#
|
2103
|
+
# resp = client.reject_inbound_cross_cluster_search_connection({
|
2104
|
+
# cross_cluster_search_connection_id: "CrossClusterSearchConnectionId", # required
|
2105
|
+
# })
|
2106
|
+
#
|
2107
|
+
# @example Response structure
|
2108
|
+
#
|
2109
|
+
# resp.cross_cluster_search_connection.source_domain_info.owner_id #=> String
|
2110
|
+
# resp.cross_cluster_search_connection.source_domain_info.domain_name #=> String
|
2111
|
+
# resp.cross_cluster_search_connection.source_domain_info.region #=> String
|
2112
|
+
# resp.cross_cluster_search_connection.destination_domain_info.owner_id #=> String
|
2113
|
+
# resp.cross_cluster_search_connection.destination_domain_info.domain_name #=> String
|
2114
|
+
# resp.cross_cluster_search_connection.destination_domain_info.region #=> String
|
2115
|
+
# resp.cross_cluster_search_connection.cross_cluster_search_connection_id #=> String
|
2116
|
+
# resp.cross_cluster_search_connection.connection_status.status_code #=> String, one of "PENDING_ACCEPTANCE", "APPROVED", "REJECTING", "REJECTED", "DELETING", "DELETED"
|
2117
|
+
# resp.cross_cluster_search_connection.connection_status.message #=> String
|
2118
|
+
#
|
2119
|
+
# @overload reject_inbound_cross_cluster_search_connection(params = {})
|
2120
|
+
# @param [Hash] params ({})
|
2121
|
+
def reject_inbound_cross_cluster_search_connection(params = {}, options = {})
|
2122
|
+
req = build_request(:reject_inbound_cross_cluster_search_connection, params)
|
2123
|
+
req.send_request(options)
|
2124
|
+
end
|
2125
|
+
|
1785
2126
|
# Removes the specified set of tags from the specified Elasticsearch
|
1786
2127
|
# domain.
|
1787
2128
|
#
|
@@ -2141,7 +2482,7 @@ module Aws::ElasticsearchService
|
|
2141
2482
|
params: params,
|
2142
2483
|
config: config)
|
2143
2484
|
context[:gem_name] = 'aws-sdk-elasticsearchservice'
|
2144
|
-
context[:gem_version] = '1.
|
2485
|
+
context[:gem_version] = '1.40.0'
|
2145
2486
|
Seahorse::Client::Request.new(handlers, context)
|
2146
2487
|
end
|
2147
2488
|
|