Skip to content

/AWS1/IF_CNT=>DISASSOCIATESECURITYPROFILES()

About DisassociateSecurityProfiles

Disassociates a security profile attached to a Q in Connect AI Agent Entity in an Amazon Connect instance.

Method Signature

METHODS /AWS1/IF_CNT~DISASSOCIATESECURITYPROFILES
  IMPORTING
    !IV_INSTANCEID TYPE /AWS1/CNTINSTANCEID OPTIONAL
    !IT_SECURITYPROFILES TYPE /AWS1/CL_CNTSECPROFILEITEM=>TT_SECURITYPROFILES OPTIONAL
    !IV_ENTITYTYPE TYPE /AWS1/CNTENTITYTYPE OPTIONAL
    !IV_ENTITYARN TYPE /AWS1/CNTENTITYARN OPTIONAL
  RAISING
    /AWS1/CX_CNTACCESSDENIEDEX
    /AWS1/CX_CNTCONDALOPFAILEDEX
    /AWS1/CX_CNTINTERNALSERVICEEX
    /AWS1/CX_CNTINVALIDPARAMETEREX
    /AWS1/CX_CNTINVALIDREQUESTEX
    /AWS1/CX_CNTRESOURCECONFLICTEX
    /AWS1/CX_CNTRESOURCENOTFOUNDEX
    /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.

it_securityprofiles TYPE /AWS1/CL_CNTSECPROFILEITEM=>TT_SECURITYPROFILES TT_SECURITYPROFILES

List of Security Profile Object.

iv_entitytype TYPE /AWS1/CNTENTITYTYPE /AWS1/CNTENTITYTYPE

Only supported type is AI_AGENT.

iv_entityarn TYPE /AWS1/CNTENTITYARN /AWS1/CNTENTITYARN

ARN of a Q in Connect AI Agent.

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->disassociatesecurityprofiles(
  it_securityprofiles = VALUE /aws1/cl_cntsecprofileitem=>tt_securityprofiles(
    ( new /aws1/cl_cntsecprofileitem( |string| ) )
  )
  iv_entityarn = |string|
  iv_entitytype = |string|
  iv_instanceid = |string|
).