Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data RelationalDatabase = RelationalDatabase' {
- arn :: Maybe Text
- backupRetentionEnabled :: Maybe Bool
- caCertificateIdentifier :: Maybe Text
- createdAt :: Maybe POSIX
- engine :: Maybe Text
- engineVersion :: Maybe Text
- hardware :: Maybe RelationalDatabaseHardware
- latestRestorableTime :: Maybe POSIX
- location :: Maybe ResourceLocation
- masterDatabaseName :: Maybe Text
- masterEndpoint :: Maybe RelationalDatabaseEndpoint
- masterUsername :: Maybe Text
- name :: Maybe Text
- parameterApplyStatus :: Maybe Text
- pendingMaintenanceActions :: Maybe [PendingMaintenanceAction]
- pendingModifiedValues :: Maybe PendingModifiedRelationalDatabaseValues
- preferredBackupWindow :: Maybe Text
- preferredMaintenanceWindow :: Maybe Text
- publiclyAccessible :: Maybe Bool
- relationalDatabaseBlueprintId :: Maybe Text
- relationalDatabaseBundleId :: Maybe Text
- resourceType :: Maybe ResourceType
- secondaryAvailabilityZone :: Maybe Text
- state :: Maybe Text
- supportCode :: Maybe Text
- tags :: Maybe [Tag]
- newRelationalDatabase :: RelationalDatabase
- relationalDatabase_arn :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_backupRetentionEnabled :: Lens' RelationalDatabase (Maybe Bool)
- relationalDatabase_caCertificateIdentifier :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_createdAt :: Lens' RelationalDatabase (Maybe UTCTime)
- relationalDatabase_engine :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_engineVersion :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_hardware :: Lens' RelationalDatabase (Maybe RelationalDatabaseHardware)
- relationalDatabase_latestRestorableTime :: Lens' RelationalDatabase (Maybe UTCTime)
- relationalDatabase_location :: Lens' RelationalDatabase (Maybe ResourceLocation)
- relationalDatabase_masterDatabaseName :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_masterEndpoint :: Lens' RelationalDatabase (Maybe RelationalDatabaseEndpoint)
- relationalDatabase_masterUsername :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_name :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_parameterApplyStatus :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_pendingMaintenanceActions :: Lens' RelationalDatabase (Maybe [PendingMaintenanceAction])
- relationalDatabase_pendingModifiedValues :: Lens' RelationalDatabase (Maybe PendingModifiedRelationalDatabaseValues)
- relationalDatabase_preferredBackupWindow :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_preferredMaintenanceWindow :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_publiclyAccessible :: Lens' RelationalDatabase (Maybe Bool)
- relationalDatabase_relationalDatabaseBlueprintId :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_relationalDatabaseBundleId :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_resourceType :: Lens' RelationalDatabase (Maybe ResourceType)
- relationalDatabase_secondaryAvailabilityZone :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_state :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_supportCode :: Lens' RelationalDatabase (Maybe Text)
- relationalDatabase_tags :: Lens' RelationalDatabase (Maybe [Tag])
Documentation
data RelationalDatabase Source #
Describes a database.
See: newRelationalDatabase
smart constructor.
RelationalDatabase' | |
|
Instances
newRelationalDatabase :: RelationalDatabase Source #
Create a value of RelationalDatabase
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:arn:RelationalDatabase'
, relationalDatabase_arn
- The Amazon Resource Name (ARN) of the database.
RelationalDatabase
, relationalDatabase_backupRetentionEnabled
- A Boolean value indicating whether automated backup retention is enabled
for the database.
$sel:caCertificateIdentifier:RelationalDatabase'
, relationalDatabase_caCertificateIdentifier
- The certificate associated with the database.
$sel:createdAt:RelationalDatabase'
, relationalDatabase_createdAt
- The timestamp when the database was created. Formatted in Unix time.
$sel:engine:RelationalDatabase'
, relationalDatabase_engine
- The database software (for example, MySQL
).
RelationalDatabase
, relationalDatabase_engineVersion
- The database engine version (for example, 5.7.23
).
$sel:hardware:RelationalDatabase'
, relationalDatabase_hardware
- Describes the hardware of the database.
$sel:latestRestorableTime:RelationalDatabase'
, relationalDatabase_latestRestorableTime
- The latest point in time to which the database can be restored.
Formatted in Unix time.
$sel:location:RelationalDatabase'
, relationalDatabase_location
- The Region name and Availability Zone where the database is located.
$sel:masterDatabaseName:RelationalDatabase'
, relationalDatabase_masterDatabaseName
- The name of the master database created when the Lightsail database
resource is created.
$sel:masterEndpoint:RelationalDatabase'
, relationalDatabase_masterEndpoint
- The master endpoint for the database.
$sel:masterUsername:RelationalDatabase'
, relationalDatabase_masterUsername
- The master user name of the database.
$sel:name:RelationalDatabase'
, relationalDatabase_name
- The unique name of the database resource in Lightsail.
$sel:parameterApplyStatus:RelationalDatabase'
, relationalDatabase_parameterApplyStatus
- The status of parameter updates for the database.
$sel:pendingMaintenanceActions:RelationalDatabase'
, relationalDatabase_pendingMaintenanceActions
- Describes the pending maintenance actions for the database.
$sel:pendingModifiedValues:RelationalDatabase'
, relationalDatabase_pendingModifiedValues
- Describes pending database value modifications.
$sel:preferredBackupWindow:RelationalDatabase'
, relationalDatabase_preferredBackupWindow
- The daily time range during which automated backups are created for the
database (for example, 16:00-16:30
).
$sel:preferredMaintenanceWindow:RelationalDatabase'
, relationalDatabase_preferredMaintenanceWindow
- The weekly time range during which system maintenance can occur on the
database.
In the format ddd:hh24:mi-ddd:hh24:mi
. For example,
Tue:17:00-Tue:17:30
.
$sel:publiclyAccessible:RelationalDatabase'
, relationalDatabase_publiclyAccessible
- A Boolean value indicating whether the database is publicly accessible.
$sel:relationalDatabaseBlueprintId:RelationalDatabase'
, relationalDatabase_relationalDatabaseBlueprintId
- The blueprint ID for the database. A blueprint describes the major
engine version of a database.
$sel:relationalDatabaseBundleId:RelationalDatabase'
, relationalDatabase_relationalDatabaseBundleId
- The bundle ID for the database. A bundle describes the performance
specifications for your database.
$sel:resourceType:RelationalDatabase'
, relationalDatabase_resourceType
- The Lightsail resource type for the database (for example,
RelationalDatabase
).
$sel:secondaryAvailabilityZone:RelationalDatabase'
, relationalDatabase_secondaryAvailabilityZone
- Describes the secondary Availability Zone of a high availability
database.
The secondary database is used for failover support of a high availability database.
$sel:state:RelationalDatabase'
, relationalDatabase_state
- Describes the current state of the database.
$sel:supportCode:RelationalDatabase'
, relationalDatabase_supportCode
- The support code for the database. Include this code in your email to
support when you have questions about a database in Lightsail. This code
enables our support team to look up your Lightsail information more
easily.
$sel:tags:RelationalDatabase'
, relationalDatabase_tags
- The tag keys and optional values for the resource. For more information
about tags in Lightsail, see the
Amazon Lightsail Developer Guide.
relationalDatabase_arn :: Lens' RelationalDatabase (Maybe Text) Source #
The Amazon Resource Name (ARN) of the database.
relationalDatabase_backupRetentionEnabled :: Lens' RelationalDatabase (Maybe Bool) Source #
A Boolean value indicating whether automated backup retention is enabled for the database.
relationalDatabase_caCertificateIdentifier :: Lens' RelationalDatabase (Maybe Text) Source #
The certificate associated with the database.
relationalDatabase_createdAt :: Lens' RelationalDatabase (Maybe UTCTime) Source #
The timestamp when the database was created. Formatted in Unix time.
relationalDatabase_engine :: Lens' RelationalDatabase (Maybe Text) Source #
The database software (for example, MySQL
).
relationalDatabase_engineVersion :: Lens' RelationalDatabase (Maybe Text) Source #
The database engine version (for example, 5.7.23
).
relationalDatabase_hardware :: Lens' RelationalDatabase (Maybe RelationalDatabaseHardware) Source #
Describes the hardware of the database.
relationalDatabase_latestRestorableTime :: Lens' RelationalDatabase (Maybe UTCTime) Source #
The latest point in time to which the database can be restored. Formatted in Unix time.
relationalDatabase_location :: Lens' RelationalDatabase (Maybe ResourceLocation) Source #
The Region name and Availability Zone where the database is located.
relationalDatabase_masterDatabaseName :: Lens' RelationalDatabase (Maybe Text) Source #
The name of the master database created when the Lightsail database resource is created.
relationalDatabase_masterEndpoint :: Lens' RelationalDatabase (Maybe RelationalDatabaseEndpoint) Source #
The master endpoint for the database.
relationalDatabase_masterUsername :: Lens' RelationalDatabase (Maybe Text) Source #
The master user name of the database.
relationalDatabase_name :: Lens' RelationalDatabase (Maybe Text) Source #
The unique name of the database resource in Lightsail.
relationalDatabase_parameterApplyStatus :: Lens' RelationalDatabase (Maybe Text) Source #
The status of parameter updates for the database.
relationalDatabase_pendingMaintenanceActions :: Lens' RelationalDatabase (Maybe [PendingMaintenanceAction]) Source #
Describes the pending maintenance actions for the database.
relationalDatabase_pendingModifiedValues :: Lens' RelationalDatabase (Maybe PendingModifiedRelationalDatabaseValues) Source #
Describes pending database value modifications.
relationalDatabase_preferredBackupWindow :: Lens' RelationalDatabase (Maybe Text) Source #
The daily time range during which automated backups are created for the
database (for example, 16:00-16:30
).
relationalDatabase_preferredMaintenanceWindow :: Lens' RelationalDatabase (Maybe Text) Source #
The weekly time range during which system maintenance can occur on the database.
In the format ddd:hh24:mi-ddd:hh24:mi
. For example,
Tue:17:00-Tue:17:30
.
relationalDatabase_publiclyAccessible :: Lens' RelationalDatabase (Maybe Bool) Source #
A Boolean value indicating whether the database is publicly accessible.
relationalDatabase_relationalDatabaseBlueprintId :: Lens' RelationalDatabase (Maybe Text) Source #
The blueprint ID for the database. A blueprint describes the major engine version of a database.
relationalDatabase_relationalDatabaseBundleId :: Lens' RelationalDatabase (Maybe Text) Source #
The bundle ID for the database. A bundle describes the performance specifications for your database.
relationalDatabase_resourceType :: Lens' RelationalDatabase (Maybe ResourceType) Source #
The Lightsail resource type for the database (for example,
RelationalDatabase
).
relationalDatabase_secondaryAvailabilityZone :: Lens' RelationalDatabase (Maybe Text) Source #
Describes the secondary Availability Zone of a high availability database.
The secondary database is used for failover support of a high availability database.
relationalDatabase_state :: Lens' RelationalDatabase (Maybe Text) Source #
Describes the current state of the database.
relationalDatabase_supportCode :: Lens' RelationalDatabase (Maybe Text) Source #
The support code for the database. Include this code in your email to support when you have questions about a database in Lightsail. This code enables our support team to look up your Lightsail information more easily.
relationalDatabase_tags :: Lens' RelationalDatabase (Maybe [Tag]) Source #
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.