aws-sdk-elasticsearchservice 1.55.0 → 1.56.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: d8347bdc8bd142d2cbd3abad34d3519c3fedd5e74c628dc8872da8ff2a36e2f7
4
- data.tar.gz: e63d541cf0894e5c695080af65fc6d7c39d48f417d43594b752e39d5e33e4dd5
3
+ metadata.gz: 8cf399d23fd9a4027bb8e73ad930209023848cab4d13358347e158c0d820602a
4
+ data.tar.gz: fd9f89102de64fd4d46a8902f2300ed988ca96c486f987001c7c969a9dde7043
5
5
  SHA512:
6
- metadata.gz: 97a8f0babdcf4deeb2ee51fc48af8d8134a17ecc72d94486b63e9d3772d8224ec8545247deb5f1fb67661b339d70fe4e8902158ba6f19b0ea1fea49a2e8c5a76
7
- data.tar.gz: 6d9e14d66a376887d72281f6bef87dbcb3e311373c43f7170922994737ade52e857898d45a23ca3469faa740d57f5377ed3b97abaf71ff497c5134d01f4889f8
6
+ metadata.gz: 2e5813dc9701c41d23cbea8fc2d7ff5ae1dc27640b06c48b4ef26e1bbcdbe6b9a3584866ed446d7e08265d60c1330348c8d2ffd276fb35ae51bf98b376a1c1bf
7
+ data.tar.gz: 41cb58f6223a415bccca96d88367989cc8730fbbd14f65fe749546a71d5666f17926f670c5556c75d257f1de8f21d1ed25e922872587a834d54e49f8a42934b4
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2021-09-17)
5
+ ------------------
6
+
7
+ * Feature - This release adds an optional parameter in the ListDomainNames API to filter domains based on the engine type (OpenSearch/Elasticsearch).
8
+
4
9
  1.55.0 (2021-09-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.56.0
@@ -2037,14 +2037,25 @@ module Aws::ElasticsearchService
2037
2037
  # Returns the name of all Elasticsearch domains owned by the current
2038
2038
  # user's account.
2039
2039
  #
2040
+ # @option params [String] :engine_type
2041
+ # Optional parameter to filter the output by domain engine type.
2042
+ # Acceptable values are 'Elasticsearch' and 'OpenSearch'.
2043
+ #
2040
2044
  # @return [Types::ListDomainNamesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2041
2045
  #
2042
2046
  # * {Types::ListDomainNamesResponse#domain_names #domain_names} => Array<Types::DomainInfo>
2043
2047
  #
2048
+ # @example Request syntax with placeholder values
2049
+ #
2050
+ # resp = client.list_domain_names({
2051
+ # engine_type: "OpenSearch", # accepts OpenSearch, Elasticsearch
2052
+ # })
2053
+ #
2044
2054
  # @example Response structure
2045
2055
  #
2046
2056
  # resp.domain_names #=> Array
2047
2057
  # resp.domain_names[0].domain_name #=> String
2058
+ # resp.domain_names[0].engine_type #=> String, one of "OpenSearch", "Elasticsearch"
2048
2059
  #
2049
2060
  # @overload list_domain_names(params = {})
2050
2061
  # @param [Hash] params ({})
@@ -2822,7 +2833,7 @@ module Aws::ElasticsearchService
2822
2833
  params: params,
2823
2834
  config: config)
2824
2835
  context[:gem_name] = 'aws-sdk-elasticsearchservice'
2825
- context[:gem_version] = '1.55.0'
2836
+ context[:gem_version] = '1.56.0'
2826
2837
  Seahorse::Client::Request.new(handlers, context)
2827
2838
  end
2828
2839
 
@@ -134,6 +134,7 @@ module Aws::ElasticsearchService
134
134
  EncryptionAtRestOptions = Shapes::StructureShape.new(name: 'EncryptionAtRestOptions')
135
135
  EncryptionAtRestOptionsStatus = Shapes::StructureShape.new(name: 'EncryptionAtRestOptionsStatus')
136
136
  EndpointsMap = Shapes::MapShape.new(name: 'EndpointsMap')
137
+ EngineType = Shapes::StringShape.new(name: 'EngineType')
137
138
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
138
139
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
139
140
  ErrorType = Shapes::StringShape.new(name: 'ErrorType')
@@ -172,6 +173,7 @@ module Aws::ElasticsearchService
172
173
  LimitValueList = Shapes::ListShape.new(name: 'LimitValueList')
173
174
  Limits = Shapes::StructureShape.new(name: 'Limits')
174
175
  LimitsByRole = Shapes::MapShape.new(name: 'LimitsByRole')
176
+ ListDomainNamesRequest = Shapes::StructureShape.new(name: 'ListDomainNamesRequest')
175
177
  ListDomainNamesResponse = Shapes::StructureShape.new(name: 'ListDomainNamesResponse')
176
178
  ListDomainsForPackageRequest = Shapes::StructureShape.new(name: 'ListDomainsForPackageRequest')
177
179
  ListDomainsForPackageResponse = Shapes::StructureShape.new(name: 'ListDomainsForPackageResponse')
@@ -589,6 +591,7 @@ module Aws::ElasticsearchService
589
591
  DomainEndpointOptionsStatus.struct_class = Types::DomainEndpointOptionsStatus
590
592
 
591
593
  DomainInfo.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
594
+ DomainInfo.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "EngineType"))
592
595
  DomainInfo.struct_class = Types::DomainInfo
593
596
 
594
597
  DomainInfoList.member = Shapes::ShapeRef.new(shape: DomainInfo)
@@ -789,6 +792,9 @@ module Aws::ElasticsearchService
789
792
  LimitsByRole.key = Shapes::ShapeRef.new(shape: InstanceRole)
790
793
  LimitsByRole.value = Shapes::ShapeRef.new(shape: Limits)
791
794
 
795
+ ListDomainNamesRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location: "querystring", location_name: "engineType"))
796
+ ListDomainNamesRequest.struct_class = Types::ListDomainNamesRequest
797
+
792
798
  ListDomainNamesResponse.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainInfoList, location_name: "DomainNames"))
793
799
  ListDomainNamesResponse.struct_class = Types::ListDomainNamesResponse
794
800
 
@@ -1504,7 +1510,7 @@ module Aws::ElasticsearchService
1504
1510
  o.name = "ListDomainNames"
1505
1511
  o.http_method = "GET"
1506
1512
  o.http_request_uri = "/2015-01-01/domain"
1507
- o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1513
+ o.input = Shapes::ShapeRef.new(shape: ListDomainNamesRequest)
1508
1514
  o.output = Shapes::ShapeRef.new(shape: ListDomainNamesResponse)
1509
1515
  o.errors << Shapes::ShapeRef.new(shape: BaseException)
1510
1516
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
@@ -669,7 +669,7 @@ module Aws::ElasticsearchService
669
669
  include Aws::Structure
670
670
  end
671
671
 
672
- # Specifies settings for cold storage.
672
+ # Specifies the configuration for cold storage options such as enabled
673
673
  #
674
674
  # @note When making an API call, you may pass ColdStorageOptions
675
675
  # data as a hash:
@@ -679,7 +679,7 @@ module Aws::ElasticsearchService
679
679
  # }
680
680
  #
681
681
  # @!attribute [rw] enabled
682
- # True to enable cold storage for an Elasticsearch domain.
682
+ # Enable cold storage option. Accepted values true or false
683
683
  # @return [Boolean]
684
684
  #
685
685
  class ColdStorageOptions < Struct.new(
@@ -1878,8 +1878,13 @@ module Aws::ElasticsearchService
1878
1878
  # Specifies the `DomainName`.
1879
1879
  # @return [String]
1880
1880
  #
1881
+ # @!attribute [rw] engine_type
1882
+ # Specifies the `EngineType` of the domain.
1883
+ # @return [String]
1884
+ #
1881
1885
  class DomainInfo < Struct.new(
1882
- :domain_name)
1886
+ :domain_name,
1887
+ :engine_type)
1883
1888
  SENSITIVE = []
1884
1889
  include Aws::Structure
1885
1890
  end
@@ -2147,8 +2152,7 @@ module Aws::ElasticsearchService
2147
2152
  # @return [Integer]
2148
2153
  #
2149
2154
  # @!attribute [rw] cold_storage_options
2150
- # Specifies the `ColdStorageOptions` configuration for an
2151
- # Elasticsearch domain.
2155
+ # Specifies the `ColdStorageOptions` config for Elasticsearch Domain
2152
2156
  # @return [Types::ColdStorageOptions]
2153
2157
  #
2154
2158
  class ElasticsearchClusterConfig < Struct.new(
@@ -2893,11 +2897,31 @@ module Aws::ElasticsearchService
2893
2897
  include Aws::Structure
2894
2898
  end
2895
2899
 
2900
+ # Container for the parameters to the `ListDomainNames` operation.
2901
+ #
2902
+ # @note When making an API call, you may pass ListDomainNamesRequest
2903
+ # data as a hash:
2904
+ #
2905
+ # {
2906
+ # engine_type: "OpenSearch", # accepts OpenSearch, Elasticsearch
2907
+ # }
2908
+ #
2909
+ # @!attribute [rw] engine_type
2910
+ # Optional parameter to filter the output by domain engine type.
2911
+ # Acceptable values are 'Elasticsearch' and 'OpenSearch'.
2912
+ # @return [String]
2913
+ #
2914
+ class ListDomainNamesRequest < Struct.new(
2915
+ :engine_type)
2916
+ SENSITIVE = []
2917
+ include Aws::Structure
2918
+ end
2919
+
2896
2920
  # The result of a `ListDomainNames` operation. Contains the names of all
2897
- # Elasticsearch domains owned by this account.
2921
+ # domains owned by this account and their respective engine types.
2898
2922
  #
2899
2923
  # @!attribute [rw] domain_names
2900
- # List of Elasticsearch domain names.
2924
+ # List of domain names and respective engine types.
2901
2925
  # @return [Array<Types::DomainInfo>]
2902
2926
  #
2903
2927
  class ListDomainNamesResponse < Struct.new(
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-elasticsearchservice/customizations'
48
48
  # @!group service
49
49
  module Aws::ElasticsearchService
50
50
 
51
- GEM_VERSION = '1.55.0'
51
+ GEM_VERSION = '1.56.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticsearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.55.0
4
+ version: 1.56.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-01 00:00:00.000000000 Z
11
+ date: 2021-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core