Skip to content

/AWS1/IF_LXB=>DELETEBOTCHANNELASSOCIATION()

About DeleteBotChannelAssociation

Deletes the association between an Amazon Lex bot and a messaging platform.

This operation requires permission for the lex:DeleteBotChannelAssociation action.

Method Signature

METHODS /AWS1/IF_LXB~DELETEBOTCHANNELASSOCIATION
  IMPORTING
    !IV_NAME TYPE /AWS1/LXBBOTCHANNELNAME OPTIONAL
    !IV_BOTNAME TYPE /AWS1/LXBBOTNAME OPTIONAL
    !IV_BOTALIAS TYPE /AWS1/LXBALIASNAME OPTIONAL
  RAISING
    /AWS1/CX_LXBBADREQUESTEX
    /AWS1/CX_LXBCONFLICTEXCEPTION
    /AWS1/CX_LXBINTERNALFAILUREEX
    /AWS1/CX_LXBLIMITEXCEEDEDEX
    /AWS1/CX_LXBNOTFOUNDEXCEPTION
    /AWS1/CX_LXBCLIENTEXC
    /AWS1/CX_LXBSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_name TYPE /AWS1/LXBBOTCHANNELNAME /AWS1/LXBBOTCHANNELNAME

The name of the association. The name is case sensitive.

iv_botname TYPE /AWS1/LXBBOTNAME /AWS1/LXBBOTNAME

The name of the Amazon Lex bot.

iv_botalias TYPE /AWS1/LXBALIASNAME /AWS1/LXBALIASNAME

An alias that points to the specific version of the Amazon Lex bot to which this association is being made.

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->deletebotchannelassociation(
  iv_botalias = |string|
  iv_botname = |string|
  iv_name = |string|
).