libZSservicesZSamazonka-efsZSamazonka-efs
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.EFS.PutBackupPolicy

Description

Updates the file system's backup policy. Use this action to start or stop automatic backups of the file system.

Synopsis

Creating a Request

data PutBackupPolicy Source #

See: newPutBackupPolicy smart constructor.

Constructors

PutBackupPolicy' 

Fields

Instances

Instances details
Eq PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Read PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Show PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Generic PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Associated Types

type Rep PutBackupPolicy :: Type -> Type #

NFData PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Methods

rnf :: PutBackupPolicy -> () #

Hashable PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

ToJSON PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

AWSRequest PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Associated Types

type AWSResponse PutBackupPolicy #

ToHeaders PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

ToPath PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

ToQuery PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

type Rep PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

type Rep PutBackupPolicy = D1 ('MetaData "PutBackupPolicy" "Amazonka.EFS.PutBackupPolicy" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "PutBackupPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fileSystemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "backupPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BackupPolicy)))
type AWSResponse PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

newPutBackupPolicy Source #

Create a value of PutBackupPolicy 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:fileSystemId:PutBackupPolicy', putBackupPolicy_fileSystemId - Specifies which EFS file system to update the backup policy for.

$sel:backupPolicy:PutBackupPolicy', putBackupPolicy_backupPolicy - The backup policy included in the PutBackupPolicy request.

Request Lenses

putBackupPolicy_fileSystemId :: Lens' PutBackupPolicy Text Source #

Specifies which EFS file system to update the backup policy for.

putBackupPolicy_backupPolicy :: Lens' PutBackupPolicy BackupPolicy Source #

The backup policy included in the PutBackupPolicy request.

Destructuring the Response

data BackupPolicyDescription Source #

See: newBackupPolicyDescription smart constructor.

Constructors

BackupPolicyDescription' 

Fields

Instances

Instances details
Eq BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

Read BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

Show BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

Generic BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

Associated Types

type Rep BackupPolicyDescription :: Type -> Type #

NFData BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

Methods

rnf :: BackupPolicyDescription -> () #

Hashable BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

FromJSON BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

type Rep BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

type Rep BackupPolicyDescription = D1 ('MetaData "BackupPolicyDescription" "Amazonka.EFS.Types.BackupPolicyDescription" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "BackupPolicyDescription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BackupPolicy))))

newBackupPolicyDescription :: BackupPolicyDescription Source #

Create a value of BackupPolicyDescription 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:backupPolicy:BackupPolicyDescription', backupPolicyDescription_backupPolicy - Describes the file system's backup policy, indicating whether automatic backups are turned on or off..

Response Lenses

backupPolicyDescription_backupPolicy :: Lens' BackupPolicyDescription (Maybe BackupPolicy) Source #

Describes the file system's backup policy, indicating whether automatic backups are turned on or off..