aws-sdk-opensearchservice 1.0.0 → 1.1.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: 8be8785ba9f304b323dd7a00b2ec37c3ea2d7980374fd56f38151aedff541776
4
- data.tar.gz: 1675763d2da662060814ee6e27769d8d9772edd44277b586f57ddc5ac00cc620
3
+ metadata.gz: c776f13443f596912cb3f75c281b613ce996e2500caaa91fe8e253b14db59e78
4
+ data.tar.gz: 342aeee51384dba4311e7a1510cbb53530f88732564f02f19b4bdc5efc251859
5
5
  SHA512:
6
- metadata.gz: 68175a4d9d9702cfad2150cfce3d3af0c2a748cfff5522c42cd45b91c6d3793066d1aa0b9ecb5bc504e7a2a67cd5718be7408fba2fb3005fa264f9eb17b367d4
7
- data.tar.gz: 01f29bb05c611e67352720608c4b7811dbbba1d3ce5477bb83634e8d0eab9cfb4c5cf2f19af0864ef23804dace498a7cddfe6cf0f054b5c64f29a89e99398ca2
6
+ metadata.gz: 393f8844ce1610d7555bc55379d49e03e75ba43d0e2e3dc6e13ff25162ba2937d8d3bbe3b23b732c9d924aae5b3b1e2507b7bb958bec3482a035033de00a578c
7
+ data.tar.gz: 53d0baf97d482a38a4e2d33de945d82da1fac33e98a1a49c696a1188d7438d6ee4a6e9f4f1a211703ea54928b426a61d36ea9586fdc4f9cfda0576040481ce27
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.1.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.0.0 (2021-09-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.0
@@ -2065,14 +2065,25 @@ module Aws::OpenSearchService
2065
2065
 
2066
2066
  # Returns the names of all domains owned by the current user's account.
2067
2067
  #
2068
+ # @option params [String] :engine_type
2069
+ # Optional parameter to filter the output by domain engine type.
2070
+ # Acceptable values are 'Elasticsearch' and 'OpenSearch'.
2071
+ #
2068
2072
  # @return [Types::ListDomainNamesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2069
2073
  #
2070
2074
  # * {Types::ListDomainNamesResponse#domain_names #domain_names} => Array<Types::DomainInfo>
2071
2075
  #
2076
+ # @example Request syntax with placeholder values
2077
+ #
2078
+ # resp = client.list_domain_names({
2079
+ # engine_type: "OpenSearch", # accepts OpenSearch, Elasticsearch
2080
+ # })
2081
+ #
2072
2082
  # @example Response structure
2073
2083
  #
2074
2084
  # resp.domain_names #=> Array
2075
2085
  # resp.domain_names[0].domain_name #=> String
2086
+ # resp.domain_names[0].engine_type #=> String, one of "OpenSearch", "Elasticsearch"
2076
2087
  #
2077
2088
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainNames AWS API Documentation
2078
2089
  #
@@ -2905,7 +2916,7 @@ module Aws::OpenSearchService
2905
2916
  params: params,
2906
2917
  config: config)
2907
2918
  context[:gem_name] = 'aws-sdk-opensearchservice'
2908
- context[:gem_version] = '1.0.0'
2919
+ context[:gem_version] = '1.1.0'
2909
2920
  Seahorse::Client::Request.new(handlers, context)
2910
2921
  end
2911
2922
 
@@ -129,6 +129,7 @@ module Aws::OpenSearchService
129
129
  EncryptionAtRestOptions = Shapes::StructureShape.new(name: 'EncryptionAtRestOptions')
130
130
  EncryptionAtRestOptionsStatus = Shapes::StructureShape.new(name: 'EncryptionAtRestOptionsStatus')
131
131
  EndpointsMap = Shapes::MapShape.new(name: 'EndpointsMap')
132
+ EngineType = Shapes::StringShape.new(name: 'EngineType')
132
133
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
133
134
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
134
135
  ErrorType = Shapes::StringShape.new(name: 'ErrorType')
@@ -170,6 +171,7 @@ module Aws::OpenSearchService
170
171
  LimitValueList = Shapes::ListShape.new(name: 'LimitValueList')
171
172
  Limits = Shapes::StructureShape.new(name: 'Limits')
172
173
  LimitsByRole = Shapes::MapShape.new(name: 'LimitsByRole')
174
+ ListDomainNamesRequest = Shapes::StructureShape.new(name: 'ListDomainNamesRequest')
173
175
  ListDomainNamesResponse = Shapes::StructureShape.new(name: 'ListDomainNamesResponse')
174
176
  ListDomainsForPackageRequest = Shapes::StructureShape.new(name: 'ListDomainsForPackageRequest')
175
177
  ListDomainsForPackageResponse = Shapes::StructureShape.new(name: 'ListDomainsForPackageResponse')
@@ -631,6 +633,7 @@ module Aws::OpenSearchService
631
633
  DomainEndpointOptionsStatus.struct_class = Types::DomainEndpointOptionsStatus
632
634
 
633
635
  DomainInfo.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
636
+ DomainInfo.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location_name: "EngineType"))
634
637
  DomainInfo.struct_class = Types::DomainInfo
635
638
 
636
639
  DomainInfoList.member = Shapes::ShapeRef.new(shape: DomainInfo)
@@ -801,6 +804,9 @@ module Aws::OpenSearchService
801
804
  LimitsByRole.key = Shapes::ShapeRef.new(shape: InstanceRole)
802
805
  LimitsByRole.value = Shapes::ShapeRef.new(shape: Limits)
803
806
 
807
+ ListDomainNamesRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location: "querystring", location_name: "engineType"))
808
+ ListDomainNamesRequest.struct_class = Types::ListDomainNamesRequest
809
+
804
810
  ListDomainNamesResponse.add_member(:domain_names, Shapes::ShapeRef.new(shape: DomainInfoList, location_name: "DomainNames"))
805
811
  ListDomainNamesResponse.struct_class = Types::ListDomainNamesResponse
806
812
 
@@ -1515,7 +1521,7 @@ module Aws::OpenSearchService
1515
1521
  o.name = "ListDomainNames"
1516
1522
  o.http_method = "GET"
1517
1523
  o.http_request_uri = "/2021-01-01/domain"
1518
- o.input = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1524
+ o.input = Shapes::ShapeRef.new(shape: ListDomainNamesRequest)
1519
1525
  o.output = Shapes::ShapeRef.new(shape: ListDomainNamesResponse)
1520
1526
  o.errors << Shapes::ShapeRef.new(shape: BaseException)
1521
1527
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
@@ -753,6 +753,7 @@ module Aws::OpenSearchService
753
753
  # @return [Integer]
754
754
  #
755
755
  # @!attribute [rw] cold_storage_options
756
+ # Specifies the `ColdStorageOptions` config for a Domain
756
757
  # @return [Types::ColdStorageOptions]
757
758
  #
758
759
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ClusterConfig AWS API Documentation
@@ -859,6 +860,8 @@ module Aws::OpenSearchService
859
860
  include Aws::Structure
860
861
  end
861
862
 
863
+ # Specifies the configuration for cold storage options such as enabled
864
+ #
862
865
  # @note When making an API call, you may pass ColdStorageOptions
863
866
  # data as a hash:
864
867
  #
@@ -867,6 +870,7 @@ module Aws::OpenSearchService
867
870
  # }
868
871
  #
869
872
  # @!attribute [rw] enabled
873
+ # Enable cold storage option. Accepted values true or false
870
874
  # @return [Boolean]
871
875
  #
872
876
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ColdStorageOptions AWS API Documentation
@@ -2236,10 +2240,15 @@ module Aws::OpenSearchService
2236
2240
  # The `DomainName`.
2237
2241
  # @return [String]
2238
2242
  #
2243
+ # @!attribute [rw] engine_type
2244
+ # Specifies the `EngineType` of the domain.
2245
+ # @return [String]
2246
+ #
2239
2247
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainInfo AWS API Documentation
2240
2248
  #
2241
2249
  class DomainInfo < Struct.new(
2242
- :domain_name)
2250
+ :domain_name,
2251
+ :engine_type)
2243
2252
  SENSITIVE = []
2244
2253
  include Aws::Structure
2245
2254
  end
@@ -3090,11 +3099,33 @@ module Aws::OpenSearchService
3090
3099
  include Aws::Structure
3091
3100
  end
3092
3101
 
3102
+ # Container for the parameters to the `ListDomainNames` operation.
3103
+ #
3104
+ # @note When making an API call, you may pass ListDomainNamesRequest
3105
+ # data as a hash:
3106
+ #
3107
+ # {
3108
+ # engine_type: "OpenSearch", # accepts OpenSearch, Elasticsearch
3109
+ # }
3110
+ #
3111
+ # @!attribute [rw] engine_type
3112
+ # Optional parameter to filter the output by domain engine type.
3113
+ # Acceptable values are 'Elasticsearch' and 'OpenSearch'.
3114
+ # @return [String]
3115
+ #
3116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainNamesRequest AWS API Documentation
3117
+ #
3118
+ class ListDomainNamesRequest < Struct.new(
3119
+ :engine_type)
3120
+ SENSITIVE = []
3121
+ include Aws::Structure
3122
+ end
3123
+
3093
3124
  # The result of a `ListDomainNames` operation. Contains the names of all
3094
- # domains owned by this account.
3125
+ # domains owned by this account and their respective engine types.
3095
3126
  #
3096
3127
  # @!attribute [rw] domain_names
3097
- # List of domain names.
3128
+ # List of domain names and respective engine types.
3098
3129
  # @return [Array<Types::DomainInfo>]
3099
3130
  #
3100
3131
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainNamesResponse AWS API Documentation
@@ -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.0.0'
51
+ GEM_VERSION = '1.1.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.0.0
4
+ version: 1.1.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-08 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