libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm
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.OpsWorksCM.Types.Backup

Description

 
Synopsis

Documentation

data Backup Source #

Describes a single backup.

See: newBackup smart constructor.

Constructors

Backup' 

Fields

Instances

Instances details
Eq Backup Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Backup

Methods

(==) :: Backup -> Backup -> Bool #

(/=) :: Backup -> Backup -> Bool #

Read Backup Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Backup

Show Backup Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Backup

Generic Backup Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Backup

Associated Types

type Rep Backup :: Type -> Type #

Methods

from :: Backup -> Rep Backup x #

to :: Rep Backup x -> Backup #

NFData Backup Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Backup

Methods

rnf :: Backup -> () #

Hashable Backup Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Backup

Methods

hashWithSalt :: Int -> Backup -> Int #

hash :: Backup -> Int #

FromJSON Backup Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Backup

type Rep Backup Source # 
Instance details

Defined in Amazonka.OpsWorksCM.Types.Backup

type Rep Backup = D1 ('MetaData "Backup" "Amazonka.OpsWorksCM.Types.Backup" "libZSservicesZSamazonka-opsworks-cmZSamazonka-opsworks-cm" 'False) (C1 ('MetaCons "Backup'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "engineVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serviceRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupStatus)))) :*: (S1 ('MetaSel ('Just "instanceProfileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "statusDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "serverName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subnetIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "keyPair") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "backupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "engine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "engineModel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "preferredMaintenanceWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "preferredBackupWindow") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3LogUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "s3DataSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "backupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3DataUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "backupType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupType)) :*: S1 ('MetaSel ('Just "toolsVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))))

newBackup :: Backup Source #

Create a value of Backup 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:Backup', backup_engineVersion - The engine version that is obtained from the server when the backup is created.

$sel:serviceRoleArn:Backup', backup_serviceRoleArn - The service role ARN that is obtained from the server when the backup is created.

$sel:status:Backup', backup_status - The status of a backup while in progress.

$sel:instanceProfileArn:Backup', backup_instanceProfileArn - The EC2 instance profile ARN that is obtained from the server when the backup is created. Because this value is stored, you are not required to provide the InstanceProfileArn again if you restore a backup.

$sel:securityGroupIds:Backup', backup_securityGroupIds - The security group IDs that are obtained from the server when the backup is created.

$sel:statusDescription:Backup', backup_statusDescription - An informational message about backup status.

$sel:serverName:Backup', backup_serverName - The name of the server from which the backup was made.

$sel:subnetIds:Backup', backup_subnetIds - The subnet IDs that are obtained from the server when the backup is created.

$sel:keyPair:Backup', backup_keyPair - The key pair that is obtained from the server when the backup is created.

$sel:createdAt:Backup', backup_createdAt - The time stamp when the backup was created in the database. Example: 2016-07-29T13:38:47.520Z

$sel:backupId:Backup', backup_backupId - The generated ID of the backup. Example: myServerName-yyyyMMddHHmmssSSS

$sel:engine:Backup', backup_engine - The engine type that is obtained from the server when the backup is created.

$sel:instanceType:Backup', backup_instanceType - The instance type that is obtained from the server when the backup is created.

$sel:engineModel:Backup', backup_engineModel - The engine model that is obtained from the server when the backup is created.

$sel:preferredMaintenanceWindow:Backup', backup_preferredMaintenanceWindow - The preferred maintenance period that is obtained from the server when the backup is created.

$sel:userArn:Backup', backup_userArn - The IAM user ARN of the requester for manual backups. This field is empty for automated backups.

$sel:preferredBackupWindow:Backup', backup_preferredBackupWindow - The preferred backup period that is obtained from the server when the backup is created.

$sel:s3LogUrl:Backup', backup_s3LogUrl - The Amazon S3 URL of the backup's log file.

$sel:s3DataSize:Backup', backup_s3DataSize - This field is deprecated and is no longer used.

$sel:backupArn:Backup', backup_backupArn - The ARN of the backup.

$sel:s3DataUrl:Backup', backup_s3DataUrl - This field is deprecated and is no longer used.

$sel:description:Backup', backup_description - A user-provided description for a manual backup. This field is empty for automated backups.

$sel:backupType:Backup', backup_backupType - The backup type. Valid values are automated or manual.

$sel:toolsVersion:Backup', backup_toolsVersion - The version of AWS OpsWorks CM-specific tools that is obtained from the server when the backup is created.

backup_engineVersion :: Lens' Backup (Maybe Text) Source #

The engine version that is obtained from the server when the backup is created.

backup_serviceRoleArn :: Lens' Backup (Maybe Text) Source #

The service role ARN that is obtained from the server when the backup is created.

backup_status :: Lens' Backup (Maybe BackupStatus) Source #

The status of a backup while in progress.

backup_instanceProfileArn :: Lens' Backup (Maybe Text) Source #

The EC2 instance profile ARN that is obtained from the server when the backup is created. Because this value is stored, you are not required to provide the InstanceProfileArn again if you restore a backup.

backup_securityGroupIds :: Lens' Backup (Maybe [Text]) Source #

The security group IDs that are obtained from the server when the backup is created.

backup_statusDescription :: Lens' Backup (Maybe Text) Source #

An informational message about backup status.

backup_serverName :: Lens' Backup (Maybe Text) Source #

The name of the server from which the backup was made.

backup_subnetIds :: Lens' Backup (Maybe [Text]) Source #

The subnet IDs that are obtained from the server when the backup is created.

backup_keyPair :: Lens' Backup (Maybe Text) Source #

The key pair that is obtained from the server when the backup is created.

backup_createdAt :: Lens' Backup (Maybe UTCTime) Source #

The time stamp when the backup was created in the database. Example: 2016-07-29T13:38:47.520Z

backup_backupId :: Lens' Backup (Maybe Text) Source #

The generated ID of the backup. Example: myServerName-yyyyMMddHHmmssSSS

backup_engine :: Lens' Backup (Maybe Text) Source #

The engine type that is obtained from the server when the backup is created.

backup_instanceType :: Lens' Backup (Maybe Text) Source #

The instance type that is obtained from the server when the backup is created.

backup_engineModel :: Lens' Backup (Maybe Text) Source #

The engine model that is obtained from the server when the backup is created.

backup_preferredMaintenanceWindow :: Lens' Backup (Maybe Text) Source #

The preferred maintenance period that is obtained from the server when the backup is created.

backup_userArn :: Lens' Backup (Maybe Text) Source #

The IAM user ARN of the requester for manual backups. This field is empty for automated backups.

backup_preferredBackupWindow :: Lens' Backup (Maybe Text) Source #

The preferred backup period that is obtained from the server when the backup is created.

backup_s3LogUrl :: Lens' Backup (Maybe Text) Source #

The Amazon S3 URL of the backup's log file.

backup_s3DataSize :: Lens' Backup (Maybe Int) Source #

This field is deprecated and is no longer used.

backup_backupArn :: Lens' Backup (Maybe Text) Source #

The ARN of the backup.

backup_s3DataUrl :: Lens' Backup (Maybe Text) Source #

This field is deprecated and is no longer used.

backup_description :: Lens' Backup (Maybe Text) Source #

A user-provided description for a manual backup. This field is empty for automated backups.

backup_backupType :: Lens' Backup (Maybe BackupType) Source #

The backup type. Valid values are automated or manual.

backup_toolsVersion :: Lens' Backup (Maybe Text) Source #

The version of AWS OpsWorks CM-specific tools that is obtained from the server when the backup is created.