aws-sdk-opensearchservice 1.110.0 → 1.111.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: da579a29b6c4dc4a471759ef40691058e87ed601d3ce0c330a7d35af36cae19a
4
- data.tar.gz: 4a1ea3c492efa4dce3adf2da6366521d5d97d0da7e69192d8f4a5a29f90851f1
3
+ metadata.gz: 9c9195cf291fde42af698ad2e5074d4c4d93ec404bd842ec1ad29f8918553b4c
4
+ data.tar.gz: '018417a536f9a2333ee59e1629fdd33de110a14e51afd2b338bb0acef619af76'
5
5
  SHA512:
6
- metadata.gz: e1b5cb70f5a5eb8f88390029cc4dc47f58d8d5821794a05d1cb6759f7600ae6962056d2e7125ec083322f1b412e6f9bde255cb600e34f51d07698413231930b6
7
- data.tar.gz: 85618ed97f08ca6696edf95cc116d10314a58248dd7f5023c95d9270f018f0d6345f1fdc73608737cbc488c9fbe4528220c32ab68ce51784ac11bb582bd0d580
6
+ metadata.gz: 04422de0eccc4d64ef2241e3a3e156a89691170379f6eb23f601dbea6967d61026ca2a719d0e983938831a00076c0e3fa51d45c5c1dc504eb2b5cbbf334234fd
7
+ data.tar.gz: a78deeb802fa75d8d4ec937056fdcbbe3c723091c4c3eb3f2acc21bdf797d7fd73736d9d92af3574e0ee5394b39e4c6e24b18cb7e32429716aa46848a80dd64f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.111.0 (2026-09-29)
5
+ ------------------
6
+
7
+ * Feature - Amazon OpenSearch Service now supports advisory pre-validations for domain config changes. Non-critical checks now surface as warnings you can acknowledge (via the new AcceptedWarnings parameter) and proceed, instead of hard-blocking. Severity is reported in change-progress and dry-run results.
8
+
4
9
  1.110.0 (2026-09-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.110.0
1
+ 1.111.0
@@ -2706,6 +2706,12 @@ module Aws::OpenSearchService
2706
2706
  # resp.change_progress_status.last_updated_time #=> Time
2707
2707
  # resp.change_progress_status.config_change_status #=> String, one of "Pending", "Initializing", "Validating", "ValidationFailed", "ApplyingChanges", "Completed", "PendingUserInput", "Cancelled"
2708
2708
  # resp.change_progress_status.initiated_by #=> String, one of "CUSTOMER", "SERVICE"
2709
+ # resp.change_progress_status.validation_failures #=> Array
2710
+ # resp.change_progress_status.validation_failures[0].code #=> String
2711
+ # resp.change_progress_status.validation_failures[0].message #=> String
2712
+ # resp.change_progress_status.validation_failures[0].severity #=> String, one of "Critical", "Warning"
2713
+ # resp.change_progress_status.accepted_warnings #=> Array
2714
+ # resp.change_progress_status.accepted_warnings[0] #=> String
2709
2715
  #
2710
2716
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainChangeProgress AWS API Documentation
2711
2717
  #
@@ -3269,6 +3275,9 @@ module Aws::OpenSearchService
3269
3275
  # resp.dry_run_progress_status.validation_failures #=> Array
3270
3276
  # resp.dry_run_progress_status.validation_failures[0].code #=> String
3271
3277
  # resp.dry_run_progress_status.validation_failures[0].message #=> String
3278
+ # resp.dry_run_progress_status.validation_failures[0].severity #=> String, one of "Critical", "Warning"
3279
+ # resp.dry_run_progress_status.accepted_warnings #=> Array
3280
+ # resp.dry_run_progress_status.accepted_warnings[0] #=> String
3272
3281
  # resp.dry_run_config.domain_id #=> String
3273
3282
  # resp.dry_run_config.domain_name #=> String
3274
3283
  # resp.dry_run_config.arn #=> String
@@ -6270,6 +6279,20 @@ module Aws::OpenSearchService
6270
6279
  # The engine mode for the domain. The engine mode can't be changed
6271
6280
  # after the domain is created. For valid values, see `EngineMode`.
6272
6281
  #
6282
+ # @option params [Array<String>] :accepted_warnings
6283
+ # A list of advisory warning codes to accept for this configuration
6284
+ # change. By default, any advisory warning blocks the change. Include
6285
+ # the code of each warning you want to accept so the change can proceed.
6286
+ # You can find warning codes in the`ValidationFailures` list returned by
6287
+ # `DescribeDomainChangeProgress`and `DescribeDryRunProgress`. Critical
6288
+ # validation failures cannot be accepted and always block the change. If
6289
+ # you omit this parameter or pass an empty list, all warnings block the
6290
+ # change. For more information, see [Validating a domain update][1].
6291
+ #
6292
+ #
6293
+ #
6294
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#validation-check
6295
+ #
6273
6296
  # @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6274
6297
  #
6275
6298
  # * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
@@ -6446,6 +6469,7 @@ module Aws::OpenSearchService
6446
6469
  # },
6447
6470
  # use_case: "SEARCH", # accepts SEARCH, VECTOR, OBSERVABILITY, MIXED
6448
6471
  # engine_mode: "GENERAL", # accepts GENERAL, OPTIMIZED
6472
+ # accepted_warnings: ["String"],
6449
6473
  # })
6450
6474
  #
6451
6475
  # @example Response structure
@@ -6686,6 +6710,9 @@ module Aws::OpenSearchService
6686
6710
  # resp.dry_run_progress_status.validation_failures #=> Array
6687
6711
  # resp.dry_run_progress_status.validation_failures[0].code #=> String
6688
6712
  # resp.dry_run_progress_status.validation_failures[0].message #=> String
6713
+ # resp.dry_run_progress_status.validation_failures[0].severity #=> String, one of "Critical", "Warning"
6714
+ # resp.dry_run_progress_status.accepted_warnings #=> Array
6715
+ # resp.dry_run_progress_status.accepted_warnings[0] #=> String
6689
6716
  #
6690
6717
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig AWS API Documentation
6691
6718
  #
@@ -7094,7 +7121,7 @@ module Aws::OpenSearchService
7094
7121
  tracer: tracer
7095
7122
  )
7096
7123
  context[:gem_name] = 'aws-sdk-opensearchservice'
7097
- context[:gem_version] = '1.110.0'
7124
+ context[:gem_version] = '1.111.0'
7098
7125
  Seahorse::Client::Request.new(handlers, context)
7099
7126
  end
7100
7127
 
@@ -25,6 +25,7 @@ module Aws::OpenSearchService
25
25
  AWSServicePrincipal = Shapes::StringShape.new(name: 'AWSServicePrincipal')
26
26
  AcceptInboundConnectionRequest = Shapes::StructureShape.new(name: 'AcceptInboundConnectionRequest')
27
27
  AcceptInboundConnectionResponse = Shapes::StructureShape.new(name: 'AcceptInboundConnectionResponse')
28
+ AcceptedWarningsList = Shapes::ListShape.new(name: 'AcceptedWarningsList')
28
29
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
29
30
  AccessPoliciesStatus = Shapes::StructureShape.new(name: 'AccessPoliciesStatus')
30
31
  ActionSeverity = Shapes::StringShape.new(name: 'ActionSeverity')
@@ -633,6 +634,7 @@ module Aws::OpenSearchService
633
634
  VPCOptions = Shapes::StructureShape.new(name: 'VPCOptions')
634
635
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
635
636
  ValidationFailure = Shapes::StructureShape.new(name: 'ValidationFailure')
637
+ ValidationFailureSeverity = Shapes::StringShape.new(name: 'ValidationFailureSeverity')
636
638
  ValidationFailures = Shapes::ListShape.new(name: 'ValidationFailures')
637
639
  ValueStringList = Shapes::ListShape.new(name: 'ValueStringList')
638
640
  VersionList = Shapes::ListShape.new(name: 'VersionList')
@@ -682,6 +684,8 @@ module Aws::OpenSearchService
682
684
  AcceptInboundConnectionResponse.add_member(:connection, Shapes::ShapeRef.new(shape: InboundConnection, location_name: "Connection"))
683
685
  AcceptInboundConnectionResponse.struct_class = Types::AcceptInboundConnectionResponse
684
686
 
687
+ AcceptedWarningsList.member = Shapes::ShapeRef.new(shape: String)
688
+
685
689
  AccessDeniedException.struct_class = Types::AccessDeniedException
686
690
 
687
691
  AccessPoliciesStatus.add_member(:options, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "Options"))
@@ -958,6 +962,8 @@ module Aws::OpenSearchService
958
962
  ChangeProgressStatusDetails.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "LastUpdatedTime"))
959
963
  ChangeProgressStatusDetails.add_member(:config_change_status, Shapes::ShapeRef.new(shape: ConfigChangeStatus, location_name: "ConfigChangeStatus"))
960
964
  ChangeProgressStatusDetails.add_member(:initiated_by, Shapes::ShapeRef.new(shape: InitiatedBy, location_name: "InitiatedBy"))
965
+ ChangeProgressStatusDetails.add_member(:validation_failures, Shapes::ShapeRef.new(shape: ValidationFailures, location_name: "ValidationFailures"))
966
+ ChangeProgressStatusDetails.add_member(:accepted_warnings, Shapes::ShapeRef.new(shape: AcceptedWarningsList, location_name: "AcceptedWarnings"))
961
967
  ChangeProgressStatusDetails.struct_class = Types::ChangeProgressStatusDetails
962
968
 
963
969
  CloudWatchDirectQueryDataSource.add_member(:role_arn, Shapes::ShapeRef.new(shape: DirectQueryDataSourceRoleArn, required: true, location_name: "RoleArn"))
@@ -1538,6 +1544,7 @@ module Aws::OpenSearchService
1538
1544
  DryRunProgressStatus.add_member(:creation_date, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CreationDate"))
1539
1545
  DryRunProgressStatus.add_member(:update_date, Shapes::ShapeRef.new(shape: String, required: true, location_name: "UpdateDate"))
1540
1546
  DryRunProgressStatus.add_member(:validation_failures, Shapes::ShapeRef.new(shape: ValidationFailures, location_name: "ValidationFailures"))
1547
+ DryRunProgressStatus.add_member(:accepted_warnings, Shapes::ShapeRef.new(shape: AcceptedWarningsList, location_name: "AcceptedWarnings"))
1541
1548
  DryRunProgressStatus.struct_class = Types::DryRunProgressStatus
1542
1549
 
1543
1550
  DryRunResults.add_member(:deployment_type, Shapes::ShapeRef.new(shape: DeploymentType, location_name: "DeploymentType"))
@@ -2502,6 +2509,7 @@ module Aws::OpenSearchService
2502
2509
  UpdateDomainConfigRequest.add_member(:automated_snapshot_pause_options, Shapes::ShapeRef.new(shape: AutomatedSnapshotPauseRequestOptions, location_name: "AutomatedSnapshotPauseOptions"))
2503
2510
  UpdateDomainConfigRequest.add_member(:use_case, Shapes::ShapeRef.new(shape: DomainUseCase, location_name: "UseCase"))
2504
2511
  UpdateDomainConfigRequest.add_member(:engine_mode, Shapes::ShapeRef.new(shape: EngineMode, location_name: "EngineMode"))
2512
+ UpdateDomainConfigRequest.add_member(:accepted_warnings, Shapes::ShapeRef.new(shape: AcceptedWarningsList, location_name: "AcceptedWarnings"))
2505
2513
  UpdateDomainConfigRequest.struct_class = Types::UpdateDomainConfigRequest
2506
2514
 
2507
2515
  UpdateDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig"))
@@ -2609,6 +2617,7 @@ module Aws::OpenSearchService
2609
2617
 
2610
2618
  ValidationFailure.add_member(:code, Shapes::ShapeRef.new(shape: String, location_name: "Code"))
2611
2619
  ValidationFailure.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
2620
+ ValidationFailure.add_member(:severity, Shapes::ShapeRef.new(shape: ValidationFailureSeverity, location_name: "Severity"))
2612
2621
  ValidationFailure.struct_class = Types::ValidationFailure
2613
2622
 
2614
2623
  ValidationFailures.member = Shapes::ShapeRef.new(shape: ValidationFailure)
@@ -1558,6 +1558,16 @@ module Aws::OpenSearchService
1558
1558
  # The IAM principal who initiated the configuration change.
1559
1559
  # @return [String]
1560
1560
  #
1561
+ # @!attribute [rw] validation_failures
1562
+ # The validation failures that occurred as a result of the
1563
+ # configuration change.
1564
+ # @return [Array<Types::ValidationFailure>]
1565
+ #
1566
+ # @!attribute [rw] accepted_warnings
1567
+ # The list of advisory warning codes that were accepted for the
1568
+ # configuration change.
1569
+ # @return [Array<String>]
1570
+ #
1561
1571
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ChangeProgressStatusDetails AWS API Documentation
1562
1572
  #
1563
1573
  class ChangeProgressStatusDetails < Struct.new(
@@ -1570,7 +1580,9 @@ module Aws::OpenSearchService
1570
1580
  :change_progress_stages,
1571
1581
  :last_updated_time,
1572
1582
  :config_change_status,
1573
- :initiated_by)
1583
+ :initiated_by,
1584
+ :validation_failures,
1585
+ :accepted_warnings)
1574
1586
  SENSITIVE = []
1575
1587
  include Aws::Structure
1576
1588
  end
@@ -4587,9 +4599,14 @@ module Aws::OpenSearchService
4587
4599
  # @return [String]
4588
4600
  #
4589
4601
  # @!attribute [rw] validation_failures
4590
- # Any validation failures that occurred as a result of the dry run.
4602
+ # The validation failures that occurred as a result of the dry run.
4591
4603
  # @return [Array<Types::ValidationFailure>]
4592
4604
  #
4605
+ # @!attribute [rw] accepted_warnings
4606
+ # The list of advisory warning codes that were accepted for the
4607
+ # configuration change.
4608
+ # @return [Array<String>]
4609
+ #
4593
4610
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DryRunProgressStatus AWS API Documentation
4594
4611
  #
4595
4612
  class DryRunProgressStatus < Struct.new(
@@ -4597,7 +4614,8 @@ module Aws::OpenSearchService
4597
4614
  :dry_run_status,
4598
4615
  :creation_date,
4599
4616
  :update_date,
4600
- :validation_failures)
4617
+ :validation_failures,
4618
+ :accepted_warnings)
4601
4619
  SENSITIVE = []
4602
4620
  include Aws::Structure
4603
4621
  end
@@ -9460,6 +9478,22 @@ module Aws::OpenSearchService
9460
9478
  # after the domain is created. For valid values, see `EngineMode`.
9461
9479
  # @return [String]
9462
9480
  #
9481
+ # @!attribute [rw] accepted_warnings
9482
+ # A list of advisory warning codes to accept for this configuration
9483
+ # change. By default, any advisory warning blocks the change. Include
9484
+ # the code of each warning you want to accept so the change can
9485
+ # proceed. You can find warning codes in the`ValidationFailures` list
9486
+ # returned by `DescribeDomainChangeProgress`and
9487
+ # `DescribeDryRunProgress`. Critical validation failures cannot be
9488
+ # accepted and always block the change. If you omit this parameter or
9489
+ # pass an empty list, all warnings block the change. For more
9490
+ # information, see [Validating a domain update][1].
9491
+ #
9492
+ #
9493
+ #
9494
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-configuration-changes#validation-check
9495
+ # @return [Array<String>]
9496
+ #
9463
9497
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfigRequest AWS API Documentation
9464
9498
  #
9465
9499
  class UpdateDomainConfigRequest < Struct.new(
@@ -9487,7 +9521,8 @@ module Aws::OpenSearchService
9487
9521
  :deployment_strategy_options,
9488
9522
  :automated_snapshot_pause_options,
9489
9523
  :use_case,
9490
- :engine_mode)
9524
+ :engine_mode,
9525
+ :accepted_warnings)
9491
9526
  SENSITIVE = []
9492
9527
  include Aws::Structure
9493
9528
  end
@@ -10057,11 +10092,16 @@ module Aws::OpenSearchService
10057
10092
  # A message corresponding to the failure.
10058
10093
  # @return [String]
10059
10094
  #
10095
+ # @!attribute [rw] severity
10096
+ # The severity of the validation failure.
10097
+ # @return [String]
10098
+ #
10060
10099
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ValidationFailure AWS API Documentation
10061
10100
  #
10062
10101
  class ValidationFailure < Struct.new(
10063
10102
  :code,
10064
- :message)
10103
+ :message,
10104
+ :severity)
10065
10105
  SENSITIVE = []
10066
10106
  include Aws::Structure
10067
10107
  end
@@ -54,7 +54,7 @@ module Aws::OpenSearchService
54
54
  autoload :EndpointProvider, 'aws-sdk-opensearchservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-opensearchservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.110.0'
57
+ GEM_VERSION = '1.111.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1527,7 +1527,8 @@ module Aws
1527
1527
  end_time: ::Time?
1528
1528
  },
1529
1529
  ?use_case: ("SEARCH" | "VECTOR" | "OBSERVABILITY" | "MIXED"),
1530
- ?engine_mode: ("GENERAL" | "OPTIMIZED")
1530
+ ?engine_mode: ("GENERAL" | "OPTIMIZED"),
1531
+ ?accepted_warnings: Array[::String]
1531
1532
  ) -> _UpdateDomainConfigResponseSuccess
1532
1533
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainConfigResponseSuccess
1533
1534
 
data/sig/types.rbs CHANGED
@@ -400,6 +400,8 @@ module Aws::OpenSearchService
400
400
  attr_accessor last_updated_time: ::Time
401
401
  attr_accessor config_change_status: ("Pending" | "Initializing" | "Validating" | "ValidationFailed" | "ApplyingChanges" | "Completed" | "PendingUserInput" | "Cancelled")
402
402
  attr_accessor initiated_by: ("CUSTOMER" | "SERVICE")
403
+ attr_accessor validation_failures: ::Array[Types::ValidationFailure]
404
+ attr_accessor accepted_warnings: ::Array[::String]
403
405
  SENSITIVE: []
404
406
  end
405
407
 
@@ -1160,6 +1162,7 @@ module Aws::OpenSearchService
1160
1162
  attr_accessor creation_date: ::String
1161
1163
  attr_accessor update_date: ::String
1162
1164
  attr_accessor validation_failures: ::Array[Types::ValidationFailure]
1165
+ attr_accessor accepted_warnings: ::Array[::String]
1163
1166
  SENSITIVE: []
1164
1167
  end
1165
1168
 
@@ -2409,6 +2412,7 @@ module Aws::OpenSearchService
2409
2412
  attr_accessor automated_snapshot_pause_options: Types::AutomatedSnapshotPauseRequestOptions
2410
2413
  attr_accessor use_case: ("SEARCH" | "VECTOR" | "OBSERVABILITY" | "MIXED")
2411
2414
  attr_accessor engine_mode: ("GENERAL" | "OPTIMIZED")
2415
+ attr_accessor accepted_warnings: ::Array[::String]
2412
2416
  SENSITIVE: []
2413
2417
  end
2414
2418
 
@@ -2553,6 +2557,7 @@ module Aws::OpenSearchService
2553
2557
  class ValidationFailure
2554
2558
  attr_accessor code: ::String
2555
2559
  attr_accessor message: ::String
2560
+ attr_accessor severity: ("Critical" | "Warning")
2556
2561
  SENSITIVE: []
2557
2562
  end
2558
2563
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.110.0
4
+ version: 1.111.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services