Module Values.DescribeAgentsResponseSource

Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user can be listed if you call DescribeAgents as is without passing any parameters.

Sourcetype nonrec t = {
  1. agentsInfo : AgentsInfo.t option;
    (*

    Lists agents or the collector by ID or lists all agents/collectors associated with your user, if you did not specify an agent/collector ID. The output includes agent/collector IDs, IP addresses, media access control (MAC) addresses, agent/collector health, host name where the agent/collector resides, and the version number of each agent/collector.

    *)
  2. nextToken : NextToken.t option;
    (*

    Token to retrieve the next set of results. For example, if you specified 100 IDs for DescribeAgentsRequest$agentIds but set DescribeAgentsRequest$maxResults to 10, you received a set of 10 results along with this token. Use this token in the next query to retrieve the next set of 10.

    *)
}
Sourcetype nonrec error = [
  1. | `AuthorizationErrorException of AuthorizationErrorException.t
  2. | `HomeRegionNotSetException of HomeRegionNotSetException.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `InvalidParameterValueException of InvalidParameterValueException.t
  5. | `ServerInternalErrorException of ServerInternalErrorException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?agentsInfo:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AuthorizationErrorException of AuthorizationErrorException.t | `HomeRegionNotSetException of HomeRegionNotSetException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `ServerInternalErrorException of ServerInternalErrorException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AuthorizationErrorException of AuthorizationErrorException.t | `HomeRegionNotSetException of HomeRegionNotSetException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidParameterValueException of InvalidParameterValueException.t | `ServerInternalErrorException of ServerInternalErrorException.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 | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of AgentId.t ]) list ] list | `String of NextToken.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