Skip to content

/AWS1/IF_CNT=>ASSOCIATEQUEUEEMAILADDRESSES()

About AssociateQueueEmailAddresses

Associates a set of email addresses with a queue to enable agents to select different "From" (system) email addresses when replying to inbound email contacts or initiating outbound email contacts. This allows agents to handle email contacts across different brands and business units within the same queue.

Important things to know

  • You can associate up to 49 additional email addresses with a single queue, plus 1 default outbound email address, for a total of 50.

  • The email addresses must already exist in the Amazon Connect instance before they can be associated with a queue.

  • Agents will be able to select from these associated email addresses when handling email contacts in the queue.

  • For inbound email contacts, agents can select from email addresses associated with the queue where the contact was accepted.

  • For outbound email contacts, agents can select from email addresses associated with their default outbound queue configured in their routing profile.

Method Signature

METHODS /AWS1/IF_CNT~ASSOCIATEQUEUEEMAILADDRESSES
  IMPORTING
    !IV_INSTANCEID TYPE /AWS1/CNTINSTANCEID OPTIONAL
    !IV_QUEUEID TYPE /AWS1/CNTQUEUEID OPTIONAL
    !IT_EMAILADDRESSESCONFIG TYPE /AWS1/CL_CNTEMAILADDRESSCONFIG=>TT_EMAILADDRESSCONFIGLIST OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/CNTCLIENTTOKEN OPTIONAL
  RAISING
    /AWS1/CX_CNTACCESSDENIEDEX
    /AWS1/CX_CNTINTERNALSERVICEEX
    /AWS1/CX_CNTINVALIDPARAMETEREX
    /AWS1/CX_CNTINVALIDREQUESTEX
    /AWS1/CX_CNTLIMITEXCEEDEDEX
    /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_emailaddressesconfig TYPE /AWS1/CL_CNTEMAILADDRESSCONFIG=>TT_EMAILADDRESSCONFIGLIST TT_EMAILADDRESSCONFIGLIST

Configuration list containing the email addresses to associate with the queue. Each configuration specifies an email address ID that should be linked to this queue for routing purposes.

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->associatequeueemailaddresses(
  it_emailaddressesconfig = VALUE /aws1/cl_cntemailaddressconfig=>tt_emailaddressconfiglist(
    ( new /aws1/cl_cntemailaddressconfig( |string| ) )
  )
  iv_clienttoken = |string|
  iv_instanceid = |string|
  iv_queueid = |string|
).