/AWS1/IF_DFM=>CREATENETWORKPROFILE()¶
About CreateNetworkProfile¶
Creates a network profile.
Method Signature¶
METHODS /AWS1/IF_DFM~CREATENETWORKPROFILE
IMPORTING
!IV_PROJECTARN TYPE /AWS1/DFMAMAZONRESOURCENAME OPTIONAL
!IV_NAME TYPE /AWS1/DFMNAME OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/DFMMESSAGE OPTIONAL
!IV_TYPE TYPE /AWS1/DFMNETWORKPROFILETYPE OPTIONAL
!IV_UPLINKBANDWIDTHBITS TYPE /AWS1/DFMLONG OPTIONAL
!IV_DOWNLINKBANDWIDTHBITS TYPE /AWS1/DFMLONG OPTIONAL
!IV_UPLINKDELAYMS TYPE /AWS1/DFMLONG OPTIONAL
!IV_DOWNLINKDELAYMS TYPE /AWS1/DFMLONG OPTIONAL
!IV_UPLINKJITTERMS TYPE /AWS1/DFMLONG OPTIONAL
!IV_DOWNLINKJITTERMS TYPE /AWS1/DFMLONG OPTIONAL
!IV_UPLINKLOSSPERCENT TYPE /AWS1/DFMPERCENTINTEGER OPTIONAL
!IV_DOWNLINKLOSSPERCENT TYPE /AWS1/DFMPERCENTINTEGER OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dfmcrenetworkpflrslt
RAISING
/AWS1/CX_DFMARGUMENTEXCEPTION
/AWS1/CX_DFMLIMITEXCEEDEDEX
/AWS1/CX_DFMNOTFOUNDEXCEPTION
/AWS1/CX_DFMSERVICEACCOUNTEX
/AWS1/CX_DFMCLIENTEXC
/AWS1/CX_DFMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_projectarn TYPE /AWS1/DFMAMAZONRESOURCENAME /AWS1/DFMAMAZONRESOURCENAME¶
The Amazon Resource Name (ARN) of the project for which you want to create a network profile.
iv_name TYPE /AWS1/DFMNAME /AWS1/DFMNAME¶
The name for the new network profile.
Optional arguments:¶
iv_description TYPE /AWS1/DFMMESSAGE /AWS1/DFMMESSAGE¶
The description of the network profile.
iv_type TYPE /AWS1/DFMNETWORKPROFILETYPE /AWS1/DFMNETWORKPROFILETYPE¶
The type of network profile to create. Valid values are listed here.
iv_uplinkbandwidthbits TYPE /AWS1/DFMLONG /AWS1/DFMLONG¶
The data throughput rate in bits per second, as an integer from 0 to 104857600.
iv_downlinkbandwidthbits TYPE /AWS1/DFMLONG /AWS1/DFMLONG¶
The data throughput rate in bits per second, as an integer from 0 to 104857600.
iv_uplinkdelayms TYPE /AWS1/DFMLONG /AWS1/DFMLONG¶
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
iv_downlinkdelayms TYPE /AWS1/DFMLONG /AWS1/DFMLONG¶
Delay time for all packets to destination in milliseconds as an integer from 0 to 2000.
iv_uplinkjitterms TYPE /AWS1/DFMLONG /AWS1/DFMLONG¶
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
iv_downlinkjitterms TYPE /AWS1/DFMLONG /AWS1/DFMLONG¶
Time variation in the delay of received packets in milliseconds as an integer from 0 to 2000.
iv_uplinklosspercent TYPE /AWS1/DFMPERCENTINTEGER /AWS1/DFMPERCENTINTEGER¶
Proportion of transmitted packets that fail to arrive from 0 to 100 percent.
iv_downlinklosspercent TYPE /AWS1/DFMPERCENTINTEGER /AWS1/DFMPERCENTINTEGER¶
Proportion of received packets that fail to arrive from 0 to 100 percent.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_dfmcrenetworkpflrslt /AWS1/CL_DFMCRENETWORKPFLRSLT¶
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->createnetworkprofile(
iv_description = |string|
iv_downlinkbandwidthbits = 123
iv_downlinkdelayms = 123
iv_downlinkjitterms = 123
iv_downlinklosspercent = 123
iv_name = |string|
iv_projectarn = |string|
iv_type = |string|
iv_uplinkbandwidthbits = 123
iv_uplinkdelayms = 123
iv_uplinkjitterms = 123
iv_uplinklosspercent = 123
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_networkprofile = lo_result->get_networkprofile( ).
IF lo_networkprofile IS NOT INITIAL.
lv_amazonresourcename = lo_networkprofile->get_arn( ).
lv_name = lo_networkprofile->get_name( ).
lv_message = lo_networkprofile->get_description( ).
lv_networkprofiletype = lo_networkprofile->get_type( ).
lv_long = lo_networkprofile->get_uplinkbandwidthbits( ).
lv_long = lo_networkprofile->get_downlinkbandwidthbits( ).
lv_long = lo_networkprofile->get_uplinkdelayms( ).
lv_long = lo_networkprofile->get_downlinkdelayms( ).
lv_long = lo_networkprofile->get_uplinkjitterms( ).
lv_long = lo_networkprofile->get_downlinkjitterms( ).
lv_percentinteger = lo_networkprofile->get_uplinklosspercent( ).
lv_percentinteger = lo_networkprofile->get_downlinklosspercent( ).
ENDIF.
ENDIF.