Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
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.
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.