Module Values.CreateMembershipRequestSource

Request structure for adding a single member to an agent space.

Sourcetype nonrec t = {
  1. applicationId : ApplicationId.t;
    (*

    The unique identifier of the application that contains the agent space.

    *)
  2. agentSpaceId : AgentSpaceId.t;
    (*

    The unique identifier of the agent space to grant access to.

    *)
  3. membershipId : MembershipId.t;
    (*

    The unique identifier for the membership.

    *)
  4. memberType : MembershipType.t;
    (*

    The type of member. Currently, only USER is supported.

    *)
  5. config : MembershipConfig.t option;
    (*

    The configuration for the membership, such as the user role.

    *)
}
Sourceval context_ : string
Sourceval make : ?config:??? -> applicationId:ApplicationId.t -> agentSpaceId:AgentSpaceId.t -> membershipId:MembershipId.t -> memberType:MembershipType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ApplicationId.t | `Structure of (string * [> `Structure of (string * [> `Enum of string ]) list ]) 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