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 DBSnapshot = DBSnapshot' {
- originalSnapshotCreateTime :: Maybe ISO8601
- engineVersion :: Maybe Text
- status :: Maybe Text
- dbSnapshotArn :: Maybe Text
- masterUsername :: Maybe Text
- sourceRegion :: Maybe Text
- iAMDatabaseAuthenticationEnabled :: Maybe Bool
- iops :: Maybe Int
- vpcId :: Maybe Text
- instanceCreateTime :: Maybe ISO8601
- tagList :: Maybe [Tag]
- engine :: Maybe Text
- encrypted :: Maybe Bool
- dbSnapshotIdentifier :: Maybe Text
- processorFeatures :: Maybe [ProcessorFeature]
- licenseModel :: Maybe Text
- sourceDBSnapshotIdentifier :: Maybe Text
- snapshotType :: Maybe Text
- dbInstanceIdentifier :: Maybe Text
- kmsKeyId :: Maybe Text
- availabilityZone :: Maybe Text
- snapshotCreateTime :: Maybe ISO8601
- allocatedStorage :: Maybe Int
- dbiResourceId :: Maybe Text
- optionGroupName :: Maybe Text
- timezone :: Maybe Text
- tdeCredentialArn :: Maybe Text
- percentProgress :: Maybe Int
- port :: Maybe Int
- storageType :: Maybe Text
- newDBSnapshot :: DBSnapshot
- dbSnapshot_originalSnapshotCreateTime :: Lens' DBSnapshot (Maybe UTCTime)
- dbSnapshot_engineVersion :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_status :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_dbSnapshotArn :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_masterUsername :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_sourceRegion :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_iAMDatabaseAuthenticationEnabled :: Lens' DBSnapshot (Maybe Bool)
- dbSnapshot_iops :: Lens' DBSnapshot (Maybe Int)
- dbSnapshot_vpcId :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_instanceCreateTime :: Lens' DBSnapshot (Maybe UTCTime)
- dbSnapshot_tagList :: Lens' DBSnapshot (Maybe [Tag])
- dbSnapshot_engine :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_encrypted :: Lens' DBSnapshot (Maybe Bool)
- dbSnapshot_dbSnapshotIdentifier :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_processorFeatures :: Lens' DBSnapshot (Maybe [ProcessorFeature])
- dbSnapshot_licenseModel :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_sourceDBSnapshotIdentifier :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_snapshotType :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_dbInstanceIdentifier :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_kmsKeyId :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_availabilityZone :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_snapshotCreateTime :: Lens' DBSnapshot (Maybe UTCTime)
- dbSnapshot_allocatedStorage :: Lens' DBSnapshot (Maybe Int)
- dbSnapshot_dbiResourceId :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_optionGroupName :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_timezone :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_tdeCredentialArn :: Lens' DBSnapshot (Maybe Text)
- dbSnapshot_percentProgress :: Lens' DBSnapshot (Maybe Int)
- dbSnapshot_port :: Lens' DBSnapshot (Maybe Int)
- dbSnapshot_storageType :: 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: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:engineVersion:DBSnapshot'
, dbSnapshot_engineVersion
- Specifies the version of the database engine.
$sel:status:DBSnapshot'
, dbSnapshot_status
- Specifies the status of this DB snapshot.
$sel:dbSnapshotArn:DBSnapshot'
, dbSnapshot_dbSnapshotArn
- The Amazon Resource Name (ARN) for the DB snapshot.
$sel:masterUsername:DBSnapshot'
, dbSnapshot_masterUsername
- Provides the master username for the DB snapshot.
$sel:sourceRegion:DBSnapshot'
, dbSnapshot_sourceRegion
- The Amazon Web Services Region that the DB snapshot was created in or
copied from.
$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: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:vpcId:DBSnapshot'
, dbSnapshot_vpcId
- Provides the VPC ID associated with the DB snapshot.
$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:tagList:DBSnapshot'
, dbSnapshot_tagList
- Undocumented member.
$sel:engine:DBSnapshot'
, dbSnapshot_engine
- Specifies the name of the database engine.
$sel:encrypted:DBSnapshot'
, dbSnapshot_encrypted
- Specifies whether the DB snapshot is encrypted.
$sel:dbSnapshotIdentifier:DBSnapshot'
, dbSnapshot_dbSnapshotIdentifier
- Specifies the identifier for the DB 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:licenseModel:DBSnapshot'
, dbSnapshot_licenseModel
- License model information for the restored DB instance.
$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:snapshotType:DBSnapshot'
, dbSnapshot_snapshotType
- Provides the type 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: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 Amazon Web Services KMS customer master key (CMK).
$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: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:allocatedStorage:DBSnapshot'
, dbSnapshot_allocatedStorage
- Specifies the allocated storage size in gibibytes (GiB).
$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:optionGroupName:DBSnapshot'
, dbSnapshot_optionGroupName
- Provides the option group name for the DB snapshot.
$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:tdeCredentialArn:DBSnapshot'
, dbSnapshot_tdeCredentialArn
- The ARN from the key store with which to associate the instance for TDE
encryption.
$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:storageType:DBSnapshot'
, dbSnapshot_storageType
- Specifies the storage type associated with 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_engineVersion :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the version of the database engine.
dbSnapshot_status :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the status of this DB snapshot.
dbSnapshot_dbSnapshotArn :: Lens' DBSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) for the DB snapshot.
dbSnapshot_masterUsername :: Lens' DBSnapshot (Maybe Text) Source #
Provides the master username for the DB snapshot.
dbSnapshot_sourceRegion :: Lens' DBSnapshot (Maybe Text) Source #
The Amazon Web Services Region that the DB snapshot was created in or copied from.
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_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_vpcId :: Lens' DBSnapshot (Maybe Text) Source #
Provides the VPC ID associated with the DB snapshot.
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_tagList :: Lens' DBSnapshot (Maybe [Tag]) Source #
Undocumented member.
dbSnapshot_engine :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the name of the database engine.
dbSnapshot_encrypted :: Lens' DBSnapshot (Maybe Bool) Source #
Specifies whether the DB snapshot is encrypted.
dbSnapshot_dbSnapshotIdentifier :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the identifier for the DB 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_licenseModel :: Lens' DBSnapshot (Maybe Text) Source #
License model information for the restored DB instance.
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_snapshotType :: Lens' DBSnapshot (Maybe Text) Source #
Provides the type 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_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 Amazon Web Services KMS customer master key (CMK).
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_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_allocatedStorage :: Lens' DBSnapshot (Maybe Int) Source #
Specifies the allocated storage size in gibibytes (GiB).
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_optionGroupName :: Lens' DBSnapshot (Maybe Text) Source #
Provides the option group name for the DB snapshot.
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_tdeCredentialArn :: Lens' DBSnapshot (Maybe Text) Source #
The ARN from the key store with which to associate the instance for TDE encryption.
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_storageType :: Lens' DBSnapshot (Maybe Text) Source #
Specifies the storage type associated with DB snapshot.