Skip to content

/AWS1/IF_CNT=>DISASSOCQUEUEEMAILADDRESSES()

About DisassociateQueueEmailAddresses

Removes the association between a set of email addresses and a queue. After disassociation, agents will no longer be able to select these email addresses as "From" addresses when replying to inbound email contacts or initiating outbound email contacts in this queue.

Important things to know

  • Agents will no longer see these email addresses in their "From" address selection options for this queue.

  • The email addresses themselves are not deleted from the instance, only their availability for agent selection in this queue is removed.

  • Changes take effect immediately and will affect the agent experience in the Contact Control Panel (CCP).

Method Signature

METHODS /AWS1/IF_CNT~DISASSOCQUEUEEMAILADDRESSES
  IMPORTING
    !IV_INSTANCEID TYPE /AWS1/CNTINSTANCEID OPTIONAL
    !IV_QUEUEID TYPE /AWS1/CNTQUEUEID OPTIONAL
    !IT_EMAILADDRESSESID TYPE /AWS1/CL_CNTEMAILADDRIDLIST_W=>TT_EMAILADDRESSIDLIST OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/CNTCLIENTTOKEN OPTIONAL
  RAISING
    /AWS1/CX_CNTACCESSDENIEDEX
    /AWS1/CX_CNTINTERNALSERVICEEX
    /AWS1/CX_CNTINVALIDPARAMETEREX
    /AWS1/CX_CNTINVALIDREQUESTEX
    /AWS1/CX_CNTRESOURCENOTFOUNDEX
    /AWS1/CX_CNTTHROTTLINGEX
    /AWS1/CX_CNTCLIENTEXC
    /AWS1/CX_CNTSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_instanceid TYPE /AWS1/CNTINSTANCEID /AWS1/CNTINSTANCEID

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

iv_queueid TYPE /AWS1/CNTQUEUEID /AWS1/CNTQUEUEID

The identifier for the queue.

it_emailaddressesid TYPE /AWS1/CL_CNTEMAILADDRIDLIST_W=>TT_EMAILADDRESSIDLIST TT_EMAILADDRESSIDLIST

List of email address identifiers to disassociate from the queue. These are the unique identifiers of email addresses that should no longer be routed to this queue.

Optional arguments:

iv_clienttoken TYPE /AWS1/CNTCLIENTTOKEN /AWS1/CNTCLIENTTOKEN

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

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.

lo_client->disassocqueueemailaddresses(
  it_emailaddressesid = VALUE /aws1/cl_cntemailaddridlist_w=>tt_emailaddressidlist(
    ( new /aws1/cl_cntemailaddridlist_w( |string| ) )
  )
  iv_clienttoken = |string|
  iv_instanceid = |string|
  iv_queueid = |string|
).