aws-sdk-cloudsearch 1.16.0 → 1.21.1
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 +5 -5
- data/lib/aws-sdk-cloudsearch.rb +7 -4
- data/lib/aws-sdk-cloudsearch/client.rb +164 -14
- data/lib/aws-sdk-cloudsearch/client_api.rb +72 -0
- data/lib/aws-sdk-cloudsearch/errors.rb +88 -0
- data/lib/aws-sdk-cloudsearch/resource.rb +1 -0
- data/lib/aws-sdk-cloudsearch/types.rb +159 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 99e2d7a10ad6ccb84f0222926028a754e4cf5d17faeee70641910f5e08c06aa2
|
4
|
+
data.tar.gz: b7d084bf578ca52d5cf71c2f115145ced34bbda27b2fd665193160b6a2003dd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 848c10b300780d1f1693693096ea1002599c1c00f31d834899ead26a125b5e93736b1d0441313f1d9d98d3632e2b02b3b407b74bf6548890b0d8a52128981035
|
7
|
+
data.tar.gz: ce318ce8d4a7336d7c5c97a216d2dc8af31f38cfb214c27e1e5c7e80359137bdae58ce5b37c70fc78817b84d3d47db797cbd401961e37cc33072cdf9be965fcd
|
data/lib/aws-sdk-cloudsearch.rb
CHANGED
@@ -24,17 +24,20 @@ require_relative 'aws-sdk-cloudsearch/customizations'
|
|
24
24
|
# methods each accept a hash of request parameters and return a response
|
25
25
|
# structure.
|
26
26
|
#
|
27
|
+
# cloud_search = Aws::CloudSearch::Client.new
|
28
|
+
# resp = cloud_search.build_suggesters(params)
|
29
|
+
#
|
27
30
|
# See {Client} for more information.
|
28
31
|
#
|
29
32
|
# # Errors
|
30
33
|
#
|
31
|
-
# Errors returned from Amazon CloudSearch
|
32
|
-
# extend {Errors::ServiceError}.
|
34
|
+
# Errors returned from Amazon CloudSearch are defined in the
|
35
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
36
|
#
|
34
37
|
# begin
|
35
38
|
# # do stuff
|
36
39
|
# rescue Aws::CloudSearch::Errors::ServiceError
|
37
|
-
# # rescues all
|
40
|
+
# # rescues all Amazon CloudSearch API errors
|
38
41
|
# end
|
39
42
|
#
|
40
43
|
# See {Errors} for more information.
|
@@ -42,6 +45,6 @@ require_relative 'aws-sdk-cloudsearch/customizations'
|
|
42
45
|
# @service
|
43
46
|
module Aws::CloudSearch
|
44
47
|
|
45
|
-
GEM_VERSION = '1.
|
48
|
+
GEM_VERSION = '1.21.1'
|
46
49
|
|
47
50
|
end
|
@@ -24,12 +24,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
24
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
25
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
26
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
27
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
28
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
29
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
29
30
|
|
30
31
|
Aws::Plugins::GlobalConfiguration.add_identifier(:cloudsearch)
|
31
32
|
|
32
33
|
module Aws::CloudSearch
|
34
|
+
# An API client for CloudSearch. To construct a client, you need to configure a `:region` and `:credentials`.
|
35
|
+
#
|
36
|
+
# client = Aws::CloudSearch::Client.new(
|
37
|
+
# region: region_name,
|
38
|
+
# credentials: credentials,
|
39
|
+
# # ...
|
40
|
+
# )
|
41
|
+
#
|
42
|
+
# For details on configuring region and credentials see
|
43
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
44
|
+
#
|
45
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
46
|
class Client < Seahorse::Client::Base
|
34
47
|
|
35
48
|
include Aws::ClientStubs
|
@@ -57,6 +70,7 @@ module Aws::CloudSearch
|
|
57
70
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
71
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
72
|
add_plugin(Aws::Plugins::TransferEncoding)
|
73
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
74
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
75
|
add_plugin(Aws::Plugins::Protocols::Query)
|
62
76
|
|
@@ -93,7 +107,7 @@ module Aws::CloudSearch
|
|
93
107
|
# @option options [required, String] :region
|
94
108
|
# The AWS region to connect to. The configured `:region` is
|
95
109
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
110
|
+
# a default `:region` is searched for in the following locations:
|
97
111
|
#
|
98
112
|
# * `Aws.config[:region]`
|
99
113
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +122,12 @@ module Aws::CloudSearch
|
|
108
122
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
123
|
# the background every 60 secs (default). Defaults to `false`.
|
110
124
|
#
|
125
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
126
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
127
|
+
# until there is sufficent client side capacity to retry the request.
|
128
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
129
|
+
# not retry instead of sleeping.
|
130
|
+
#
|
111
131
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
132
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
133
|
# this client.
|
@@ -132,6 +152,10 @@ module Aws::CloudSearch
|
|
132
152
|
# When `true`, an attempt is made to coerce request parameters into
|
133
153
|
# the required types.
|
134
154
|
#
|
155
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
156
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
157
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
158
|
+
#
|
135
159
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
160
|
# Set to true to disable SDK automatically adding host prefix
|
137
161
|
# to default service endpoint when available.
|
@@ -139,7 +163,7 @@ module Aws::CloudSearch
|
|
139
163
|
# @option options [String] :endpoint
|
140
164
|
# The client endpoint is normally constructed from the `:region`
|
141
165
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
166
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
167
|
#
|
144
168
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
169
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +178,7 @@ module Aws::CloudSearch
|
|
154
178
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
179
|
#
|
156
180
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
181
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
182
|
#
|
159
183
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
184
|
# The log formatter.
|
@@ -166,15 +190,29 @@ module Aws::CloudSearch
|
|
166
190
|
# The Logger instance to send log messages to. If this option
|
167
191
|
# is not set, logging will be disabled.
|
168
192
|
#
|
193
|
+
# @option options [Integer] :max_attempts (3)
|
194
|
+
# An integer representing the maximum number attempts that will be made for
|
195
|
+
# a single request, including the initial attempt. For example,
|
196
|
+
# setting this value to 5 will result in a request being retried up to
|
197
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
198
|
+
#
|
169
199
|
# @option options [String] :profile ("default")
|
170
200
|
# Used when loading credentials from the shared credentials file
|
171
201
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
202
|
#
|
203
|
+
# @option options [Proc] :retry_backoff
|
204
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
205
|
+
# This option is only used in the `legacy` retry mode.
|
206
|
+
#
|
173
207
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
208
|
+
# The base delay in seconds used by the default backoff function. This option
|
209
|
+
# is only used in the `legacy` retry mode.
|
175
210
|
#
|
176
211
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
212
|
+
# A delay randomiser function used by the default backoff function.
|
213
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
214
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
215
|
+
# in the `legacy` retry mode.
|
178
216
|
#
|
179
217
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
218
|
#
|
@@ -182,11 +220,30 @@ module Aws::CloudSearch
|
|
182
220
|
# The maximum number of times to retry failed requests. Only
|
183
221
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
222
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
223
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
224
|
+
# endpoint discovery, and errors from expired credentials.
|
225
|
+
# This option is only used in the `legacy` retry mode.
|
187
226
|
#
|
188
227
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
228
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
229
|
+
# used by the default backoff function. This option is only used in the
|
230
|
+
# `legacy` retry mode.
|
231
|
+
#
|
232
|
+
# @option options [String] :retry_mode ("legacy")
|
233
|
+
# Specifies which retry algorithm to use. Values are:
|
234
|
+
#
|
235
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
236
|
+
# no retry mode is provided.
|
237
|
+
#
|
238
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
239
|
+
# This includes support for retry quotas, which limit the number of
|
240
|
+
# unsuccessful retries a client can make.
|
241
|
+
#
|
242
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
243
|
+
# functionality of `standard` mode along with automatic client side
|
244
|
+
# throttling. This is a provisional mode that may change behavior
|
245
|
+
# in the future.
|
246
|
+
#
|
190
247
|
#
|
191
248
|
# @option options [String] :secret_access_key
|
192
249
|
#
|
@@ -209,16 +266,15 @@ module Aws::CloudSearch
|
|
209
266
|
# requests through. Formatted like 'http://proxy.com:123'.
|
210
267
|
#
|
211
268
|
# @option options [Float] :http_open_timeout (15) The number of
|
212
|
-
# seconds to wait when opening a HTTP session before
|
269
|
+
# seconds to wait when opening a HTTP session before raising a
|
213
270
|
# `Timeout::Error`.
|
214
271
|
#
|
215
272
|
# @option options [Integer] :http_read_timeout (60) The default
|
216
273
|
# number of seconds to wait for response data. This value can
|
217
|
-
# safely be set
|
218
|
-
# per-request on the session yeidled by {#session_for}.
|
274
|
+
# safely be set per-request on the session.
|
219
275
|
#
|
220
276
|
# @option options [Float] :http_idle_timeout (5) The number of
|
221
|
-
# seconds a connection is allowed to sit
|
277
|
+
# seconds a connection is allowed to sit idle before it is
|
222
278
|
# considered stale. Stale connections are closed and removed
|
223
279
|
# from the pool before making a request.
|
224
280
|
#
|
@@ -227,7 +283,7 @@ module Aws::CloudSearch
|
|
227
283
|
# request body. This option has no effect unless the request has
|
228
284
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
229
285
|
# disables this behaviour. This value can safely be set per
|
230
|
-
# request on the session
|
286
|
+
# request on the session.
|
231
287
|
#
|
232
288
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
233
289
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1106,6 +1162,51 @@ module Aws::CloudSearch
|
|
1106
1162
|
req.send_request(options)
|
1107
1163
|
end
|
1108
1164
|
|
1165
|
+
# Returns the domain's endpoint options, specifically whether all
|
1166
|
+
# requests to the domain must arrive over HTTPS. For more information,
|
1167
|
+
# see [Configuring Domain Endpoint Options][1] in the *Amazon
|
1168
|
+
# CloudSearch Developer Guide*.
|
1169
|
+
#
|
1170
|
+
#
|
1171
|
+
#
|
1172
|
+
# [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-domain-endpoint-options.html
|
1173
|
+
#
|
1174
|
+
# @option params [required, String] :domain_name
|
1175
|
+
# A string that represents the name of a domain.
|
1176
|
+
#
|
1177
|
+
# @option params [Boolean] :deployed
|
1178
|
+
# Whether to retrieve the latest configuration (which might be in a
|
1179
|
+
# Processing state) or the current, active configuration. Defaults to
|
1180
|
+
# `false`.
|
1181
|
+
#
|
1182
|
+
# @return [Types::DescribeDomainEndpointOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1183
|
+
#
|
1184
|
+
# * {Types::DescribeDomainEndpointOptionsResponse#domain_endpoint_options #domain_endpoint_options} => Types::DomainEndpointOptionsStatus
|
1185
|
+
#
|
1186
|
+
# @example Request syntax with placeholder values
|
1187
|
+
#
|
1188
|
+
# resp = client.describe_domain_endpoint_options({
|
1189
|
+
# domain_name: "DomainName", # required
|
1190
|
+
# deployed: false,
|
1191
|
+
# })
|
1192
|
+
#
|
1193
|
+
# @example Response structure
|
1194
|
+
#
|
1195
|
+
# resp.domain_endpoint_options.options.enforce_https #=> Boolean
|
1196
|
+
# resp.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1197
|
+
# resp.domain_endpoint_options.status.creation_date #=> Time
|
1198
|
+
# resp.domain_endpoint_options.status.update_date #=> Time
|
1199
|
+
# resp.domain_endpoint_options.status.update_version #=> Integer
|
1200
|
+
# resp.domain_endpoint_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
|
1201
|
+
# resp.domain_endpoint_options.status.pending_deletion #=> Boolean
|
1202
|
+
#
|
1203
|
+
# @overload describe_domain_endpoint_options(params = {})
|
1204
|
+
# @param [Hash] params ({})
|
1205
|
+
def describe_domain_endpoint_options(params = {}, options = {})
|
1206
|
+
req = build_request(:describe_domain_endpoint_options, params)
|
1207
|
+
req.send_request(options)
|
1208
|
+
end
|
1209
|
+
|
1109
1210
|
# Gets information about the search domains owned by this account. Can
|
1110
1211
|
# be limited to specific domains. Shows all domains by default. To get
|
1111
1212
|
# the number of searchable documents in a domain, use the console or
|
@@ -1564,6 +1665,55 @@ module Aws::CloudSearch
|
|
1564
1665
|
req.send_request(options)
|
1565
1666
|
end
|
1566
1667
|
|
1668
|
+
# Updates the domain's endpoint options, specifically whether all
|
1669
|
+
# requests to the domain must arrive over HTTPS. For more information,
|
1670
|
+
# see [Configuring Domain Endpoint Options][1] in the *Amazon
|
1671
|
+
# CloudSearch Developer Guide*.
|
1672
|
+
#
|
1673
|
+
#
|
1674
|
+
#
|
1675
|
+
# [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-domain-endpoint-options.html
|
1676
|
+
#
|
1677
|
+
# @option params [required, String] :domain_name
|
1678
|
+
# A string that represents the name of a domain.
|
1679
|
+
#
|
1680
|
+
# @option params [required, Types::DomainEndpointOptions] :domain_endpoint_options
|
1681
|
+
# Whether to require that all requests to the domain arrive over HTTPS.
|
1682
|
+
# We recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For
|
1683
|
+
# compatibility with older clients, the default is
|
1684
|
+
# Policy-Min-TLS-1-0-2019-07.
|
1685
|
+
#
|
1686
|
+
# @return [Types::UpdateDomainEndpointOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1687
|
+
#
|
1688
|
+
# * {Types::UpdateDomainEndpointOptionsResponse#domain_endpoint_options #domain_endpoint_options} => Types::DomainEndpointOptionsStatus
|
1689
|
+
#
|
1690
|
+
# @example Request syntax with placeholder values
|
1691
|
+
#
|
1692
|
+
# resp = client.update_domain_endpoint_options({
|
1693
|
+
# domain_name: "DomainName", # required
|
1694
|
+
# domain_endpoint_options: { # required
|
1695
|
+
# enforce_https: false,
|
1696
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
1697
|
+
# },
|
1698
|
+
# })
|
1699
|
+
#
|
1700
|
+
# @example Response structure
|
1701
|
+
#
|
1702
|
+
# resp.domain_endpoint_options.options.enforce_https #=> Boolean
|
1703
|
+
# resp.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1704
|
+
# resp.domain_endpoint_options.status.creation_date #=> Time
|
1705
|
+
# resp.domain_endpoint_options.status.update_date #=> Time
|
1706
|
+
# resp.domain_endpoint_options.status.update_version #=> Integer
|
1707
|
+
# resp.domain_endpoint_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
|
1708
|
+
# resp.domain_endpoint_options.status.pending_deletion #=> Boolean
|
1709
|
+
#
|
1710
|
+
# @overload update_domain_endpoint_options(params = {})
|
1711
|
+
# @param [Hash] params ({})
|
1712
|
+
def update_domain_endpoint_options(params = {}, options = {})
|
1713
|
+
req = build_request(:update_domain_endpoint_options, params)
|
1714
|
+
req.send_request(options)
|
1715
|
+
end
|
1716
|
+
|
1567
1717
|
# Configures scaling parameters for a domain. A domain's scaling
|
1568
1718
|
# parameters specify the desired search instance type and replication
|
1569
1719
|
# count. Amazon CloudSearch will still automatically scale your domain
|
@@ -1678,7 +1828,7 @@ module Aws::CloudSearch
|
|
1678
1828
|
params: params,
|
1679
1829
|
config: config)
|
1680
1830
|
context[:gem_name] = 'aws-sdk-cloudsearch'
|
1681
|
-
context[:gem_version] = '1.
|
1831
|
+
context[:gem_version] = '1.21.1'
|
1682
1832
|
Seahorse::Client::Request.new(handlers, context)
|
1683
1833
|
end
|
1684
1834
|
|
@@ -51,6 +51,8 @@ module Aws::CloudSearch
|
|
51
51
|
DescribeAnalysisSchemesResponse = Shapes::StructureShape.new(name: 'DescribeAnalysisSchemesResponse')
|
52
52
|
DescribeAvailabilityOptionsRequest = Shapes::StructureShape.new(name: 'DescribeAvailabilityOptionsRequest')
|
53
53
|
DescribeAvailabilityOptionsResponse = Shapes::StructureShape.new(name: 'DescribeAvailabilityOptionsResponse')
|
54
|
+
DescribeDomainEndpointOptionsRequest = Shapes::StructureShape.new(name: 'DescribeDomainEndpointOptionsRequest')
|
55
|
+
DescribeDomainEndpointOptionsResponse = Shapes::StructureShape.new(name: 'DescribeDomainEndpointOptionsResponse')
|
54
56
|
DescribeDomainsRequest = Shapes::StructureShape.new(name: 'DescribeDomainsRequest')
|
55
57
|
DescribeDomainsResponse = Shapes::StructureShape.new(name: 'DescribeDomainsResponse')
|
56
58
|
DescribeExpressionsRequest = Shapes::StructureShape.new(name: 'DescribeExpressionsRequest')
|
@@ -65,6 +67,8 @@ module Aws::CloudSearch
|
|
65
67
|
DescribeSuggestersResponse = Shapes::StructureShape.new(name: 'DescribeSuggestersResponse')
|
66
68
|
DisabledOperationException = Shapes::StructureShape.new(name: 'DisabledOperationException')
|
67
69
|
DocumentSuggesterOptions = Shapes::StructureShape.new(name: 'DocumentSuggesterOptions')
|
70
|
+
DomainEndpointOptions = Shapes::StructureShape.new(name: 'DomainEndpointOptions')
|
71
|
+
DomainEndpointOptionsStatus = Shapes::StructureShape.new(name: 'DomainEndpointOptionsStatus')
|
68
72
|
DomainId = Shapes::StringShape.new(name: 'DomainId')
|
69
73
|
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
70
74
|
DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
|
@@ -125,16 +129,20 @@ module Aws::CloudSearch
|
|
125
129
|
SuggesterFuzzyMatching = Shapes::StringShape.new(name: 'SuggesterFuzzyMatching')
|
126
130
|
SuggesterStatus = Shapes::StructureShape.new(name: 'SuggesterStatus')
|
127
131
|
SuggesterStatusList = Shapes::ListShape.new(name: 'SuggesterStatusList')
|
132
|
+
TLSSecurityPolicy = Shapes::StringShape.new(name: 'TLSSecurityPolicy')
|
128
133
|
TextArrayOptions = Shapes::StructureShape.new(name: 'TextArrayOptions')
|
129
134
|
TextOptions = Shapes::StructureShape.new(name: 'TextOptions')
|
130
135
|
UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
|
131
136
|
UpdateAvailabilityOptionsRequest = Shapes::StructureShape.new(name: 'UpdateAvailabilityOptionsRequest')
|
132
137
|
UpdateAvailabilityOptionsResponse = Shapes::StructureShape.new(name: 'UpdateAvailabilityOptionsResponse')
|
138
|
+
UpdateDomainEndpointOptionsRequest = Shapes::StructureShape.new(name: 'UpdateDomainEndpointOptionsRequest')
|
139
|
+
UpdateDomainEndpointOptionsResponse = Shapes::StructureShape.new(name: 'UpdateDomainEndpointOptionsResponse')
|
133
140
|
UpdateScalingParametersRequest = Shapes::StructureShape.new(name: 'UpdateScalingParametersRequest')
|
134
141
|
UpdateScalingParametersResponse = Shapes::StructureShape.new(name: 'UpdateScalingParametersResponse')
|
135
142
|
UpdateServiceAccessPoliciesRequest = Shapes::StructureShape.new(name: 'UpdateServiceAccessPoliciesRequest')
|
136
143
|
UpdateServiceAccessPoliciesResponse = Shapes::StructureShape.new(name: 'UpdateServiceAccessPoliciesResponse')
|
137
144
|
UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
|
145
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
138
146
|
Word = Shapes::StringShape.new(name: 'Word')
|
139
147
|
|
140
148
|
AccessPoliciesStatus.add_member(:options, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "Options"))
|
@@ -271,6 +279,13 @@ module Aws::CloudSearch
|
|
271
279
|
DescribeAvailabilityOptionsResponse.add_member(:availability_options, Shapes::ShapeRef.new(shape: AvailabilityOptionsStatus, location_name: "AvailabilityOptions"))
|
272
280
|
DescribeAvailabilityOptionsResponse.struct_class = Types::DescribeAvailabilityOptionsResponse
|
273
281
|
|
282
|
+
DescribeDomainEndpointOptionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
283
|
+
DescribeDomainEndpointOptionsRequest.add_member(:deployed, Shapes::ShapeRef.new(shape: Boolean, location_name: "Deployed"))
|
284
|
+
DescribeDomainEndpointOptionsRequest.struct_class = Types::DescribeDomainEndpointOptionsRequest
|
285
|
+
|
286
|
+
DescribeDomainEndpointOptionsResponse.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
|
287
|
+
DescribeDomainEndpointOptionsResponse.struct_class = Types::DescribeDomainEndpointOptionsResponse
|
288
|
+
|
274
289
|
DescribeDomainsRequest.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainNameList, location_name: "DomainNames"))
|
275
290
|
DescribeDomainsRequest.struct_class = Types::DescribeDomainsRequest
|
276
291
|
|
@@ -314,11 +329,21 @@ module Aws::CloudSearch
|
|
314
329
|
DescribeSuggestersResponse.add_member(:suggesters, Shapes::ShapeRef.new(shape: SuggesterStatusList, required: true, location_name: "Suggesters"))
|
315
330
|
DescribeSuggestersResponse.struct_class = Types::DescribeSuggestersResponse
|
316
331
|
|
332
|
+
DisabledOperationException.struct_class = Types::DisabledOperationException
|
333
|
+
|
317
334
|
DocumentSuggesterOptions.add_member(:source_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "SourceField"))
|
318
335
|
DocumentSuggesterOptions.add_member(:fuzzy_matching, Shapes::ShapeRef.new(shape: SuggesterFuzzyMatching, location_name: "FuzzyMatching"))
|
319
336
|
DocumentSuggesterOptions.add_member(:sort_expression, Shapes::ShapeRef.new(shape: String, location_name: "SortExpression"))
|
320
337
|
DocumentSuggesterOptions.struct_class = Types::DocumentSuggesterOptions
|
321
338
|
|
339
|
+
DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
|
340
|
+
DomainEndpointOptions.add_member(:tls_security_policy, Shapes::ShapeRef.new(shape: TLSSecurityPolicy, location_name: "TLSSecurityPolicy"))
|
341
|
+
DomainEndpointOptions.struct_class = Types::DomainEndpointOptions
|
342
|
+
|
343
|
+
DomainEndpointOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, required: true, location_name: "Options"))
|
344
|
+
DomainEndpointOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
|
345
|
+
DomainEndpointOptionsStatus.struct_class = Types::DomainEndpointOptionsStatus
|
346
|
+
|
322
347
|
DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
|
323
348
|
|
324
349
|
DomainNameMap.key = Shapes::ShapeRef.new(shape: DomainName)
|
@@ -412,6 +437,10 @@ module Aws::CloudSearch
|
|
412
437
|
IntOptions.add_member(:sort_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "SortEnabled"))
|
413
438
|
IntOptions.struct_class = Types::IntOptions
|
414
439
|
|
440
|
+
InternalException.struct_class = Types::InternalException
|
441
|
+
|
442
|
+
InvalidTypeException.struct_class = Types::InvalidTypeException
|
443
|
+
|
415
444
|
LatLonOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: FieldValue, location_name: "DefaultValue"))
|
416
445
|
LatLonOptions.add_member(:source_field, Shapes::ShapeRef.new(shape: FieldName, location_name: "SourceField"))
|
417
446
|
LatLonOptions.add_member(:facet_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "FacetEnabled"))
|
@@ -420,6 +449,8 @@ module Aws::CloudSearch
|
|
420
449
|
LatLonOptions.add_member(:sort_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "SortEnabled"))
|
421
450
|
LatLonOptions.struct_class = Types::LatLonOptions
|
422
451
|
|
452
|
+
LimitExceededException.struct_class = Types::LimitExceededException
|
453
|
+
|
423
454
|
Limits.add_member(:maximum_replication_count, Shapes::ShapeRef.new(shape: MaximumReplicationCount, required: true, location_name: "MaximumReplicationCount"))
|
424
455
|
Limits.add_member(:maximum_partition_count, Shapes::ShapeRef.new(shape: MaximumPartitionCount, required: true, location_name: "MaximumPartitionCount"))
|
425
456
|
Limits.struct_class = Types::Limits
|
@@ -449,6 +480,8 @@ module Aws::CloudSearch
|
|
449
480
|
OptionStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
|
450
481
|
OptionStatus.struct_class = Types::OptionStatus
|
451
482
|
|
483
|
+
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
484
|
+
|
452
485
|
ScalingParameters.add_member(:desired_instance_type, Shapes::ShapeRef.new(shape: PartitionInstanceType, location_name: "DesiredInstanceType"))
|
453
486
|
ScalingParameters.add_member(:desired_replication_count, Shapes::ShapeRef.new(shape: UIntValue, location_name: "DesiredReplicationCount"))
|
454
487
|
ScalingParameters.add_member(:desired_partition_count, Shapes::ShapeRef.new(shape: UIntValue, location_name: "DesiredPartitionCount"))
|
@@ -495,6 +528,13 @@ module Aws::CloudSearch
|
|
495
528
|
UpdateAvailabilityOptionsResponse.add_member(:availability_options, Shapes::ShapeRef.new(shape: AvailabilityOptionsStatus, location_name: "AvailabilityOptions"))
|
496
529
|
UpdateAvailabilityOptionsResponse.struct_class = Types::UpdateAvailabilityOptionsResponse
|
497
530
|
|
531
|
+
UpdateDomainEndpointOptionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
532
|
+
UpdateDomainEndpointOptionsRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, required: true, location_name: "DomainEndpointOptions"))
|
533
|
+
UpdateDomainEndpointOptionsRequest.struct_class = Types::UpdateDomainEndpointOptionsRequest
|
534
|
+
|
535
|
+
UpdateDomainEndpointOptionsResponse.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
|
536
|
+
UpdateDomainEndpointOptionsResponse.struct_class = Types::UpdateDomainEndpointOptionsResponse
|
537
|
+
|
498
538
|
UpdateScalingParametersRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
|
499
539
|
UpdateScalingParametersRequest.add_member(:scaling_parameters, Shapes::ShapeRef.new(shape: ScalingParameters, required: true, location_name: "ScalingParameters"))
|
500
540
|
UpdateScalingParametersRequest.struct_class = Types::UpdateScalingParametersRequest
|
@@ -509,6 +549,8 @@ module Aws::CloudSearch
|
|
509
549
|
UpdateServiceAccessPoliciesResponse.add_member(:access_policies, Shapes::ShapeRef.new(shape: AccessPoliciesStatus, required: true, location_name: "AccessPolicies"))
|
510
550
|
UpdateServiceAccessPoliciesResponse.struct_class = Types::UpdateServiceAccessPoliciesResponse
|
511
551
|
|
552
|
+
ValidationException.struct_class = Types::ValidationException
|
553
|
+
|
512
554
|
|
513
555
|
# @api private
|
514
556
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -520,6 +562,7 @@ module Aws::CloudSearch
|
|
520
562
|
"endpointPrefix" => "cloudsearch",
|
521
563
|
"protocol" => "query",
|
522
564
|
"serviceFullName" => "Amazon CloudSearch",
|
565
|
+
"serviceId" => "CloudSearch",
|
523
566
|
"signatureVersion" => "v4",
|
524
567
|
"uid" => "cloudsearch-2013-01-01",
|
525
568
|
"xmlNamespace" => "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
|
@@ -682,6 +725,19 @@ module Aws::CloudSearch
|
|
682
725
|
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
683
726
|
end)
|
684
727
|
|
728
|
+
api.add_operation(:describe_domain_endpoint_options, Seahorse::Model::Operation.new.tap do |o|
|
729
|
+
o.name = "DescribeDomainEndpointOptions"
|
730
|
+
o.http_method = "POST"
|
731
|
+
o.http_request_uri = "/"
|
732
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeDomainEndpointOptionsRequest)
|
733
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeDomainEndpointOptionsResponse)
|
734
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
735
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
736
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
737
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
738
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
739
|
+
end)
|
740
|
+
|
685
741
|
api.add_operation(:describe_domains, Seahorse::Model::Operation.new.tap do |o|
|
686
742
|
o.name = "DescribeDomains"
|
687
743
|
o.http_method = "POST"
|
@@ -779,6 +835,22 @@ module Aws::CloudSearch
|
|
779
835
|
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
780
836
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
781
837
|
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
838
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
839
|
+
end)
|
840
|
+
|
841
|
+
api.add_operation(:update_domain_endpoint_options, Seahorse::Model::Operation.new.tap do |o|
|
842
|
+
o.name = "UpdateDomainEndpointOptions"
|
843
|
+
o.http_method = "POST"
|
844
|
+
o.http_request_uri = "/"
|
845
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateDomainEndpointOptionsRequest)
|
846
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateDomainEndpointOptionsResponse)
|
847
|
+
o.errors << Shapes::ShapeRef.new(shape: BaseException)
|
848
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
849
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
782
854
|
end)
|
783
855
|
|
784
856
|
api.add_operation(:update_scaling_parameters, Seahorse::Model::Operation.new.tap do |o|
|
@@ -6,6 +6,35 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::CloudSearch
|
9
|
+
|
10
|
+
# When CloudSearch returns an error response, the Ruby SDK constructs and raises an error.
|
11
|
+
# These errors all extend Aws::CloudSearch::Errors::ServiceError < {Aws::Errors::ServiceError}
|
12
|
+
#
|
13
|
+
# You can rescue all CloudSearch errors using ServiceError:
|
14
|
+
#
|
15
|
+
# begin
|
16
|
+
# # do stuff
|
17
|
+
# rescue Aws::CloudSearch::Errors::ServiceError
|
18
|
+
# # rescues all CloudSearch API errors
|
19
|
+
# end
|
20
|
+
#
|
21
|
+
#
|
22
|
+
# ## Request Context
|
23
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
24
|
+
# information about the request that generated the error.
|
25
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
26
|
+
#
|
27
|
+
# ## Error Classes
|
28
|
+
# * {BaseException}
|
29
|
+
# * {DisabledOperationException}
|
30
|
+
# * {InternalException}
|
31
|
+
# * {InvalidTypeException}
|
32
|
+
# * {LimitExceededException}
|
33
|
+
# * {ResourceNotFoundException}
|
34
|
+
# * {ValidationException}
|
35
|
+
#
|
36
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
37
|
+
# if they are not defined above.
|
9
38
|
module Errors
|
10
39
|
|
11
40
|
extend Aws::Errors::DynamicErrors
|
@@ -28,7 +57,66 @@ module Aws::CloudSearch
|
|
28
57
|
def message
|
29
58
|
@message || @data[:message]
|
30
59
|
end
|
60
|
+
end
|
61
|
+
|
62
|
+
class DisabledOperationException < ServiceError
|
63
|
+
|
64
|
+
# @param [Seahorse::Client::RequestContext] context
|
65
|
+
# @param [String] message
|
66
|
+
# @param [Aws::CloudSearch::Types::DisabledOperationException] data
|
67
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
68
|
+
super(context, message, data)
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
class InternalException < ServiceError
|
73
|
+
|
74
|
+
# @param [Seahorse::Client::RequestContext] context
|
75
|
+
# @param [String] message
|
76
|
+
# @param [Aws::CloudSearch::Types::InternalException] data
|
77
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
78
|
+
super(context, message, data)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
class InvalidTypeException < ServiceError
|
83
|
+
|
84
|
+
# @param [Seahorse::Client::RequestContext] context
|
85
|
+
# @param [String] message
|
86
|
+
# @param [Aws::CloudSearch::Types::InvalidTypeException] data
|
87
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
88
|
+
super(context, message, data)
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
class LimitExceededException < ServiceError
|
93
|
+
|
94
|
+
# @param [Seahorse::Client::RequestContext] context
|
95
|
+
# @param [String] message
|
96
|
+
# @param [Aws::CloudSearch::Types::LimitExceededException] data
|
97
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
98
|
+
super(context, message, data)
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
class ResourceNotFoundException < ServiceError
|
103
|
+
|
104
|
+
# @param [Seahorse::Client::RequestContext] context
|
105
|
+
# @param [String] message
|
106
|
+
# @param [Aws::CloudSearch::Types::ResourceNotFoundException] data
|
107
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
108
|
+
super(context, message, data)
|
109
|
+
end
|
110
|
+
end
|
31
111
|
|
112
|
+
class ValidationException < ServiceError
|
113
|
+
|
114
|
+
# @param [Seahorse::Client::RequestContext] context
|
115
|
+
# @param [String] message
|
116
|
+
# @param [Aws::CloudSearch::Types::ValidationException] data
|
117
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
118
|
+
super(context, message, data)
|
119
|
+
end
|
32
120
|
end
|
33
121
|
|
34
122
|
end
|
@@ -953,6 +953,47 @@ module Aws::CloudSearch
|
|
953
953
|
include Aws::Structure
|
954
954
|
end
|
955
955
|
|
956
|
+
# Container for the parameters to the `DescribeDomainEndpointOptions`
|
957
|
+
# operation. Specify the name of the domain you want to describe. To
|
958
|
+
# show the active configuration and exclude any pending changes, set the
|
959
|
+
# Deployed option to `true`.
|
960
|
+
#
|
961
|
+
# @note When making an API call, you may pass DescribeDomainEndpointOptionsRequest
|
962
|
+
# data as a hash:
|
963
|
+
#
|
964
|
+
# {
|
965
|
+
# domain_name: "DomainName", # required
|
966
|
+
# deployed: false,
|
967
|
+
# }
|
968
|
+
#
|
969
|
+
# @!attribute [rw] domain_name
|
970
|
+
# A string that represents the name of a domain.
|
971
|
+
# @return [String]
|
972
|
+
#
|
973
|
+
# @!attribute [rw] deployed
|
974
|
+
# Whether to retrieve the latest configuration (which might be in a
|
975
|
+
# Processing state) or the current, active configuration. Defaults to
|
976
|
+
# `false`.
|
977
|
+
# @return [Boolean]
|
978
|
+
#
|
979
|
+
class DescribeDomainEndpointOptionsRequest < Struct.new(
|
980
|
+
:domain_name,
|
981
|
+
:deployed)
|
982
|
+
include Aws::Structure
|
983
|
+
end
|
984
|
+
|
985
|
+
# The result of a `DescribeDomainEndpointOptions` request. Contains the
|
986
|
+
# status and configuration of a search domain's endpoint options.
|
987
|
+
#
|
988
|
+
# @!attribute [rw] domain_endpoint_options
|
989
|
+
# The status and configuration of a search domain's endpoint options.
|
990
|
+
# @return [Types::DomainEndpointOptionsStatus]
|
991
|
+
#
|
992
|
+
class DescribeDomainEndpointOptionsResponse < Struct.new(
|
993
|
+
:domain_endpoint_options)
|
994
|
+
include Aws::Structure
|
995
|
+
end
|
996
|
+
|
956
997
|
# Container for the parameters to the `DescribeDomains` operation. By
|
957
998
|
# default shows the status of all domains. To restrict the response to
|
958
999
|
# particular domains, specify the names of the domains you want to
|
@@ -1202,6 +1243,11 @@ module Aws::CloudSearch
|
|
1202
1243
|
include Aws::Structure
|
1203
1244
|
end
|
1204
1245
|
|
1246
|
+
# The request was rejected because it attempted an operation which is
|
1247
|
+
# not enabled.
|
1248
|
+
#
|
1249
|
+
class DisabledOperationException < Aws::EmptyStructure; end
|
1250
|
+
|
1205
1251
|
# Options for a search suggester.
|
1206
1252
|
#
|
1207
1253
|
# @note When making an API call, you may pass DocumentSuggesterOptions
|
@@ -1243,6 +1289,46 @@ module Aws::CloudSearch
|
|
1243
1289
|
include Aws::Structure
|
1244
1290
|
end
|
1245
1291
|
|
1292
|
+
# The domain's endpoint options.
|
1293
|
+
#
|
1294
|
+
# @note When making an API call, you may pass DomainEndpointOptions
|
1295
|
+
# data as a hash:
|
1296
|
+
#
|
1297
|
+
# {
|
1298
|
+
# enforce_https: false,
|
1299
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
1300
|
+
# }
|
1301
|
+
#
|
1302
|
+
# @!attribute [rw] enforce_https
|
1303
|
+
# Whether the domain is HTTPS only enabled.
|
1304
|
+
# @return [Boolean]
|
1305
|
+
#
|
1306
|
+
# @!attribute [rw] tls_security_policy
|
1307
|
+
# The minimum required TLS version
|
1308
|
+
# @return [String]
|
1309
|
+
#
|
1310
|
+
class DomainEndpointOptions < Struct.new(
|
1311
|
+
:enforce_https,
|
1312
|
+
:tls_security_policy)
|
1313
|
+
include Aws::Structure
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
# The configuration and status of the domain's endpoint options.
|
1317
|
+
#
|
1318
|
+
# @!attribute [rw] options
|
1319
|
+
# The domain endpoint options configured for the domain.
|
1320
|
+
# @return [Types::DomainEndpointOptions]
|
1321
|
+
#
|
1322
|
+
# @!attribute [rw] status
|
1323
|
+
# The status of the configured domain endpoint options.
|
1324
|
+
# @return [Types::OptionStatus]
|
1325
|
+
#
|
1326
|
+
class DomainEndpointOptionsStatus < Struct.new(
|
1327
|
+
:options,
|
1328
|
+
:status)
|
1329
|
+
include Aws::Structure
|
1330
|
+
end
|
1331
|
+
|
1246
1332
|
# The current status of the search domain.
|
1247
1333
|
#
|
1248
1334
|
# @!attribute [rw] domain_id
|
@@ -1845,6 +1931,21 @@ module Aws::CloudSearch
|
|
1845
1931
|
include Aws::Structure
|
1846
1932
|
end
|
1847
1933
|
|
1934
|
+
# An internal error occurred while processing the request. If this
|
1935
|
+
# problem persists, report an issue from the [Service Health
|
1936
|
+
# Dashboard][1].
|
1937
|
+
#
|
1938
|
+
#
|
1939
|
+
#
|
1940
|
+
# [1]: http://status.aws.amazon.com/
|
1941
|
+
#
|
1942
|
+
class InternalException < Aws::EmptyStructure; end
|
1943
|
+
|
1944
|
+
# The request was rejected because it specified an invalid type
|
1945
|
+
# definition.
|
1946
|
+
#
|
1947
|
+
class InvalidTypeException < Aws::EmptyStructure; end
|
1948
|
+
|
1848
1949
|
# Options for a latlon field. A latlon field contains a location stored
|
1849
1950
|
# as a latitude and longitude value pair. Present if `IndexFieldType`
|
1850
1951
|
# specifies the field is of type `latlon`. All options are enabled by
|
@@ -1913,6 +2014,11 @@ module Aws::CloudSearch
|
|
1913
2014
|
include Aws::Structure
|
1914
2015
|
end
|
1915
2016
|
|
2017
|
+
# The request was rejected because a resource limit has already been
|
2018
|
+
# met.
|
2019
|
+
#
|
2020
|
+
class LimitExceededException < Aws::EmptyStructure; end
|
2021
|
+
|
1916
2022
|
# @!attribute [rw] maximum_replication_count
|
1917
2023
|
# @return [Integer]
|
1918
2024
|
#
|
@@ -2092,6 +2198,11 @@ module Aws::CloudSearch
|
|
2092
2198
|
include Aws::Structure
|
2093
2199
|
end
|
2094
2200
|
|
2201
|
+
# The request was rejected because it attempted to reference a resource
|
2202
|
+
# that does not exist.
|
2203
|
+
#
|
2204
|
+
class ResourceNotFoundException < Aws::EmptyStructure; end
|
2205
|
+
|
2095
2206
|
# The desired instance type and desired number of replicas of each index
|
2096
2207
|
# partition.
|
2097
2208
|
#
|
@@ -2369,6 +2480,50 @@ module Aws::CloudSearch
|
|
2369
2480
|
include Aws::Structure
|
2370
2481
|
end
|
2371
2482
|
|
2483
|
+
# Container for the parameters to the `UpdateDomainEndpointOptions`
|
2484
|
+
# operation. Specifies the name of the domain you want to update and the
|
2485
|
+
# domain endpoint options.
|
2486
|
+
#
|
2487
|
+
# @note When making an API call, you may pass UpdateDomainEndpointOptionsRequest
|
2488
|
+
# data as a hash:
|
2489
|
+
#
|
2490
|
+
# {
|
2491
|
+
# domain_name: "DomainName", # required
|
2492
|
+
# domain_endpoint_options: { # required
|
2493
|
+
# enforce_https: false,
|
2494
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
2495
|
+
# },
|
2496
|
+
# }
|
2497
|
+
#
|
2498
|
+
# @!attribute [rw] domain_name
|
2499
|
+
# A string that represents the name of a domain.
|
2500
|
+
# @return [String]
|
2501
|
+
#
|
2502
|
+
# @!attribute [rw] domain_endpoint_options
|
2503
|
+
# Whether to require that all requests to the domain arrive over
|
2504
|
+
# HTTPS. We recommend Policy-Min-TLS-1-2-2019-07 for
|
2505
|
+
# TLSSecurityPolicy. For compatibility with older clients, the default
|
2506
|
+
# is Policy-Min-TLS-1-0-2019-07.
|
2507
|
+
# @return [Types::DomainEndpointOptions]
|
2508
|
+
#
|
2509
|
+
class UpdateDomainEndpointOptionsRequest < Struct.new(
|
2510
|
+
:domain_name,
|
2511
|
+
:domain_endpoint_options)
|
2512
|
+
include Aws::Structure
|
2513
|
+
end
|
2514
|
+
|
2515
|
+
# The result of a `UpdateDomainEndpointOptions` request. Contains the
|
2516
|
+
# configuration and status of the domain's endpoint options.
|
2517
|
+
#
|
2518
|
+
# @!attribute [rw] domain_endpoint_options
|
2519
|
+
# The newly-configured domain endpoint options.
|
2520
|
+
# @return [Types::DomainEndpointOptionsStatus]
|
2521
|
+
#
|
2522
|
+
class UpdateDomainEndpointOptionsResponse < Struct.new(
|
2523
|
+
:domain_endpoint_options)
|
2524
|
+
include Aws::Structure
|
2525
|
+
end
|
2526
|
+
|
2372
2527
|
# Container for the parameters to the `UpdateScalingParameters`
|
2373
2528
|
# operation. Specifies the name of the domain you want to update and the
|
2374
2529
|
# scaling parameters you want to configure.
|
@@ -2458,5 +2613,9 @@ module Aws::CloudSearch
|
|
2458
2613
|
include Aws::Structure
|
2459
2614
|
end
|
2460
2615
|
|
2616
|
+
# The request was rejected because it has invalid parameters.
|
2617
|
+
#
|
2618
|
+
class ValidationException < Aws::EmptyStructure; end
|
2619
|
+
|
2461
2620
|
end
|
2462
2621
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.1
|
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:
|
11
|
+
date: 2020-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.99.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - Amazon CloudSearch
|