Values.CreateCustomActionRequestSourceCreates a custom action that can be invoked as an alias or as a button on a notification.
type nonrec t = {definition : CustomActionDefinition.t;The definition of the command to run when invoked as an alias or as an action button.
*)aliasName : CustomActionAliasName.t option;The name used to invoke this action in a chat channel. For example, @aws run my-alias.
*)attachments : CustomActionAttachmentList.t option;Defines when this custom action button should be attached to a notification.
*)clientToken : ClientToken.t option;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.
*)actionName : CustomActionName.t;The name of the custom action. This name is included in the Amazon Resource Name (ARN).
*)}val make :
?aliasName:??? ->
?attachments:??? ->
?tags:??? ->
?clientToken:??? ->
definition:CustomActionDefinition.t ->
actionName:CustomActionName.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `String of
CustomActionAttachmentCriteriaVariableNameString.t ])
list ]
list
| `Map of
([> `String of
CustomActionAttachmentVariablesKeyString.t ]
* [> `String of
CustomActionAttachmentVariablesValueString.t ])
list
| `String of CustomActionAttachmentNotificationType.t ])
list ]
list
| `String of CustomActionAliasName.t
| `Structure of
(string * [> `String of CustomActionDefinitionCommandTextString.t ])
list ])
list ]