Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DBInstance = DBInstance' {
- engineVersion :: Maybe Text
- storageEncrypted :: Maybe Bool
- dbClusterIdentifier :: Maybe Text
- publiclyAccessible :: Maybe Bool
- autoMinorVersionUpgrade :: Maybe Bool
- dbInstanceArn :: Maybe Text
- instanceCreateTime :: Maybe ISO8601
- engine :: Maybe Text
- latestRestorableTime :: Maybe ISO8601
- dbInstanceClass :: Maybe Text
- promotionTier :: Maybe Int
- preferredMaintenanceWindow :: Maybe Text
- cACertificateIdentifier :: Maybe Text
- dbInstanceIdentifier :: Maybe Text
- kmsKeyId :: Maybe Text
- preferredBackupWindow :: Maybe Text
- availabilityZone :: Maybe Text
- vpcSecurityGroups :: Maybe [VpcSecurityGroupMembership]
- backupRetentionPeriod :: Maybe Int
- dbSubnetGroup :: Maybe DBSubnetGroup
- enabledCloudwatchLogsExports :: Maybe [Text]
- dbiResourceId :: Maybe Text
- endpoint :: Maybe Endpoint
- dbInstanceStatus :: Maybe Text
- pendingModifiedValues :: Maybe PendingModifiedValues
- statusInfos :: Maybe [DBInstanceStatusInfo]
- newDBInstance :: DBInstance
- dbInstance_engineVersion :: Lens' DBInstance (Maybe Text)
- dbInstance_storageEncrypted :: Lens' DBInstance (Maybe Bool)
- dbInstance_dbClusterIdentifier :: Lens' DBInstance (Maybe Text)
- dbInstance_publiclyAccessible :: Lens' DBInstance (Maybe Bool)
- dbInstance_autoMinorVersionUpgrade :: Lens' DBInstance (Maybe Bool)
- dbInstance_dbInstanceArn :: Lens' DBInstance (Maybe Text)
- dbInstance_instanceCreateTime :: Lens' DBInstance (Maybe UTCTime)
- dbInstance_engine :: Lens' DBInstance (Maybe Text)
- dbInstance_latestRestorableTime :: Lens' DBInstance (Maybe UTCTime)
- dbInstance_dbInstanceClass :: Lens' DBInstance (Maybe Text)
- dbInstance_promotionTier :: Lens' DBInstance (Maybe Int)
- dbInstance_preferredMaintenanceWindow :: Lens' DBInstance (Maybe Text)
- dbInstance_cACertificateIdentifier :: Lens' DBInstance (Maybe Text)
- dbInstance_dbInstanceIdentifier :: Lens' DBInstance (Maybe Text)
- dbInstance_kmsKeyId :: Lens' DBInstance (Maybe Text)
- dbInstance_preferredBackupWindow :: Lens' DBInstance (Maybe Text)
- dbInstance_availabilityZone :: Lens' DBInstance (Maybe Text)
- dbInstance_vpcSecurityGroups :: Lens' DBInstance (Maybe [VpcSecurityGroupMembership])
- dbInstance_backupRetentionPeriod :: Lens' DBInstance (Maybe Int)
- dbInstance_dbSubnetGroup :: Lens' DBInstance (Maybe DBSubnetGroup)
- dbInstance_enabledCloudwatchLogsExports :: Lens' DBInstance (Maybe [Text])
- dbInstance_dbiResourceId :: Lens' DBInstance (Maybe Text)
- dbInstance_endpoint :: Lens' DBInstance (Maybe Endpoint)
- dbInstance_dbInstanceStatus :: Lens' DBInstance (Maybe Text)
- dbInstance_pendingModifiedValues :: Lens' DBInstance (Maybe PendingModifiedValues)
- dbInstance_statusInfos :: Lens' DBInstance (Maybe [DBInstanceStatusInfo])
Documentation
data DBInstance Source #
Detailed information about an instance.
See: newDBInstance
smart constructor.
DBInstance' | |
|
Instances
newDBInstance :: DBInstance Source #
Create a value of DBInstance
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:engineVersion:DBInstance'
, dbInstance_engineVersion
- Indicates the database engine version.
$sel:storageEncrypted:DBInstance'
, dbInstance_storageEncrypted
- Specifies whether or not the instance is encrypted.
$sel:dbClusterIdentifier:DBInstance'
, dbInstance_dbClusterIdentifier
- Contains the name of the cluster that the instance is a member of if the
instance is a member of a cluster.
$sel:publiclyAccessible:DBInstance'
, dbInstance_publiclyAccessible
- Not supported. Amazon DocumentDB does not currently support public
endpoints. The value of PubliclyAccessible
is always false
.
$sel:autoMinorVersionUpgrade:DBInstance'
, dbInstance_autoMinorVersionUpgrade
- Does not apply. This parameter does not apply to Amazon DocumentDB.
Amazon DocumentDB does not perform minor version upgrades regardless of
the value set.
$sel:dbInstanceArn:DBInstance'
, dbInstance_dbInstanceArn
- The Amazon Resource Name (ARN) for the instance.
$sel:instanceCreateTime:DBInstance'
, dbInstance_instanceCreateTime
- Provides the date and time that the instance was created.
$sel:engine:DBInstance'
, dbInstance_engine
- Provides the name of the database engine to be used for this instance.
$sel:latestRestorableTime:DBInstance'
, dbInstance_latestRestorableTime
- Specifies the latest time to which a database can be restored with
point-in-time restore.
$sel:dbInstanceClass:DBInstance'
, dbInstance_dbInstanceClass
- Contains the name of the compute and memory capacity class of the
instance.
$sel:promotionTier:DBInstance'
, dbInstance_promotionTier
- A value that specifies the order in which an Amazon DocumentDB replica
is promoted to the primary instance after a failure of the existing
primary instance.
$sel:preferredMaintenanceWindow:DBInstance'
, dbInstance_preferredMaintenanceWindow
- Specifies the weekly time range during which system maintenance can
occur, in Universal Coordinated Time (UTC).
$sel:cACertificateIdentifier:DBInstance'
, dbInstance_cACertificateIdentifier
- The identifier of the CA certificate for this DB instance.
$sel:dbInstanceIdentifier:DBInstance'
, dbInstance_dbInstanceIdentifier
- Contains a user-provided database identifier. This identifier is the
unique key that identifies an instance.
$sel:kmsKeyId:DBInstance'
, dbInstance_kmsKeyId
- If StorageEncrypted
is true
, the KMS key identifier for the
encrypted instance.
$sel:preferredBackupWindow:DBInstance'
, dbInstance_preferredBackupWindow
- Specifies the daily time range during which automated backups are
created if automated backups are enabled, as determined by the
BackupRetentionPeriod
.
$sel:availabilityZone:DBInstance'
, dbInstance_availabilityZone
- Specifies the name of the Availability Zone that the instance is located
in.
$sel:vpcSecurityGroups:DBInstance'
, dbInstance_vpcSecurityGroups
- Provides a list of VPC security group elements that the instance belongs
to.
$sel:backupRetentionPeriod:DBInstance'
, dbInstance_backupRetentionPeriod
- Specifies the number of days for which automatic snapshots are retained.
$sel:dbSubnetGroup:DBInstance'
, dbInstance_dbSubnetGroup
- Specifies information on the subnet group that is associated with the
instance, including the name, description, and subnets in the subnet
group.
$sel:enabledCloudwatchLogsExports:DBInstance'
, dbInstance_enabledCloudwatchLogsExports
- A list of log types that this instance is configured to export to
CloudWatch Logs.
$sel:dbiResourceId:DBInstance'
, dbInstance_dbiResourceId
- The Region-unique, immutable identifier for the instance. This
identifier is found in CloudTrail log entries whenever the KMS key for
the instance is accessed.
$sel:endpoint:DBInstance'
, dbInstance_endpoint
- Specifies the connection endpoint.
$sel:dbInstanceStatus:DBInstance'
, dbInstance_dbInstanceStatus
- Specifies the current state of this database.
$sel:pendingModifiedValues:DBInstance'
, dbInstance_pendingModifiedValues
- Specifies that changes to the instance are pending. This element is
included only when changes are pending. Specific changes are identified
by subelements.
$sel:statusInfos:DBInstance'
, dbInstance_statusInfos
- The status of a read replica. If the instance is not a read replica,
this is blank.
dbInstance_engineVersion :: Lens' DBInstance (Maybe Text) Source #
Indicates the database engine version.
dbInstance_storageEncrypted :: Lens' DBInstance (Maybe Bool) Source #
Specifies whether or not the instance is encrypted.
dbInstance_dbClusterIdentifier :: Lens' DBInstance (Maybe Text) Source #
Contains the name of the cluster that the instance is a member of if the instance is a member of a cluster.
dbInstance_publiclyAccessible :: Lens' DBInstance (Maybe Bool) Source #
Not supported. Amazon DocumentDB does not currently support public
endpoints. The value of PubliclyAccessible
is always false
.
dbInstance_autoMinorVersionUpgrade :: Lens' DBInstance (Maybe Bool) Source #
Does not apply. This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.
dbInstance_dbInstanceArn :: Lens' DBInstance (Maybe Text) Source #
The Amazon Resource Name (ARN) for the instance.
dbInstance_instanceCreateTime :: Lens' DBInstance (Maybe UTCTime) Source #
Provides the date and time that the instance was created.
dbInstance_engine :: Lens' DBInstance (Maybe Text) Source #
Provides the name of the database engine to be used for this instance.
dbInstance_latestRestorableTime :: Lens' DBInstance (Maybe UTCTime) Source #
Specifies the latest time to which a database can be restored with point-in-time restore.
dbInstance_dbInstanceClass :: Lens' DBInstance (Maybe Text) Source #
Contains the name of the compute and memory capacity class of the instance.
dbInstance_promotionTier :: Lens' DBInstance (Maybe Int) Source #
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
dbInstance_preferredMaintenanceWindow :: Lens' DBInstance (Maybe Text) Source #
Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).
dbInstance_cACertificateIdentifier :: Lens' DBInstance (Maybe Text) Source #
The identifier of the CA certificate for this DB instance.
dbInstance_dbInstanceIdentifier :: Lens' DBInstance (Maybe Text) Source #
Contains a user-provided database identifier. This identifier is the unique key that identifies an instance.
dbInstance_kmsKeyId :: Lens' DBInstance (Maybe Text) Source #
If StorageEncrypted
is true
, the KMS key identifier for the
encrypted instance.
dbInstance_preferredBackupWindow :: Lens' DBInstance (Maybe Text) Source #
Specifies the daily time range during which automated backups are
created if automated backups are enabled, as determined by the
BackupRetentionPeriod
.
dbInstance_availabilityZone :: Lens' DBInstance (Maybe Text) Source #
Specifies the name of the Availability Zone that the instance is located in.
dbInstance_vpcSecurityGroups :: Lens' DBInstance (Maybe [VpcSecurityGroupMembership]) Source #
Provides a list of VPC security group elements that the instance belongs to.
dbInstance_backupRetentionPeriod :: Lens' DBInstance (Maybe Int) Source #
Specifies the number of days for which automatic snapshots are retained.
dbInstance_dbSubnetGroup :: Lens' DBInstance (Maybe DBSubnetGroup) Source #
Specifies information on the subnet group that is associated with the instance, including the name, description, and subnets in the subnet group.
dbInstance_enabledCloudwatchLogsExports :: Lens' DBInstance (Maybe [Text]) Source #
A list of log types that this instance is configured to export to CloudWatch Logs.
dbInstance_dbiResourceId :: Lens' DBInstance (Maybe Text) Source #
The Region-unique, immutable identifier for the instance. This identifier is found in CloudTrail log entries whenever the KMS key for the instance is accessed.
dbInstance_endpoint :: Lens' DBInstance (Maybe Endpoint) Source #
Specifies the connection endpoint.
dbInstance_dbInstanceStatus :: Lens' DBInstance (Maybe Text) Source #
Specifies the current state of this database.
dbInstance_pendingModifiedValues :: Lens' DBInstance (Maybe PendingModifiedValues) Source #
Specifies that changes to the instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements.
dbInstance_statusInfos :: Lens' DBInstance (Maybe [DBInstanceStatusInfo]) Source #
The status of a read replica. If the instance is not a read replica, this is blank.