import { BrowserHttpOptions as __HttpOptions__ } from "@aws-sdk/types"; import * as __aws_sdk_types from "@aws-sdk/types"; /** * UpdateRelationalDatabaseInput shape */ export interface UpdateRelationalDatabaseInput { /** *

The name of your database to update.

*/ relationalDatabaseName: string; /** *

The password for the master user of your database. The password can include any printable ASCII character except "/", """, or "@".

Constraints: Must contain 8 to 41 characters.

*/ masterUserPassword?: string; /** *

When true, the master user password is changed to a new strong password generated by Lightsail.

Use the get relational database master user password operation to get the new password.

*/ rotateMasterUserPassword?: boolean; /** *

The daily time range during which automated backups are created for your database if automated backups are enabled.

Constraints:

*/ preferredBackupWindow?: string; /** *

The weekly time range during which system maintenance can occur on your database.

The default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region, occurring on a random day of the week.

Constraints:

*/ preferredMaintenanceWindow?: string; /** *

When true, enables automated backup retention for your database.

Updates are applied during the next maintenance window because this can result in an outage.

*/ enableBackupRetention?: boolean; /** *

When true, disables automated backup retention for your database.

Disabling backup retention deletes all automated database backups. Before disabling this, you may want to create a snapshot of your database using the create relational database snapshot operation.

Updates are applied during the next maintenance window because this can result in an outage.

*/ disableBackupRetention?: boolean; /** *

Specifies the accessibility options for your database. A value of true specifies a database that is available to resources outside of your Lightsail account. A value of false specifies a database that is available only to your Lightsail resources in the same region as your database.

*/ publiclyAccessible?: boolean; /** *

When true, applies changes immediately. When false, applies changes during the preferred maintenance window. Some changes may cause an outage.

Default: false

*/ applyImmediately?: boolean; /** * The maximum number of times this operation should be retried. If set, this value will override the `maxRetries` configuration set on the client for this command. */ $maxRetries?: number; /** * An object that may be queried to determine if the underlying operation has been aborted. * * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal */ $abortSignal?: __aws_sdk_types.AbortSignal; /** * Per-request HTTP configuration options. If set, any options specified will override the corresponding HTTP option set on the client for this command. */ $httpOptions?: __HttpOptions__; }