libZSservicesZSamazonka-backupZSamazonka-backup
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Backup.UpdateGlobalSettings

Description

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

Creating a Request

data UpdateGlobalSettings Source #

See: newUpdateGlobalSettings smart constructor.

Constructors

UpdateGlobalSettings' 

Fields

  • globalSettings :: Maybe (HashMap Text Text)

    A value for isCrossAccountBackupEnabled and a Region. Example: update-global-settings --global-settings isCrossAccountBackupEnabled=false --region us-west-2.

Instances

Instances details
Eq UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

Read UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

Show UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

Generic UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

Associated Types

type Rep UpdateGlobalSettings :: Type -> Type #

NFData UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

Methods

rnf :: UpdateGlobalSettings -> () #

Hashable UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

ToJSON UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

AWSRequest UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

Associated Types

type AWSResponse UpdateGlobalSettings #

ToHeaders UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

ToPath UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

ToQuery UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

type Rep UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

type Rep UpdateGlobalSettings = D1 ('MetaData "UpdateGlobalSettings" "Amazonka.Backup.UpdateGlobalSettings" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "UpdateGlobalSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "globalSettings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))))
type AWSResponse UpdateGlobalSettings Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

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

Instances details
Eq UpdateGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

Read UpdateGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

Show UpdateGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

Generic UpdateGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

Associated Types

type Rep UpdateGlobalSettingsResponse :: Type -> Type #

NFData UpdateGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

type Rep UpdateGlobalSettingsResponse Source # 
Instance details

Defined in Amazonka.Backup.UpdateGlobalSettings

type Rep UpdateGlobalSettingsResponse = D1 ('MetaData "UpdateGlobalSettingsResponse" "Amazonka.Backup.UpdateGlobalSettings" "libZSservicesZSamazonka-backupZSamazonka-backup" 'False) (C1 ('MetaCons "UpdateGlobalSettingsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newUpdateGlobalSettingsResponse :: UpdateGlobalSettingsResponse Source #

Create a value of UpdateGlobalSettingsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.