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 |
Updates the file system's backup policy. Use this action to start or stop automatic backups of the file system.
Synopsis
- data PutBackupPolicy = PutBackupPolicy' {}
- newPutBackupPolicy :: Text -> BackupPolicy -> PutBackupPolicy
- putBackupPolicy_fileSystemId :: Lens' PutBackupPolicy Text
- putBackupPolicy_backupPolicy :: Lens' PutBackupPolicy BackupPolicy
- data BackupPolicyDescription = BackupPolicyDescription' {}
- newBackupPolicyDescription :: BackupPolicyDescription
- backupPolicyDescription_backupPolicy :: Lens' BackupPolicyDescription (Maybe BackupPolicy)
Creating a Request
data PutBackupPolicy Source #
See: newPutBackupPolicy
smart constructor.
PutBackupPolicy' | |
|
Instances
:: Text | |
-> BackupPolicy | |
-> PutBackupPolicy |
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.
BackupPolicyDescription' | |
|
Instances
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..