aws-sdk-opensearchservice 1.3.0 → 1.4.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: b81031125f92327c978f08bc571e3bef15fedf17980727c04b5053241c4273cd
4
- data.tar.gz: '0539ee32245ce3a5aa73c76cb9763184543f07f8527756e1d1a9dc794385234e'
3
+ metadata.gz: 1b367f578048941d46256fafa0af15b376451efe5582d1234fc74d18cb3b178e
4
+ data.tar.gz: d16cccc51af8f49afcdf0eb9a87c82b1fc82ff8c8c0c50aaf89d3556f16faaa9
5
5
  SHA512:
6
- metadata.gz: 64864395d06681ac2a4405c7f7bcc9812f3f34bb03df70215e7c390e838a1366df9dc9e3052da04d21c6e28ed8eb5a194946834e40a5aac1b4013322328ab1ed
7
- data.tar.gz: 5b0a3c38d48586e9aa82a442d9fca497a983f87cf4653eef72b4b5308a7a57514d923ba8dadd54b6befccf02bf9f9da14ae5b236e8b106b2caa59760697f5a45
6
+ metadata.gz: b1aa7e38bd4b857fa49d0396bf4a8200a090299e23aa9d4be86a960cfddf959f1b2c272776be2b991c2d2ec9352dd054e489418054fe2cef011a3879305950dd
7
+ data.tar.gz: c4228390a44b18dfa47c0ba56dff6fe2d7f388beca0ee20f6b758bc91f37f29cf00e2485420f9560af1ec2c4dd6751cb54dc130ea6f0a9ff985b4be2d5e18ad4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2021-11-23)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.3.0 (2021-11-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -2541,9 +2541,15 @@ module Aws::OpenSearchService
2541
2541
  # @option params [Types::AutoTuneOptions] :auto_tune_options
2542
2542
  # Specifies Auto-Tune options.
2543
2543
  #
2544
+ # @option params [Boolean] :dry_run
2545
+ # This flag, when set to True, specifies whether the `UpdateDomain`
2546
+ # request should return the results of validation checks (DryRunResults)
2547
+ # without actually applying the change.
2548
+ #
2544
2549
  # @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2545
2550
  #
2546
2551
  # * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
2552
+ # * {Types::UpdateDomainConfigResponse#dry_run_results #dry_run_results} => Types::DryRunResults
2547
2553
  #
2548
2554
  # @example Request syntax with placeholder values
2549
2555
  #
@@ -2644,6 +2650,7 @@ module Aws::OpenSearchService
2644
2650
  # },
2645
2651
  # ],
2646
2652
  # },
2653
+ # dry_run: false,
2647
2654
  # })
2648
2655
  #
2649
2656
  # @example Response structure
@@ -2776,6 +2783,8 @@ module Aws::OpenSearchService
2776
2783
  # 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
2784
  # resp.domain_config.auto_tune_options.status.error_message #=> String
2778
2785
  # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
2786
+ # resp.dry_run_results.deployment_type #=> String
2787
+ # resp.dry_run_results.message #=> String
2779
2788
  #
2780
2789
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig AWS API Documentation
2781
2790
  #
@@ -2925,7 +2934,7 @@ module Aws::OpenSearchService
2925
2934
  params: params,
2926
2935
  config: config)
2927
2936
  context[:gem_name] = 'aws-sdk-opensearchservice'
2928
- context[:gem_version] = '1.3.0'
2937
+ context[:gem_version] = '1.4.0'
2929
2938
  Seahorse::Client::Request.new(handlers, context)
2930
2939
  end
2931
2940
 
@@ -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.3.0'
51
+ GEM_VERSION = '1.4.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.4.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-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core