Module Values.ResourceStatisticsSource

Information about each resource type associated with the groupedByResource statistics.

Sourcetype nonrec t = {
  1. accountId : String_.t option;
    (*

    The ID of the Amazon Web Services account.

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

    The timestamp at which the statistics for this resource was last generated.

    *)
  3. resourceId : String_.t option;
    (*

    ID associated with each resource. The following list provides the mapping of the resource type and resource ID. Mapping of resource and resource ID AccessKey - resource.accessKeyDetails.accessKeyId Container - resource.containerDetails.id ECSCluster - resource.ecsClusterDetails.name EKSCluster - resource.eksClusterDetails.name Instance - resource.instanceDetails.instanceId KubernetesCluster - resource.kubernetesDetails.kubernetesWorkloadDetails.name Lambda - resource.lambdaDetails.functionName RDSDBInstance - resource.rdsDbInstanceDetails.dbInstanceIdentifier S3Bucket - resource.s3BucketDetails.name S3Object - resource.s3BucketDetails.name

    *)
  4. resourceType : String_.t option;
    (*

    The type of resource.

    *)
  5. totalFindings : Integer.t option;
    (*

    The total number of findings associated with this resource.

    *)
}
Sourceval make : ?accountId:??? -> ?lastGeneratedAt:??? -> ?resourceId:??? -> ?resourceType:??? -> ?totalFindings:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Integer.t | `String of String_.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