Module Values.CustomActionSource

Represents a parameterized command that can be invoked as an alias or as a notification button in the chat client.

Sourcetype nonrec t = {
  1. customActionArn : CustomActionArn.t option;
    (*

    The fully defined Amazon Resource Name (ARN) of the custom action.

    *)
  2. definition : CustomActionDefinition.t option;
    (*

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

    *)
  3. aliasName : CustomActionAliasName.t option;
    (*

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

    *)
  4. attachments : CustomActionAttachmentList.t option;
    (*

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

    *)
  5. actionName : CustomActionName.t option;
    (*

    The name of the custom action that is included in the ARN.

    *)
}
Sourceval make : ?customActionArn:??? -> ?definition:??? -> ?aliasName:??? -> ?attachments:??? -> ?actionName:??? -> unit -> t
Sourceval 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 CustomActionArn.t | `Structure of (string * [> `String of CustomActionDefinitionCommandTextString.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t