Module Values.RelationalDatabaseSource

Describes a database.

Sourcetype nonrec t = {
  1. name : ResourceName.t option;
    (*

    The unique name of the database resource in Lightsail.

    *)
  2. arn : NonEmptyString.t option;
    (*

    The Amazon Resource Name (ARN) of the database.

    *)
  3. supportCode : String_.t option;
    (*

    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.

    *)
  4. createdAt : IsoDate.t option;
    (*

    The timestamp when the database was created. Formatted in Unix time.

    *)
  5. location : ResourceLocation.t option;
    (*

    The Region name and Availability Zone where the database is located.

    *)
  6. resourceType : ResourceType.t option;
    (*

    The Lightsail resource type for the database (for example, RelationalDatabase).

    *)
  7. tags : TagList.t option;
    (*

    The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

    *)
  8. relationalDatabaseBlueprintId : NonEmptyString.t option;
    (*

    The blueprint ID for the database. A blueprint describes the major engine version of a database.

    *)
  9. relationalDatabaseBundleId : NonEmptyString.t option;
    (*

    The bundle ID for the database. A bundle describes the performance specifications for your database.

    *)
  10. masterDatabaseName : String_.t option;
    (*

    The name of the master database created when the Lightsail database resource is created.

    *)
  11. hardware : RelationalDatabaseHardware.t option;
    (*

    Describes the hardware of the database.

    *)
  12. state : NonEmptyString.t option;
    (*

    Describes the current state of the database.

    *)
  13. secondaryAvailabilityZone : String_.t option;
    (*

    Describes the secondary Availability Zone of a high availability database. The secondary database is used for failover support of a high availability database.

    *)
  14. backupRetentionEnabled : Boolean.t option;
    (*

    A Boolean value indicating whether automated backup retention is enabled for the database.

    *)
  15. pendingModifiedValues : PendingModifiedRelationalDatabaseValues.t option;
    (*

    Describes pending database value modifications.

    *)
  16. engine : NonEmptyString.t option;
    (*

    The database software (for example, MySQL).

    *)
  17. engineVersion : NonEmptyString.t option;
    (*

    The database engine version (for example, 5.7.23).

    *)
  18. latestRestorableTime : IsoDate.t option;
    (*

    The latest point in time to which the database can be restored. Formatted in Unix time.

    *)
  19. masterUsername : NonEmptyString.t option;
    (*

    The master user name of the database.

    *)
  20. parameterApplyStatus : NonEmptyString.t option;
    (*

    The status of parameter updates for the database.

    *)
  21. preferredBackupWindow : NonEmptyString.t option;
    (*

    The daily time range during which automated backups are created for the database (for example, 16:00-16:30).

    *)
  22. preferredMaintenanceWindow : NonEmptyString.t option;
    (*

    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.

    *)
  23. publiclyAccessible : Boolean.t option;
    (*

    A Boolean value indicating whether the database is publicly accessible.

    *)
  24. masterEndpoint : RelationalDatabaseEndpoint.t option;
    (*

    The master endpoint for the database.

    *)
  25. pendingMaintenanceActions : PendingMaintenanceActionList.t option;
    (*

    Describes the pending maintenance actions for the database.

    *)
  26. caCertificateIdentifier : String_.t option;
    (*

    The certificate associated with the database.

    *)
}
Sourceval make : ?name:??? -> ?arn:??? -> ?supportCode:??? -> ?createdAt:??? -> ?location:??? -> ?resourceType:??? -> ?tags:??? -> ?relationalDatabaseBlueprintId:??? -> ?relationalDatabaseBundleId:??? -> ?masterDatabaseName:??? -> ?hardware:??? -> ?state:??? -> ?secondaryAvailabilityZone:??? -> ?backupRetentionEnabled:??? -> ?pendingModifiedValues:??? -> ?engine:??? -> ?engineVersion:??? -> ?latestRestorableTime:??? -> ?masterUsername:??? -> ?parameterApplyStatus:??? -> ?preferredBackupWindow:??? -> ?preferredMaintenanceWindow:??? -> ?publiclyAccessible:??? -> ?masterEndpoint:??? -> ?pendingMaintenanceActions:??? -> ?caCertificateIdentifier:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t | `Timestamp of IsoDate.t ]) list ] list | `String of ResourceName.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Float of Float_.t | `Integer of Integer.t | `String of String_.t ]) list | `Timestamp of IsoDate.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t