| 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 |
Amazonka.EFS.DescribeBackupPolicy
Description
Returns the backup policy for the specified EFS file system.
Synopsis
- data DescribeBackupPolicy = DescribeBackupPolicy' {
- fileSystemId :: Text
- newDescribeBackupPolicy :: Text -> DescribeBackupPolicy
- describeBackupPolicy_fileSystemId :: Lens' DescribeBackupPolicy Text
- data BackupPolicyDescription = BackupPolicyDescription' {}
- newBackupPolicyDescription :: BackupPolicyDescription
- backupPolicyDescription_backupPolicy :: Lens' BackupPolicyDescription (Maybe BackupPolicy)
Creating a Request
data DescribeBackupPolicy Source #
See: newDescribeBackupPolicy smart constructor.
Constructors
| DescribeBackupPolicy' | |
Fields
| |
Instances
newDescribeBackupPolicy Source #
Create a value of DescribeBackupPolicy 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:DescribeBackupPolicy', describeBackupPolicy_fileSystemId - Specifies which EFS file system to retrieve the BackupPolicy for.
Request Lenses
describeBackupPolicy_fileSystemId :: Lens' DescribeBackupPolicy Text Source #
Specifies which EFS file system to retrieve the BackupPolicy for.
Destructuring the Response
data BackupPolicyDescription Source #
See: newBackupPolicyDescription smart constructor.
Constructors
| BackupPolicyDescription' | |
Fields
| |
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..