Skip to content

Commit ff26f66

Browse files
author
AWS
committed
Amazon Elasticsearch Service Update: This release adds an optional parameter in the ListDomainNames API to filter domains based on the engine type (OpenSearch/Elasticsearch).
1 parent ff93253 commit ff26f66

File tree

2 files changed

+39
-6
lines changed

2 files changed

+39
-6
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Elasticsearch Service",
4+
"contributor": "",
5+
"description": "This release adds an optional parameter in the ListDomainNames API to filter domains based on the engine type (OpenSearch/Elasticsearch)."
6+
}

services/elasticsearch/src/main/resources/codegen-resources/service-2.json

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@
453453
"method":"GET",
454454
"requestUri":"/2015-01-01/domain"
455455
},
456+
"input":{"shape":"ListDomainNamesRequest"},
456457
"output":{"shape":"ListDomainNamesResponse"},
457458
"errors":[
458459
{"shape":"BaseException"},
@@ -1126,10 +1127,10 @@
11261127
"members":{
11271128
"Enabled":{
11281129
"shape":"Boolean",
1129-
"documentation":"<p>True to enable cold storage for an Elasticsearch domain.</p>"
1130+
"documentation":"<p>Enable cold storage option. Accepted values true or false</p>"
11301131
}
11311132
},
1132-
"documentation":"<p>Specifies settings for cold storage.</p>"
1133+
"documentation":"<p>Specifies the configuration for cold storage options such as enabled</p>"
11331134
},
11341135
"CommitMessage":{
11351136
"type":"string",
@@ -1874,6 +1875,10 @@
18741875
"DomainName":{
18751876
"shape":"DomainName",
18761877
"documentation":"<p> Specifies the <code>DomainName</code>.</p>"
1878+
},
1879+
"EngineType":{
1880+
"shape":"EngineType",
1881+
"documentation":"<p> Specifies the <code>EngineType</code> of the domain.</p>"
18771882
}
18781883
}
18791884
},
@@ -2138,7 +2143,7 @@
21382143
},
21392144
"ColdStorageOptions":{
21402145
"shape":"ColdStorageOptions",
2141-
"documentation":"<p>Specifies the <code>ColdStorageOptions</code> configuration for an Elasticsearch domain.</p>"
2146+
"documentation":"<p>Specifies the <code>ColdStorageOptions</code> config for Elasticsearch Domain</p>"
21422147
}
21432148
},
21442149
"documentation":"<p>Specifies the configuration for the domain cluster, such as the type and number of instances.</p>"
@@ -2361,7 +2366,10 @@
23612366
},
23622367
"documentation":"<p> Status of the Elasticsearch version options for the specified Elasticsearch domain.</p>"
23632368
},
2364-
"ElasticsearchVersionString":{"type":"string"},
2369+
"ElasticsearchVersionString":{
2370+
"type":"string",
2371+
"pattern":"^[0-9]{1}\\.[0-9]{1,2}$|^OpenSearch_[0-9]{1,2}\\.[0-9]{1,2}$"
2372+
},
23652373
"EncryptionAtRestOptions":{
23662374
"type":"structure",
23672375
"members":{
@@ -2399,6 +2407,13 @@
23992407
"key":{"shape":"String"},
24002408
"value":{"shape":"ServiceUrl"}
24012409
},
2410+
"EngineType":{
2411+
"type":"string",
2412+
"enum":[
2413+
"OpenSearch",
2414+
"Elasticsearch"
2415+
]
2416+
},
24022417
"ErrorDetails":{
24032418
"type":"structure",
24042419
"members":{
@@ -2704,15 +2719,27 @@
27042719
"value":{"shape":"Limits"},
27052720
"documentation":"<p> Map of Role of the Instance and Limits that are applicable. Role performed by given Instance in Elasticsearch can be one of the following: <ul> <li>data: If the given InstanceType is used as data node</li> <li>master: If the given InstanceType is used as master node</li> <li>ultra_warm: If the given InstanceType is used as warm node</li> </ul> </p>"
27062721
},
2722+
"ListDomainNamesRequest":{
2723+
"type":"structure",
2724+
"members":{
2725+
"EngineType":{
2726+
"shape":"EngineType",
2727+
"documentation":"<p> Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'. </p>",
2728+
"location":"querystring",
2729+
"locationName":"engineType"
2730+
}
2731+
},
2732+
"documentation":"<p> Container for the parameters to the <code><a>ListDomainNames</a></code> operation.</p>"
2733+
},
27072734
"ListDomainNamesResponse":{
27082735
"type":"structure",
27092736
"members":{
27102737
"DomainNames":{
27112738
"shape":"DomainInfoList",
2712-
"documentation":"<p>List of Elasticsearch domain names.</p>"
2739+
"documentation":"<p>List of domain names and respective engine types.</p>"
27132740
}
27142741
},
2715-
"documentation":"<p>The result of a <code>ListDomainNames</code> operation. Contains the names of all Elasticsearch domains owned by this account.</p>"
2742+
"documentation":"<p>The result of a <code>ListDomainNames</code> operation. Contains the names of all domains owned by this account and their respective engine types.</p>"
27162743
},
27172744
"ListDomainsForPackageRequest":{
27182745
"type":"structure",

0 commit comments

Comments
 (0)