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 ProtectedResource = ProtectedResource' {}
- newProtectedResource :: ProtectedResource
- protectedResource_resourceType :: Lens' ProtectedResource (Maybe Text)
- protectedResource_lastBackupTime :: Lens' ProtectedResource (Maybe UTCTime)
- protectedResource_resourceArn :: Lens' ProtectedResource (Maybe Text)
Documentation
data ProtectedResource Source #
A structure that contains information about a backed-up resource.
See: newProtectedResource
smart constructor.
ProtectedResource' | |
|
Instances
newProtectedResource :: ProtectedResource Source #
Create a value of ProtectedResource
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:resourceType:ProtectedResource'
, protectedResource_resourceType
- The type of Amazon Web Services resource; for example, an Amazon Elastic
Block Store (Amazon EBS) volume or an Amazon Relational Database Service
(Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS)
backups, the only supported resource type is Amazon EC2.
$sel:lastBackupTime:ProtectedResource'
, protectedResource_lastBackupTime
- The date and time a resource was last backed up, in Unix format and
Coordinated Universal Time (UTC). The value of LastBackupTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
$sel:resourceArn:ProtectedResource'
, protectedResource_resourceArn
- An Amazon Resource Name (ARN) that uniquely identifies a resource. The
format of the ARN depends on the resource type.
protectedResource_resourceType :: Lens' ProtectedResource (Maybe Text) Source #
The type of Amazon Web Services resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
protectedResource_lastBackupTime :: Lens' ProtectedResource (Maybe UTCTime) Source #
The date and time a resource was last backed up, in Unix format and
Coordinated Universal Time (UTC). The value of LastBackupTime
is
accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.
protectedResource_resourceArn :: Lens' ProtectedResource (Maybe Text) Source #
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.