Skip to content

Commit 1cf1621

Browse files
Amazon OpenSearch Service: Adds support for RollbackServiceSoftwareUpdate API
1 parent a8553c4 commit 1cf1621

2 files changed

Lines changed: 70 additions & 0 deletions

File tree

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": "Adds support for RollbackServiceSoftwareUpdate API"
6+
}

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

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,6 +1285,23 @@
12851285
],
12861286
"documentation":"<p>Revokes access to an Amazon OpenSearch Service domain that was provided through an interface VPC endpoint.</p>"
12871287
},
1288+
"RollbackServiceSoftwareUpdate":{
1289+
"name":"RollbackServiceSoftwareUpdate",
1290+
"http":{
1291+
"method":"POST",
1292+
"requestUri":"/2021-01-01/opensearch/serviceSoftwareUpdate/rollback"
1293+
},
1294+
"input":{"shape":"RollbackServiceSoftwareUpdateRequest"},
1295+
"output":{"shape":"RollbackServiceSoftwareUpdateResponse"},
1296+
"errors":[
1297+
{"shape":"BaseException"},
1298+
{"shape":"InternalException"},
1299+
{"shape":"ResourceNotFoundException"},
1300+
{"shape":"ValidationException"},
1301+
{"shape":"DisabledOperationException"}
1302+
],
1303+
"documentation":"<p>Rolls back a service software update for a domain to the previous version. For more information, see <a href=\"https://docs.aws.amazon.com/opensearch-service/latest/developerguide/service-software.html\">Service software updates in Amazon OpenSearch Service</a>.</p>"
1304+
},
12881305
"StartDomainMaintenance":{
12891306
"name":"StartDomainMaintenance",
12901307
"http":{
@@ -7947,6 +7964,49 @@
79477964
"DEFAULT_ROLLBACK"
79487965
]
79497966
},
7967+
"RollbackServiceSoftwareOptions":{
7968+
"type":"structure",
7969+
"members":{
7970+
"CurrentVersion":{
7971+
"shape":"String",
7972+
"documentation":"<p>The current service software version on the domain.</p>"
7973+
},
7974+
"NewVersion":{
7975+
"shape":"String",
7976+
"documentation":"<p>The service software version that the domain will roll back to.</p>"
7977+
},
7978+
"RollbackAvailable":{
7979+
"shape":"Boolean",
7980+
"documentation":"<p>Whether a service software rollback is available for the domain.</p>"
7981+
},
7982+
"Description":{
7983+
"shape":"String",
7984+
"documentation":"<p>A description of the rollback status.</p>"
7985+
}
7986+
},
7987+
"documentation":"<p>Details about the rollback options for a service software update.</p>"
7988+
},
7989+
"RollbackServiceSoftwareUpdateRequest":{
7990+
"type":"structure",
7991+
"required":["DomainName"],
7992+
"members":{
7993+
"DomainName":{
7994+
"shape":"DomainName",
7995+
"documentation":"<p>The name of the domain to roll back the service software update on.</p>"
7996+
}
7997+
},
7998+
"documentation":"<p>Container for the request parameters to the <code>RollbackServiceSoftwareUpdate</code> operation.</p>"
7999+
},
8000+
"RollbackServiceSoftwareUpdateResponse":{
8001+
"type":"structure",
8002+
"members":{
8003+
"RollbackServiceSoftwareOptions":{
8004+
"shape":"RollbackServiceSoftwareOptions",
8005+
"documentation":"<p>The rollback options for the service software update.</p>"
8006+
}
8007+
},
8008+
"documentation":"<p>Contains details about the rolled-back service software update.</p>"
8009+
},
79508010
"S3BucketName":{
79518011
"type":"string",
79528012
"max":63,
@@ -8303,6 +8363,10 @@
83038363
"AutoSoftwareUpdateEnabled":{
83048364
"shape":"Boolean",
83058365
"documentation":"<p>Whether automatic service software updates are enabled for the domain.</p>"
8366+
},
8367+
"UseLatestServiceSoftwareForBlueGreen":{
8368+
"shape":"Boolean",
8369+
"documentation":"<p>Whether the domain should use the latest service software version during a blue/green deployment. If enabled, the domain will automatically use the latest available service software when a blue/green deployment is triggered.</p>"
83068370
}
83078371
},
83088372
"documentation":"<p>Options for configuring service software updates for a domain.</p>"

0 commit comments

Comments
 (0)