aws-sdk-opensearchservice 1.1.0 → 1.5.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: c776f13443f596912cb3f75c281b613ce996e2500caaa91fe8e253b14db59e78
4
- data.tar.gz: 342aeee51384dba4311e7a1510cbb53530f88732564f02f19b4bdc5efc251859
3
+ metadata.gz: 17e98f25d0191d0975cedda880509bdc27e6fd4a42b9b80f66b4e8fa6b56d4f9
4
+ data.tar.gz: 3d882966a19265af627b782512302f78bee5c599d4076de87d522cca67f13f5d
5
5
  SHA512:
6
- metadata.gz: 393f8844ce1610d7555bc55379d49e03e75ba43d0e2e3dc6e13ff25162ba2937d8d3bbe3b23b732c9d924aae5b3b1e2507b7bb958bec3482a035033de00a578c
7
- data.tar.gz: 53d0baf97d482a38a4e2d33de945d82da1fac33e98a1a49c696a1188d7438d6ee4a6e9f4f1a211703ea54928b426a61d36ea9586fdc4f9cfda0576040481ce27
6
+ metadata.gz: c75754014cac311a423e3815f3cb5942678e5d4f8273b2f081bf6ddb6e5f01857f95bbbbcf06612a69dfe80015add3515becd9791172e80b56031a3a4777cba6
7
+ data.tar.gz: 3004b880d4f00dab1244c83906c6517ad5b36a7cf2f925e03f7cf09ccc9fc612a972d1d3806b1e49f8be02e00225f527aa81166da18283475253687a921c1a5e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2021-11-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.4.0 (2021-11-23)
10
+ ------------------
11
+
12
+ * 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.
13
+
14
+ 1.3.0 (2021-11-04)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.2.0 (2021-10-18)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.1.0 (2021-09-17)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.5.0
@@ -119,7 +119,9 @@ module Aws::OpenSearchService
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -275,6 +277,15 @@ module Aws::OpenSearchService
275
277
  # ** Please note ** When response stubbing is enabled, no HTTP
276
278
  # requests are made, and retries are disabled.
277
279
  #
280
+ # @option options [Boolean] :use_dualstack_endpoint
281
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
282
+ # will be used if available.
283
+ #
284
+ # @option options [Boolean] :use_fips_endpoint
285
+ # When set to `true`, fips compatible endpoints will be used if available.
286
+ # When a `fips` region is used, the region is normalized and this config
287
+ # is set to `true`.
288
+ #
278
289
  # @option options [Boolean] :validate_params (true)
279
290
  # When `true`, request parameters are validated before
280
291
  # sending the request.
@@ -2532,9 +2543,15 @@ module Aws::OpenSearchService
2532
2543
  # @option params [Types::AutoTuneOptions] :auto_tune_options
2533
2544
  # Specifies Auto-Tune options.
2534
2545
  #
2546
+ # @option params [Boolean] :dry_run
2547
+ # This flag, when set to True, specifies whether the `UpdateDomain`
2548
+ # request should return the results of validation checks (DryRunResults)
2549
+ # without actually applying the change.
2550
+ #
2535
2551
  # @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2536
2552
  #
2537
2553
  # * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
2554
+ # * {Types::UpdateDomainConfigResponse#dry_run_results #dry_run_results} => Types::DryRunResults
2538
2555
  #
2539
2556
  # @example Request syntax with placeholder values
2540
2557
  #
@@ -2635,6 +2652,7 @@ module Aws::OpenSearchService
2635
2652
  # },
2636
2653
  # ],
2637
2654
  # },
2655
+ # dry_run: false,
2638
2656
  # })
2639
2657
  #
2640
2658
  # @example Response structure
@@ -2767,6 +2785,8 @@ module Aws::OpenSearchService
2767
2785
  # 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
2786
  # resp.domain_config.auto_tune_options.status.error_message #=> String
2769
2787
  # resp.domain_config.auto_tune_options.status.pending_deletion #=> Boolean
2788
+ # resp.dry_run_results.deployment_type #=> String
2789
+ # resp.dry_run_results.message #=> String
2770
2790
  #
2771
2791
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfig AWS API Documentation
2772
2792
  #
@@ -2916,7 +2936,7 @@ module Aws::OpenSearchService
2916
2936
  params: params,
2917
2937
  config: config)
2918
2938
  context[:gem_name] = 'aws-sdk-opensearchservice'
2919
- context[:gem_version] = '1.1.0'
2939
+ context[:gem_version] = '1.5.0'
2920
2940
  Seahorse::Client::Request.new(handlers, context)
2921
2941
  end
2922
2942
 
@@ -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.1.0'
51
+ GEM_VERSION = '1.5.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.1.0
4
+ version: 1.5.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-09-17 00:00:00.000000000 Z
11
+ date: 2021-11-30 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.120.0
22
+ version: 3.122.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.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement