Skip to content

Commit 1a3694c

Browse files
author
AWS
committed
Amazon Elasticsearch Service Update: This release adds an optional parameter dry-run for the UpdateElasticsearchDomainConfig 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 6160e80 commit 1a3694c

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 Elasticsearch Service",
4+
"contributor": "",
5+
"description": "This release adds an optional parameter dry-run for the UpdateElasticsearchDomainConfig 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/elasticsearch/src/main/resources/codegen-resources/service-2.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,6 +1435,11 @@
14351435
"ELIGIBLE"
14361436
]
14371437
},
1438+
"DeploymentType":{
1439+
"type":"string",
1440+
"max":128,
1441+
"min":2
1442+
},
14381443
"DescribeDomainAutoTunesRequest":{
14391444
"type":"structure",
14401445
"required":["DomainName"],
@@ -1968,6 +1973,20 @@
19681973
]
19691974
},
19701975
"Double":{"type":"double"},
1976+
"DryRun":{"type":"boolean"},
1977+
"DryRunResults":{
1978+
"type":"structure",
1979+
"members":{
1980+
"DeploymentType":{
1981+
"shape":"DeploymentType",
1982+
"documentation":"<p> Specifies the deployment mechanism through which the update shall be applied on the domain. Possible responses are <code>Blue/Green</code> (The update will require a blue/green deployment.) <code>DynamicUpdate</code> (The update can be applied in-place without a Blue/Green deployment required.) <code>Undetermined</code> (The domain is undergoing an update which needs to complete before the deployment type can be predicted.) <code>None</code> (The configuration change matches the current configuration and will not result in any update.) </p>"
1983+
},
1984+
"Message":{
1985+
"shape":"Message",
1986+
"documentation":"<p>Contains an optional message associated with the DryRunResults.</p>"
1987+
}
1988+
}
1989+
},
19711990
"Duration":{
19721991
"type":"structure",
19731992
"members":{
@@ -2976,6 +2995,11 @@
29762995
"type":"integer",
29772996
"documentation":"<p> Maximum number of Instances that can be instantiated for given InstanceType. </p>"
29782997
},
2998+
"Message":{
2999+
"type":"string",
3000+
"max":1024,
3001+
"min":0
3002+
},
29793003
"MinimumInstanceCount":{
29803004
"type":"integer",
29813005
"documentation":"<p> Minimum number of Instances that can be instantiated for given InstanceType. </p>"
@@ -3864,6 +3888,10 @@
38643888
"AutoTuneOptions":{
38653889
"shape":"AutoTuneOptions",
38663890
"documentation":"<p>Specifies Auto-Tune options.</p>"
3891+
},
3892+
"DryRun":{
3893+
"shape":"DryRun",
3894+
"documentation":"<p> This flag, when set to True, specifies whether the <code>UpdateElasticsearchDomain</code> request should return the results of validation checks without actually applying the change. This flag, when set to True, specifies the deployment mechanism through which the update shall be applied on the domain. This will not actually perform the Update. </p>"
38673895
}
38683896
},
38693897
"documentation":"<p>Container for the parameters to the <code><a>UpdateElasticsearchDomain</a></code> operation. Specifies the type and number of instances in the domain cluster.</p>"
@@ -3875,6 +3903,10 @@
38753903
"DomainConfig":{
38763904
"shape":"ElasticsearchDomainConfig",
38773905
"documentation":"<p>The status of the updated Elasticsearch domain. </p>"
3906+
},
3907+
"DryRunResults":{
3908+
"shape":"DryRunResults",
3909+
"documentation":"<p>Contains result of DryRun. </p>"
38783910
}
38793911
},
38803912
"documentation":"<p>The result of an <code>UpdateElasticsearchDomain</code> request. Contains the status of the Elasticsearch domain being updated.</p>"

0 commit comments

Comments
 (0)