aws-sdk-opensearchservice 1.3.0 → 1.7.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b81031125f92327c978f08bc571e3bef15fedf17980727c04b5053241c4273cd
4
- data.tar.gz: '0539ee32245ce3a5aa73c76cb9763184543f07f8527756e1d1a9dc794385234e'
3
+ metadata.gz: 18eb2080668f344acf021c0e36c4da2bbcd20f683ea11234a0b6a737388cd5c1
4
+ data.tar.gz: c9e968779928a0fa113a892f7d09bc3ddd94d4dd6ed4405dd73fe30344d503cf
5
5
  SHA512:
6
- metadata.gz: 64864395d06681ac2a4405c7f7bcc9812f3f34bb03df70215e7c390e838a1366df9dc9e3052da04d21c6e28ed8eb5a194946834e40a5aac1b4013322328ab1ed
7
- data.tar.gz: 5b0a3c38d48586e9aa82a442d9fca497a983f87cf4653eef72b4b5308a7a57514d923ba8dadd54b6befccf02bf9f9da14ae5b236e8b106b2caa59760697f5a45
6
+ metadata.gz: 905e9f31660ac6c8765e997102e6db8e3f91f4dc7d036f974ee3f344288aad6713a627e02555ea34c20132774724f7a9cf3ab0aa3aaf2f59cc75b935dde5a565
7
+ data.tar.gz: 19f3a4e7dd1f6c06adb18d9bf195aa4af148908046e4cb22f9a5862b69d6b416b31eb06ecc241d2853c89cd9950caad48ee17856017b4c626955d3726e908f6a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.7.0 (2022-01-06)
5
+ ------------------
6
+
7
+ * Feature - Amazon OpenSearch Service adds support for Fine Grained Access Control for existing domains running Elasticsearch version 6.7 and above
8
+
9
+ 1.6.0 (2021-12-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.5.0 (2021-11-30)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.4.0 (2021-11-23)
20
+ ------------------
21
+
22
+ * 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.
23
+
4
24
  1.3.0 (2021-11-04)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.7.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.
@@ -295,7 +303,7 @@ module Aws::OpenSearchService
295
303
  # seconds to wait when opening a HTTP session before raising a
296
304
  # `Timeout::Error`.
297
305
  #
298
- # @option options [Integer] :http_read_timeout (60) The default
306
+ # @option options [Float] :http_read_timeout (60) The default
299
307
  # number of seconds to wait for response data. This value can
300
308
  # safely be set per-request on the session.
301
309
  #
@@ -311,6 +319,9 @@ module Aws::OpenSearchService
311
319
  # disables this behaviour. This value can safely be set per
312
320
  # request on the session.
313
321
  #
322
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
323
+ # in seconds.
324
+ #
314
325
  # @option options [Boolean] :http_wire_trace (false) When `true`,
315
326
  # HTTP debug output will be sent to the `:logger`.
316
327
  #
@@ -671,6 +682,7 @@ module Aws::OpenSearchService
671
682
  # roles_key: "String",
672
683
  # session_timeout_minutes: 1,
673
684
  # },
685
+ # anonymous_auth_enabled: false,
674
686
  # },
675
687
  # tag_list: [
676
688
  # {
@@ -763,6 +775,8 @@ module Aws::OpenSearchService
763
775
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
764
776
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
765
777
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
778
+ # resp.domain_status.advanced_security_options.anonymous_auth_disable_date #=> Time
779
+ # resp.domain_status.advanced_security_options.anonymous_auth_enabled #=> Boolean
766
780
  # resp.domain_status.auto_tune_options.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"
767
781
  # resp.domain_status.auto_tune_options.error_message #=> String
768
782
  #
@@ -976,6 +990,8 @@ module Aws::OpenSearchService
976
990
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
977
991
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
978
992
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
993
+ # resp.domain_status.advanced_security_options.anonymous_auth_disable_date #=> Time
994
+ # resp.domain_status.advanced_security_options.anonymous_auth_enabled #=> Boolean
979
995
  # resp.domain_status.auto_tune_options.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"
980
996
  # resp.domain_status.auto_tune_options.error_message #=> String
981
997
  #
@@ -1187,6 +1203,8 @@ module Aws::OpenSearchService
1187
1203
  # resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
1188
1204
  # resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
1189
1205
  # resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1206
+ # resp.domain_status.advanced_security_options.anonymous_auth_disable_date #=> Time
1207
+ # resp.domain_status.advanced_security_options.anonymous_auth_enabled #=> Boolean
1190
1208
  # resp.domain_status.auto_tune_options.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"
1191
1209
  # resp.domain_status.auto_tune_options.error_message #=> String
1192
1210
  #
@@ -1376,6 +1394,8 @@ module Aws::OpenSearchService
1376
1394
  # resp.domain_config.advanced_security_options.options.saml_options.subject_key #=> String
1377
1395
  # resp.domain_config.advanced_security_options.options.saml_options.roles_key #=> String
1378
1396
  # resp.domain_config.advanced_security_options.options.saml_options.session_timeout_minutes #=> Integer
1397
+ # resp.domain_config.advanced_security_options.options.anonymous_auth_disable_date #=> Time
1398
+ # resp.domain_config.advanced_security_options.options.anonymous_auth_enabled #=> Boolean
1379
1399
  # resp.domain_config.advanced_security_options.status.creation_date #=> Time
1380
1400
  # resp.domain_config.advanced_security_options.status.update_date #=> Time
1381
1401
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
@@ -1491,6 +1511,8 @@ module Aws::OpenSearchService
1491
1511
  # resp.domain_status_list[0].advanced_security_options.saml_options.subject_key #=> String
1492
1512
  # resp.domain_status_list[0].advanced_security_options.saml_options.roles_key #=> String
1493
1513
  # resp.domain_status_list[0].advanced_security_options.saml_options.session_timeout_minutes #=> Integer
1514
+ # resp.domain_status_list[0].advanced_security_options.anonymous_auth_disable_date #=> Time
1515
+ # resp.domain_status_list[0].advanced_security_options.anonymous_auth_enabled #=> Boolean
1494
1516
  # resp.domain_status_list[0].auto_tune_options.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"
1495
1517
  # resp.domain_status_list[0].auto_tune_options.error_message #=> String
1496
1518
  #
@@ -2541,9 +2563,15 @@ module Aws::OpenSearchService
2541
2563
  # @option params [Types::AutoTuneOptions] :auto_tune_options
2542
2564
  # Specifies Auto-Tune options.
2543
2565
  #
2566
+ # @option params [Boolean] :dry_run
2567
+ # This flag, when set to True, specifies whether the `UpdateDomain`
2568
+ # request should return the results of validation checks (DryRunResults)
2569
+ # without actually applying the change.
2570
+ #
2544
2571
  # @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2545
2572
  #
2546
2573
  # * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
2574
+ # * {Types::UpdateDomainConfigResponse#dry_run_results #dry_run_results} => Types::DryRunResults
2547
2575
  #
2548
2576
  # @example Request syntax with placeholder values
2549
2577
  #
@@ -2629,6 +2657,7 @@ module Aws::OpenSearchService
2629
2657
  # roles_key: "String",
2630
2658
  # session_timeout_minutes: 1,
2631
2659
  # },
2660
+ # anonymous_auth_enabled: false,
2632
2661
  # },
2633
2662
  # auto_tune_options: {
2634
2663
  # desired_state: "ENABLED", # accepts ENABLED, DISABLED
@@ -2644,6 +2673,7 @@ module Aws::OpenSearchService
2644
2673
  # },
2645
2674
  # ],
2646
2675
  # },
2676
+ # dry_run: false,
2647
2677
  # })
2648
2678
  #
2649
2679
  # @example Response structure
@@ -2758,6 +2788,8 @@ module Aws::OpenSearchService
2758
2788
  # resp.domain_config.advanced_security_options.options.saml_options.subject_key #=> String
2759
2789
  # resp.domain_config.advanced_security_options.options.saml_options.roles_key #=> String
2760
2790
  # resp.domain_config.advanced_security_options.options.saml_options.session_timeout_minutes #=> Integer
2791
+ # resp.domain_config.advanced_security_options.options.anonymous_auth_disable_date #=> Time
2792
+ # resp.domain_config.advanced_security_options.options.anonymous_auth_enabled #=> Boolean
2761
2793
  # resp.domain_config.advanced_security_options.status.creation_date #=> Time
2762
2794
  # resp.domain_config.advanced_security_options.status.update_date #=> Time
2763
2795
  # resp.domain_config.advanced_security_options.status.update_version #=> Integer
@@ -2776,6 +2808,8 @@ module Aws::OpenSearchService
2776
2808
  # 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"
2777
2809
  # resp.domain_config.auto_tune_options.status.error_message #=> String
2778
2810
  # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
2811
+ # resp.dry_run_results.deployment_type #=> String
2812
+ # resp.dry_run_results.message #=> String
2779
2813
  #
2780
2814
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig AWS API Documentation
2781
2815
  #
@@ -2925,7 +2959,7 @@ module Aws::OpenSearchService
2925
2959
  params: params,
2926
2960
  config: config)
2927
2961
  context[:gem_name] = 'aws-sdk-opensearchservice'
2928
- context[:gem_version] = '1.3.0'
2962
+ context[:gem_version] = '1.7.0'
2929
2963
  Seahorse::Client::Request.new(handlers, context)
2930
2964
  end
2931
2965
 
@@ -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')
@@ -103,6 +104,7 @@ module Aws::OpenSearchService
103
104
  DescribeReservedInstanceOfferingsResponse = Shapes::StructureShape.new(name: 'DescribeReservedInstanceOfferingsResponse')
104
105
  DescribeReservedInstancesRequest = Shapes::StructureShape.new(name: 'DescribeReservedInstancesRequest')
105
106
  DescribeReservedInstancesResponse = Shapes::StructureShape.new(name: 'DescribeReservedInstancesResponse')
107
+ DisableTimestamp = Shapes::TimestampShape.new(name: 'DisableTimestamp')
106
108
  DisabledOperationException = Shapes::StructureShape.new(name: 'DisabledOperationException')
107
109
  DissociatePackageRequest = Shapes::StructureShape.new(name: 'DissociatePackageRequest')
108
110
  DissociatePackageResponse = Shapes::StructureShape.new(name: 'DissociatePackageResponse')
@@ -122,6 +124,8 @@ module Aws::OpenSearchService
122
124
  DomainStatus = Shapes::StructureShape.new(name: 'DomainStatus')
123
125
  DomainStatusList = Shapes::ListShape.new(name: 'DomainStatusList')
124
126
  Double = Shapes::FloatShape.new(name: 'Double')
127
+ DryRun = Shapes::BooleanShape.new(name: 'DryRun')
128
+ DryRunResults = Shapes::StructureShape.new(name: 'DryRunResults')
125
129
  Duration = Shapes::StructureShape.new(name: 'Duration')
126
130
  DurationValue = Shapes::IntegerShape.new(name: 'DurationValue')
127
131
  EBSOptions = Shapes::StructureShape.new(name: 'EBSOptions')
@@ -191,6 +195,7 @@ module Aws::OpenSearchService
191
195
  MasterUserOptions = Shapes::StructureShape.new(name: 'MasterUserOptions')
192
196
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
193
197
  MaximumInstanceCount = Shapes::IntegerShape.new(name: 'MaximumInstanceCount')
198
+ Message = Shapes::StringShape.new(name: 'Message')
194
199
  MinimumInstanceCount = Shapes::IntegerShape.new(name: 'MinimumInstanceCount')
195
200
  NextToken = Shapes::StringShape.new(name: 'NextToken')
196
201
  NodeToNodeEncryptionOptions = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptions')
@@ -335,12 +340,15 @@ module Aws::OpenSearchService
335
340
  AdvancedSecurityOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
336
341
  AdvancedSecurityOptions.add_member(:internal_user_database_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternalUserDatabaseEnabled"))
337
342
  AdvancedSecurityOptions.add_member(:saml_options, Shapes::ShapeRef.new(shape: SAMLOptionsOutput, location_name: "SAMLOptions"))
343
+ AdvancedSecurityOptions.add_member(:anonymous_auth_disable_date, Shapes::ShapeRef.new(shape: DisableTimestamp, location_name: "AnonymousAuthDisableDate"))
344
+ AdvancedSecurityOptions.add_member(:anonymous_auth_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AnonymousAuthEnabled"))
338
345
  AdvancedSecurityOptions.struct_class = Types::AdvancedSecurityOptions
339
346
 
340
347
  AdvancedSecurityOptionsInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
341
348
  AdvancedSecurityOptionsInput.add_member(:internal_user_database_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternalUserDatabaseEnabled"))
342
349
  AdvancedSecurityOptionsInput.add_member(:master_user_options, Shapes::ShapeRef.new(shape: MasterUserOptions, location_name: "MasterUserOptions"))
343
350
  AdvancedSecurityOptionsInput.add_member(:saml_options, Shapes::ShapeRef.new(shape: SAMLOptionsInput, location_name: "SAMLOptions"))
351
+ AdvancedSecurityOptionsInput.add_member(:anonymous_auth_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AnonymousAuthEnabled"))
344
352
  AdvancedSecurityOptionsInput.struct_class = Types::AdvancedSecurityOptionsInput
345
353
 
346
354
  AdvancedSecurityOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptions, required: true, location_name: "Options"))
@@ -684,6 +692,10 @@ module Aws::OpenSearchService
684
692
 
685
693
  DomainStatusList.member = Shapes::ShapeRef.new(shape: DomainStatus)
686
694
 
695
+ DryRunResults.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentType, location_name: "DeploymentType"))
696
+ DryRunResults.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
697
+ DryRunResults.struct_class = Types::DryRunResults
698
+
687
699
  Duration.add_member(:value, Shapes::ShapeRef.new(shape: DurationValue, location_name: "Value"))
688
700
  Duration.add_member(:unit, Shapes::ShapeRef.new(shape: TimeUnit, location_name: "Unit"))
689
701
  Duration.struct_class = Types::Duration
@@ -1062,9 +1074,11 @@ module Aws::OpenSearchService
1062
1074
  UpdateDomainConfigRequest.add_member(:node_to_node_encryption_options, Shapes::ShapeRef.new(shape: NodeToNodeEncryptionOptions, location_name: "NodeToNodeEncryptionOptions"))
1063
1075
  UpdateDomainConfigRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
1064
1076
  UpdateDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
1077
+ UpdateDomainConfigRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
1065
1078
  UpdateDomainConfigRequest.struct_class = Types::UpdateDomainConfigRequest
1066
1079
 
1067
1080
  UpdateDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig"))
1081
+ UpdateDomainConfigResponse.add_member(:dry_run_results, Shapes::ShapeRef.new(shape: DryRunResults, location_name: "DryRunResults"))
1068
1082
  UpdateDomainConfigResponse.struct_class = Types::UpdateDomainConfigResponse
1069
1083
 
1070
1084
  UpdatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location_name: "PackageID"))
@@ -220,12 +220,24 @@ module Aws::OpenSearchService
220
220
  # Describes the SAML application configured for a domain.
221
221
  # @return [Types::SAMLOptionsOutput]
222
222
  #
223
+ # @!attribute [rw] anonymous_auth_disable_date
224
+ # Specifies the Anonymous Auth Disable Date when Anonymous Auth is
225
+ # enabled.
226
+ # @return [Time]
227
+ #
228
+ # @!attribute [rw] anonymous_auth_enabled
229
+ # True if Anonymous auth is enabled. Anonymous auth can be enabled
230
+ # only when AdvancedSecurity is enabled on existing domains.
231
+ # @return [Boolean]
232
+ #
223
233
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AdvancedSecurityOptions AWS API Documentation
224
234
  #
225
235
  class AdvancedSecurityOptions < Struct.new(
226
236
  :enabled,
227
237
  :internal_user_database_enabled,
228
- :saml_options)
238
+ :saml_options,
239
+ :anonymous_auth_disable_date,
240
+ :anonymous_auth_enabled)
229
241
  SENSITIVE = []
230
242
  include Aws::Structure
231
243
  end
@@ -258,6 +270,7 @@ module Aws::OpenSearchService
258
270
  # roles_key: "String",
259
271
  # session_timeout_minutes: 1,
260
272
  # },
273
+ # anonymous_auth_enabled: false,
261
274
  # }
262
275
  #
263
276
  # @!attribute [rw] enabled
@@ -277,13 +290,19 @@ module Aws::OpenSearchService
277
290
  # The SAML application configuration for the domain.
278
291
  # @return [Types::SAMLOptionsInput]
279
292
  #
293
+ # @!attribute [rw] anonymous_auth_enabled
294
+ # True if Anonymous auth is enabled. Anonymous auth can be enabled
295
+ # only when AdvancedSecurity is enabled on existing domains.
296
+ # @return [Boolean]
297
+ #
280
298
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AdvancedSecurityOptionsInput AWS API Documentation
281
299
  #
282
300
  class AdvancedSecurityOptionsInput < Struct.new(
283
301
  :enabled,
284
302
  :internal_user_database_enabled,
285
303
  :master_user_options,
286
- :saml_options)
304
+ :saml_options,
305
+ :anonymous_auth_enabled)
287
306
  SENSITIVE = []
288
307
  include Aws::Structure
289
308
  end
@@ -994,6 +1013,7 @@ module Aws::OpenSearchService
994
1013
  # roles_key: "String",
995
1014
  # session_timeout_minutes: 1,
996
1015
  # },
1016
+ # anonymous_auth_enabled: false,
997
1017
  # },
998
1018
  # tag_list: [
999
1019
  # {
@@ -2491,6 +2511,29 @@ module Aws::OpenSearchService
2491
2511
  include Aws::Structure
2492
2512
  end
2493
2513
 
2514
+ # @!attribute [rw] deployment_type
2515
+ # Specifies the way in which Amazon OpenSearch Service applies the
2516
+ # update. Possible responses are `Blue/Green` (the update requires a
2517
+ # blue/green deployment), `DynamicUpdate` (no blue/green required),
2518
+ # `Undetermined` (the domain is undergoing an update and can't
2519
+ # predict the deployment type; try again after the update is
2520
+ # complete), and `None` (the request doesn't include any
2521
+ # configuration changes).
2522
+ # @return [String]
2523
+ #
2524
+ # @!attribute [rw] message
2525
+ # Contains an optional message associated with the DryRunResults.
2526
+ # @return [String]
2527
+ #
2528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DryRunResults AWS API Documentation
2529
+ #
2530
+ class DryRunResults < Struct.new(
2531
+ :deployment_type,
2532
+ :message)
2533
+ SENSITIVE = []
2534
+ include Aws::Structure
2535
+ end
2536
+
2494
2537
  # The maintenance schedule duration: duration value and duration unit.
2495
2538
  # See [ Auto-Tune for Amazon OpenSearch Service ][1] for more
2496
2539
  # information.
@@ -4514,6 +4557,7 @@ module Aws::OpenSearchService
4514
4557
  # roles_key: "String",
4515
4558
  # session_timeout_minutes: 1,
4516
4559
  # },
4560
+ # anonymous_auth_enabled: false,
4517
4561
  # },
4518
4562
  # auto_tune_options: {
4519
4563
  # desired_state: "ENABLED", # accepts ENABLED, DISABLED
@@ -4529,6 +4573,7 @@ module Aws::OpenSearchService
4529
4573
  # },
4530
4574
  # ],
4531
4575
  # },
4576
+ # dry_run: false,
4532
4577
  # }
4533
4578
  #
4534
4579
  # @!attribute [rw] domain_name
@@ -4611,6 +4656,12 @@ module Aws::OpenSearchService
4611
4656
  # Specifies Auto-Tune options.
4612
4657
  # @return [Types::AutoTuneOptions]
4613
4658
  #
4659
+ # @!attribute [rw] dry_run
4660
+ # This flag, when set to True, specifies whether the `UpdateDomain`
4661
+ # request should return the results of validation checks
4662
+ # (DryRunResults) without actually applying the change.
4663
+ # @return [Boolean]
4664
+ #
4614
4665
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfigRequest AWS API Documentation
4615
4666
  #
4616
4667
  class UpdateDomainConfigRequest < Struct.new(
@@ -4627,7 +4678,8 @@ module Aws::OpenSearchService
4627
4678
  :domain_endpoint_options,
4628
4679
  :node_to_node_encryption_options,
4629
4680
  :advanced_security_options,
4630
- :auto_tune_options)
4681
+ :auto_tune_options,
4682
+ :dry_run)
4631
4683
  SENSITIVE = []
4632
4684
  include Aws::Structure
4633
4685
  end
@@ -4639,10 +4691,15 @@ module Aws::OpenSearchService
4639
4691
  # The status of the updated domain.
4640
4692
  # @return [Types::DomainConfig]
4641
4693
  #
4694
+ # @!attribute [rw] dry_run_results
4695
+ # Contains result of DryRun.
4696
+ # @return [Types::DryRunResults]
4697
+ #
4642
4698
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfigResponse AWS API Documentation
4643
4699
  #
4644
4700
  class UpdateDomainConfigResponse < Struct.new(
4645
- :domain_config)
4701
+ :domain_config,
4702
+ :dry_run_results)
4646
4703
  SENSITIVE = []
4647
4704
  include Aws::Structure
4648
4705
  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.3.0'
51
+ GEM_VERSION = '1.7.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.3.0
4
+ version: 1.7.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: 2022-01-06 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.122.0
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.122.0
32
+ version: 3.125.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement