/AWS1/IF_SEB=>UPDATEINGRESSPOINT()¶
About UpdateIngressPoint¶
Update attributes of a provisioned ingress endpoint resource.
Method Signature¶
METHODS /AWS1/IF_SEB~UPDATEINGRESSPOINT
IMPORTING
!IV_INGRESSPOINTID TYPE /AWS1/SEBINGRESSPOINTID OPTIONAL
!IV_INGRESSPOINTNAME TYPE /AWS1/SEBINGRESSPOINTNAME OPTIONAL
!IV_STATUSTOUPDATE TYPE /AWS1/SEBINGPOINTSTATUSTOUPD OPTIONAL
!IV_RULESETID TYPE /AWS1/SEBRULESETID OPTIONAL
!IV_TRAFFICPOLICYID TYPE /AWS1/SEBTRAFFICPOLICYID OPTIONAL
!IO_INGRESSPOINTCONFIGURATION TYPE REF TO /AWS1/CL_SEBINGRESSPOINTCONF OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sebupdateingpointrsp
RAISING
/AWS1/CX_SEBCONFLICTEXCEPTION
/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 for the ingress endpoint you want to update.
Optional arguments:¶
iv_ingresspointname TYPE /AWS1/SEBINGRESSPOINTNAME /AWS1/SEBINGRESSPOINTNAME¶
A user friendly name for the ingress endpoint resource.
iv_statustoupdate TYPE /AWS1/SEBINGPOINTSTATUSTOUPD /AWS1/SEBINGPOINTSTATUSTOUPD¶
The update status of an ingress endpoint.
iv_rulesetid TYPE /AWS1/SEBRULESETID /AWS1/SEBRULESETID¶
The identifier of an existing rule set that you attach to an ingress endpoint resource.
iv_trafficpolicyid TYPE /AWS1/SEBTRAFFICPOLICYID /AWS1/SEBTRAFFICPOLICYID¶
The identifier of an existing traffic policy that you attach to an ingress endpoint resource.
io_ingresspointconfiguration TYPE REF TO /AWS1/CL_SEBINGRESSPOINTCONF /AWS1/CL_SEBINGRESSPOINTCONF¶
If you choose an Authenticated ingress endpoint, you must configure either an SMTP password or a secret ARN.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sebupdateingpointrsp /AWS1/CL_SEBUPDATEINGPOINTRSP¶
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->updateingresspoint(
io_ingresspointconfiguration = new /aws1/cl_sebingresspointconf(
iv_secretarn = |string|
iv_smtppassword = |string|
)
iv_ingresspointid = |string|
iv_ingresspointname = |string|
iv_rulesetid = |string|
iv_statustoupdate = |string|
iv_trafficpolicyid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.
Update Open/Auth IngressPoint with new Name¶
Update Open/Auth IngressPoint with new Name
DATA(lo_result) = lo_client->updateingresspoint(
iv_ingresspointid = |inp-12345|
iv_ingresspointname = |ingressPointNewName|
).
Update Open/Auth IngressPoint with new RuleSetId / TrafficPolicyId¶
Update Open/Auth IngressPoint with new RuleSetId / TrafficPolicyId
DATA(lo_result) = lo_client->updateingresspoint(
iv_ingresspointid = |inp-12345|
iv_rulesetid = |rs-12345|
iv_trafficpolicyid = |tp-12345|
).
Update Auth IngressPoint with new SmtpPassword¶
Update Auth IngressPoint with new SmtpPassword
DATA(lo_result) = lo_client->updateingresspoint(
io_ingresspointconfiguration = new /aws1/cl_sebingresspointconf( iv_smtppassword = |newSmtpPassword| )
iv_ingresspointid = |inp-12345|
).
Update Auth IngressPoint with new SecretArn¶
Update Auth IngressPoint with new SecretArn
DATA(lo_result) = lo_client->updateingresspoint(
io_ingresspointconfiguration = new /aws1/cl_sebingresspointconf( iv_secretarn = |arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde| )
iv_ingresspointid = |inp-12345|
).