Skip to content

/AWS1/IF_BUP=>UPDATEGLOBALSETTINGS()

About UpdateGlobalSettings

Updates whether the Amazon Web Services account has enabled different cross-account management options, including cross-account backup, multi-party approval, and delegated administrator. Returns an error if the account is not an Organizations management account. Use the DescribeGlobalSettings API to determine the current settings.

Method Signature

METHODS /AWS1/IF_BUP~UPDATEGLOBALSETTINGS
  IMPORTING
    !IT_GLOBALSETTINGS TYPE /AWS1/CL_BUPGLOBALSETTINGS_W=>TT_GLOBALSETTINGS OPTIONAL
  RAISING
    /AWS1/CX_BUPINVPARAMVALUEEX
    /AWS1/CX_BUPINVALIDREQUESTEX
    /AWS1/CX_BUPMISSINGPARAMVALEX
    /AWS1/CX_BUPSERVICEUNAVAILEX
    /AWS1/CX_BUPCLIENTEXC
    /AWS1/CX_BUPSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Optional arguments:

it_globalsettings TYPE /AWS1/CL_BUPGLOBALSETTINGS_W=>TT_GLOBALSETTINGS TT_GLOBALSETTINGS

Inputs can include:

A value for isCrossAccountBackupEnabled. Values can be true or false. Example: update-global-settings --global-settings isCrossAccountBackupEnabled=false.

A value for Multi-party approval, styled as isMpaEnabled. Values can be true or false. Example: update-global-settings --global-settings isMpaEnabled=false.

A value for Backup Service-Linked Role creation, styled as isDelegatedAdministratorEnabled. Values can be true or false. Example: update-global-settings --global-settings isDelegatedAdministratorEnabled=false.

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->updateglobalsettings(
  it_globalsettings = VALUE /aws1/cl_bupglobalsettings_w=>tt_globalsettings(
    (
      VALUE /aws1/cl_bupglobalsettings_w=>ts_globalsettings_maprow(
        value = new /aws1/cl_bupglobalsettings_w( |string| )
        key = |string|
      )
    )
  )
).