Module Values.GetContactResponseSource

Returns a contact from a contact list.

Sourcetype nonrec t = {
  1. contactListName : ContactListName.t option;
    (*

    The name of the contact list to which the contact belongs.

    *)
  2. emailAddress : EmailAddress.t option;
    (*

    The contact's email address.

    *)
  3. topicPreferences : TopicPreferenceList.t option;
    (*

    The contact's preference for being opted-in to or opted-out of a topic.>

    *)
  4. topicDefaultPreferences : TopicPreferenceList.t option;
    (*

    The default topic preferences applied to the contact.

    *)
  5. unsubscribeAll : UnsubscribeAll.t option;
    (*

    A boolean value status noting if the contact is unsubscribed from all contact list topics.

    *)
  6. attributesData : AttributesData.t option;
    (*

    The attribute data attached to a contact.

    *)
  7. createdTimestamp : Timestamp.t option;
    (*

    A timestamp noting when the contact was created.

    *)
  8. lastUpdatedTimestamp : Timestamp.t option;
    (*

    A timestamp noting the last time the contact's information was updated.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `NotFoundException of NotFoundException.t
  3. | `TooManyRequestsException of TooManyRequestsException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?contactListName:??? -> ?emailAddress:??? -> ?topicPreferences:??? -> ?topicDefaultPreferences:??? -> ?unsubscribeAll:??? -> ?attributesData:??? -> ?createdTimestamp:??? -> ?lastUpdatedTimestamp:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BadRequestException of unit | `NotFoundException of unit | `TooManyRequestsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BadRequestException of unit | `NotFoundException of unit | `TooManyRequestsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of UnsubscribeAll.t | `List of [> `Structure of (string * [> `Enum of string | `String of TopicName.t ]) list ] list | `String of ContactListName.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