libZSservicesZSamazonka-backupZSamazonka-backup
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Backup.Types.ProtectedResource

Description

 
Synopsis

Documentation

data ProtectedResource Source #

A structure that contains information about a backed-up resource.

See: newProtectedResource smart constructor.

Constructors

ProtectedResource' 

Fields

  • resourceType :: Maybe Text

    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.

  • lastBackupTime :: Maybe POSIX

    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.

  • resourceArn :: Maybe Text

    An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

Instances

Instances details
Eq ProtectedResource Source # 
Instance details

Defined in Amazonka.Backup.Types.ProtectedResource

Read ProtectedResource Source # 
Instance details

Defined in Amazonka.Backup.Types.ProtectedResource

Show ProtectedResource Source # 
Instance details

Defined in Amazonka.Backup.Types.ProtectedResource

Generic ProtectedResource Source # 
Instance details

Defined in Amazonka.Backup.Types.ProtectedResource

Associated Types

type Rep ProtectedResource :: Type -> Type #

NFData ProtectedResource Source # 
Instance details

Defined in Amazonka.Backup.Types.ProtectedResource

Methods

rnf :: ProtectedResource -> () #

Hashable ProtectedResource Source # 
Instance details

Defined in Amazonka.Backup.Types.ProtectedResource

FromJSON ProtectedResource Source # 
Instance details

Defined in Amazonka.Backup.Types.ProtectedResource

type Rep ProtectedResource Source # 
Instance details

Defined in Amazonka.Backup.Types.ProtectedResource

type Rep ProtectedResource = D1 ('MetaData "ProtectedResource" "Amazonka.Backup.Types.ProtectedResource" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "ProtectedResource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastBackupTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.