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 |
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_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
Eq DescribeRegionSettingsResponse Source # | |
Read DescribeRegionSettingsResponse Source # | |
Show DescribeRegionSettingsResponse Source # | |
Defined in Amazonka.Backup.DescribeRegionSettings | |
Generic DescribeRegionSettingsResponse Source # | |
NFData DescribeRegionSettingsResponse Source # | |
Defined in Amazonka.Backup.DescribeRegionSettings rnf :: DescribeRegionSettingsResponse -> () # | |
type Rep DescribeRegionSettingsResponse Source # | |
Defined in Amazonka.Backup.DescribeRegionSettings type Rep DescribeRegionSettingsResponse = D1 ('MetaData "DescribeRegionSettingsResponse" "Amazonka.Backup.DescribeRegionSettings" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "DescribeRegionSettingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceTypeOptInPreference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Bool))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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: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_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.