aws-sdk-cloudsearch 1.9.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 982b69cc61801c84f1958b77627c7516a04e5244
4
- data.tar.gz: a584985c09e5f2a269e9564e359b2a712f707c65
2
+ SHA256:
3
+ metadata.gz: 04c077a942c9b83336a674ca7ffaf540596a6b1fbbd436f7cd9b37d49693c97c
4
+ data.tar.gz: c79bc5d54e82c15be4ec4942476832d5c562aac67eabe6e8f7f4872c3daa0548
5
5
  SHA512:
6
- metadata.gz: 67d85fed6539b32af2e5683b28d692f950ab1b976b7b1bda0f1e8ff6fe7681a1d83de981f9a712bf7252d1f608a1d1552178255194706f2c00ce81b3555b8fe9
7
- data.tar.gz: a2201eb486cb1aec989ad3fbaea0c2b8b7b056687b78925e1cd4aa9b73833750d77cbd309f9b1dd15b1e59f5fc4850968d8a218ffc444f0d6062f5cc846c1bcf
6
+ metadata.gz: 0ff96382f3f7c9ebd434ea6cbd77a71edbdb9e5a0b529a8695ad837f045d955a2c1ebd5a9eee595c8ac4ac84fa671753899e94492efeba4d00eaf036033fefdc
7
+ data.tar.gz: 164d955e8791447c39fad32f5d572b36ec6b68f4ed0fa8a59265f267db19ea1d3f43f7a3b7d9c514a76543525a6955d96a792b86bf675abf1d60bf9f6ea013f7
@@ -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,17 +26,20 @@ require_relative 'aws-sdk-cloudsearch/customizations'
24
26
  # methods each accept a hash of request parameters and return a response
25
27
  # structure.
26
28
  #
29
+ # cloud_search = Aws::CloudSearch::Client.new
30
+ # resp = cloud_search.build_suggesters(params)
31
+ #
27
32
  # See {Client} for more information.
28
33
  #
29
34
  # # Errors
30
35
  #
31
- # Errors returned from Amazon CloudSearch all
32
- # extend {Errors::ServiceError}.
36
+ # Errors returned from Amazon CloudSearch are defined in the
37
+ # {Errors} module and all extend {Errors::ServiceError}.
33
38
  #
34
39
  # begin
35
40
  # # do stuff
36
41
  # rescue Aws::CloudSearch::Errors::ServiceError
37
- # # rescues all service API errors
42
+ # # rescues all Amazon CloudSearch API errors
38
43
  # end
39
44
  #
40
45
  # See {Errors} for more information.
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-cloudsearch/customizations'
42
47
  # @service
43
48
  module Aws::CloudSearch
44
49
 
45
- GEM_VERSION = '1.9.0'
50
+ GEM_VERSION = '1.23.0'
46
51
 
47
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:
@@ -23,12 +25,26 @@ require 'aws-sdk-core/plugins/idempotency_token.rb'
23
25
  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'
28
+ require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
26
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
27
31
  require 'aws-sdk-core/plugins/protocols/query.rb'
28
32
 
29
33
  Aws::Plugins::GlobalConfiguration.add_identifier(:cloudsearch)
30
34
 
31
35
  module Aws::CloudSearch
36
+ # An API client for CloudSearch. To construct a client, you need to configure a `:region` and `:credentials`.
37
+ #
38
+ # client = Aws::CloudSearch::Client.new(
39
+ # region: region_name,
40
+ # credentials: credentials,
41
+ # # ...
42
+ # )
43
+ #
44
+ # For details on configuring region and credentials see
45
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
46
+ #
47
+ # See {#initialize} for a full list of supported configuration options.
32
48
  class Client < Seahorse::Client::Base
33
49
 
34
50
  include Aws::ClientStubs
@@ -55,6 +71,8 @@ module Aws::CloudSearch
55
71
  add_plugin(Aws::Plugins::JsonvalueConverter)
56
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
57
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
+ add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
58
76
  add_plugin(Aws::Plugins::SignatureV4)
59
77
  add_plugin(Aws::Plugins::Protocols::Query)
60
78
 
@@ -91,7 +109,7 @@ module Aws::CloudSearch
91
109
  # @option options [required, String] :region
92
110
  # The AWS region to connect to. The configured `:region` is
93
111
  # used to determine the service `:endpoint`. When not passed,
94
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
95
113
  #
96
114
  # * `Aws.config[:region]`
97
115
  # * `ENV['AWS_REGION']`
@@ -106,6 +124,12 @@ module Aws::CloudSearch
106
124
  # When set to `true`, a thread polling for endpoints will be running in
107
125
  # the background every 60 secs (default). Defaults to `false`.
108
126
  #
127
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
128
+ # Used only in `adaptive` retry mode. When true, the request will sleep
129
+ # until there is sufficent client side capacity to retry the request.
130
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
131
+ # not retry instead of sleeping.
132
+ #
109
133
  # @option options [Boolean] :client_side_monitoring (false)
110
134
  # When `true`, client-side metrics will be collected for all API requests from
111
135
  # this client.
@@ -114,6 +138,10 @@ module Aws::CloudSearch
114
138
  # Allows you to provide an identifier for this client which will be attached to
115
139
  # all generated client side metrics. Defaults to an empty string.
116
140
  #
141
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
142
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
143
+ # side monitoring agent is running on, where client metrics will be published via UDP.
144
+ #
117
145
  # @option options [Integer] :client_side_monitoring_port (31000)
118
146
  # Required for publishing client metrics. The port that the client side monitoring
119
147
  # agent is running on, where client metrics will be published via UDP.
@@ -126,6 +154,10 @@ module Aws::CloudSearch
126
154
  # When `true`, an attempt is made to coerce request parameters into
127
155
  # the required types.
128
156
  #
157
+ # @option options [Boolean] :correct_clock_skew (true)
158
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
159
+ # a clock skew correction and retry requests with skewed client clocks.
160
+ #
129
161
  # @option options [Boolean] :disable_host_prefix_injection (false)
130
162
  # Set to true to disable SDK automatically adding host prefix
131
163
  # to default service endpoint when available.
@@ -133,7 +165,7 @@ module Aws::CloudSearch
133
165
  # @option options [String] :endpoint
134
166
  # The client endpoint is normally constructed from the `:region`
135
167
  # option. You should only configure an `:endpoint` when connecting
136
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
137
169
  #
138
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
139
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -148,7 +180,7 @@ module Aws::CloudSearch
148
180
  # requests fetching endpoints information. Defaults to 60 sec.
149
181
  #
150
182
  # @option options [Boolean] :endpoint_discovery (false)
151
- # 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.
152
184
  #
153
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
154
186
  # The log formatter.
@@ -160,15 +192,29 @@ module Aws::CloudSearch
160
192
  # The Logger instance to send log messages to. If this option
161
193
  # is not set, logging will be disabled.
162
194
  #
195
+ # @option options [Integer] :max_attempts (3)
196
+ # An integer representing the maximum number attempts that will be made for
197
+ # a single request, including the initial attempt. For example,
198
+ # setting this value to 5 will result in a request being retried up to
199
+ # 4 times. Used in `standard` and `adaptive` retry modes.
200
+ #
163
201
  # @option options [String] :profile ("default")
164
202
  # Used when loading credentials from the shared credentials file
165
203
  # at HOME/.aws/credentials. When not specified, 'default' is used.
166
204
  #
205
+ # @option options [Proc] :retry_backoff
206
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
207
+ # This option is only used in the `legacy` retry mode.
208
+ #
167
209
  # @option options [Float] :retry_base_delay (0.3)
168
- # The base delay in seconds used by the default backoff function.
210
+ # The base delay in seconds used by the default backoff function. This option
211
+ # is only used in the `legacy` retry mode.
169
212
  #
170
213
  # @option options [Symbol] :retry_jitter (:none)
171
- # A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
214
+ # A delay randomiser function used by the default backoff function.
215
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
216
+ # otherwise a Proc that takes and returns a number. This option is only used
217
+ # in the `legacy` retry mode.
172
218
  #
173
219
  # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
174
220
  #
@@ -176,11 +222,30 @@ module Aws::CloudSearch
176
222
  # The maximum number of times to retry failed requests. Only
177
223
  # ~ 500 level server errors and certain ~ 400 level client errors
178
224
  # are retried. Generally, these are throttling errors, data
179
- # checksum errors, networking errors, timeout errors and auth
180
- # errors from expired credentials.
225
+ # checksum errors, networking errors, timeout errors, auth errors,
226
+ # endpoint discovery, and errors from expired credentials.
227
+ # This option is only used in the `legacy` retry mode.
181
228
  #
182
229
  # @option options [Integer] :retry_max_delay (0)
183
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
230
+ # The maximum number of seconds to delay between retries (0 for no limit)
231
+ # used by the default backoff function. This option is only used in the
232
+ # `legacy` retry mode.
233
+ #
234
+ # @option options [String] :retry_mode ("legacy")
235
+ # Specifies which retry algorithm to use. Values are:
236
+ #
237
+ # * `legacy` - The pre-existing retry behavior. This is default value if
238
+ # no retry mode is provided.
239
+ #
240
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
241
+ # This includes support for retry quotas, which limit the number of
242
+ # unsuccessful retries a client can make.
243
+ #
244
+ # * `adaptive` - An experimental retry mode that includes all the
245
+ # functionality of `standard` mode along with automatic client side
246
+ # throttling. This is a provisional mode that may change behavior
247
+ # in the future.
248
+ #
184
249
  #
185
250
  # @option options [String] :secret_access_key
186
251
  #
@@ -199,6 +264,48 @@ module Aws::CloudSearch
199
264
  # When `true`, request parameters are validated before
200
265
  # sending the request.
201
266
  #
267
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
268
+ # requests through. Formatted like 'http://proxy.com:123'.
269
+ #
270
+ # @option options [Float] :http_open_timeout (15) The number of
271
+ # seconds to wait when opening a HTTP session before raising a
272
+ # `Timeout::Error`.
273
+ #
274
+ # @option options [Integer] :http_read_timeout (60) The default
275
+ # number of seconds to wait for response data. This value can
276
+ # safely be set per-request on the session.
277
+ #
278
+ # @option options [Float] :http_idle_timeout (5) The number of
279
+ # seconds a connection is allowed to sit idle before it is
280
+ # considered stale. Stale connections are closed and removed
281
+ # from the pool before making a request.
282
+ #
283
+ # @option options [Float] :http_continue_timeout (1) The number of
284
+ # seconds to wait for a 100-continue response before sending the
285
+ # request body. This option has no effect unless the request has
286
+ # "Expect" header set to "100-continue". Defaults to `nil` which
287
+ # disables this behaviour. This value can safely be set per
288
+ # request on the session.
289
+ #
290
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
291
+ # HTTP debug output will be sent to the `:logger`.
292
+ #
293
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
294
+ # SSL peer certificates are verified when establishing a
295
+ # connection.
296
+ #
297
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
298
+ # certificate authority bundle file that should be used when
299
+ # verifying peer certificates. If you do not pass
300
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
301
+ # will be used if available.
302
+ #
303
+ # @option options [String] :ssl_ca_directory Full path of the
304
+ # directory that contains the unbundled SSL certificate
305
+ # authority files for verifying peer certificates. If you do
306
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
307
+ # system default will be used if available.
308
+ #
202
309
  def initialize(*args)
203
310
  super
204
311
  end
@@ -1057,6 +1164,51 @@ module Aws::CloudSearch
1057
1164
  req.send_request(options)
1058
1165
  end
1059
1166
 
1167
+ # Returns the domain's endpoint options, specifically whether all
1168
+ # requests to the domain must arrive over HTTPS. For more information,
1169
+ # see [Configuring Domain Endpoint Options][1] in the *Amazon
1170
+ # CloudSearch Developer Guide*.
1171
+ #
1172
+ #
1173
+ #
1174
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-domain-endpoint-options.html
1175
+ #
1176
+ # @option params [required, String] :domain_name
1177
+ # A string that represents the name of a domain.
1178
+ #
1179
+ # @option params [Boolean] :deployed
1180
+ # Whether to retrieve the latest configuration (which might be in a
1181
+ # Processing state) or the current, active configuration. Defaults to
1182
+ # `false`.
1183
+ #
1184
+ # @return [Types::DescribeDomainEndpointOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1185
+ #
1186
+ # * {Types::DescribeDomainEndpointOptionsResponse#domain_endpoint_options #domain_endpoint_options} => Types::DomainEndpointOptionsStatus
1187
+ #
1188
+ # @example Request syntax with placeholder values
1189
+ #
1190
+ # resp = client.describe_domain_endpoint_options({
1191
+ # domain_name: "DomainName", # required
1192
+ # deployed: false,
1193
+ # })
1194
+ #
1195
+ # @example Response structure
1196
+ #
1197
+ # resp.domain_endpoint_options.options.enforce_https #=> Boolean
1198
+ # 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"
1199
+ # resp.domain_endpoint_options.status.creation_date #=> Time
1200
+ # resp.domain_endpoint_options.status.update_date #=> Time
1201
+ # resp.domain_endpoint_options.status.update_version #=> Integer
1202
+ # resp.domain_endpoint_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1203
+ # resp.domain_endpoint_options.status.pending_deletion #=> Boolean
1204
+ #
1205
+ # @overload describe_domain_endpoint_options(params = {})
1206
+ # @param [Hash] params ({})
1207
+ def describe_domain_endpoint_options(params = {}, options = {})
1208
+ req = build_request(:describe_domain_endpoint_options, params)
1209
+ req.send_request(options)
1210
+ end
1211
+
1060
1212
  # Gets information about the search domains owned by this account. Can
1061
1213
  # be limited to specific domains. Shows all domains by default. To get
1062
1214
  # the number of searchable documents in a domain, use the console or
@@ -1515,6 +1667,55 @@ module Aws::CloudSearch
1515
1667
  req.send_request(options)
1516
1668
  end
1517
1669
 
1670
+ # Updates the domain's endpoint options, specifically whether all
1671
+ # requests to the domain must arrive over HTTPS. For more information,
1672
+ # see [Configuring Domain Endpoint Options][1] in the *Amazon
1673
+ # CloudSearch Developer Guide*.
1674
+ #
1675
+ #
1676
+ #
1677
+ # [1]: http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-domain-endpoint-options.html
1678
+ #
1679
+ # @option params [required, String] :domain_name
1680
+ # A string that represents the name of a domain.
1681
+ #
1682
+ # @option params [required, Types::DomainEndpointOptions] :domain_endpoint_options
1683
+ # Whether to require that all requests to the domain arrive over HTTPS.
1684
+ # We recommend Policy-Min-TLS-1-2-2019-07 for TLSSecurityPolicy. For
1685
+ # compatibility with older clients, the default is
1686
+ # Policy-Min-TLS-1-0-2019-07.
1687
+ #
1688
+ # @return [Types::UpdateDomainEndpointOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1689
+ #
1690
+ # * {Types::UpdateDomainEndpointOptionsResponse#domain_endpoint_options #domain_endpoint_options} => Types::DomainEndpointOptionsStatus
1691
+ #
1692
+ # @example Request syntax with placeholder values
1693
+ #
1694
+ # resp = client.update_domain_endpoint_options({
1695
+ # domain_name: "DomainName", # required
1696
+ # domain_endpoint_options: { # required
1697
+ # enforce_https: false,
1698
+ # 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
1699
+ # },
1700
+ # })
1701
+ #
1702
+ # @example Response structure
1703
+ #
1704
+ # resp.domain_endpoint_options.options.enforce_https #=> Boolean
1705
+ # 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"
1706
+ # resp.domain_endpoint_options.status.creation_date #=> Time
1707
+ # resp.domain_endpoint_options.status.update_date #=> Time
1708
+ # resp.domain_endpoint_options.status.update_version #=> Integer
1709
+ # resp.domain_endpoint_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active", "FailedToValidate"
1710
+ # resp.domain_endpoint_options.status.pending_deletion #=> Boolean
1711
+ #
1712
+ # @overload update_domain_endpoint_options(params = {})
1713
+ # @param [Hash] params ({})
1714
+ def update_domain_endpoint_options(params = {}, options = {})
1715
+ req = build_request(:update_domain_endpoint_options, params)
1716
+ req.send_request(options)
1717
+ end
1718
+
1518
1719
  # Configures scaling parameters for a domain. A domain's scaling
1519
1720
  # parameters specify the desired search instance type and replication
1520
1721
  # count. Amazon CloudSearch will still automatically scale your domain
@@ -1629,7 +1830,7 @@ module Aws::CloudSearch
1629
1830
  params: params,
1630
1831
  config: config)
1631
1832
  context[:gem_name] = 'aws-sdk-cloudsearch'
1632
- context[:gem_version] = '1.9.0'
1833
+ context[:gem_version] = '1.23.0'
1633
1834
  Seahorse::Client::Request.new(handlers, context)
1634
1835
  end
1635
1836
 
@@ -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:
@@ -51,6 +53,8 @@ module Aws::CloudSearch
51
53
  DescribeAnalysisSchemesResponse = Shapes::StructureShape.new(name: 'DescribeAnalysisSchemesResponse')
52
54
  DescribeAvailabilityOptionsRequest = Shapes::StructureShape.new(name: 'DescribeAvailabilityOptionsRequest')
53
55
  DescribeAvailabilityOptionsResponse = Shapes::StructureShape.new(name: 'DescribeAvailabilityOptionsResponse')
56
+ DescribeDomainEndpointOptionsRequest = Shapes::StructureShape.new(name: 'DescribeDomainEndpointOptionsRequest')
57
+ DescribeDomainEndpointOptionsResponse = Shapes::StructureShape.new(name: 'DescribeDomainEndpointOptionsResponse')
54
58
  DescribeDomainsRequest = Shapes::StructureShape.new(name: 'DescribeDomainsRequest')
55
59
  DescribeDomainsResponse = Shapes::StructureShape.new(name: 'DescribeDomainsResponse')
56
60
  DescribeExpressionsRequest = Shapes::StructureShape.new(name: 'DescribeExpressionsRequest')
@@ -65,6 +69,8 @@ module Aws::CloudSearch
65
69
  DescribeSuggestersResponse = Shapes::StructureShape.new(name: 'DescribeSuggestersResponse')
66
70
  DisabledOperationException = Shapes::StructureShape.new(name: 'DisabledOperationException')
67
71
  DocumentSuggesterOptions = Shapes::StructureShape.new(name: 'DocumentSuggesterOptions')
72
+ DomainEndpointOptions = Shapes::StructureShape.new(name: 'DomainEndpointOptions')
73
+ DomainEndpointOptionsStatus = Shapes::StructureShape.new(name: 'DomainEndpointOptionsStatus')
68
74
  DomainId = Shapes::StringShape.new(name: 'DomainId')
69
75
  DomainName = Shapes::StringShape.new(name: 'DomainName')
70
76
  DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
@@ -125,16 +131,20 @@ module Aws::CloudSearch
125
131
  SuggesterFuzzyMatching = Shapes::StringShape.new(name: 'SuggesterFuzzyMatching')
126
132
  SuggesterStatus = Shapes::StructureShape.new(name: 'SuggesterStatus')
127
133
  SuggesterStatusList = Shapes::ListShape.new(name: 'SuggesterStatusList')
134
+ TLSSecurityPolicy = Shapes::StringShape.new(name: 'TLSSecurityPolicy')
128
135
  TextArrayOptions = Shapes::StructureShape.new(name: 'TextArrayOptions')
129
136
  TextOptions = Shapes::StructureShape.new(name: 'TextOptions')
130
137
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
131
138
  UpdateAvailabilityOptionsRequest = Shapes::StructureShape.new(name: 'UpdateAvailabilityOptionsRequest')
132
139
  UpdateAvailabilityOptionsResponse = Shapes::StructureShape.new(name: 'UpdateAvailabilityOptionsResponse')
140
+ UpdateDomainEndpointOptionsRequest = Shapes::StructureShape.new(name: 'UpdateDomainEndpointOptionsRequest')
141
+ UpdateDomainEndpointOptionsResponse = Shapes::StructureShape.new(name: 'UpdateDomainEndpointOptionsResponse')
133
142
  UpdateScalingParametersRequest = Shapes::StructureShape.new(name: 'UpdateScalingParametersRequest')
134
143
  UpdateScalingParametersResponse = Shapes::StructureShape.new(name: 'UpdateScalingParametersResponse')
135
144
  UpdateServiceAccessPoliciesRequest = Shapes::StructureShape.new(name: 'UpdateServiceAccessPoliciesRequest')
136
145
  UpdateServiceAccessPoliciesResponse = Shapes::StructureShape.new(name: 'UpdateServiceAccessPoliciesResponse')
137
146
  UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
147
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
138
148
  Word = Shapes::StringShape.new(name: 'Word')
139
149
 
140
150
  AccessPoliciesStatus.add_member(:options, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "Options"))
@@ -163,6 +173,10 @@ module Aws::CloudSearch
163
173
  AvailabilityOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
164
174
  AvailabilityOptionsStatus.struct_class = Types::AvailabilityOptionsStatus
165
175
 
176
+ BaseException.add_member(:code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "Code"))
177
+ BaseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
178
+ BaseException.struct_class = Types::BaseException
179
+
166
180
  BuildSuggestersRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
167
181
  BuildSuggestersRequest.struct_class = Types::BuildSuggestersRequest
168
182
 
@@ -267,6 +281,13 @@ module Aws::CloudSearch
267
281
  DescribeAvailabilityOptionsResponse.add_member(:availability_options, Shapes::ShapeRef.new(shape: AvailabilityOptionsStatus, location_name: "AvailabilityOptions"))
268
282
  DescribeAvailabilityOptionsResponse.struct_class = Types::DescribeAvailabilityOptionsResponse
269
283
 
284
+ DescribeDomainEndpointOptionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
285
+ DescribeDomainEndpointOptionsRequest.add_member(:deployed, Shapes::ShapeRef.new(shape: Boolean, location_name: "Deployed"))
286
+ DescribeDomainEndpointOptionsRequest.struct_class = Types::DescribeDomainEndpointOptionsRequest
287
+
288
+ DescribeDomainEndpointOptionsResponse.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
289
+ DescribeDomainEndpointOptionsResponse.struct_class = Types::DescribeDomainEndpointOptionsResponse
290
+
270
291
  DescribeDomainsRequest.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainNameList, location_name: "DomainNames"))
271
292
  DescribeDomainsRequest.struct_class = Types::DescribeDomainsRequest
272
293
 
@@ -310,11 +331,21 @@ module Aws::CloudSearch
310
331
  DescribeSuggestersResponse.add_member(:suggesters, Shapes::ShapeRef.new(shape: SuggesterStatusList, required: true, location_name: "Suggesters"))
311
332
  DescribeSuggestersResponse.struct_class = Types::DescribeSuggestersResponse
312
333
 
334
+ DisabledOperationException.struct_class = Types::DisabledOperationException
335
+
313
336
  DocumentSuggesterOptions.add_member(:source_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "SourceField"))
314
337
  DocumentSuggesterOptions.add_member(:fuzzy_matching, Shapes::ShapeRef.new(shape: SuggesterFuzzyMatching, location_name: "FuzzyMatching"))
315
338
  DocumentSuggesterOptions.add_member(:sort_expression, Shapes::ShapeRef.new(shape: String, location_name: "SortExpression"))
316
339
  DocumentSuggesterOptions.struct_class = Types::DocumentSuggesterOptions
317
340
 
341
+ DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
342
+ DomainEndpointOptions.add_member(:tls_security_policy, Shapes::ShapeRef.new(shape: TLSSecurityPolicy, location_name: "TLSSecurityPolicy"))
343
+ DomainEndpointOptions.struct_class = Types::DomainEndpointOptions
344
+
345
+ DomainEndpointOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, required: true, location_name: "Options"))
346
+ DomainEndpointOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
347
+ DomainEndpointOptionsStatus.struct_class = Types::DomainEndpointOptionsStatus
348
+
318
349
  DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
319
350
 
320
351
  DomainNameMap.key = Shapes::ShapeRef.new(shape: DomainName)
@@ -408,6 +439,10 @@ module Aws::CloudSearch
408
439
  IntOptions.add_member(:sort_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "SortEnabled"))
409
440
  IntOptions.struct_class = Types::IntOptions
410
441
 
442
+ InternalException.struct_class = Types::InternalException
443
+
444
+ InvalidTypeException.struct_class = Types::InvalidTypeException
445
+
411
446
  LatLonOptions.add_member(:default_value, Shapes::ShapeRef.new(shape: FieldValue, location_name: "DefaultValue"))
412
447
  LatLonOptions.add_member(:source_field, Shapes::ShapeRef.new(shape: FieldName, location_name: "SourceField"))
413
448
  LatLonOptions.add_member(:facet_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "FacetEnabled"))
@@ -416,6 +451,8 @@ module Aws::CloudSearch
416
451
  LatLonOptions.add_member(:sort_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "SortEnabled"))
417
452
  LatLonOptions.struct_class = Types::LatLonOptions
418
453
 
454
+ LimitExceededException.struct_class = Types::LimitExceededException
455
+
419
456
  Limits.add_member(:maximum_replication_count, Shapes::ShapeRef.new(shape: MaximumReplicationCount, required: true, location_name: "MaximumReplicationCount"))
420
457
  Limits.add_member(:maximum_partition_count, Shapes::ShapeRef.new(shape: MaximumPartitionCount, required: true, location_name: "MaximumPartitionCount"))
421
458
  Limits.struct_class = Types::Limits
@@ -445,6 +482,8 @@ module Aws::CloudSearch
445
482
  OptionStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
446
483
  OptionStatus.struct_class = Types::OptionStatus
447
484
 
485
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
486
+
448
487
  ScalingParameters.add_member(:desired_instance_type, Shapes::ShapeRef.new(shape: PartitionInstanceType, location_name: "DesiredInstanceType"))
449
488
  ScalingParameters.add_member(:desired_replication_count, Shapes::ShapeRef.new(shape: UIntValue, location_name: "DesiredReplicationCount"))
450
489
  ScalingParameters.add_member(:desired_partition_count, Shapes::ShapeRef.new(shape: UIntValue, location_name: "DesiredPartitionCount"))
@@ -491,6 +530,13 @@ module Aws::CloudSearch
491
530
  UpdateAvailabilityOptionsResponse.add_member(:availability_options, Shapes::ShapeRef.new(shape: AvailabilityOptionsStatus, location_name: "AvailabilityOptions"))
492
531
  UpdateAvailabilityOptionsResponse.struct_class = Types::UpdateAvailabilityOptionsResponse
493
532
 
533
+ UpdateDomainEndpointOptionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
534
+ UpdateDomainEndpointOptionsRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, required: true, location_name: "DomainEndpointOptions"))
535
+ UpdateDomainEndpointOptionsRequest.struct_class = Types::UpdateDomainEndpointOptionsRequest
536
+
537
+ UpdateDomainEndpointOptionsResponse.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptionsStatus, location_name: "DomainEndpointOptions"))
538
+ UpdateDomainEndpointOptionsResponse.struct_class = Types::UpdateDomainEndpointOptionsResponse
539
+
494
540
  UpdateScalingParametersRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
495
541
  UpdateScalingParametersRequest.add_member(:scaling_parameters, Shapes::ShapeRef.new(shape: ScalingParameters, required: true, location_name: "ScalingParameters"))
496
542
  UpdateScalingParametersRequest.struct_class = Types::UpdateScalingParametersRequest
@@ -505,6 +551,8 @@ module Aws::CloudSearch
505
551
  UpdateServiceAccessPoliciesResponse.add_member(:access_policies, Shapes::ShapeRef.new(shape: AccessPoliciesStatus, required: true, location_name: "AccessPolicies"))
506
552
  UpdateServiceAccessPoliciesResponse.struct_class = Types::UpdateServiceAccessPoliciesResponse
507
553
 
554
+ ValidationException.struct_class = Types::ValidationException
555
+
508
556
 
509
557
  # @api private
510
558
  API = Seahorse::Model::Api.new.tap do |api|
@@ -516,6 +564,7 @@ module Aws::CloudSearch
516
564
  "endpointPrefix" => "cloudsearch",
517
565
  "protocol" => "query",
518
566
  "serviceFullName" => "Amazon CloudSearch",
567
+ "serviceId" => "CloudSearch",
519
568
  "signatureVersion" => "v4",
520
569
  "uid" => "cloudsearch-2013-01-01",
521
570
  "xmlNamespace" => "http://cloudsearch.amazonaws.com/doc/2013-01-01/",
@@ -678,6 +727,19 @@ module Aws::CloudSearch
678
727
  o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
679
728
  end)
680
729
 
730
+ api.add_operation(:describe_domain_endpoint_options, Seahorse::Model::Operation.new.tap do |o|
731
+ o.name = "DescribeDomainEndpointOptions"
732
+ o.http_method = "POST"
733
+ o.http_request_uri = "/"
734
+ o.input = Shapes::ShapeRef.new(shape: DescribeDomainEndpointOptionsRequest)
735
+ o.output = Shapes::ShapeRef.new(shape: DescribeDomainEndpointOptionsResponse)
736
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
737
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
738
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
739
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
740
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
741
+ end)
742
+
681
743
  api.add_operation(:describe_domains, Seahorse::Model::Operation.new.tap do |o|
682
744
  o.name = "DescribeDomains"
683
745
  o.http_method = "POST"
@@ -775,6 +837,22 @@ module Aws::CloudSearch
775
837
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
776
838
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
777
839
  o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
840
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
841
+ end)
842
+
843
+ api.add_operation(:update_domain_endpoint_options, Seahorse::Model::Operation.new.tap do |o|
844
+ o.name = "UpdateDomainEndpointOptions"
845
+ o.http_method = "POST"
846
+ o.http_request_uri = "/"
847
+ o.input = Shapes::ShapeRef.new(shape: UpdateDomainEndpointOptionsRequest)
848
+ o.output = Shapes::ShapeRef.new(shape: UpdateDomainEndpointOptionsResponse)
849
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
850
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
851
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
852
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
853
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
854
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
855
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
778
856
  end)
779
857
 
780
858
  api.add_operation(:update_scaling_parameters, Seahorse::Model::Operation.new.tap do |o|