Skip to content

/AWS1/IF_SE2=>DISASSOCEMAILIDENTITYCERT()

About DisassociateEmailIdentityCertificate

Removes the association between an S/MIME certificate and an email identity. After the association is removed, Amazon SES API v2 stops adding an S/MIME signature to messages sent from that address.

If the email identity is a domain, specify the FromAddress whose certificate association you want to remove.

This operation is idempotent. If the specified email identity exists but there's no matching certificate association, the operation succeeds without making any changes. Amazon SES API v2 returns a NotFoundException only when the specified email identity doesn't exist.

Method Signature

METHODS /AWS1/IF_SE2~DISASSOCEMAILIDENTITYCERT
  IMPORTING
    !IV_EMAILIDENTITY TYPE /AWS1/SE2IDENTITY OPTIONAL
    !IV_FROMADDRESS TYPE /AWS1/SE2EMAILADDRESS OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_se2dassocmailidcrtrsp
  RAISING
    /AWS1/CX_SE2BADREQUESTEX
    /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_emailidentity TYPE /AWS1/SE2IDENTITY /AWS1/SE2IDENTITY

The email identity whose certificate association you want to remove.

Optional arguments:

iv_fromaddress TYPE /AWS1/SE2EMAILADDRESS /AWS1/SE2EMAILADDRESS

The email address whose certificate association you want to remove. This value is required when the email identity is a domain. When the email identity is an email address, this value is optional.

RETURNING

oo_output TYPE REF TO /aws1/cl_se2dassocmailidcrtrsp /AWS1/CL_SE2DASSOCMAILIDCRTRSP

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->disassocemailidentitycert(
  iv_emailidentity = |string|
  iv_fromaddress = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.