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 DBSnapshot = DBSnapshot' {
- allocatedStorage :: Maybe Int
- availabilityZone :: Maybe Text
- dbInstanceIdentifier :: Maybe Text
- dbSnapshotArn :: Maybe Text
- dbSnapshotIdentifier :: Maybe Text
- dbiResourceId :: Maybe Text
- encrypted :: Maybe Bool
- engine :: Maybe Text
- engineVersion :: Maybe Text
- iAMDatabaseAuthenticationEnabled :: Maybe Bool
- instanceCreateTime :: Maybe ISO8601
- iops :: Maybe Int
- kmsKeyId :: Maybe Text
- licenseModel :: Maybe Text
- masterUsername :: Maybe Text
- optionGroupName :: Maybe Text
- originalSnapshotCreateTime :: Maybe ISO8601
- percentProgress :: Maybe Int
- port :: Maybe Int
- processorFeatures :: Maybe [ProcessorFeature]
- snapshotCreateTime :: Maybe ISO8601
- snapshotDatabaseTime :: Maybe ISO8601
- snapshotTarget :: Maybe Text
- snapshotType :: Maybe Text
- sourceDBSnapshotIdentifier :: Maybe Text
- sourceRegion :: Maybe Text
- status :: Maybe Text
- storageThroughput :: Maybe Int
- storageType :: Maybe Text
- tagList :: Maybe [Tag]
- tdeCredentialArn :: Maybe Text
- timezone :: Maybe Text
- vpcId :: Maybe Text
- newDBSnapshot :: DBSnapshot
- dbSnapshot_allocatedStorage :: Lens' DBSnapshot (Maybe Int)
- dbSnapshot_availabilityZone :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_dbInstanceIdentifier :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_dbSnapshotArn :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_dbSnapshotIdentifier :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_dbiResourceId :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_encrypted :: Lens' DBSnapshot (Maybe Bool)
- dbSnapshot_engine :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_engineVersion :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_iAMDatabaseAuthenticationEnabled :: Lens' DBSnapshot (Maybe Bool)
- dbSnapshot_instanceCreateTime :: Lens' DBSnapshot (Maybe UTCTime)
- dbSnapshot_iops :: Lens' DBSnapshot (Maybe Int)
- dbSnapshot_kmsKeyId :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_licenseModel :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_masterUsername :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_optionGroupName :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_originalSnapshotCreateTime :: Lens' DBSnapshot (Maybe UTCTime)
- dbSnapshot_percentProgress :: Lens' DBSnapshot (Maybe Int)
- dbSnapshot_port :: Lens' DBSnapshot (Maybe Int)
- dbSnapshot_processorFeatures :: Lens' DBSnapshot (Maybe [ProcessorFeature])
- dbSnapshot_snapshotCreateTime :: Lens' DBSnapshot (Maybe UTCTime)
- dbSnapshot_snapshotDatabaseTime :: Lens' DBSnapshot (Maybe UTCTime)
- dbSnapshot_snapshotTarget :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_snapshotType :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_sourceDBSnapshotIdentifier :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_sourceRegion :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_status :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_storageThroughput :: Lens' DBSnapshot (Maybe Int)
- dbSnapshot_storageType :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_tagList :: Lens' DBSnapshot (Maybe [Tag])
- dbSnapshot_tdeCredentialArn :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_timezone :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_vpcId :: Lens' DBSnapshot (Maybe Text)
Documentation
data DBSnapshot Source #
Contains the details of an Amazon RDS DB snapshot.
This data type is used as a response element in the
DescribeDBSnapshots
action.
See: newDBSnapshot
smart constructor.
DBSnapshot' | |
|
Instances
newDBSnapshot :: DBSnapshot Source #
Create a value of DBSnapshot
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:allocatedStorage:DBSnapshot'
, dbSnapshot_allocatedStorage
- Specifies the allocated storage size in gibibytes (GiB).
$sel:availabilityZone:DBSnapshot'
, dbSnapshot_availabilityZone
- Specifies the name of the Availability Zone the DB instance was located
in at the time of the DB snapshot.
$sel:dbInstanceIdentifier:DBSnapshot'
, dbSnapshot_dbInstanceIdentifier
- Specifies the DB instance identifier of the DB instance this DB snapshot
was created from.
$sel:dbSnapshotArn:DBSnapshot'
, dbSnapshot_dbSnapshotArn
- The Amazon Resource Name (ARN) for the DB snapshot.
$sel:dbSnapshotIdentifier:DBSnapshot'
, dbSnapshot_dbSnapshotIdentifier
- Specifies the identifier for the DB snapshot.
$sel:dbiResourceId:DBSnapshot'
, dbSnapshot_dbiResourceId
- The identifier for the source DB instance, which can't be changed and
which is unique to an Amazon Web Services Region.
$sel:encrypted:DBSnapshot'
, dbSnapshot_encrypted
- Specifies whether the DB snapshot is encrypted.
$sel:engine:DBSnapshot'
, dbSnapshot_engine
- Specifies the name of the database engine.
$sel:engineVersion:DBSnapshot'
, dbSnapshot_engineVersion
- Specifies the version of the database engine.
$sel:iAMDatabaseAuthenticationEnabled:DBSnapshot'
, dbSnapshot_iAMDatabaseAuthenticationEnabled
- True if mapping of Amazon Web Services Identity and Access Management
(IAM) accounts to database accounts is enabled, and otherwise false.
$sel:instanceCreateTime:DBSnapshot'
, dbSnapshot_instanceCreateTime
- Specifies the time in Coordinated Universal Time (UTC) when the DB
instance, from which the snapshot was taken, was created.
$sel:iops:DBSnapshot'
, dbSnapshot_iops
- Specifies the Provisioned IOPS (I/O operations per second) value of the
DB instance at the time of the snapshot.
$sel:kmsKeyId:DBSnapshot'
, dbSnapshot_kmsKeyId
- If Encrypted
is true, the Amazon Web Services KMS key identifier for
the encrypted DB snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
$sel:licenseModel:DBSnapshot'
, dbSnapshot_licenseModel
- License model information for the restored DB instance.
$sel:masterUsername:DBSnapshot'
, dbSnapshot_masterUsername
- Provides the master username for the DB snapshot.
$sel:optionGroupName:DBSnapshot'
, dbSnapshot_optionGroupName
- Provides the option group name for the DB snapshot.
$sel:originalSnapshotCreateTime:DBSnapshot'
, dbSnapshot_originalSnapshotCreateTime
- Specifies the time of the CreateDBSnapshot operation in Coordinated
Universal Time (UTC). Doesn't change when the snapshot is copied.
$sel:percentProgress:DBSnapshot'
, dbSnapshot_percentProgress
- The percentage of the estimated data that has been transferred.
$sel:port:DBSnapshot'
, dbSnapshot_port
- Specifies the port that the database engine was listening on at the time
of the snapshot.
$sel:processorFeatures:DBSnapshot'
, dbSnapshot_processorFeatures
- The number of CPU cores and the number of threads per core for the DB
instance class of the DB instance when the DB snapshot was created.
$sel:snapshotCreateTime:DBSnapshot'
, dbSnapshot_snapshotCreateTime
- Specifies when the snapshot was taken in Coordinated Universal Time
(UTC). Changes for the copy when the snapshot is copied.
$sel:snapshotDatabaseTime:DBSnapshot'
, dbSnapshot_snapshotDatabaseTime
- The timestamp of the most recent transaction applied to the database
that you're backing up. Thus, if you restore a snapshot,
SnapshotDatabaseTime is the most recent transaction in the restored DB
instance. In contrast, originalSnapshotCreateTime specifies the system
time that the snapshot completed.
If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.
$sel:snapshotTarget:DBSnapshot'
, dbSnapshot_snapshotTarget
- Specifies where manual snapshots are stored: Amazon Web Services
Outposts or the Amazon Web Services Region.
$sel:snapshotType:DBSnapshot'
, dbSnapshot_snapshotType
- Provides the type of the DB snapshot.
$sel:sourceDBSnapshotIdentifier:DBSnapshot'
, dbSnapshot_sourceDBSnapshotIdentifier
- The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was
copied from. It only has a value in the case of a cross-account or
cross-Region copy.
$sel:sourceRegion:DBSnapshot'
, dbSnapshot_sourceRegion
- The Amazon Web Services Region that the DB snapshot was created in or
copied from.
$sel:status:DBSnapshot'
, dbSnapshot_status
- Specifies the status of this DB snapshot.
$sel:storageThroughput:DBSnapshot'
, dbSnapshot_storageThroughput
- Specifies the storage throughput for the DB snapshot.
$sel:storageType:DBSnapshot'
, dbSnapshot_storageType
- Specifies the storage type associated with DB snapshot.
$sel:tagList:DBSnapshot'
, dbSnapshot_tagList
- Undocumented member.
$sel:tdeCredentialArn:DBSnapshot'
, dbSnapshot_tdeCredentialArn
- The ARN from the key store with which to associate the instance for TDE
encryption.
$sel:timezone:DBSnapshot'
, dbSnapshot_timezone
- The time zone of the DB snapshot. In most cases, the Timezone
element
is empty. Timezone
content appears only for snapshots taken from
Microsoft SQL Server DB instances that were created with a time zone
specified.
$sel:vpcId:DBSnapshot'
, dbSnapshot_vpcId
- Provides the VPC ID associated with the DB snapshot.
dbSnapshot_allocatedStorage :: Lens' DBSnapshot (Maybe Int) Source #
Specifies the allocated storage size in gibibytes (GiB).
dbSnapshot_availabilityZone :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
dbSnapshot_dbInstanceIdentifier :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the DB instance identifier of the DB instance this DB snapshot was created from.
dbSnapshot_dbSnapshotArn :: Lens' DBSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) for the DB snapshot.
dbSnapshot_dbSnapshotIdentifier :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the identifier for the DB snapshot.
dbSnapshot_dbiResourceId :: Lens' DBSnapshot (Maybe Text) Source #
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.
dbSnapshot_encrypted :: Lens' DBSnapshot (Maybe Bool) Source #
Specifies whether the DB snapshot is encrypted.
dbSnapshot_engine :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the name of the database engine.
dbSnapshot_engineVersion :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the version of the database engine.
dbSnapshot_iAMDatabaseAuthenticationEnabled :: Lens' DBSnapshot (Maybe Bool) Source #
True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
dbSnapshot_instanceCreateTime :: Lens' DBSnapshot (Maybe UTCTime) Source #
Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.
dbSnapshot_iops :: Lens' DBSnapshot (Maybe Int) Source #
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
dbSnapshot_kmsKeyId :: Lens' DBSnapshot (Maybe Text) Source #
If Encrypted
is true, the Amazon Web Services KMS key identifier for
the encrypted DB snapshot.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
dbSnapshot_licenseModel :: Lens' DBSnapshot (Maybe Text) Source #
License model information for the restored DB instance.
dbSnapshot_masterUsername :: Lens' DBSnapshot (Maybe Text) Source #
Provides the master username for the DB snapshot.
dbSnapshot_optionGroupName :: Lens' DBSnapshot (Maybe Text) Source #
Provides the option group name for the DB snapshot.
dbSnapshot_originalSnapshotCreateTime :: Lens' DBSnapshot (Maybe UTCTime) Source #
Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.
dbSnapshot_percentProgress :: Lens' DBSnapshot (Maybe Int) Source #
The percentage of the estimated data that has been transferred.
dbSnapshot_port :: Lens' DBSnapshot (Maybe Int) Source #
Specifies the port that the database engine was listening on at the time of the snapshot.
dbSnapshot_processorFeatures :: Lens' DBSnapshot (Maybe [ProcessorFeature]) Source #
The number of CPU cores and the number of threads per core for the DB instance class of the DB instance when the DB snapshot was created.
dbSnapshot_snapshotCreateTime :: Lens' DBSnapshot (Maybe UTCTime) Source #
Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the snapshot is copied.
dbSnapshot_snapshotDatabaseTime :: Lens' DBSnapshot (Maybe UTCTime) Source #
The timestamp of the most recent transaction applied to the database that you're backing up. Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.
If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than SnapshotDatabaseTime, then the replica lag is two hours.
dbSnapshot_snapshotTarget :: Lens' DBSnapshot (Maybe Text) Source #
Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
dbSnapshot_snapshotType :: Lens' DBSnapshot (Maybe Text) Source #
Provides the type of the DB snapshot.
dbSnapshot_sourceDBSnapshotIdentifier :: Lens' DBSnapshot (Maybe Text) Source #
The DB snapshot Amazon Resource Name (ARN) that the DB snapshot was copied from. It only has a value in the case of a cross-account or cross-Region copy.
dbSnapshot_sourceRegion :: Lens' DBSnapshot (Maybe Text) Source #
The Amazon Web Services Region that the DB snapshot was created in or copied from.
dbSnapshot_status :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the status of this DB snapshot.
dbSnapshot_storageThroughput :: Lens' DBSnapshot (Maybe Int) Source #
Specifies the storage throughput for the DB snapshot.
dbSnapshot_storageType :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the storage type associated with DB snapshot.
dbSnapshot_tagList :: Lens' DBSnapshot (Maybe [Tag]) Source #
Undocumented member.
dbSnapshot_tdeCredentialArn :: Lens' DBSnapshot (Maybe Text) Source #
The ARN from the key store with which to associate the instance for TDE encryption.
dbSnapshot_timezone :: Lens' DBSnapshot (Maybe Text) Source #
The time zone of the DB snapshot. In most cases, the Timezone
element
is empty. Timezone
content appears only for snapshots taken from
Microsoft SQL Server DB instances that were created with a time zone
specified.
dbSnapshot_vpcId :: Lens' DBSnapshot (Maybe Text) Source #
Provides the VPC ID associated with the DB snapshot.