Module Values.CreateCustomActionRequestSource

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

Sourcetype nonrec t = {
  1. definition : CustomActionDefinition.t;
    (*

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

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

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

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

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

    *)
  4. tags : TagList.t option;
    (*

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

    *)
  5. 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.

    *)
  6. actionName : CustomActionName.t;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?aliasName:??? -> ?attachments:??? -> ?tags:??? -> ?clientToken:??? -> definition:CustomActionDefinition.t -> actionName:CustomActionName.t -> 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 CustomActionAliasName.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