aws-sdk-elasticsearchservice 1.58.0 → 1.59.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
2
  SHA256:
3
- metadata.gz: d7e66d77895ecb50ed83f44ebb28a484d81bb11eb8c4e64c9f0317678266b509
4
- data.tar.gz: df52c48f9c4331d03d42c0be73ef2b6489a05e5c4b63acb59ac6f5f62ab2d77d
3
+ metadata.gz: b04e08841707202a4b5dbbbb151318224c28004757e83bd5eedaf291783ae3b1
4
+ data.tar.gz: c9e768d43ca9800e3a5d810a7b9fc64c772447a2fdf70c5eb2a26384171c5431
5
5
  SHA512:
6
- metadata.gz: 15624a5da98272a90a796eb9d3a1046934aae8e8ad1f06637c33eb8a234b3bffacef363c5129002accf47c397aafd1e4bbd88a3f597b31b50f7601aa2656040b
7
- data.tar.gz: a0fe5eb85b8a1b9afb57186318cf7b94c30458a6840b2d5850bfc5b2c5d8847d6c1e53199eec2d6d9323582eaf27a1874efe08a945ff17143f5166d0cbb97383
6
+ metadata.gz: b1dac239cf4926b0e1d6e7864138c0eefe933c20c8a836c6539eea2b5c1bb4f765eeb5c6946b047b5cab7ee701be163ebbe84930605d7399a95b85e0e07df29e
7
+ data.tar.gz: 766d15531ff835e3a767af016088657d95cc3428bcac5f2dc071d1c3b79e0ff445fb3f6ba4fd8f014cbc61e63e0bb59906f2d9a3e149cabe72388f31fe18d6c3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.59.0 (2021-11-22)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.58.0 (2021-11-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.58.0
1
+ 1.59.0
@@ -2490,9 +2490,18 @@ module Aws::ElasticsearchService
2490
2490
  # @option params [Types::AutoTuneOptions] :auto_tune_options
2491
2491
  # Specifies Auto-Tune options.
2492
2492
  #
2493
+ # @option params [Boolean] :dry_run
2494
+ # This flag, when set to True, specifies whether the
2495
+ # `UpdateElasticsearchDomain` request should return the results of
2496
+ # validation checks without actually applying the change. This flag,
2497
+ # when set to True, specifies the deployment mechanism through which the
2498
+ # update shall be applied on the domain. This will not actually perform
2499
+ # the Update.
2500
+ #
2493
2501
  # @return [Types::UpdateElasticsearchDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2494
2502
  #
2495
2503
  # * {Types::UpdateElasticsearchDomainConfigResponse#domain_config #domain_config} => Types::ElasticsearchDomainConfig
2504
+ # * {Types::UpdateElasticsearchDomainConfigResponse#dry_run_results #dry_run_results} => Types::DryRunResults
2496
2505
  #
2497
2506
  # @example Request syntax with placeholder values
2498
2507
  #
@@ -2593,6 +2602,7 @@ module Aws::ElasticsearchService
2593
2602
  # },
2594
2603
  # ],
2595
2604
  # },
2605
+ # dry_run: false,
2596
2606
  # })
2597
2607
  #
2598
2608
  # @example Response structure
@@ -2725,6 +2735,8 @@ module Aws::ElasticsearchService
2725
2735
  # 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"
2726
2736
  # resp.domain_config.auto_tune_options.status.error_message #=> String
2727
2737
  # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
2738
+ # resp.dry_run_results.deployment_type #=> String
2739
+ # resp.dry_run_results.message #=> String
2728
2740
  #
2729
2741
  # @overload update_elasticsearch_domain_config(params = {})
2730
2742
  # @param [Hash] params ({})
@@ -2842,7 +2854,7 @@ module Aws::ElasticsearchService
2842
2854
  params: params,
2843
2855
  config: config)
2844
2856
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
2845
- context[:gem_version] = '1.58.0'
2857
+ context[:gem_version] = '1.59.0'
2846
2858
  Seahorse::Client::Request.new(handlers, context)
2847
2859
  end
2848
2860
 
@@ -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
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
48
48
  # @!group service
49
49
  module Aws::ElasticsearchService
50
50
 
51
- GEM_VERSION = '1.58.0'
51
+ GEM_VERSION = '1.59.0'
52
52
 
53
53
  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.58.0
4
+ version: 1.59.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-04 00:00:00.000000000 Z
11
+ date: 2021-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core