Skip to content

/AWS1/CL_CBO=>CREATECUSTOMACTION()

About CreateCustomAction

Creates a custom action that can be invoked as an alias or as a button on a notification.

Method Signature

IMPORTING

Required arguments:

IO_DEFINITION TYPE REF TO /AWS1/CL_CBOCUSTOMACTIONDEFN /AWS1/CL_CBOCUSTOMACTIONDEFN

The definition of the command to run when invoked as an alias or as an action button.

IV_ACTIONNAME TYPE /AWS1/CBOCUSTOMACTIONNAME /AWS1/CBOCUSTOMACTIONNAME

The name of the custom action. This name is included in the Amazon Resource Name (ARN).

Optional arguments:

IV_ALIASNAME TYPE /AWS1/CBOCUSTOMACTIONALIASNAME /AWS1/CBOCUSTOMACTIONALIASNAME

The name used to invoke this action in a chat channel. For example, @aws run my-alias.

IT_ATTACHMENTS TYPE /AWS1/CL_CBOCUSTACTATTACHMENT=>TT_CUSTOMACTIONATTACHMENTLIST TT_CUSTOMACTIONATTACHMENTLIST

Defines when this custom action button should be attached to a notification.

IT_TAGS TYPE /AWS1/CL_CBOTAG=>TT_TAGLIST TT_TAGLIST

A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

IV_CLIENTTOKEN TYPE /AWS1/CBOCLIENTTOKEN /AWS1/CBOCLIENTTOKEN

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

If you do not specify a client token, one is automatically generated by the SDK.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CBOCREATECUSTACTRSLT /AWS1/CL_CBOCREATECUSTACTRSLT