Module Values.GetServiceOutputSource

Returns information about a service discovered by Application Signals.

Sourcetype nonrec t = {
  1. service : Service.t option;
    (*

    A structure containing information about the service.

    *)
  2. startTime : Timestamp.t option;
    (*

    The start time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057. This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.

    *)
  3. endTime : Timestamp.t option;
    (*

    The end time of the data included in the response. In a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057. This displays the time that Application Signals used for the request. It might not match your request exactly, because it was rounded to the nearest hour.

    *)
  4. logGroupReferences : LogGroupReferences.t option;
    (*

    An array of string-to-string maps that each contain information about one log group associated with this service. Each string-to-string map includes the following fields: "Type": "AWS::Resource" "ResourceType": "AWS::Logs::LogGroup" "Identifier": "name-of-log-group"

    *)
}
Sourcetype nonrec error = [
  1. | `ThrottlingException of ThrottlingException.t
  2. | `ValidationException of ValidationException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?service:??? -> ?startTime:??? -> ?endTime:??? -> ?logGroupReferences:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Map of ([> `String of KeyAttributeName.t ] * [> `String of KeyAttributeValue.t ]) list ] list | `Structure of (string * [> `List of [> `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `Structure of (string * [> `List of [> `Structure of (string * [> `String of DimensionName.t ]) list ] list | `String of GroupName.t ]) list ] list | `Map of ([> `String of KeyAttributeName.t ] * [> `String of KeyAttributeValue.t ]) 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