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 |
Returns the current service opt-in settings for the Region. If service opt-in is enabled for a service, Backup tries to protect that service's resources in this Region, when the resource is included in an on-demand backup or scheduled backup plan. Otherwise, Backup does not try to protect that service's resources in this Region.
Synopsis
- data DescribeRegionSettings = DescribeRegionSettings' {
- newDescribeRegionSettings :: DescribeRegionSettings
- data DescribeRegionSettingsResponse = DescribeRegionSettingsResponse' {}
- newDescribeRegionSettingsResponse :: Int -> DescribeRegionSettingsResponse
- describeRegionSettingsResponse_resourceTypeManagementPreference :: Lens' DescribeRegionSettingsResponse (Maybe (HashMap Text Bool))
- describeRegionSettingsResponse_resourceTypeOptInPreference :: Lens' DescribeRegionSettingsResponse (Maybe (HashMap Text Bool))
- describeRegionSettingsResponse_httpStatus :: Lens' DescribeRegionSettingsResponse Int
Creating a Request
data DescribeRegionSettings Source #
See: newDescribeRegionSettings
smart constructor.
Instances
newDescribeRegionSettings :: DescribeRegionSettings Source #
Create a value of DescribeRegionSettings
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DescribeRegionSettingsResponse Source #
See: newDescribeRegionSettingsResponse
smart constructor.
DescribeRegionSettingsResponse' | |
|
Instances
newDescribeRegionSettingsResponse Source #
Create a value of DescribeRegionSettingsResponse
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:resourceTypeManagementPreference:DescribeRegionSettingsResponse'
, describeRegionSettingsResponse_resourceTypeManagementPreference
- Returns whether Backup fully manages the backups for a resource type.
For the benefits of full Backup management, see Full Backup management.
For a list of resource types and whether each supports full Backup management, see the Feature availability by resource table.
If "DynamoDB":false
, you can enable full Backup management for
DynamoDB backup by enabling
Backup's advanced DynamoDB backup features.
$sel:resourceTypeOptInPreference:DescribeRegionSettingsResponse'
, describeRegionSettingsResponse_resourceTypeOptInPreference
- Returns a list of all services along with the opt-in preferences in the
Region.
$sel:httpStatus:DescribeRegionSettingsResponse'
, describeRegionSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
describeRegionSettingsResponse_resourceTypeManagementPreference :: Lens' DescribeRegionSettingsResponse (Maybe (HashMap Text Bool)) Source #
Returns whether Backup fully manages the backups for a resource type.
For the benefits of full Backup management, see Full Backup management.
For a list of resource types and whether each supports full Backup management, see the Feature availability by resource table.
If "DynamoDB":false
, you can enable full Backup management for
DynamoDB backup by enabling
Backup's advanced DynamoDB backup features.
describeRegionSettingsResponse_resourceTypeOptInPreference :: Lens' DescribeRegionSettingsResponse (Maybe (HashMap Text Bool)) Source #
Returns a list of all services along with the opt-in preferences in the Region.
describeRegionSettingsResponse_httpStatus :: Lens' DescribeRegionSettingsResponse Int Source #
The response's http status code.