/AWS1/IF_SEB=>CREATEINGRESSPOINT()¶
About CreateIngressPoint¶
Provision a new ingress endpoint resource.
Method Signature¶
METHODS /AWS1/IF_SEB~CREATEINGRESSPOINT
IMPORTING
!IV_CLIENTTOKEN TYPE /AWS1/SEBIDEMPOTENCYTOKEN OPTIONAL
!IV_INGRESSPOINTNAME TYPE /AWS1/SEBINGRESSPOINTNAME OPTIONAL
!IV_TYPE TYPE /AWS1/SEBINGRESSPOINTTYPE OPTIONAL
!IV_RULESETID TYPE /AWS1/SEBRULESETID OPTIONAL
!IV_TRAFFICPOLICYID TYPE /AWS1/SEBTRAFFICPOLICYID OPTIONAL
!IO_INGRESSPOINTCONFIGURATION TYPE REF TO /AWS1/CL_SEBINGRESSPOINTCONF OPTIONAL
!IO_NETWORKCONFIGURATION TYPE REF TO /AWS1/CL_SEBNETWORKCONF OPTIONAL
!IT_TAGS TYPE /AWS1/CL_SEBTAG=>TT_TAGLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sebcreateingpointrsp
RAISING
/AWS1/CX_SEBCONFLICTEXCEPTION
/AWS1/CX_SEBSERVICEQUOTAEXCDEX
/AWS1/CX_SEBVALIDATIONEX
/AWS1/CX_SEBCLIENTEXC
/AWS1/CX_SEBSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_ingresspointname TYPE /AWS1/SEBINGRESSPOINTNAME /AWS1/SEBINGRESSPOINTNAME¶
A user friendly name for an ingress endpoint resource.
iv_type TYPE /AWS1/SEBINGRESSPOINTTYPE /AWS1/SEBINGRESSPOINTTYPE¶
The type of the ingress endpoint to create.
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.
Optional arguments:¶
iv_clienttoken TYPE /AWS1/SEBIDEMPOTENCYTOKEN /AWS1/SEBIDEMPOTENCYTOKEN¶
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
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.
io_networkconfiguration TYPE REF TO /AWS1/CL_SEBNETWORKCONF /AWS1/CL_SEBNETWORKCONF¶
Specifies the network configuration for the ingress point. This allows you to create an IPv4-only, Dual-Stack, or PrivateLink type of ingress point. If not specified, the default network type is IPv4-only.
it_tags TYPE /AWS1/CL_SEBTAG=>TT_TAGLIST TT_TAGLIST¶
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sebcreateingpointrsp /AWS1/CL_SEBCREATEINGPOINTRSP¶
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->createingresspoint(
io_ingresspointconfiguration = new /aws1/cl_sebingresspointconf(
iv_secretarn = |string|
iv_smtppassword = |string|
)
io_networkconfiguration = new /aws1/cl_sebnetworkconf(
io_privatenetworkconf = new /aws1/cl_sebprivatenetworkconf( |string| )
io_publicnetworkconf = new /aws1/cl_sebpublicnetworkconf( |string| )
)
it_tags = VALUE /aws1/cl_sebtag=>tt_taglist(
(
new /aws1/cl_sebtag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_clienttoken = |string|
iv_ingresspointname = |string|
iv_rulesetid = |string|
iv_trafficpolicyid = |string|
iv_type = |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( ).
ENDIF.
Create Open IngressPoint¶
Create Open IngressPoint
DATA(lo_result) = lo_client->createingresspoint(
it_tags = VALUE /aws1/cl_sebtag=>tt_taglist(
(
new /aws1/cl_sebtag(
iv_key = |key|
iv_value = |value|
)
)
)
iv_ingresspointname = |ingressPointName|
iv_rulesetid = |rs-12345|
iv_trafficpolicyid = |tp-12345|
iv_type = |OPEN|
).
Create Auth IngressPoint with Password¶
Create Auth IngressPoint with Password
DATA(lo_result) = lo_client->createingresspoint(
io_ingresspointconfiguration = new /aws1/cl_sebingresspointconf( iv_smtppassword = |smtpPassword| )
it_tags = VALUE /aws1/cl_sebtag=>tt_taglist(
(
new /aws1/cl_sebtag(
iv_key = |key|
iv_value = |value|
)
)
)
iv_ingresspointname = |ingressPointName|
iv_rulesetid = |rs-12345|
iv_trafficpolicyid = |tp-12345|
iv_type = |AUTH|
).
Create Auth IngressPoint with SecretsManager Secret¶
Create Auth IngressPoint with SecretsManager Secret
DATA(lo_result) = lo_client->createingresspoint(
io_ingresspointconfiguration = new /aws1/cl_sebingresspointconf( iv_secretarn = |arn:aws:secretsmanager:us-west-2:123456789012:secret:abcde| )
it_tags = VALUE /aws1/cl_sebtag=>tt_taglist(
(
new /aws1/cl_sebtag(
iv_key = |key|
iv_value = |value|
)
)
)
iv_ingresspointname = |ingressPointName|
iv_rulesetid = |rs-12345|
iv_trafficpolicyid = |tp-12345|
iv_type = |AUTH|
).