Skip to content

Commit fb58bd3

Browse files
author
AWS
committed
OpenSearch Service Serverless Update: Amazon OpenSearch Serverless collections support an additional attribute called standby-replicas. This allows to specify whether a collection should have redundancy enabled.
1 parent 9a39c84 commit fb58bd3

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
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": "OpenSearch Service Serverless",
4+
"contributor": "",
5+
"description": "Amazon OpenSearch Serverless collections support an additional attribute called standby-replicas. This allows to specify whether a collection should have redundancy enabled."
6+
}

services/opensearchserverless/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,17 @@
308308
"expect": {
309309
"error": "Invalid Configuration: Missing Region"
310310
}
311+
},
312+
{
313+
"documentation": "Partition doesn't support DualStack",
314+
"expect": {
315+
"error": "DualStack is enabled but this partition does not support DualStack"
316+
},
317+
"params": {
318+
"Region": "us-isob-east-1",
319+
"UseFIPS": false,
320+
"UseDualStack": true
321+
}
311322
}
312323
],
313324
"version": "1.0"

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

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -847,6 +847,10 @@
847847
"shape":"CollectionName",
848848
"documentation":"<p>The name of the collection.</p>"
849849
},
850+
"standbyReplicas":{
851+
"shape":"StandbyReplicas",
852+
"documentation":"<p>Details about an OpenSearch Serverless collection.</p>"
853+
},
850854
"status":{
851855
"shape":"CollectionStatus",
852856
"documentation":"<p>The current status of the collection.</p>"
@@ -1059,6 +1063,10 @@
10591063
"shape":"CollectionName",
10601064
"documentation":"<p>The name of the collection.</p>"
10611065
},
1066+
"standbyReplicas":{
1067+
"shape":"StandbyReplicas",
1068+
"documentation":"<p>Creates details about an OpenSearch Serverless collection.</p>"
1069+
},
10621070
"status":{
10631071
"shape":"CollectionStatus",
10641072
"documentation":"<p>The current status of the collection.</p>"
@@ -1087,6 +1095,10 @@
10871095
"shape":"CollectionName",
10881096
"documentation":"<p>Name of the collection.</p>"
10891097
},
1098+
"standbyReplicas":{
1099+
"shape":"StandbyReplicas",
1100+
"documentation":"<p>Indicates whether standby replicas should be used for a collection.</p>"
1101+
},
10901102
"tags":{
10911103
"shape":"Tags",
10921104
"documentation":"<p>An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.</p>"
@@ -2407,6 +2419,13 @@
24072419
"documentation":"<p>Thrown when you attempt to create more resources than the service allows based on service quotas.</p>",
24082420
"exception":true
24092421
},
2422+
"StandbyReplicas":{
2423+
"type":"string",
2424+
"enum":[
2425+
"ENABLED",
2426+
"DISABLED"
2427+
]
2428+
},
24102429
"String":{"type":"string"},
24112430
"SubnetId":{
24122431
"type":"string",

0 commit comments

Comments
 (0)