/AWS1/IF_BUP=>UPDATETIERINGCONFIGURATION()¶
About UpdateTieringConfiguration¶
This request will send changes to your specified tiering
configuration. TieringConfigurationName
cannot be updated after it is created.
ResourceSelection can contain:
-
Resources -
TieringDownSettingsInDays -
ResourceType
Method Signature¶
METHODS /AWS1/IF_BUP~UPDATETIERINGCONFIGURATION
IMPORTING
!IV_TIERINGCONFIGURATIONNAME TYPE /AWS1/BUPTIERINGCONFNAME OPTIONAL
!IO_TIERINGCONFIGURATION TYPE REF TO /AWS1/CL_BUPTIERCONFINPFORUPD OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bupupdatetierconfout
RAISING
/AWS1/CX_BUPALREADYEXISTSEX
/AWS1/CX_BUPCONFLICTEXCEPTION
/AWS1/CX_BUPINVPARAMVALUEEX
/AWS1/CX_BUPLIMITEXCEEDEDEX
/AWS1/CX_BUPMISSINGPARAMVALEX
/AWS1/CX_BUPRESOURCENOTFOUNDEX
/AWS1/CX_BUPSERVICEUNAVAILEX
/AWS1/CX_BUPCLIENTEXC
/AWS1/CX_BUPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_tieringconfigurationname TYPE /AWS1/BUPTIERINGCONFNAME /AWS1/BUPTIERINGCONFNAME¶
The name of a tiering configuration to update.
io_tieringconfiguration TYPE REF TO /AWS1/CL_BUPTIERCONFINPFORUPD /AWS1/CL_BUPTIERCONFINPFORUPD¶
Specifies the body of a tiering configuration.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_bupupdatetierconfout /AWS1/CL_BUPUPDATETIERCONFOUT¶
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.
DATA(lo_result) = lo_client->updatetieringconfiguration(
io_tieringconfiguration = new /aws1/cl_buptierconfinpforupd(
it_resourceselection = VALUE /aws1/cl_bupresourceselection=>tt_resourceselections(
(
new /aws1/cl_bupresourceselection(
it_resources = VALUE /aws1/cl_bupresourcearns_w=>tt_resourcearns(
( new /aws1/cl_bupresourcearns_w( |string| ) )
)
iv_resourcetype = |string|
iv_tieringdownsettingsindays = 123
)
)
)
iv_backupvaultname = |string|
)
iv_tieringconfigurationname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_arn = lo_result->get_tieringconfigurationarn( ).
lv_tieringconfigurationnam = lo_result->get_tieringconfigurationname( ).
lv_timestamp = lo_result->get_creationtime( ).
lv_timestamp = lo_result->get_lastupdatedtime( ).
ENDIF.