/AWS1/IF_SEB=>GETINGRESSPOINT()¶
About GetIngressPoint¶
Fetch ingress endpoint resource attributes.
Method Signature¶
METHODS /AWS1/IF_SEB~GETINGRESSPOINT
IMPORTING
!IV_INGRESSPOINTID TYPE /AWS1/SEBINGRESSPOINTID OPTIONAL
!IV_INCLUDETRUSTSTORECONTENTS TYPE /AWS1/SEBTRUSTSTORERSPOPTION OPTIONAL
PREFERRED PARAMETER iv_ingresspointid
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sebgetingresspointrsp
RAISING
/AWS1/CX_SEBRESOURCENOTFOUNDEX
/AWS1/CX_SEBVALIDATIONEX
/AWS1/CX_SEBCLIENTEXC
/AWS1/CX_SEBSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_ingresspointid TYPE /AWS1/SEBINGRESSPOINTID /AWS1/SEBINGRESSPOINTID¶
The identifier of an ingress endpoint.
Optional arguments:¶
iv_includetruststorecontents TYPE /AWS1/SEBTRUSTSTORERSPOPTION /AWS1/SEBTRUSTSTORERSPOPTION¶
Whether to include the trust store contents in the response. Use INCLUDE to retrieve trust store certificate and CRL contents.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sebgetingresspointrsp /AWS1/CL_SEBGETINGRESSPOINTRSP¶
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->getingresspoint(
iv_includetruststorecontents = |string|
iv_ingresspointid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_ingresspointid = lo_result->get_ingresspointid( ).
lv_ingresspointname = lo_result->get_ingresspointname( ).
lv_ingresspointarn = lo_result->get_ingresspointarn( ).
lv_ingresspointstatus = lo_result->get_status( ).
lv_ingresspointtype = lo_result->get_type( ).
lv_ingresspointarecord = lo_result->get_arecord( ).
lv_rulesetid = lo_result->get_rulesetid( ).
lv_trafficpolicyid = lo_result->get_trafficpolicyid( ).
lo_ingresspointauthconfigu = lo_result->get_ingresspointauthconf( ).
IF lo_ingresspointauthconfigu IS NOT INITIAL.
lo_ingresspointpasswordcon = lo_ingresspointauthconfigu->get_ingresspointpasswordconf( ).
IF lo_ingresspointpasswordcon IS NOT INITIAL.
lv_string = lo_ingresspointpasswordcon->get_smtppasswordversion( ).
lv_string = lo_ingresspointpasswordcon->get_previoussmtppasswordvrs( ).
lv_timestamp = lo_ingresspointpasswordcon->get_previoussmtppasswordex00( ).
ENDIF.
lv_secretarn = lo_ingresspointauthconfigu->get_secretarn( ).
lo_tlsauthconfiguration = lo_ingresspointauthconfigu->get_tlsauthconfiguration( ).
IF lo_tlsauthconfiguration IS NOT INITIAL.
lo_truststore = lo_tlsauthconfiguration->get_truststore( ).
IF lo_truststore IS NOT INITIAL.
lv_cacontent = lo_truststore->get_cacontent( ).
lv_crlcontent = lo_truststore->get_crlcontent( ).
lv_kmskeyarn = lo_truststore->get_kmskeyarn( ).
ENDIF.
ENDIF.
ENDIF.
lo_networkconfiguration = lo_result->get_networkconfiguration( ).
IF lo_networkconfiguration IS NOT INITIAL.
lo_publicnetworkconfigurat = lo_networkconfiguration->get_publicnetworkconf( ).
IF lo_publicnetworkconfigurat IS NOT INITIAL.
lv_iptype = lo_publicnetworkconfigurat->get_iptype( ).
ENDIF.
lo_privatenetworkconfigura = lo_networkconfiguration->get_privatenetworkconf( ).
IF lo_privatenetworkconfigura IS NOT INITIAL.
lv_vpcendpointid = lo_privatenetworkconfigura->get_vpcendpointid( ).
ENDIF.
ENDIF.
lv_tlspolicy = lo_result->get_tlspolicy( ).
lv_timestamp = lo_result->get_createdtimestamp( ).
lv_timestamp = lo_result->get_lastupdatedtimestamp( ).
ENDIF.
Get Open IngressPoint¶
Get Open IngressPoint
DATA(lo_result) = lo_client->getingresspoint( iv_ingresspointid = |inp-12345| ) .
Get Auth IngressPoint¶
Get Auth IngressPoint
DATA(lo_result) = lo_client->getingresspoint( iv_ingresspointid = |inp-12345| ) .