Module Values.CreateRuleGroupsNamespaceRequestSource

Represents the input of a CreateRuleGroupsNamespace operation.

Sourcetype nonrec t = {
  1. workspaceId : WorkspaceId.t;
    (*

    The ID of the workspace to add the rule groups namespace.

    *)
  2. name : RuleGroupsNamespaceName.t;
    (*

    The name for the new rule groups namespace.

    *)
  3. data : RuleGroupsNamespaceData.t;
    (*

    The rules file to use in the new namespace. Contains the base64-encoded version of the YAML rules file. For details about the rule groups namespace structure, see RuleGroupsNamespaceData.

    *)
  4. clientToken : IdempotencyToken.t option;
    (*

    A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

    *)
  5. tags : TagMap.t option;
    (*

    The list of tag keys and values to associate with the rule groups namespace.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?tags:??? -> workspaceId:WorkspaceId.t -> name:RuleGroupsNamespaceName.t -> data:RuleGroupsNamespaceData.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of RuleGroupsNamespaceData.t | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of WorkspaceId.t ]) 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