/AWS1/IF_WSP=>MODIFYWORKSPACEPROPERTIES()¶
About ModifyWorkspaceProperties¶
Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
The MANUAL running mode value is only supported by Amazon WorkSpaces
Core. Contact your account team to be allow-listed to use this value. For more
information, see Amazon WorkSpaces
Core.
Method Signature¶
METHODS /AWS1/IF_WSP~MODIFYWORKSPACEPROPERTIES
IMPORTING
!IV_WORKSPACEID TYPE /AWS1/WSPWORKSPACEID OPTIONAL
!IO_WORKSPACEPROPERTIES TYPE REF TO /AWS1/CL_WSPWORKSPACEPRPS OPTIONAL
!IV_DATAREPLICATION TYPE /AWS1/WSPDATAREPLICATION OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_wspmodworkspaceprpsrs
RAISING
/AWS1/CX_WSPACCESSDENIEDEX
/AWS1/CX_WSPINVPARAMVALUESEX
/AWS1/CX_WSPINVRESOURCESTATEEX
/AWS1/CX_WSPOPINPROGRESSEX
/AWS1/CX_WSPRESOURCENOTFOUNDEX
/AWS1/CX_WSPRESOURCEUNAVAILEX
/AWS1/CX_WSPUNSUPPEDWORKSPAC00
/AWS1/CX_WSPCLIENTEXC
/AWS1/CX_WSPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_workspaceid TYPE /AWS1/WSPWORKSPACEID /AWS1/WSPWORKSPACEID¶
The identifier of the WorkSpace.
Optional arguments:¶
io_workspaceproperties TYPE REF TO /AWS1/CL_WSPWORKSPACEPRPS /AWS1/CL_WSPWORKSPACEPRPS¶
The properties of the WorkSpace.
iv_datareplication TYPE /AWS1/WSPDATAREPLICATION /AWS1/WSPDATAREPLICATION¶
Indicates the data replication status.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_wspmodworkspaceprpsrs /AWS1/CL_WSPMODWORKSPACEPRPSRS¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
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->modifyworkspaceproperties(
io_workspaceproperties = new /aws1/cl_wspworkspaceprps(
io_globalaccelerator = new /aws1/cl_wspglbacceleratorfo00(
iv_mode = |string|
iv_preferredprotocol = |string|
)
it_protocols = VALUE /aws1/cl_wspprotocollist_w=>tt_protocollist(
( new /aws1/cl_wspprotocollist_w( |string| ) )
)
iv_computetypename = |string|
iv_operatingsystemname = |string|
iv_rootvolumesizegib = 123
iv_runningmdeautostoptoinm00 = 123
iv_runningmode = |string|
iv_uservolumesizegib = 123
)
iv_datareplication = |string|
iv_workspaceid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.