Module Values.ScraperSummarySource

The ScraperSummary structure contains a summary of the details about one scraper in your account.

Sourcetype nonrec t = {
  1. alias : ScraperAlias.t option;
    (*

    (Optional) A name associated with the scraper.

    *)
  2. scraperId : ScraperId.t option;
    (*

    The ID of the scraper.

    *)
  3. arn : ScraperArn.t option;
    (*

    The Amazon Resource Name (ARN) of the scraper.

    *)
  4. roleArn : IamRoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf.

    *)
  5. status : ScraperStatus.t option;
    (*

    A structure that contains the current status of the scraper.

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

    The date and time that the scraper was created.

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

    The date and time that the scraper was last modified.

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

    (Optional) The list of tag keys and values associated with the scraper.

    *)
  9. statusReason : StatusReason.t option;
    (*

    If there is a failure, the reason for the failure.

    *)
  10. source : Source.t option;
    (*

    The Amazon EKS cluster from which the scraper collects metrics.

    *)
  11. destination : Destination.t option;
    (*

    The Amazon Managed Service for Prometheus workspace the scraper sends metrics to.

    *)
  12. roleConfiguration : RoleConfiguration.t option;
    (*

    This structure displays information about the IAM roles used for cross-account scraping configuration.

    *)
}
Sourceval make : ?alias:??? -> ?scraperId:??? -> ?arn:??? -> ?roleArn:??? -> ?status:??? -> ?createdAt:??? -> ?lastModifiedAt:??? -> ?tags:??? -> ?statusReason:??? -> ?source:??? -> ?destination:??? -> ?roleConfiguration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of ScraperAlias.t | `Structure of (string * [> `Enum of string | `String of IamRoleArn.t | `Structure of (string * [> `List of [> `String of SecurityGroupId.t ] list | `String of ClusterArn.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