Module Values.GetSegmentMembershipResponseSource

Determines if the given profiles are within a segment.

Sourcetype nonrec t = {
  1. segmentDefinitionName : Name.t option;
    (*

    The unique name of the segment definition.

    *)
  2. profiles : Profiles.t option;
    (*

    An array of maps where each contains a response per profile requested.

    *)
  3. failures : Failures.t option;
    (*

    An array of maps where each contains a response per profile failed for the request.

    *)
  4. lastComputedAt : Timestamp.t option;
    (*

    The timestamp indicating when the segment membership was last computed or updated.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `BadRequestException of BadRequestException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?segmentDefinitionName:??? -> ?profiles:??? -> ?failures:??? -> ?lastComputedAt:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Integer of GetSegmentMembershipStatus.t | `String of ProfileId.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `List of [> `String of String1To255.t ] list | `String of Name.t ]) list ] list | `Map of ([> `String of String1To255.t ] * [> `String of String1To255.t ]) list | `String of Uuid.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of Name.t ]) list ] list | `String of String1To255.t ]) list ]) list ]) list ] list | `String of Name.t | `Timestamp of Timestamp.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