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 DBClusterSnapshot = DBClusterSnapshot' {
- engineVersion :: Maybe Text
- status :: Maybe Text
- storageEncrypted :: Maybe Bool
- dbClusterIdentifier :: Maybe Text
- masterUsername :: Maybe Text
- iAMDatabaseAuthenticationEnabled :: Maybe Bool
- dbClusterSnapshotArn :: Maybe Text
- vpcId :: Maybe Text
- dbClusterSnapshotIdentifier :: Maybe Text
- engine :: Maybe Text
- licenseModel :: Maybe Text
- availabilityZones :: Maybe [Text]
- snapshotType :: Maybe Text
- kmsKeyId :: Maybe Text
- snapshotCreateTime :: Maybe ISO8601
- allocatedStorage :: Maybe Int
- sourceDBClusterSnapshotArn :: Maybe Text
- clusterCreateTime :: Maybe ISO8601
- percentProgress :: Maybe Int
- port :: Maybe Int
- newDBClusterSnapshot :: DBClusterSnapshot
- dbClusterSnapshot_engineVersion :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_status :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_storageEncrypted :: Lens' DBClusterSnapshot (Maybe Bool)
- dbClusterSnapshot_dbClusterIdentifier :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_masterUsername :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_iAMDatabaseAuthenticationEnabled :: Lens' DBClusterSnapshot (Maybe Bool)
- dbClusterSnapshot_dbClusterSnapshotArn :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_vpcId :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_dbClusterSnapshotIdentifier :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_engine :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_licenseModel :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_availabilityZones :: Lens' DBClusterSnapshot (Maybe [Text])
- dbClusterSnapshot_snapshotType :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_kmsKeyId :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_snapshotCreateTime :: Lens' DBClusterSnapshot (Maybe UTCTime)
- dbClusterSnapshot_allocatedStorage :: Lens' DBClusterSnapshot (Maybe Int)
- dbClusterSnapshot_sourceDBClusterSnapshotArn :: Lens' DBClusterSnapshot (Maybe Text)
- dbClusterSnapshot_clusterCreateTime :: Lens' DBClusterSnapshot (Maybe UTCTime)
- dbClusterSnapshot_percentProgress :: Lens' DBClusterSnapshot (Maybe Int)
- dbClusterSnapshot_port :: Lens' DBClusterSnapshot (Maybe Int)
Documentation
data DBClusterSnapshot Source #
Contains the details for an Amazon Neptune DB cluster snapshot
This data type is used as a response element in the DescribeDBClusterSnapshots action.
See: newDBClusterSnapshot
smart constructor.
DBClusterSnapshot' | |
|
Instances
newDBClusterSnapshot :: DBClusterSnapshot Source #
Create a value of DBClusterSnapshot
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:DBClusterSnapshot'
, dbClusterSnapshot_engineVersion
- Provides the version of the database engine for this DB cluster
snapshot.
$sel:status:DBClusterSnapshot'
, dbClusterSnapshot_status
- Specifies the status of this DB cluster snapshot.
$sel:storageEncrypted:DBClusterSnapshot'
, dbClusterSnapshot_storageEncrypted
- Specifies whether the DB cluster snapshot is encrypted.
$sel:dbClusterIdentifier:DBClusterSnapshot'
, dbClusterSnapshot_dbClusterIdentifier
- Specifies the DB cluster identifier of the DB cluster that this DB
cluster snapshot was created from.
$sel:masterUsername:DBClusterSnapshot'
, dbClusterSnapshot_masterUsername
- Not supported by Neptune.
$sel:iAMDatabaseAuthenticationEnabled:DBClusterSnapshot'
, dbClusterSnapshot_iAMDatabaseAuthenticationEnabled
- True if mapping of Amazon Identity and Access Management (IAM) accounts
to database accounts is enabled, and otherwise false.
$sel:dbClusterSnapshotArn:DBClusterSnapshot'
, dbClusterSnapshot_dbClusterSnapshotArn
- The Amazon Resource Name (ARN) for the DB cluster snapshot.
$sel:vpcId:DBClusterSnapshot'
, dbClusterSnapshot_vpcId
- Provides the VPC ID associated with the DB cluster snapshot.
$sel:dbClusterSnapshotIdentifier:DBClusterSnapshot'
, dbClusterSnapshot_dbClusterSnapshotIdentifier
- Specifies the identifier for a DB cluster snapshot. Must match the
identifier of an existing snapshot.
After you restore a DB cluster using a DBClusterSnapshotIdentifier
,
you must specify the same DBClusterSnapshotIdentifier
for any future
updates to the DB cluster. When you specify this property for an update,
the DB cluster is not restored from the snapshot again, and the data in
the database is not changed.
However, if you don't specify the DBClusterSnapshotIdentifier
, an
empty DB cluster is created, and the original DB cluster is deleted. If
you specify a property that is different from the previous snapshot
restore property, the DB cluster is restored from the snapshot specified
by the DBClusterSnapshotIdentifier
, and the original DB cluster is
deleted.
$sel:engine:DBClusterSnapshot'
, dbClusterSnapshot_engine
- Specifies the name of the database engine.
$sel:licenseModel:DBClusterSnapshot'
, dbClusterSnapshot_licenseModel
- Provides the license model information for this DB cluster snapshot.
$sel:availabilityZones:DBClusterSnapshot'
, dbClusterSnapshot_availabilityZones
- Provides the list of EC2 Availability Zones that instances in the DB
cluster snapshot can be restored in.
$sel:snapshotType:DBClusterSnapshot'
, dbClusterSnapshot_snapshotType
- Provides the type of the DB cluster snapshot.
$sel:kmsKeyId:DBClusterSnapshot'
, dbClusterSnapshot_kmsKeyId
- If StorageEncrypted
is true, the Amazon KMS key identifier for the
encrypted DB cluster snapshot.
$sel:snapshotCreateTime:DBClusterSnapshot'
, dbClusterSnapshot_snapshotCreateTime
- Provides the time when the snapshot was taken, in Universal Coordinated
Time (UTC).
$sel:allocatedStorage:DBClusterSnapshot'
, dbClusterSnapshot_allocatedStorage
- Specifies the allocated storage size in gibibytes (GiB).
$sel:sourceDBClusterSnapshotArn:DBClusterSnapshot'
, dbClusterSnapshot_sourceDBClusterSnapshotArn
- If the DB cluster snapshot was copied from a source DB cluster snapshot,
the Amazon Resource Name (ARN) for the source DB cluster snapshot,
otherwise, a null value.
$sel:clusterCreateTime:DBClusterSnapshot'
, dbClusterSnapshot_clusterCreateTime
- Specifies the time when the DB cluster was created, in Universal
Coordinated Time (UTC).
$sel:percentProgress:DBClusterSnapshot'
, dbClusterSnapshot_percentProgress
- Specifies the percentage of the estimated data that has been
transferred.
$sel:port:DBClusterSnapshot'
, dbClusterSnapshot_port
- Specifies the port that the DB cluster was listening on at the time of
the snapshot.
dbClusterSnapshot_engineVersion :: Lens' DBClusterSnapshot (Maybe Text) Source #
Provides the version of the database engine for this DB cluster snapshot.
dbClusterSnapshot_status :: Lens' DBClusterSnapshot (Maybe Text) Source #
Specifies the status of this DB cluster snapshot.
dbClusterSnapshot_storageEncrypted :: Lens' DBClusterSnapshot (Maybe Bool) Source #
Specifies whether the DB cluster snapshot is encrypted.
dbClusterSnapshot_dbClusterIdentifier :: Lens' DBClusterSnapshot (Maybe Text) Source #
Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
dbClusterSnapshot_masterUsername :: Lens' DBClusterSnapshot (Maybe Text) Source #
Not supported by Neptune.
dbClusterSnapshot_iAMDatabaseAuthenticationEnabled :: Lens' DBClusterSnapshot (Maybe Bool) Source #
True if mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
dbClusterSnapshot_dbClusterSnapshotArn :: Lens' DBClusterSnapshot (Maybe Text) Source #
The Amazon Resource Name (ARN) for the DB cluster snapshot.
dbClusterSnapshot_vpcId :: Lens' DBClusterSnapshot (Maybe Text) Source #
Provides the VPC ID associated with the DB cluster snapshot.
dbClusterSnapshot_dbClusterSnapshotIdentifier :: Lens' DBClusterSnapshot (Maybe Text) Source #
Specifies the identifier for a DB cluster snapshot. Must match the identifier of an existing snapshot.
After you restore a DB cluster using a DBClusterSnapshotIdentifier
,
you must specify the same DBClusterSnapshotIdentifier
for any future
updates to the DB cluster. When you specify this property for an update,
the DB cluster is not restored from the snapshot again, and the data in
the database is not changed.
However, if you don't specify the DBClusterSnapshotIdentifier
, an
empty DB cluster is created, and the original DB cluster is deleted. If
you specify a property that is different from the previous snapshot
restore property, the DB cluster is restored from the snapshot specified
by the DBClusterSnapshotIdentifier
, and the original DB cluster is
deleted.
dbClusterSnapshot_engine :: Lens' DBClusterSnapshot (Maybe Text) Source #
Specifies the name of the database engine.
dbClusterSnapshot_licenseModel :: Lens' DBClusterSnapshot (Maybe Text) Source #
Provides the license model information for this DB cluster snapshot.
dbClusterSnapshot_availabilityZones :: Lens' DBClusterSnapshot (Maybe [Text]) Source #
Provides the list of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
dbClusterSnapshot_snapshotType :: Lens' DBClusterSnapshot (Maybe Text) Source #
Provides the type of the DB cluster snapshot.
dbClusterSnapshot_kmsKeyId :: Lens' DBClusterSnapshot (Maybe Text) Source #
If StorageEncrypted
is true, the Amazon KMS key identifier for the
encrypted DB cluster snapshot.
dbClusterSnapshot_snapshotCreateTime :: Lens' DBClusterSnapshot (Maybe UTCTime) Source #
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
dbClusterSnapshot_allocatedStorage :: Lens' DBClusterSnapshot (Maybe Int) Source #
Specifies the allocated storage size in gibibytes (GiB).
dbClusterSnapshot_sourceDBClusterSnapshotArn :: Lens' DBClusterSnapshot (Maybe Text) Source #
If the DB cluster snapshot was copied from a source DB cluster snapshot, the Amazon Resource Name (ARN) for the source DB cluster snapshot, otherwise, a null value.
dbClusterSnapshot_clusterCreateTime :: Lens' DBClusterSnapshot (Maybe UTCTime) Source #
Specifies the time when the DB cluster was created, in Universal Coordinated Time (UTC).
dbClusterSnapshot_percentProgress :: Lens' DBClusterSnapshot (Maybe Int) Source #
Specifies the percentage of the estimated data that has been transferred.
dbClusterSnapshot_port :: Lens' DBClusterSnapshot (Maybe Int) Source #
Specifies the port that the DB cluster was listening on at the time of the snapshot.