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 whether the Amazon Web Services account is opted in to
cross-account backup. Returns an error if the account is not an
Organizations management account. Use the DescribeGlobalSettings
API
to determine the current settings.
Synopsis
- data UpdateGlobalSettings = UpdateGlobalSettings' {
- globalSettings :: Maybe (HashMap Text Text)
- newUpdateGlobalSettings :: UpdateGlobalSettings
- updateGlobalSettings_globalSettings :: Lens' UpdateGlobalSettings (Maybe (HashMap Text Text))
- data UpdateGlobalSettingsResponse = UpdateGlobalSettingsResponse' {
- newUpdateGlobalSettingsResponse :: UpdateGlobalSettingsResponse
Creating a Request
data UpdateGlobalSettings Source #
See: newUpdateGlobalSettings
smart constructor.
UpdateGlobalSettings' | |
|
Instances
newUpdateGlobalSettings :: UpdateGlobalSettings Source #
Create a value of UpdateGlobalSettings
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:globalSettings:UpdateGlobalSettings'
, updateGlobalSettings_globalSettings
- A value for isCrossAccountBackupEnabled
and a Region. Example:
update-global-settings --global-settings isCrossAccountBackupEnabled=false --region us-west-2
.
Request Lenses
updateGlobalSettings_globalSettings :: Lens' UpdateGlobalSettings (Maybe (HashMap Text Text)) Source #
A value for isCrossAccountBackupEnabled
and a Region. Example:
update-global-settings --global-settings isCrossAccountBackupEnabled=false --region us-west-2
.
Destructuring the Response
data UpdateGlobalSettingsResponse Source #
See: newUpdateGlobalSettingsResponse
smart constructor.
Instances
newUpdateGlobalSettingsResponse :: UpdateGlobalSettingsResponse Source #
Create a value of UpdateGlobalSettingsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.