Skip to content

Commit ff93253

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

File tree

2 files changed

+42
-5
lines changed

2 files changed

+42
-5
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 OpenSearch 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/opensearch/src/main/resources/codegen-resources/service-2.json

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@
440440
"method":"GET",
441441
"requestUri":"/2021-01-01/domain"
442442
},
443+
"input":{"shape":"ListDomainNamesRequest"},
443444
"output":{"shape":"ListDomainNamesResponse"},
444445
"errors":[
445446
{"shape":"BaseException"},
@@ -1124,7 +1125,10 @@
11241125
"shape":"IntegerClass",
11251126
"documentation":"<p>The number of UltraWarm nodes in the cluster.</p>"
11261127
},
1127-
"ColdStorageOptions":{"shape":"ColdStorageOptions"}
1128+
"ColdStorageOptions":{
1129+
"shape":"ColdStorageOptions",
1130+
"documentation":"<p>Specifies the <code>ColdStorageOptions</code> config for a Domain</p>"
1131+
}
11281132
},
11291133
"documentation":"<p>The configuration for the domain cluster, such as the type and number of instances.</p>"
11301134
},
@@ -1190,8 +1194,12 @@
11901194
"type":"structure",
11911195
"required":["Enabled"],
11921196
"members":{
1193-
"Enabled":{"shape":"Boolean"}
1194-
}
1197+
"Enabled":{
1198+
"shape":"Boolean",
1199+
"documentation":"<p>Enable cold storage option. Accepted values true or false</p>"
1200+
}
1201+
},
1202+
"documentation":"<p>Specifies the configuration for cold storage options such as enabled</p>"
11951203
},
11961204
"CommitMessage":{
11971205
"type":"string",
@@ -2005,6 +2013,10 @@
20052013
"DomainName":{
20062014
"shape":"DomainName",
20072015
"documentation":"<p>The <code>DomainName</code>. </p>"
2016+
},
2017+
"EngineType":{
2018+
"shape":"EngineType",
2019+
"documentation":"<p> Specifies the <code>EngineType</code> of the domain.</p>"
20082020
}
20092021
}
20102022
},
@@ -2298,6 +2310,13 @@
22982310
"key":{"shape":"String"},
22992311
"value":{"shape":"ServiceUrl"}
23002312
},
2313+
"EngineType":{
2314+
"type":"string",
2315+
"enum":[
2316+
"OpenSearch",
2317+
"Elasticsearch"
2318+
]
2319+
},
23012320
"ErrorDetails":{
23022321
"type":"structure",
23032322
"members":{
@@ -2628,15 +2647,27 @@
26282647
"value":{"shape":"Limits"},
26292648
"documentation":"<p> The role of a given instance and all applicable limits. The role performed by a given OpenSearch instance can be one of the following: <ul> <li>data: If the given InstanceType is used as a data node</li> <li>master: If the given InstanceType is used as a master node</li> <li>ultra_warm: If the given InstanceType is used as a warm node</li> </ul> </p>"
26302649
},
2650+
"ListDomainNamesRequest":{
2651+
"type":"structure",
2652+
"members":{
2653+
"EngineType":{
2654+
"shape":"EngineType",
2655+
"documentation":"<p> Optional parameter to filter the output by domain engine type. Acceptable values are 'Elasticsearch' and 'OpenSearch'. </p>",
2656+
"location":"querystring",
2657+
"locationName":"engineType"
2658+
}
2659+
},
2660+
"documentation":"<p> Container for the parameters to the <code><a>ListDomainNames</a></code> operation.</p>"
2661+
},
26312662
"ListDomainNamesResponse":{
26322663
"type":"structure",
26332664
"members":{
26342665
"DomainNames":{
26352666
"shape":"DomainInfoList",
2636-
"documentation":"<p>List of domain names.</p>"
2667+
"documentation":"<p>List of domain names and respective engine types.</p>"
26372668
}
26382669
},
2639-
"documentation":"<p>The result of a <code>ListDomainNames</code> operation. Contains the names of all domains owned by this account. </p>"
2670+
"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>"
26402671
},
26412672
"ListDomainsForPackageRequest":{
26422673
"type":"structure",

0 commit comments

Comments
 (0)