/AWS1/IF_SE2=>CREATECONFIGURATIONSET()¶
About CreateConfigurationSet¶
Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
Method Signature¶
METHODS /AWS1/IF_SE2~CREATECONFIGURATIONSET
IMPORTING
!IV_CONFIGURATIONSETNAME TYPE /AWS1/SE2CONFIGURATIONSETNAME OPTIONAL
!IO_TRACKINGOPTIONS TYPE REF TO /AWS1/CL_SE2TRACKINGOPTIONS OPTIONAL
!IO_DELIVERYOPTIONS TYPE REF TO /AWS1/CL_SE2DELIVERYOPTIONS OPTIONAL
!IO_REPUTATIONOPTIONS TYPE REF TO /AWS1/CL_SE2REPUTATIONOPTIONS OPTIONAL
!IO_SENDINGOPTIONS TYPE REF TO /AWS1/CL_SE2SENDINGOPTIONS OPTIONAL
!IT_TAGS TYPE /AWS1/CL_SE2TAG=>TT_TAGLIST OPTIONAL
!IO_SUPPRESSIONOPTIONS TYPE REF TO /AWS1/CL_SE2SUPPRESSIONOPTIONS OPTIONAL
!IO_VDMOPTIONS TYPE REF TO /AWS1/CL_SE2VDMOPTIONS OPTIONAL
!IO_ARCHIVINGOPTIONS TYPE REF TO /AWS1/CL_SE2ARCHIVINGOPTIONS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_se2createconfsetrsp
RAISING
/AWS1/CX_SE2ALREADYEXISTSEX
/AWS1/CX_SE2BADREQUESTEX
/AWS1/CX_SE2CONCURRENTMODEX
/AWS1/CX_SE2LIMITEXCEEDEDEX
/AWS1/CX_SE2NOTFOUNDEXCEPTION
/AWS1/CX_SE2TOOMANYREQUESTSEX
/AWS1/CX_SE2CLIENTEXC
/AWS1/CX_SE2SERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_configurationsetname TYPE /AWS1/SE2CONFIGURATIONSETNAME /AWS1/SE2CONFIGURATIONSETNAME¶
The name of the configuration set. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only.
Optional arguments:¶
io_trackingoptions TYPE REF TO /AWS1/CL_SE2TRACKINGOPTIONS /AWS1/CL_SE2TRACKINGOPTIONS¶
An object that defines the open and click tracking options for emails that you send using the configuration set.
io_deliveryoptions TYPE REF TO /AWS1/CL_SE2DELIVERYOPTIONS /AWS1/CL_SE2DELIVERYOPTIONS¶
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
io_reputationoptions TYPE REF TO /AWS1/CL_SE2REPUTATIONOPTIONS /AWS1/CL_SE2REPUTATIONOPTIONS¶
An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
io_sendingoptions TYPE REF TO /AWS1/CL_SE2SENDINGOPTIONS /AWS1/CL_SE2SENDINGOPTIONS¶
An object that defines whether or not Amazon SES can send email that you send using the configuration set.
it_tags TYPE /AWS1/CL_SE2TAG=>TT_TAGLIST TT_TAGLIST¶
An array of objects that define the tags (keys and values) to associate with the configuration set.
io_suppressionoptions TYPE REF TO /AWS1/CL_SE2SUPPRESSIONOPTIONS /AWS1/CL_SE2SUPPRESSIONOPTIONS¶
SuppressionOptions
io_vdmoptions TYPE REF TO /AWS1/CL_SE2VDMOPTIONS /AWS1/CL_SE2VDMOPTIONS¶
An object that defines the VDM options for emails that you send using the configuration set.
io_archivingoptions TYPE REF TO /AWS1/CL_SE2ARCHIVINGOPTIONS /AWS1/CL_SE2ARCHIVINGOPTIONS¶
An object that defines the MailManager archiving options for emails that you send using the configuration set.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_se2createconfsetrsp /AWS1/CL_SE2CREATECONFSETRSP¶
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->createconfigurationset(
io_archivingoptions = new /aws1/cl_se2archivingoptions( |string| )
io_deliveryoptions = new /aws1/cl_se2deliveryoptions(
iv_maxdeliveryseconds = 123
iv_sendingpoolname = |string|
iv_tlspolicy = |string|
)
io_reputationoptions = new /aws1/cl_se2reputationoptions(
iv_lastfreshstart = '20150101000000.0000000'
iv_reputationmetricsenabled = ABAP_TRUE
)
io_sendingoptions = new /aws1/cl_se2sendingoptions( ABAP_TRUE )
io_suppressionoptions = new /aws1/cl_se2suppressionoptions(
it_suppressedreasons = VALUE /aws1/cl_se2supionlistrsns_w=>tt_suppressionlistreasons(
( new /aws1/cl_se2supionlistrsns_w( |string| ) )
)
)
io_trackingoptions = new /aws1/cl_se2trackingoptions(
iv_customredirectdomain = |string|
iv_httpspolicy = |string|
)
io_vdmoptions = new /aws1/cl_se2vdmoptions(
io_dashboardoptions = new /aws1/cl_se2dashboardoptions( |string| )
io_guardianoptions = new /aws1/cl_se2guardianoptions( |string| )
)
it_tags = VALUE /aws1/cl_se2tag=>tt_taglist(
(
new /aws1/cl_se2tag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_configurationsetname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.