amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.Types.RelationalDatabase

Description

 
Synopsis

Documentation

data RelationalDatabase Source #

Describes a database.

See: newRelationalDatabase smart constructor.

Constructors

RelationalDatabase' 

Fields

Instances

Instances details
FromJSON RelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabase

Generic RelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabase

Associated Types

type Rep RelationalDatabase :: Type -> Type #

Read RelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabase

Show RelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabase

NFData RelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabase

Methods

rnf :: RelationalDatabase -> () #

Eq RelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabase

Hashable RelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabase

type Rep RelationalDatabase Source # 
Instance details

Defined in Amazonka.Lightsail.Types.RelationalDatabase

type Rep RelationalDatabase = D1 ('MetaData "RelationalDatabase" "Amazonka.Lightsail.Types.RelationalDatabase" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "RelationalDatabase'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "backupRetentionEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "caCertificateIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "engine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "hardware") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RelationalDatabaseHardware)) :*: (S1 ('MetaSel ('Just "latestRestorableTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceLocation)))) :*: ((S1 ('MetaSel ('Just "masterDatabaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "masterEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RelationalDatabaseEndpoint))) :*: (S1 ('MetaSel ('Just "masterUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "parameterApplyStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "pendingMaintenanceActions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PendingMaintenanceAction])) :*: S1 ('MetaSel ('Just "pendingModifiedValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PendingModifiedRelationalDatabaseValues)))) :*: (S1 ('MetaSel ('Just "preferredBackupWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "preferredMaintenanceWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "publiclyAccessible") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "relationalDatabaseBlueprintId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "relationalDatabaseBundleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)))) :*: ((S1 ('MetaSel ('Just "secondaryAvailabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "supportCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))))))))

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_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_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_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.