Skip to content

Commit f169525

Browse files
author
AWS
committed
Amazon OpenSearch Service Update: This release adds an optional parameter dry-run for the UpdateDomainConfig API to perform basic validation checks, and detect the deployment type that will be required for the configuration change, without actually applying the change.
1 parent 254e67f commit f169525

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-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": "Amazon OpenSearch Service",
4+
"contributor": "",
5+
"description": "This release adds an optional parameter dry-run for the UpdateDomainConfig API to perform basic validation checks, and detect the deployment type that will be required for the configuration change, without actually applying the change."
6+
}

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,6 +1511,11 @@
15111511
"ELIGIBLE"
15121512
]
15131513
},
1514+
"DeploymentType":{
1515+
"type":"string",
1516+
"max":128,
1517+
"min":2
1518+
},
15141519
"DescribeDomainAutoTunesRequest":{
15151520
"type":"structure",
15161521
"required":["DomainName"],
@@ -2213,6 +2218,20 @@
22132218
"documentation":"<p>A list that contains the status of each requested domain.</p>"
22142219
},
22152220
"Double":{"type":"double"},
2221+
"DryRun":{"type":"boolean"},
2222+
"DryRunResults":{
2223+
"type":"structure",
2224+
"members":{
2225+
"DeploymentType":{
2226+
"shape":"DeploymentType",
2227+
"documentation":"<p> Specifies the way in which Amazon OpenSearch Service applies the update. Possible responses are <code>Blue/Green</code> (the update requires a blue/green deployment), <code>DynamicUpdate</code> (no blue/green required), <code>Undetermined</code> (the domain is undergoing an update and can't predict the deployment type; try again after the update is complete), and <code>None</code> (the request doesn't include any configuration changes). </p>"
2228+
},
2229+
"Message":{
2230+
"shape":"Message",
2231+
"documentation":"<p>Contains an optional message associated with the DryRunResults.</p>"
2232+
}
2233+
}
2234+
},
22162235
"Duration":{
22172236
"type":"structure",
22182237
"members":{
@@ -2893,6 +2912,11 @@
28932912
"type":"integer",
28942913
"documentation":"<p> Maximum number of instances that can be instantiated for a given InstanceType. </p>"
28952914
},
2915+
"Message":{
2916+
"type":"string",
2917+
"max":1024,
2918+
"min":0
2919+
},
28962920
"MinimumInstanceCount":{
28972921
"type":"integer",
28982922
"documentation":"<p> Minimum number of instances that can be instantiated for a given InstanceType. </p>"
@@ -3913,6 +3937,10 @@
39133937
"AutoTuneOptions":{
39143938
"shape":"AutoTuneOptions",
39153939
"documentation":"<p>Specifies Auto-Tune options.</p>"
3940+
},
3941+
"DryRun":{
3942+
"shape":"DryRun",
3943+
"documentation":"<p>This flag, when set to True, specifies whether the <code>UpdateDomain</code> request should return the results of validation checks (DryRunResults) without actually applying the change.</p>"
39163944
}
39173945
},
39183946
"documentation":"<p>Container for the parameters to the <code> <a>UpdateDomain</a> </code> operation. Specifies the type and number of instances in the domain cluster. </p>"
@@ -3924,6 +3952,10 @@
39243952
"DomainConfig":{
39253953
"shape":"DomainConfig",
39263954
"documentation":"<p>The status of the updated domain.</p>"
3955+
},
3956+
"DryRunResults":{
3957+
"shape":"DryRunResults",
3958+
"documentation":"<p>Contains result of DryRun. </p>"
39273959
}
39283960
},
39293961
"documentation":"<p>The result of an <code>UpdateDomain</code> request. Contains the status of the domain being updated. </p>"

0 commit comments

Comments
 (0)