amazonka-rds-2.0: Amazon Relational Database Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RDS.Types.DBSnapshot

Description

 
Synopsis

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.

Constructors

DBSnapshot' 

Fields

  • allocatedStorage :: Maybe Int

    Specifies the allocated storage size in gibibytes (GiB).

  • availabilityZone :: Maybe Text

    Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.

  • dbInstanceIdentifier :: Maybe Text

    Specifies the DB instance identifier of the DB instance this DB snapshot was created from.

  • dbSnapshotArn :: Maybe Text

    The Amazon Resource Name (ARN) for the DB snapshot.

  • dbSnapshotIdentifier :: Maybe Text

    Specifies the identifier for the DB snapshot.

  • dbiResourceId :: Maybe Text

    The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.

  • encrypted :: Maybe Bool

    Specifies whether the DB snapshot is encrypted.

  • engine :: Maybe Text

    Specifies the name of the database engine.

  • engineVersion :: Maybe Text

    Specifies the version of the database engine.

  • iAMDatabaseAuthenticationEnabled :: Maybe Bool

    True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.

  • instanceCreateTime :: Maybe ISO8601

    Specifies the time in Coordinated Universal Time (UTC) when the DB instance, from which the snapshot was taken, was created.

  • iops :: Maybe Int

    Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.

  • kmsKeyId :: Maybe Text

    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.

  • licenseModel :: Maybe Text

    License model information for the restored DB instance.

  • masterUsername :: Maybe Text

    Provides the master username for the DB snapshot.

  • optionGroupName :: Maybe Text

    Provides the option group name for the DB snapshot.

  • originalSnapshotCreateTime :: Maybe ISO8601

    Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.

  • percentProgress :: Maybe Int

    The percentage of the estimated data that has been transferred.

  • port :: Maybe Int

    Specifies the port that the database engine was listening on at the time of the snapshot.

  • processorFeatures :: Maybe [ProcessorFeature]

    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.

  • snapshotCreateTime :: Maybe ISO8601

    Specifies when the snapshot was taken in Coordinated Universal Time (UTC). Changes for the copy when the snapshot is copied.

  • snapshotDatabaseTime :: Maybe ISO8601

    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.

  • snapshotTarget :: Maybe Text

    Specifies where manual snapshots are stored: Amazon Web Services Outposts or the Amazon Web Services Region.

  • snapshotType :: Maybe Text

    Provides the type of the DB snapshot.

  • sourceDBSnapshotIdentifier :: Maybe Text

    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.

  • sourceRegion :: Maybe Text

    The Amazon Web Services Region that the DB snapshot was created in or copied from.

  • status :: Maybe Text

    Specifies the status of this DB snapshot.

  • storageThroughput :: Maybe Int

    Specifies the storage throughput for the DB snapshot.

  • storageType :: Maybe Text

    Specifies the storage type associated with DB snapshot.

  • tagList :: Maybe [Tag]
     
  • tdeCredentialArn :: Maybe Text

    The ARN from the key store with which to associate the instance for TDE encryption.

  • timezone :: Maybe Text

    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.

  • vpcId :: Maybe Text

    Provides the VPC ID associated with the DB snapshot.

Instances

Instances details
FromXML DBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSnapshot

Generic DBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSnapshot

Associated Types

type Rep DBSnapshot :: Type -> Type #

Read DBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSnapshot

Show DBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSnapshot

NFData DBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSnapshot

Methods

rnf :: DBSnapshot -> () #

Eq DBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSnapshot

Hashable DBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSnapshot

type Rep DBSnapshot Source # 
Instance details

Defined in Amazonka.RDS.Types.DBSnapshot

type Rep DBSnapshot = D1 ('MetaData "DBSnapshot" "Amazonka.RDS.Types.DBSnapshot" "amazonka-rds-2.0-3xXyiLHmAvvCXXUIx1uhpP" 'False) (C1 ('MetaCons "DBSnapshot'" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "allocatedStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dbInstanceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dbSnapshotArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "dbSnapshotIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dbiResourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "encrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "engine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iAMDatabaseAuthenticationEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "instanceCreateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "iops") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "licenseModel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "masterUsername") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "optionGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: ((((S1 ('MetaSel ('Just "originalSnapshotCreateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "percentProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "port") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "processorFeatures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ProcessorFeature])))) :*: ((S1 ('MetaSel ('Just "snapshotCreateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "snapshotDatabaseTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "snapshotTarget") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snapshotType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "sourceDBSnapshotIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "storageThroughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "storageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tagList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "tdeCredentialArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))))

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.