/AWS1/IF_EL2=>DESCRIBESSLPOLICIES()¶
About DescribeSSLPolicies¶
Describes the specified policies or all policies used for SSL negotiation.
For more information, see Security policies in the Application Load Balancers Guide and Security policies in the Network Load Balancers Guide.
Method Signature¶
METHODS /AWS1/IF_EL2~DESCRIBESSLPOLICIES
IMPORTING
!IT_NAMES TYPE /AWS1/CL_EL2SSLPOLICYNAMES_W=>TT_SSLPOLICYNAMES OPTIONAL
!IV_MARKER TYPE /AWS1/EL2MARKER OPTIONAL
!IV_PAGESIZE TYPE /AWS1/EL2PAGESIZE OPTIONAL
!IV_LOADBALANCERTYPE TYPE /AWS1/EL2LOADBALANCERTYPEENUM OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_el2descrsslpoloutput
RAISING
/AWS1/CX_EL2SSLPLYNOTFOUNDEX
/AWS1/CX_EL2CLIENTEXC
/AWS1/CX_EL2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
it_names TYPE /AWS1/CL_EL2SSLPOLICYNAMES_W=>TT_SSLPOLICYNAMES TT_SSLPOLICYNAMES¶
The names of the policies.
iv_marker TYPE /AWS1/EL2MARKER /AWS1/EL2MARKER¶
The marker for the next set of results. (You received this marker from a previous call.)
iv_pagesize TYPE /AWS1/EL2PAGESIZE /AWS1/EL2PAGESIZE¶
The maximum number of results to return with this call.
iv_loadbalancertype TYPE /AWS1/EL2LOADBALANCERTYPEENUM /AWS1/EL2LOADBALANCERTYPEENUM¶
The type of load balancer. The default lists the SSL policies for all load balancers.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_el2descrsslpoloutput /AWS1/CL_EL2DESCRSSLPOLOUTPUT¶
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->describesslpolicies(
it_names = VALUE /aws1/cl_el2sslpolicynames_w=>tt_sslpolicynames(
( new /aws1/cl_el2sslpolicynames_w( |string| ) )
)
iv_loadbalancertype = |string|
iv_marker = |string|
iv_pagesize = 123
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_sslpolicies( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
LOOP AT lo_row_1->get_sslprotocols( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_sslprotocol = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_row_1->get_ciphers( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_ciphername = lo_row_5->get_name( ).
lv_cipherpriority = lo_row_5->get_priority( ).
ENDIF.
ENDLOOP.
lv_sslpolicyname = lo_row_1->get_name( ).
LOOP AT lo_row_1->get_suppedloadbalancertypes( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_stringvalue = lo_row_7->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDLOOP.
lv_marker = lo_result->get_nextmarker( ).
ENDIF.
To describe a policy used for SSL negotiation¶
This example describes the specified policy used for SSL negotiation.
DATA(lo_result) = lo_client->describesslpolicies(
it_names = VALUE /aws1/cl_el2sslpolicynames_w=>tt_sslpolicynames(
( new /aws1/cl_el2sslpolicynames_w( |ELBSecurityPolicy-2015-05| ) )
)
).