Skip to content

Commit

Permalink
feat(client-lightsail): This release adds support to upgrade the majo…
Browse files Browse the repository at this point in the history
…r version of a database.
  • Loading branch information
awstools committed Feb 13, 2024
1 parent d32c678 commit a52583b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export interface UpdateRelationalDatabaseCommandOutput extends UpdateRelationalD
* publiclyAccessible: true || false,
* applyImmediately: true || false,
* caCertificateIdentifier: "STRING_VALUE",
* relationalDatabaseBlueprintId: "STRING_VALUE",
* };
* const command = new UpdateRelationalDatabaseCommand(input);
* const response = await client.send(command);
Expand Down
9 changes: 9 additions & 0 deletions clients/client-lightsail/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6876,6 +6876,15 @@ export interface UpdateRelationalDatabaseRequest {
* <p>Indicates the certificate that needs to be associated with the database.</p>
*/
caCertificateIdentifier?: string;

/**
* @public
* <p>This parameter is used to update the major version of the database. Enter the
* <code>blueprintId</code> for the major version that you want to update to.</p>
* <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
* IDs.</p>
*/
relationalDatabaseBlueprintId?: string;
}

/**
Expand Down
6 changes: 6 additions & 0 deletions codegen/sdk-codegen/aws-models/lightsail.json
Original file line number Diff line number Diff line change
Expand Up @@ -23357,6 +23357,12 @@
"traits": {
"smithy.api#documentation": "<p>Indicates the certificate that needs to be associated with the database.</p>"
}
},
"relationalDatabaseBlueprintId": {
"target": "com.amazonaws.lightsail#string",
"traits": {
"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>"
}
}
},
"traits": {
Expand Down

0 comments on commit a52583b

Please sign in to comment.