aws-sdk-elasticsearchservice 1.57.0 → 1.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-elasticsearchservice/client.rb +35 -3
- data/lib/aws-sdk-elasticsearchservice/client_api.rb +10 -0
- data/lib/aws-sdk-elasticsearchservice/types.rb +40 -2
- data/lib/aws-sdk-elasticsearchservice.rb +1 -1
- 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: 8da07919d8b0a46dc0de21856e5cf7d07242f1ecc2d5f97783371dcd045194af
|
4
|
+
data.tar.gz: ea0446503de71b0e38cde2d9046584df02136635569c9f07a8ed7564a0c348a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c4ca439e398835780ba79285e34e246d7a91ba543bec067433b24dc8504587eeb48d9c51d55fffd4f1f1534ea69c1c988c81b286f75007b06a9ed5d106ca223
|
7
|
+
data.tar.gz: 96136867cde9cd9700bca0e4a6e1dcde206eb94cceba64d5345b88437878468b52f401d0712deb8381a61c32dd1269e4afe0bf1e18599996fe3e8d2af115cf39
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.61.0 (2021-12-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.60.0 (2021-11-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.59.0 (2021-11-22)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds an optional parameter dry-run for the UpdateElasticsearchDomainConfig API to perform basic validation checks, and detect the deployment type that will be required for the configuration change, without actually applying the change.
|
18
|
+
|
19
|
+
1.58.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.57.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.61.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::ElasticsearchService
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::ElasticsearchService
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::ElasticsearchService
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -275,6 +283,15 @@ module Aws::ElasticsearchService
|
|
275
283
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
276
284
|
# requests are made, and retries are disabled.
|
277
285
|
#
|
286
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
287
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
288
|
+
# will be used if available.
|
289
|
+
#
|
290
|
+
# @option options [Boolean] :use_fips_endpoint
|
291
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
292
|
+
# When a `fips` region is used, the region is normalized and this config
|
293
|
+
# is set to `true`.
|
294
|
+
#
|
278
295
|
# @option options [Boolean] :validate_params (true)
|
279
296
|
# When `true`, request parameters are validated before
|
280
297
|
# sending the request.
|
@@ -286,7 +303,7 @@ module Aws::ElasticsearchService
|
|
286
303
|
# seconds to wait when opening a HTTP session before raising a
|
287
304
|
# `Timeout::Error`.
|
288
305
|
#
|
289
|
-
# @option options [
|
306
|
+
# @option options [Float] :http_read_timeout (60) The default
|
290
307
|
# number of seconds to wait for response data. This value can
|
291
308
|
# safely be set per-request on the session.
|
292
309
|
#
|
@@ -302,6 +319,9 @@ module Aws::ElasticsearchService
|
|
302
319
|
# disables this behaviour. This value can safely be set per
|
303
320
|
# request on the session.
|
304
321
|
#
|
322
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
323
|
+
# in seconds.
|
324
|
+
#
|
305
325
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
306
326
|
# HTTP debug output will be sent to the `:logger`.
|
307
327
|
#
|
@@ -2481,9 +2501,18 @@ module Aws::ElasticsearchService
|
|
2481
2501
|
# @option params [Types::AutoTuneOptions] :auto_tune_options
|
2482
2502
|
# Specifies Auto-Tune options.
|
2483
2503
|
#
|
2504
|
+
# @option params [Boolean] :dry_run
|
2505
|
+
# This flag, when set to True, specifies whether the
|
2506
|
+
# `UpdateElasticsearchDomain` request should return the results of
|
2507
|
+
# validation checks without actually applying the change. This flag,
|
2508
|
+
# when set to True, specifies the deployment mechanism through which the
|
2509
|
+
# update shall be applied on the domain. This will not actually perform
|
2510
|
+
# the Update.
|
2511
|
+
#
|
2484
2512
|
# @return [Types::UpdateElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2485
2513
|
#
|
2486
2514
|
# * {Types::UpdateElasticsearchDomainConfigResponse#domain_config #domain_config} => Types::ElasticsearchDomainConfig
|
2515
|
+
# * {Types::UpdateElasticsearchDomainConfigResponse#dry_run_results #dry_run_results} => Types::DryRunResults
|
2487
2516
|
#
|
2488
2517
|
# @example Request syntax with placeholder values
|
2489
2518
|
#
|
@@ -2584,6 +2613,7 @@ module Aws::ElasticsearchService
|
|
2584
2613
|
# },
|
2585
2614
|
# ],
|
2586
2615
|
# },
|
2616
|
+
# dry_run: false,
|
2587
2617
|
# })
|
2588
2618
|
#
|
2589
2619
|
# @example Response structure
|
@@ -2716,6 +2746,8 @@ module Aws::ElasticsearchService
|
|
2716
2746
|
# resp.domain_config.auto_tune_options.status.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
|
2717
2747
|
# resp.domain_config.auto_tune_options.status.error_message #=> String
|
2718
2748
|
# resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
|
2749
|
+
# resp.dry_run_results.deployment_type #=> String
|
2750
|
+
# resp.dry_run_results.message #=> String
|
2719
2751
|
#
|
2720
2752
|
# @overload update_elasticsearch_domain_config(params = {})
|
2721
2753
|
# @param [Hash] params ({})
|
@@ -2833,7 +2865,7 @@ module Aws::ElasticsearchService
|
|
2833
2865
|
params: params,
|
2834
2866
|
config: config)
|
2835
2867
|
context[:gem_name] = 'aws-sdk-elasticsearchservice'
|
2836
|
-
context[:gem_version] = '1.
|
2868
|
+
context[:gem_version] = '1.61.0'
|
2837
2869
|
Seahorse::Client::Request.new(handlers, context)
|
2838
2870
|
end
|
2839
2871
|
|
@@ -75,6 +75,7 @@ module Aws::ElasticsearchService
|
|
75
75
|
DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
|
76
76
|
DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
|
77
77
|
DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
|
78
|
+
DeploymentType = Shapes::StringShape.new(name: 'DeploymentType')
|
78
79
|
DescribeDomainAutoTunesRequest = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesRequest')
|
79
80
|
DescribeDomainAutoTunesResponse = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesResponse')
|
80
81
|
DescribeElasticsearchDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeElasticsearchDomainConfigRequest')
|
@@ -116,6 +117,8 @@ module Aws::ElasticsearchService
|
|
116
117
|
DomainPackageDetailsList = Shapes::ListShape.new(name: 'DomainPackageDetailsList')
|
117
118
|
DomainPackageStatus = Shapes::StringShape.new(name: 'DomainPackageStatus')
|
118
119
|
Double = Shapes::FloatShape.new(name: 'Double')
|
120
|
+
DryRun = Shapes::BooleanShape.new(name: 'DryRun')
|
121
|
+
DryRunResults = Shapes::StructureShape.new(name: 'DryRunResults')
|
119
122
|
Duration = Shapes::StructureShape.new(name: 'Duration')
|
120
123
|
DurationValue = Shapes::IntegerShape.new(name: 'DurationValue')
|
121
124
|
EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
|
@@ -192,6 +195,7 @@ module Aws::ElasticsearchService
|
|
192
195
|
MasterUserOptions = Shapes::StructureShape.new(name: 'MasterUserOptions')
|
193
196
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
194
197
|
MaximumInstanceCount = Shapes::IntegerShape.new(name: 'MaximumInstanceCount')
|
198
|
+
Message = Shapes::StringShape.new(name: 'Message')
|
195
199
|
MinimumInstanceCount = Shapes::IntegerShape.new(name: 'MinimumInstanceCount')
|
196
200
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
197
201
|
NodeToNodeEncryptionOptions = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptions')
|
@@ -616,6 +620,10 @@ module Aws::ElasticsearchService
|
|
616
620
|
|
617
621
|
DomainPackageDetailsList.member = Shapes::ShapeRef.new(shape: DomainPackageDetails)
|
618
622
|
|
623
|
+
DryRunResults.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentType, location_name: "DeploymentType"))
|
624
|
+
DryRunResults.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
|
625
|
+
DryRunResults.struct_class = Types::DryRunResults
|
626
|
+
|
619
627
|
Duration.add_member(:value, Shapes::ShapeRef.new(shape: DurationValue, location_name: "Value"))
|
620
628
|
Duration.add_member(:unit, Shapes::ShapeRef.new(shape: TimeUnit, location_name: "Unit"))
|
621
629
|
Duration.struct_class = Types::Duration
|
@@ -1049,9 +1057,11 @@ module Aws::ElasticsearchService
|
|
1049
1057
|
UpdateElasticsearchDomainConfigRequest.add_member(:node_to_node_encryption_options, Shapes::ShapeRef.new(shape: NodeToNodeEncryptionOptions, location_name: "NodeToNodeEncryptionOptions"))
|
1050
1058
|
UpdateElasticsearchDomainConfigRequest.add_member(:encryption_at_rest_options, Shapes::ShapeRef.new(shape: EncryptionAtRestOptions, location_name: "EncryptionAtRestOptions"))
|
1051
1059
|
UpdateElasticsearchDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
|
1060
|
+
UpdateElasticsearchDomainConfigRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
|
1052
1061
|
UpdateElasticsearchDomainConfigRequest.struct_class = Types::UpdateElasticsearchDomainConfigRequest
|
1053
1062
|
|
1054
1063
|
UpdateElasticsearchDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: ElasticsearchDomainConfig, required: true, location_name: "DomainConfig"))
|
1064
|
+
UpdateElasticsearchDomainConfigResponse.add_member(:dry_run_results, Shapes::ShapeRef.new(shape: DryRunResults, location_name: "DryRunResults"))
|
1055
1065
|
UpdateElasticsearchDomainConfigResponse.struct_class = Types::UpdateElasticsearchDomainConfigResponse
|
1056
1066
|
|
1057
1067
|
UpdatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location_name: "PackageID"))
|
@@ -1973,6 +1973,28 @@ module Aws::ElasticsearchService
|
|
1973
1973
|
include Aws::Structure
|
1974
1974
|
end
|
1975
1975
|
|
1976
|
+
# @!attribute [rw] deployment_type
|
1977
|
+
# Specifies the deployment mechanism through which the update shall be
|
1978
|
+
# applied on the domain. Possible responses are `Blue/Green` (The
|
1979
|
+
# update will require a blue/green deployment.) `DynamicUpdate` (The
|
1980
|
+
# update can be applied in-place without a Blue/Green deployment
|
1981
|
+
# required.) `Undetermined` (The domain is undergoing an update which
|
1982
|
+
# needs to complete before the deployment type can be predicted.)
|
1983
|
+
# `None` (The configuration change matches the current configuration
|
1984
|
+
# and will not result in any update.)
|
1985
|
+
# @return [String]
|
1986
|
+
#
|
1987
|
+
# @!attribute [rw] message
|
1988
|
+
# Contains an optional message associated with the DryRunResults.
|
1989
|
+
# @return [String]
|
1990
|
+
#
|
1991
|
+
class DryRunResults < Struct.new(
|
1992
|
+
:deployment_type,
|
1993
|
+
:message)
|
1994
|
+
SENSITIVE = []
|
1995
|
+
include Aws::Structure
|
1996
|
+
end
|
1997
|
+
|
1976
1998
|
# Specifies maintenance schedule duration: duration value and duration
|
1977
1999
|
# unit. See the [Developer Guide][1] for more information.
|
1978
2000
|
#
|
@@ -4259,6 +4281,7 @@ module Aws::ElasticsearchService
|
|
4259
4281
|
# },
|
4260
4282
|
# ],
|
4261
4283
|
# },
|
4284
|
+
# dry_run: false,
|
4262
4285
|
# }
|
4263
4286
|
#
|
4264
4287
|
# @!attribute [rw] domain_name
|
@@ -4340,6 +4363,15 @@ module Aws::ElasticsearchService
|
|
4340
4363
|
# Specifies Auto-Tune options.
|
4341
4364
|
# @return [Types::AutoTuneOptions]
|
4342
4365
|
#
|
4366
|
+
# @!attribute [rw] dry_run
|
4367
|
+
# This flag, when set to True, specifies whether the
|
4368
|
+
# `UpdateElasticsearchDomain` request should return the results of
|
4369
|
+
# validation checks without actually applying the change. This flag,
|
4370
|
+
# when set to True, specifies the deployment mechanism through which
|
4371
|
+
# the update shall be applied on the domain. This will not actually
|
4372
|
+
# perform the Update.
|
4373
|
+
# @return [Boolean]
|
4374
|
+
#
|
4343
4375
|
class UpdateElasticsearchDomainConfigRequest < Struct.new(
|
4344
4376
|
:domain_name,
|
4345
4377
|
:elasticsearch_cluster_config,
|
@@ -4354,7 +4386,8 @@ module Aws::ElasticsearchService
|
|
4354
4386
|
:advanced_security_options,
|
4355
4387
|
:node_to_node_encryption_options,
|
4356
4388
|
:encryption_at_rest_options,
|
4357
|
-
:auto_tune_options
|
4389
|
+
:auto_tune_options,
|
4390
|
+
:dry_run)
|
4358
4391
|
SENSITIVE = []
|
4359
4392
|
include Aws::Structure
|
4360
4393
|
end
|
@@ -4366,8 +4399,13 @@ module Aws::ElasticsearchService
|
|
4366
4399
|
# The status of the updated Elasticsearch domain.
|
4367
4400
|
# @return [Types::ElasticsearchDomainConfig]
|
4368
4401
|
#
|
4402
|
+
# @!attribute [rw] dry_run_results
|
4403
|
+
# Contains result of DryRun.
|
4404
|
+
# @return [Types::DryRunResults]
|
4405
|
+
#
|
4369
4406
|
class UpdateElasticsearchDomainConfigResponse < Struct.new(
|
4370
|
-
:domain_config
|
4407
|
+
:domain_config,
|
4408
|
+
:dry_run_results)
|
4371
4409
|
SENSITIVE = []
|
4372
4410
|
include Aws::Structure
|
4373
4411
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticsearchservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.61.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-21 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.125.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.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|