amazonka-efs-2.0: Amazon Elastic File System 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.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
ToJSON PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.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

AWSRequest PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Associated Types

type AWSResponse PutBackupPolicy #

Generic PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Associated Types

type Rep PutBackupPolicy :: Type -> Type #

Read PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Show PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

NFData PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Methods

rnf :: PutBackupPolicy -> () #

Eq PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

Hashable PutBackupPolicy Source # 
Instance details

Defined in Amazonka.EFS.PutBackupPolicy

type AWSResponse 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" "amazonka-efs-2.0-EHRjUBbcNxzHWDmYi0HAD5" 'False) (C1 ('MetaCons "PutBackupPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fileSystemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "backupPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BackupPolicy)))

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:

PutBackupPolicy, putBackupPolicy_fileSystemId - Specifies which EFS file system to update the backup policy for.

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
FromJSON 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 #

Read BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

Show BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

NFData BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

Methods

rnf :: BackupPolicyDescription -> () #

Eq BackupPolicyDescription Source # 
Instance details

Defined in Amazonka.EFS.Types.BackupPolicyDescription

Hashable 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" "amazonka-efs-2.0-EHRjUBbcNxzHWDmYi0HAD5" '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.