Skip to content

Commit a52583b

Browse files
author
awstools
committed
feat(client-lightsail): This release adds support to upgrade the major version of a database.
1 parent d32c678 commit a52583b

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

clients/client-lightsail/src/commands/UpdateRelationalDatabaseCommand.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export interface UpdateRelationalDatabaseCommandOutput extends UpdateRelationalD
5555
* publiclyAccessible: true || false,
5656
* applyImmediately: true || false,
5757
* caCertificateIdentifier: "STRING_VALUE",
58+
* relationalDatabaseBlueprintId: "STRING_VALUE",
5859
* };
5960
* const command = new UpdateRelationalDatabaseCommand(input);
6061
* const response = await client.send(command);

clients/client-lightsail/src/models/models_1.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6876,6 +6876,15 @@ export interface UpdateRelationalDatabaseRequest {
68766876
* <p>Indicates the certificate that needs to be associated with the database.</p>
68776877
*/
68786878
caCertificateIdentifier?: string;
6879+
6880+
/**
6881+
* @public
6882+
* <p>This parameter is used to update the major version of the database. Enter the
6883+
* <code>blueprintId</code> for the major version that you want to update to.</p>
6884+
* <p>Use the <a href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRelationalDatabaseBlueprints.html">GetRelationalDatabaseBlueprints</a> action to get a list of available blueprint
6885+
* IDs.</p>
6886+
*/
6887+
relationalDatabaseBlueprintId?: string;
68796888
}
68806889

68816890
/**

codegen/sdk-codegen/aws-models/lightsail.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23357,6 +23357,12 @@
2335723357
"traits": {
2335823358
"smithy.api#documentation": "<p>Indicates the certificate that needs to be associated with the database.</p>"
2335923359
}
23360+
},
23361+
"relationalDatabaseBlueprintId": {
23362+
"target": "com.amazonaws.lightsail#string",
23363+
"traits": {
23364+
"smithy.api#documentation": "<p>This parameter is used to update the major version of the database. Enter the\n <code>blueprintId</code> for the major version that you want to update to.</p>\n <p>Use the <a href=\"https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRelationalDatabaseBlueprints.html\">GetRelationalDatabaseBlueprints</a> action to get a list of available blueprint\n IDs.</p>"
23365+
}
2336023366
}
2336123367
},
2336223368
"traits": {

0 commit comments

Comments
 (0)