aws-sdk-opensearchservice 1.2.0 → 1.6.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: 616ab7e60770136145efd6316af4d8a179b231d9f5cf4930eb90e2a8dd33a986
4
- data.tar.gz: 906b1494437059b965583916fc4c53df4e7cf863044074d356a5123fb3809b61
3
+ metadata.gz: 6a553e730c98dc63de066fc94ba14f66fda4ee151bdcf0d3ea0614ed38636c70
4
+ data.tar.gz: '0952c84900e03ebce34374af50726a73c0ac0c3ae9eea869e21652a3d5bf7e14'
5
5
  SHA512:
6
- metadata.gz: f973c5cf3d5bf120ae64773878b8add5df3ff2707a8001b95f572bf50e48b95c46a9b486be3743abb3cc59ddd542b2eef41520aa7228e267878cef2e64c05410
7
- data.tar.gz: d120386f7e54bd438c32ef21d9f0b3230727a4cc747405ef4c1f47397ec1b594b02f539455a02247dcd67801bf257437b6285ee016f48ed937e621ec4c40cefa
6
+ metadata.gz: a734c0b591c1585e1f7d5280b2e917e19b9628480f9b68fdad7c174c63fe1a58234442bef888372f91e05db87b75e5e38a34f79b43b7ae477cb1b73fd0009f7d
7
+ data.tar.gz: 0d4a13d49ea3b1a66b53fbc7e8bc2cf4eb7dda62c9e32010b43e7d688896d47aabe5b661e32711579f31294c96e74b9f1aa9eaa7f8cd0bc7eb7fa9852d538b69
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.6.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.5.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.4.0 (2021-11-23)
15
+ ------------------
16
+
17
+ * Feature - This release adds an optional parameter dry-run for the UpdateDomainConfig 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.3.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.2.0 (2021-10-18)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.6.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::OpenSearchService
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::OpenSearchService
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::OpenSearchService
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::OpenSearchService
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::OpenSearchService
286
303
  # seconds to wait when opening a HTTP session before raising a
287
304
  # `Timeout::Error`.
288
305
  #
289
- # @option options [Integer] :http_read_timeout (60) The default
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::OpenSearchService
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
  #
@@ -2532,9 +2552,15 @@ module Aws::OpenSearchService
2532
2552
  # @option params [Types::AutoTuneOptions] :auto_tune_options
2533
2553
  # Specifies Auto-Tune options.
2534
2554
  #
2555
+ # @option params [Boolean] :dry_run
2556
+ # This flag, when set to True, specifies whether the `UpdateDomain`
2557
+ # request should return the results of validation checks (DryRunResults)
2558
+ # without actually applying the change.
2559
+ #
2535
2560
  # @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2536
2561
  #
2537
2562
  # * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
2563
+ # * {Types::UpdateDomainConfigResponse#dry_run_results #dry_run_results} => Types::DryRunResults
2538
2564
  #
2539
2565
  # @example Request syntax with placeholder values
2540
2566
  #
@@ -2635,6 +2661,7 @@ module Aws::OpenSearchService
2635
2661
  # },
2636
2662
  # ],
2637
2663
  # },
2664
+ # dry_run: false,
2638
2665
  # })
2639
2666
  #
2640
2667
  # @example Response structure
@@ -2767,6 +2794,8 @@ module Aws::OpenSearchService
2767
2794
  # 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"
2768
2795
  # resp.domain_config.auto_tune_options.status.error_message #=> String
2769
2796
  # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
2797
+ # resp.dry_run_results.deployment_type #=> String
2798
+ # resp.dry_run_results.message #=> String
2770
2799
  #
2771
2800
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig AWS API Documentation
2772
2801
  #
@@ -2916,7 +2945,7 @@ module Aws::OpenSearchService
2916
2945
  params: params,
2917
2946
  config: config)
2918
2947
  context[:gem_name] = 'aws-sdk-opensearchservice'
2919
- context[:gem_version] = '1.2.0'
2948
+ context[:gem_version] = '1.6.0'
2920
2949
  Seahorse::Client::Request.new(handlers, context)
2921
2950
  end
2922
2951
 
@@ -78,6 +78,7 @@ module Aws::OpenSearchService
78
78
  DeletePackageResponse = Shapes::StructureShape.new(name: 'DeletePackageResponse')
79
79
  DeploymentCloseDateTimeStamp = Shapes::TimestampShape.new(name: 'DeploymentCloseDateTimeStamp')
80
80
  DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
81
+ DeploymentType = Shapes::StringShape.new(name: 'DeploymentType')
81
82
  DescribeDomainAutoTunesRequest = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesRequest')
82
83
  DescribeDomainAutoTunesResponse = Shapes::StructureShape.new(name: 'DescribeDomainAutoTunesResponse')
83
84
  DescribeDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeDomainConfigRequest')
@@ -122,6 +123,8 @@ module Aws::OpenSearchService
122
123
  DomainStatus = Shapes::StructureShape.new(name: 'DomainStatus')
123
124
  DomainStatusList = Shapes::ListShape.new(name: 'DomainStatusList')
124
125
  Double = Shapes::FloatShape.new(name: 'Double')
126
+ DryRun = Shapes::BooleanShape.new(name: 'DryRun')
127
+ DryRunResults = Shapes::StructureShape.new(name: 'DryRunResults')
125
128
  Duration = Shapes::StructureShape.new(name: 'Duration')
126
129
  DurationValue = Shapes::IntegerShape.new(name: 'DurationValue')
127
130
  EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
@@ -191,6 +194,7 @@ module Aws::OpenSearchService
191
194
  MasterUserOptions = Shapes::StructureShape.new(name: 'MasterUserOptions')
192
195
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
193
196
  MaximumInstanceCount = Shapes::IntegerShape.new(name: 'MaximumInstanceCount')
197
+ Message = Shapes::StringShape.new(name: 'Message')
194
198
  MinimumInstanceCount = Shapes::IntegerShape.new(name: 'MinimumInstanceCount')
195
199
  NextToken = Shapes::StringShape.new(name: 'NextToken')
196
200
  NodeToNodeEncryptionOptions = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptions')
@@ -684,6 +688,10 @@ module Aws::OpenSearchService
684
688
 
685
689
  DomainStatusList.member = Shapes::ShapeRef.new(shape: DomainStatus)
686
690
 
691
+ DryRunResults.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentType, location_name: "DeploymentType"))
692
+ DryRunResults.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
693
+ DryRunResults.struct_class = Types::DryRunResults
694
+
687
695
  Duration.add_member(:value, Shapes::ShapeRef.new(shape: DurationValue, location_name: "Value"))
688
696
  Duration.add_member(:unit, Shapes::ShapeRef.new(shape: TimeUnit, location_name: "Unit"))
689
697
  Duration.struct_class = Types::Duration
@@ -1062,9 +1070,11 @@ module Aws::OpenSearchService
1062
1070
  UpdateDomainConfigRequest.add_member(:node_to_node_encryption_options, Shapes::ShapeRef.new(shape: NodeToNodeEncryptionOptions, location_name: "NodeToNodeEncryptionOptions"))
1063
1071
  UpdateDomainConfigRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
1064
1072
  UpdateDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
1073
+ UpdateDomainConfigRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
1065
1074
  UpdateDomainConfigRequest.struct_class = Types::UpdateDomainConfigRequest
1066
1075
 
1067
1076
  UpdateDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig"))
1077
+ UpdateDomainConfigResponse.add_member(:dry_run_results, Shapes::ShapeRef.new(shape: DryRunResults, location_name: "DryRunResults"))
1068
1078
  UpdateDomainConfigResponse.struct_class = Types::UpdateDomainConfigResponse
1069
1079
 
1070
1080
  UpdatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location_name: "PackageID"))
@@ -2491,6 +2491,29 @@ module Aws::OpenSearchService
2491
2491
  include Aws::Structure
2492
2492
  end
2493
2493
 
2494
+ # @!attribute [rw] deployment_type
2495
+ # Specifies the way in which Amazon OpenSearch Service applies the
2496
+ # update. Possible responses are `Blue/Green` (the update requires a
2497
+ # blue/green deployment), `DynamicUpdate` (no blue/green required),
2498
+ # `Undetermined` (the domain is undergoing an update and can't
2499
+ # predict the deployment type; try again after the update is
2500
+ # complete), and `None` (the request doesn't include any
2501
+ # configuration changes).
2502
+ # @return [String]
2503
+ #
2504
+ # @!attribute [rw] message
2505
+ # Contains an optional message associated with the DryRunResults.
2506
+ # @return [String]
2507
+ #
2508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DryRunResults AWS API Documentation
2509
+ #
2510
+ class DryRunResults < Struct.new(
2511
+ :deployment_type,
2512
+ :message)
2513
+ SENSITIVE = []
2514
+ include Aws::Structure
2515
+ end
2516
+
2494
2517
  # The maintenance schedule duration: duration value and duration unit.
2495
2518
  # See [ Auto-Tune for Amazon OpenSearch Service ][1] for more
2496
2519
  # information.
@@ -4529,6 +4552,7 @@ module Aws::OpenSearchService
4529
4552
  # },
4530
4553
  # ],
4531
4554
  # },
4555
+ # dry_run: false,
4532
4556
  # }
4533
4557
  #
4534
4558
  # @!attribute [rw] domain_name
@@ -4611,6 +4635,12 @@ module Aws::OpenSearchService
4611
4635
  # Specifies Auto-Tune options.
4612
4636
  # @return [Types::AutoTuneOptions]
4613
4637
  #
4638
+ # @!attribute [rw] dry_run
4639
+ # This flag, when set to True, specifies whether the `UpdateDomain`
4640
+ # request should return the results of validation checks
4641
+ # (DryRunResults) without actually applying the change.
4642
+ # @return [Boolean]
4643
+ #
4614
4644
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfigRequest AWS API Documentation
4615
4645
  #
4616
4646
  class UpdateDomainConfigRequest < Struct.new(
@@ -4627,7 +4657,8 @@ module Aws::OpenSearchService
4627
4657
  :domain_endpoint_options,
4628
4658
  :node_to_node_encryption_options,
4629
4659
  :advanced_security_options,
4630
- :auto_tune_options)
4660
+ :auto_tune_options,
4661
+ :dry_run)
4631
4662
  SENSITIVE = []
4632
4663
  include Aws::Structure
4633
4664
  end
@@ -4639,10 +4670,15 @@ module Aws::OpenSearchService
4639
4670
  # The status of the updated domain.
4640
4671
  # @return [Types::DomainConfig]
4641
4672
  #
4673
+ # @!attribute [rw] dry_run_results
4674
+ # Contains result of DryRun.
4675
+ # @return [Types::DryRunResults]
4676
+ #
4642
4677
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfigResponse AWS API Documentation
4643
4678
  #
4644
4679
  class UpdateDomainConfigResponse < Struct.new(
4645
- :domain_config)
4680
+ :domain_config,
4681
+ :dry_run_results)
4646
4682
  SENSITIVE = []
4647
4683
  include Aws::Structure
4648
4684
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-opensearchservice/customizations'
48
48
  # @!group service
49
49
  module Aws::OpenSearchService
50
50
 
51
- GEM_VERSION = '1.2.0'
51
+ GEM_VERSION = '1.6.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.6.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-10-18 00:00:00.000000000 Z
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.121.2
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.121.2
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement