Module Values.GetSegmentDefinitionResponseSource

Gets a segment definition from the domain.

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

    The name of the segment definition.

    *)
  2. displayName : String1To255.t option;
    (*

    The display name of the segment definition.

    *)
  3. description : SensitiveString1To4000.t option;
    (*

    The description of the segment definition.

    *)
  4. segmentGroups : SegmentGroup.t option;
    (*

    The segment criteria associated with this definition.

    *)
  5. segmentSort : SegmentSort.t option;
    (*

    The segment sort.

    *)
  6. segmentDefinitionArn : SegmentDefinitionArn.t option;
    (*

    The arn of the segment definition.

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

    The timestamp of when the segment definition was created.

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

    The tags used to organize, track, or control access for this resource.

    *)
  9. segmentSqlQuery : SensitiveString1To50000.t option;
    (*

    The segment SQL query.

    *)
  10. segmentType : SegmentType.t option;
    (*

    The segment type. Classic : Segments created using traditional SegmentGroup structure Enhanced : Segments created using SQL queries

    *)
}
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:??? -> ?displayName:??? -> ?description:??? -> ?segmentGroups:??? -> ?segmentSort:??? -> ?segmentDefinitionArn:??? -> ?createdAt:??? -> ?tags:??? -> ?segmentSqlQuery:??? -> ?segmentType:??? -> 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 * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Name.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Map of ([> `String of TypeName.t ] * [> `Structure of (string * [> `Enum of string | `List of [> `String of String1To255.t ] list | `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of Start.t ]) list ]) list ]) list ]) list | `String of Name.t | `Structure of (string * [> `Map of ([> `String of String1To255.t ] * [> `Structure of (string * [> `Enum of string | `List of [> `String of String1To255.t ] list ]) list ]) list | `Structure of (string * [> `Enum of string | `List of [> `Enum of string | `String of String1To255.t ] list | `Structure of (string * [> `Enum of string | `List of [> `String of String1To255.t ] list ]) list ]) list ]) list ]) list ] list | `String of FieldName.t ]) list ] list ]) list | `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